commit
stringlengths
40
40
old_file
stringlengths
4
236
new_file
stringlengths
4
236
old_contents
stringlengths
1
3.26k
new_contents
stringlengths
16
4.43k
subject
stringlengths
16
624
message
stringlengths
17
3.29k
lang
stringclasses
5 values
license
stringclasses
13 values
repos
stringlengths
5
91.5k
9d0fec5007ddff958cf9ea4c9277ccca366983ca
src/test/java/info/u_team/u_team_test/init/TestEnchantments.java
src/test/java/info/u_team/u_team_test/init/TestEnchantments.java
package info.u_team.u_team_test.init; import info.u_team.u_team_core.util.registry.BaseRegistryUtil; import info.u_team.u_team_test.TestMod; import info.u_team.u_team_test.enchantment.AutoSmeltEnchantment; import net.minecraft.enchantment.Enchantment; import net.minecraftforge.event.RegistryEvent.Register; import net....
package info.u_team.u_team_test.init; import info.u_team.u_team_test.enchantment.AutoSmeltEnchantment; import net.minecraft.enchantment.Enchantment; public class TestEnchantments { public static final Enchantment AUTO_SMELT = new AutoSmeltEnchantment("auto_smelt"); }
Remove unused annotations for test enchantments
Remove unused annotations for test enchantments
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
2ed04a8e818db34efd936601bad0460a329640a3
src/main/java/com/github/sherter/googlejavaformatgradleplugin/PersistenceModule.java
src/main/java/com/github/sherter/googlejavaformatgradleplugin/PersistenceModule.java
package com.github.sherter.googlejavaformatgradleplugin; import dagger.Module; import dagger.Provides; import org.gradle.api.Project; import org.gradle.api.logging.Logger; import javax.inject.Named; import java.nio.file.Path; import java.nio.file.Paths; @Module class PersistenceModule { private final Project proj...
package com.github.sherter.googlejavaformatgradleplugin; import com.google.common.base.Throwables; import com.google.common.io.CharStreams; import dagger.Module; import dagger.Provides; import org.gradle.api.Project; import org.gradle.api.logging.Logger; import javax.inject.Named; import java.io.IOException; import j...
Read plugin version from VERSION file
Read plugin version from VERSION file
Java
mit
sherter/google-java-format-gradle-plugin,sherter/google-java-format-gradle-plugin
675b39de4a176b4c8dcddabf8de3c81855bd12b4
org.spoofax.interpreter/src/org/spoofax/interpreter/terms/InlinePrinter.java
org.spoofax.interpreter/src/org/spoofax/interpreter/terms/InlinePrinter.java
package org.spoofax.interpreter.terms; public class InlinePrinter implements ITermPrinter { String out; public InlinePrinter() { out = ""; } public String getString() { return out; } public void print(String string) { if (string.matches("^ *$")) { return ; } out += string; } public void inde...
package org.spoofax.interpreter.terms; public class InlinePrinter implements ITermPrinter { StringBuffer out; public InlinePrinter() { out = new StringBuffer(); } public String getString() { return out.toString(); } public void print(String string) { if (string.matches("^ *$")) { return ; } out...
Use StringBuffer to avoid string concatenation while inline printing.
Use StringBuffer to avoid string concatenation while inline printing. svn path=/spoofax/trunk/spoofax/org.spoofax.interpreter/; revision=17214
Java
apache-2.0
metaborg/mb-exec,metaborg/mb-exec,metaborg/mb-exec
29c5cccb20619486ecda2fe06545475aa42cba80
src/main/java/com/jvm_bloggers/core/social/fb/FacebookMessageGenerator.java
src/main/java/com/jvm_bloggers/core/social/fb/FacebookMessageGenerator.java
package com.jvm_bloggers.core.social.fb; import org.springframework.stereotype.Component; import static java.lang.String.format; @Component class FacebookMessageGenerator { private static final String MESSAGE_TEMPLATE = "Nowe wydanie JVM Bloggers czeka już na Was: %s #java #jvm #newsletter #jvmbloggers ...
package com.jvm_bloggers.core.social.fb; import org.springframework.stereotype.Component; import static java.lang.String.format; @Component class FacebookMessageGenerator { private static final String MESSAGE_TEMPLATE = "Nowe wydanie JVM Bloggers czeka już na Was: %s #java #jvm #blogs"; public Stri...
Reduce hashtags noise in Facebook message
Reduce hashtags noise in Facebook message
Java
mit
jvm-bloggers/jvm-bloggers,jvm-bloggers/jvm-bloggers,kraluk/jvm-bloggers,szpak/jvm-bloggers,tdziurko/jvm-bloggers,tdziurko/jvm-bloggers,jvm-bloggers/jvm-bloggers,jvm-bloggers/jvm-bloggers,tdziurko/jvm-bloggers,kraluk/jvm-bloggers,kraluk/jvm-bloggers,tdziurko/jvm-bloggers,szpak/jvm-bloggers,szpak/jvm-bloggers,szpak/jvm-b...
7a78255e4ad433745ee4c4c7a244d250885423d1
application/confagrid-webapp/src/main/java/com/aleggeup/confagrid/controller/ApiController.java
application/confagrid-webapp/src/main/java/com/aleggeup/confagrid/controller/ApiController.java
/* * ApiController.java * * Copyright (C) 2017 [ A Legge Up ] * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.aleggeup.confagrid.controller; import java.util.LinkedHashMap; import java.util.List; import javax.servlet.Ser...
/* * ApiController.java * * Copyright (C) 2017 [ A Legge Up ] * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.aleggeup.confagrid.controller; import java.util.Collections; import java.util.LinkedHashMap; import java.util.L...
Handle case of no roles in claims if not authenticated
Handle case of no roles in claims if not authenticated
Java
mit
ALeggeUp/confagrid,ALeggeUp/confagrid,ALeggeUp/confagrid,ALeggeUp/confagrid,ALeggeUp/confagrid
c4c2b5c66dfa18acc1708117ce37dbfae498e058
calamari-core/src/main/java/org/starchartlabs/chronicler/calamari/core/MediaTypes.java
calamari-core/src/main/java/org/starchartlabs/chronicler/calamari/core/MediaTypes.java
/* * Copyright (c) Oct 1, 2018 StarChart Labs Authors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors...
/* * Copyright (c) Oct 1, 2018 StarChart Labs Authors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors...
Add documentation to MediaType class
Add documentation to MediaType class
Java
apache-2.0
StarChart-Labs/chronicler,StarChart-Labs/chronicler
e66c4162536bd2e2a7d453fb38eb85b0e6c1928d
src/main/java/com/rbase/rcommander/RCommanderPaths.java
src/main/java/com/rbase/rcommander/RCommanderPaths.java
package com.rbase.rcommander; import java.io.File; import java.nio.file.Paths; public class RCommanderPaths { private static final String RBTI_DIRECTORY = "C:\\RBTI"; private static final String RCOMMANDER_PREFIX = "RCommander"; public static String getPathForVersion(String version) { String ful...
package com.rbase.rcommander; import java.io.File; import java.nio.file.Paths; public class RCommanderPaths { private RCommanderPaths() { // utility class } private static final String RBTI_DIRECTORY = "C:\\RBTI"; private static final String RCOMMANDER_PREFIX = "RCommander"; public stat...
Add private constructor for utility class
Add private constructor for utility class
Java
mit
rafeememon/rcommander-java
7b24573bc6753be3ea2b12723063d5f401674788
libraries/javalib/java/awt/Canvas.java
libraries/javalib/java/awt/Canvas.java
package java.awt; /** * Canvas - * * Copyright (c) 1998 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. * * @author J. Mehlitz */ public class Canvas extends Component { public Canvas() { // Canva...
package java.awt; /** * Canvas - * * Copyright (c) 1998 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. * * @author J. Mehlitz */ public class Canvas extends Component { public Canvas() { // Canva...
Add addNotify() which just calls super.addNotify() to fix applet problem
Add addNotify() which just calls super.addNotify() to fix applet problem
Java
lgpl-2.1
kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe
75525135c6e17b9e25bac7c1848555304c7afc45
core/src/main/java/fr/ourten/brokkgui/panel/GuiRelativePane.java
core/src/main/java/fr/ourten/brokkgui/panel/GuiRelativePane.java
package fr.ourten.brokkgui.panel; import fr.ourten.brokkgui.component.GuiNode; import fr.ourten.brokkgui.data.RelativeBindingHelper; /** * @author Ourten 9 oct. 2016 */ public class GuiRelativePane extends GuiPane { @Override public void addChild(final GuiNode node) { this.addChild(node, .5f, .5...
package fr.ourten.brokkgui.panel; import fr.ourten.brokkgui.component.GuiNode; import fr.ourten.brokkgui.data.RelativeBindingHelper; /** * @author Ourten 9 oct. 2016 */ public class GuiRelativePane extends GuiPane { @Override public void addChild(final GuiNode node) { this.addChild(node, .5f, .5...
Fix RelativePane breaking father-child contract
Fix RelativePane breaking father-child contract
Java
apache-2.0
Phenix246/BrokkGUI,Yggard/BrokkGUI,ZeAmateis/BrokkGUI,ZeAmateis/BrokkGUI
38963dc16f5443f51a6362c5bccd4b61bbadbd7e
src/main/java/com/github/blindpirate/gogradle/task/go/GoExecutionAction.java
src/main/java/com/github/blindpirate/gogradle/task/go/GoExecutionAction.java
package com.github.blindpirate.gogradle.task.go; import groovy.lang.Closure; import org.gradle.api.Task; import org.gradle.api.internal.tasks.ContextAwareTaskAction; import org.gradle.api.internal.tasks.TaskExecutionContext; import java.util.Map; public class GoExecutionAction implements ContextAwareTaskAction { ...
package com.github.blindpirate.gogradle.task.go; import groovy.lang.Closure; import org.gradle.api.Task; import org.gradle.api.internal.tasks.ContextAwareTaskAction; import org.gradle.api.internal.tasks.TaskExecutionContext; import java.util.Map; public class GoExecutionAction implements ContextAwareTaskAction { ...
Adjust field name of GoTask
Adjust field name of GoTask
Java
apache-2.0
gogradle/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,blindpirate/gogradle,gogradle/gogradle
9041628187a23eb799d8dd83168edfd962fb506a
src/main/java/com/infinityraider/infinitylib/entity/EntityThrowableBase.java
src/main/java/com/infinityraider/infinitylib/entity/EntityThrowableBase.java
package com.infinityraider.infinitylib.entity; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.protocol.Packet; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.projectile.ThrowableProjectile; import net.minecraft.world.level....
package com.infinityraider.infinitylib.entity; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.protocol.Packet; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.projectile.ThrowableProjectile; import net.minecraft.world.level....
Fix Projectile Entity position bug
Fix Projectile Entity position bug
Java
mit
InfinityRaider/InfinityLib
ddbef13134b9609f8833e2118dcd88387c9ce581
addressbook-web-tests/src/test/java/ru/stqua/pft/addressbook/tests/ContactModificationTests.java
addressbook-web-tests/src/test/java/ru/stqua/pft/addressbook/tests/ContactModificationTests.java
package ru.stqua.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqua.pft.addressbook.model.ContactData; /** * Created by Alexander Gorny on 1/29/2017. */ public class ContactModificationTests extends TestBase { @Test public void testContactModification(){ app.getNavigationHelper().go...
package ru.stqua.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqua.pft.addressbook.model.ContactData; /** * Created by Alexander Gorny on 1/29/2017. */ public class ContactModificationTests extends TestBase { @Test public void testContactModification(){ app.getNavigationHelper().go...
Remove Contact Deletion from ContactModification
Remove Contact Deletion from ContactModification
Java
apache-2.0
GornyAlex/pdt_37,GornyAlex/pdt_37
934e7e0f2700758ff571b0e96f583af6ca7307cf
src/main/java/com/notnoop/apns/internal/netty/encoding/ApnsResultDecoder.java
src/main/java/com/notnoop/apns/internal/netty/encoding/ApnsResultDecoder.java
package com.notnoop.apns.internal.netty.encoding; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.FixedLengthFrameDecoder; import java.io.IOException; import com.notnoop.apns.DeliveryError; import com.notnoop.apns.DeliveryResult; import com.notnoop.apns.in...
package com.notnoop.apns.internal.netty.encoding; import java.io.IOException; import com.notnoop.apns.DeliveryError; import com.notnoop.apns.DeliveryResult; import com.notnoop.apns.internal.Utilities; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.FixedLe...
Fix memory leak, added a missing release() after using ByteBuf
Fix memory leak, added a missing release() after using ByteBuf
Java
bsd-3-clause
flozano/java-apns
233eb3a4afa54012302639a1128504b99891affa
src/test/java/com/google/sps/FirebaseTest.java
src/test/java/com/google/sps/FirebaseTest.java
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Change to run with PowerMockRunner
Change to run with PowerMockRunner
Java
apache-2.0
googleinterns/step128-2020,googleinterns/step128-2020,googleinterns/step128-2020
3c62255d314623a509e810fd8b5f13664a1b30e0
src/testsuite/test/InterfaceProActiveTest.java
src/testsuite/test/InterfaceProActiveTest.java
/* * Created on Aug 8, 2003 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package testsuite.test; import org.objectweb.proactive.core.node.Node; /** * @author adicosta * * To change the template for this generated type comment ...
/* * Created on Aug 8, 2003 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package testsuite.test; import org.objectweb.proactive.core.node.Node; /** * @author adicosta * * To change the template for this generated type comment ...
Add access to the node from manager
Add access to the node from manager git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@579 28e8926c-6b08-0410-baaa-805c5e19b8d6
Java
agpl-3.0
mnip91/proactive-component-monitoring,ow2-proactive/programming,mnip91/proactive-component-monitoring,fviale/programming,acontes/programming,acontes/scheduling,acontes/programming,paraita/programming,fviale/programming,acontes/programming,jrochas/scale-proactive,fviale/programming,acontes/scheduling,PaulKh/scale-proact...
e05c9f4bba5bf3dda708a6f9b718c8a65cf68e24
web/src/main/java/org/springframework/security/web/csrf/MissingCsrfTokenException.java
web/src/main/java/org/springframework/security/web/csrf/MissingCsrfTokenException.java
/* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Improve log message when no CSRF token found
Improve log message when no CSRF token found Closes gh-10436
Java
apache-2.0
spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security
815da0b81bf191926dcf06f2a670a88daf54df3f
core-java-sample/src/main/java/org/spine3/server/storage/filesystem/FileSystemCommandStorage.java
core-java-sample/src/main/java/org/spine3/server/storage/filesystem/FileSystemCommandStorage.java
/* * Copyright 2015, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
/* * Copyright 2015, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Check that command is not null before saving.
Check that command is not null before saving.
Java
apache-2.0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
3d5458e7a8301b0d92d37fe512beac8bd08f073f
core/src/test/java/com/orientechnologies/orient/core/sql/executor/CreateMemoryDatabaseFixture.java
core/src/test/java/com/orientechnologies/orient/core/sql/executor/CreateMemoryDatabaseFixture.java
package com.orientechnologies.orient.core.sql.executor; import com.orientechnologies.orient.core.db.ODatabase; import com.orientechnologies.orient.core.db.ODatabaseType; import com.orientechnologies.orient.core.db.OrientDB; import com.orientechnologies.orient.core.db.OrientDBConfig; import org.junit.AfterClass; import...
package com.orientechnologies.orient.core.sql.executor; import com.orientechnologies.orient.core.db.ODatabase; import com.orientechnologies.orient.core.db.ODatabaseType; import com.orientechnologies.orient.core.db.OrientDB; import com.orientechnologies.orient.core.db.OrientDBConfig; import org.junit.AfterClass; import...
Fix closing of OrientDB in test case
Fix closing of OrientDB in test case
Java
apache-2.0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
43930e16bc2d16de15073314edf5e78dc7e46733
Semaphore-SES-Client/src/main/java/com/smartlogic/ses/client/AbstractSimpleNodeDate.java
Semaphore-SES-Client/src/main/java/com/smartlogic/ses/client/AbstractSimpleNodeDate.java
package com.smartlogic.ses.client; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import org.w3c.dom.Element; public abstract class AbstractSimpleNodeDate extends AbstractSimpleNode { private static final long serialVersionUID = -7383419011106091654L; public AbstractSimpleNo...
package com.smartlogic.ses.client; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import org.w3c.dom.Element; import javax.xml.bind.annotation.XmlTransient; public abstract class AbstractSimpleNodeDate extends AbstractSimpleNode { private static final long serialVersionUID = ...
Mark the getZonedDateTime method with @XmlTransient. The JAXB parsers are seeing the getX and setX methods and assume there's a state property of type ZonedDateTime. The old JAXB implementations (java 8) don't handle the java.time stuff at all. This fixes the JAXB problem for a client (AZ).
Mark the getZonedDateTime method with @XmlTransient. The JAXB parsers are seeing the getX and setX methods and assume there's a state property of type ZonedDateTime. The old JAXB implementations (java 8) don't handle the java.time stuff at all. This fixes the JAXB problem for a client (AZ).
Java
apache-2.0
Smartlogic-Semaphore-Limited/Java-APIs
c7265b9990562df661fa7e47405f7133081945b4
src/com/woopra/WoopraEvent.java
src/com/woopra/WoopraEvent.java
package com.woopra; import java.util.Properties; /** * @author Woopra on 1/26/2013 * */ public class WoopraEvent { private String eventName = null; private Properties properties = null; public WoopraEvent(String eventName) { this.eventName = eventName; properties = new Properties(); } public WoopraEvent...
package com.woopra; import java.util.Properties; /** * @author Woopra on 1/26/2013 * */ public class WoopraEvent { private String eventName = null; private Properties properties = null; public WoopraEvent(String eventName) { super(eventName, new Properties(); } public WoopraEvent(String eventName, Propert...
Fix event name not being added in constructor.
Fix event name not being added in constructor.
Java
apache-2.0
Istikana/woopra-android-sdk,Woopra/woopra-android-sdk
af7b9a6ebec0da3312b612b023e73daa30602898
step-4-selenium/src/test/java/com/mattcalthrop/examples/selenium/Selenium3ExampleIT.java
step-4-selenium/src/test/java/com/mattcalthrop/examples/selenium/Selenium3ExampleIT.java
package com.mattcalthrop.examples.selenium; public class Selenium3ExampleIT { }
package com.mattcalthrop.examples.selenium; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.junit.*; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org...
Update starter test class for step 4
Update starter test class for step 4
Java
mit
mcalthrop/testing-with-java,mcalthrop/testing-with-java
25281351fb084a89ec4bc0b43b61d670fdc36658
visual-archetype/src/main/resources/archetype-resources/client/src/main/java/Main.java
visual-archetype/src/main/resources/archetype-resources/client/src/main/java/Main.java
package ${package}; import net.java.html.boot.BrowserBuilder; public final class Main { private Main() { } public static void main(String... args) throws Exception { BrowserBuilder.newBrowser(). loadPage("pages/index.html"). loadClass(Main.class). invoke("onPag...
package ${package}; import net.java.html.boot.BrowserBuilder; public final class Main { private Main() { } public static void main(String... args) throws Exception { System.setProperty("prism.order", "sw"); BrowserBuilder.newBrowser(). loadPage("pages/index.html"). ...
Enforce software renderng pipeline to avoid flickering
Enforce software renderng pipeline to avoid flickering
Java
mit
dukescript/maven-archetypes,dukescript/maven-archetypes,dukescript/maven-archetypes
38bfe238013b292cf8f414cd9751c1ed67339cec
app/src/main/java/de/christinecoenen/code/zapp/mediathek/api/QueryRequest.java
app/src/main/java/de/christinecoenen/code/zapp/mediathek/api/QueryRequest.java
package de.christinecoenen.code.zapp.mediathek.api; import java.util.ArrayList; import java.util.List; @SuppressWarnings("unused") public class QueryRequest { private final List<Query> queries = new ArrayList<>(); private String sortBy; private String sortOrder; @SuppressWarnings("FieldCanBeLocal") private f...
package de.christinecoenen.code.zapp.mediathek.api; import java.util.ArrayList; import java.util.List; @SuppressWarnings("unused") public class QueryRequest { private final List<Query> queries = new ArrayList<>(); private String sortBy = "timestamp"; private String sortOrder = "desc"; @SuppressWarnings("Field...
Sort mediathek shows by timestamp by default
Sort mediathek shows by timestamp by default
Java
mit
cemrich/zapp
040159615035c729cc038a75eef66a926ec14575
service-realization/src/main/java/sg/ncl/service/realization/domain/RealizationState.java
service-realization/src/main/java/sg/ncl/service/realization/domain/RealizationState.java
package sg.ncl.service.realization.domain; /** * Created by Desmond. */ public enum RealizationState { ACTIVE, STOP, WARNING }
package sg.ncl.service.realization.domain; /** * Created by Desmond. */ public enum RealizationState { ACTIVE, STOP, WARNING, ACTIVATING, STOPPING }
Add activating and stopping states.
Add activating and stopping states.
Java
apache-2.0
nus-ncl/services-in-one,nus-ncl/services-in-one
9e2689bd6efaa4e50915099e1d1d86d9276b8399
src/com/nasmlanguage/NASMIcons.java
src/com/nasmlanguage/NASMIcons.java
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2018 Aidan Khoury. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opt...
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2018 Aidan Khoury Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use...
Update copyright notice with MIT license
Update copyright notice with MIT license
Java
mit
dude719/JetBrains-NASM-Language
1768f39127632f145561074331bc297c553591f1
models/jsonld/src/main/java/uk/ac/ebi/biosamples/model/JsonLDPropertyValue.java
models/jsonld/src/main/java/uk/ac/ebi/biosamples/model/JsonLDPropertyValue.java
package uk.ac.ebi.biosamples.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonRawValue; import java.util.List; /** * Object to represent the ld+json...
package uk.ac.ebi.biosamples.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonRawValue; import java.util.List; /** * Object to represent the ld+json...
Add support to multiple ontologies as well as add the unitText and unitCode fields
Add support to multiple ontologies as well as add the unitText and unitCode fields
Java
apache-2.0
EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4
609b041a305997edd6352195c3dc9eada003e391
main/src/main/java/com/sedmelluq/discord/lavaplayer/format/transcoder/PcmChunkDecoder.java
main/src/main/java/com/sedmelluq/discord/lavaplayer/format/transcoder/PcmChunkDecoder.java
package com.sedmelluq.discord.lavaplayer.format.transcoder; import com.sedmelluq.discord.lavaplayer.format.AudioDataFormat; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.ShortBuffer; /** * Audio chunk decoder for PCM data. */ public class PcmChunkDecoder implements AudioChunkDecoder { pr...
package com.sedmelluq.discord.lavaplayer.format.transcoder; import com.sedmelluq.discord.lavaplayer.format.AudioDataFormat; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.ShortBuffer; /** * Audio chunk decoder for PCM data. */ public class PcmChunkDecoder implements AudioChunkDecoder { pr...
Fix bug when changing volume using PCM
Fix bug when changing volume using PCM Fixes a bug when changing volume using PCM. Not sure if this is the proper way...
Java
apache-2.0
sedmelluq/lavaplayer,sedmelluq/lavaplayer
7cc883e7c33f2088efae31bd1c011d9f00963f39
src/main/java/eventstore/j/examples/EventDataBuilderExample.java
src/main/java/eventstore/j/examples/EventDataBuilderExample.java
package eventstore.j.examples; import eventstore.EventData; import eventstore.j.EventDataBuilder; import java.util.UUID; public class EventDataBuilderExample { final EventData empty = new EventDataBuilder("empty").build(); final EventData binary = new EventDataBuilder("binary") .eventId(UUID.ra...
package eventstore.j.examples; import eventstore.EventData; import eventstore.j.EventDataBuilder; import java.util.UUID; public class EventDataBuilderExample { final EventData empty = new EventDataBuilder("eventType").build(); final EventData binary = new EventDataBuilder("eventType") .eventId(...
Make event type more explicit in examples
Make event type more explicit in examples
Java
bsd-3-clause
EventStore/EventStore.JVM,pawelkaczor/EventStore.JVM
0cb8fa830cdadd328040a9965389c48bbfe5b812
src/main/java/org/apache/maven/siteindexer/mojo/IndexerMojo.java
src/main/java/org/apache/maven/siteindexer/mojo/IndexerMojo.java
package org.apache.maven.siteindexer.mojo; import java.io.IOException; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.siteindexer.Indexer; /** * This goal will build the index. * * @g...
package org.apache.maven.siteindexer.mojo; import java.io.File; import java.io.IOException; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.siteindexer.Indexer; /** * This goal will build...
Add support for linux with File.separator
Add support for linux with File.separator
Java
apache-2.0
raffaeleguidi/Maven-Site-Indexer-plugin,raffaeleguidi/Maven-Site-Indexer-plugin
9a7643d72aec82f0999da29019cc4aab0ab445b4
datasource/datasource-war/src/main/java/org/wildfly/swarm/examples/ds/war/MyResource.java
datasource/datasource-war/src/main/java/org/wildfly/swarm/examples/ds/war/MyResource.java
package org.wildfly.swarm.examples.ds.war; import java.sql.Connection; import java.sql.SQLException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; /** * ...
package org.wildfly.swarm.examples.ds.war; import java.sql.Connection; import java.sql.SQLException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; /** * ...
Modify datasource example to actually show driver name
Modify datasource example to actually show driver name
Java
apache-2.0
wildfly-swarm/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,mstahv/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,mstahv/wildfly-swarm-examples,mstahv/wildfly-swar...
bbc6576b1958ddd05c4668d38e719f45d89a2afb
izpack-compiler/src/test/java/com/izforge/izpack/compiler/packager/impl/PackagerTest.java
izpack-compiler/src/test/java/com/izforge/izpack/compiler/packager/impl/PackagerTest.java
package com.izforge.izpack.compiler.packager.impl; import static org.junit.Assert.fail; import java.io.IOException; import org.dom4j.dom.DOMElement; import org.junit.Test; import org.mockito.Mockito; import com.izforge.izpack.api.adaptator.IXMLElement; import com.izforge.izpack.api.adaptator.impl.XMLElementImpl; im...
package com.izforge.izpack.compiler.packager.impl; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.io.IOException; import org.dom4j.dom.DOMElement; import org.junit.Test; import com.izforge.izpack.api.adaptator.IXMLElement; ...
Check if MergeManager's addResourceToMerge(String, String) had been called
Check if MergeManager's addResourceToMerge(String, String) had been called
Java
apache-2.0
izpack/izpack,mtjandra/izpack,yukron/izpack,maichler/izpack,tomas-forsman/izpack,Murdock01/izpack,codehaus/izpack,rkrell/izpack,akuhtz/izpack,rsharipov/izpack,mtjandra/izpack,rsharipov/izpack,maichler/izpack,tomas-forsman/izpack,mtjandra/izpack,optotronic/izpack,Murdock01/izpack,tomas-forsman/izpack,codehaus/izpack,opt...
2e69735270616248344b679cf63db43cd09b804a
src/test/java/io/github/bonigarcia/wdm/test/EdgeVersionTest.java
src/test/java/io/github/bonigarcia/wdm/test/EdgeVersionTest.java
/* * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/l...
/* * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/l...
Change version in specific version for Edge test
Change version in specific version for Edge test
Java
apache-2.0
bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager
c724e75274f83f59b77f08f3594413de37e6a6d4
googleDirectionLibrary/src/main/java/com/akexorcist/googledirection/request/DirectionDestinationRequest.java
googleDirectionLibrary/src/main/java/com/akexorcist/googledirection/request/DirectionDestinationRequest.java
/* Copyright 2015 Akexorcist Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distrib...
/* Copyright 2015 Akexorcist Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distrib...
Add LatLng list support for direction request
Add LatLng list support for direction request
Java
apache-2.0
akexorcist/Android-GoogleDirectionLibrary,akexorcist/Android-GoogleDirectionLibrary
7217dab35b8dd635b89e3b61dc20a5f293e30070
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupModificationTests.java
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupModificationTests.java
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import java.util.HashSet; import java.util.List; import static org.testng.Assert.assertEquals; /** * Created by Sergei on 16.04.2016. */ public class GroupModificationTests extends TestBase {...
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import java.util.HashSet; import java.util.List; import static org.testng.Assert.assertEquals; /** * Created by Sergei on 16.04.2016. */ public class GroupModificationTests extends TestBase {...
Revert "Revert "Доработки в тесте на модификацию группы""
Revert "Revert "Доработки в тесте на модификацию группы"" This reverts commit 6ea561d6543351b6c4c1977a470eabef096b69e6.
Java
apache-2.0
Wave2112/java_pft
b76330bb5311749e995fd3cf3449742dc30da4be
script/src/main/java/com/madisp/bad/expr/AssignExpression.java
script/src/main/java/com/madisp/bad/expr/AssignExpression.java
package com.madisp.bad.expr; import com.madisp.bad.eval.BadConverter; import com.madisp.bad.eval.Scope; import com.madisp.bad.eval.Watcher; /** * Created with IntelliJ IDEA. * User: madis * Date: 3/27/13 * Time: 7:02 PM */ public class AssignExpression implements Expression { private final Expression expr; pri...
package com.madisp.bad.expr; import com.madisp.bad.eval.BadConverter; import com.madisp.bad.eval.Scope; import com.madisp.bad.eval.Watcher; /** * Created with IntelliJ IDEA. * User: madis * Date: 3/27/13 * Time: 7:02 PM */ public class AssignExpression implements Expression { private final Expression expr; pri...
Fix re-evaluation loop with assignment expression
Fix re-evaluation loop with assignment expression
Java
mit
madisp/bad,madisp/bad
5b59c10c035735ee9391f38b1f75358c767020d7
src/main/java/com/grayben/riskExtractor/htmlScorer/ScoredText.java
src/main/java/com/grayben/riskExtractor/htmlScorer/ScoredText.java
package com.grayben.riskExtractor.htmlScorer; import java.util.ArrayList; import java.util.List; public class ScoredText { private List<ScoredTextElement> text; public ScoredText() { super(); text = new ArrayList<>(); } @Override public String toString() { StringBuilder sb = new StringBuilder(); for (S...
package com.grayben.riskExtractor.htmlScorer; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class ScoredText { private List<ScoredTextElement> text; public ScoredText() { super(); text = new ArrayList<>(); } @Override public String toString() { StringBuilder sb =...
Add access to list of elements
Add access to list of elements
Java
mit
grayben/10K-item-extractor,grayben/10K-item-extractor
070b0e11e6c3d32a693792b157c7b334ec3cbd19
common/src/main/java/com/khorn/terraincontrol/configuration/settingType/StringListSetting.java
common/src/main/java/com/khorn/terraincontrol/configuration/settingType/StringListSetting.java
package com.khorn.terraincontrol.configuration.settingType; import com.khorn.terraincontrol.exception.InvalidConfigException; import com.khorn.terraincontrol.util.helpers.StringHelper; import java.util.Arrays; import java.util.List; /** * Reads and writes a list of strings. Strings are read using * {@link StringHe...
package com.khorn.terraincontrol.configuration.settingType; import com.khorn.terraincontrol.exception.InvalidConfigException; import com.khorn.terraincontrol.util.helpers.StringHelper; import java.util.Arrays; import java.util.List; /** * Reads and writes a list of strings. Strings are read using * {@link StringHe...
Remove some unneeded code, as StringHelper.readCommaSeperatedString already trims values
Remove some unneeded code, as StringHelper.readCommaSeperatedString already trims values
Java
mit
whichonespink44/TerrainControl,PG85/OpenTerrainGenerator,LinkBR/TerrainControl,Ezoteric/TerrainControl,MCTCP/TerrainControl
a7409f648898d312f7ef7c61ffd85df5a66165d2
src/bd/settings/VmSettings.java
src/bd/settings/VmSettings.java
package bd.settings; /** * VmSettings are determined based on Java properties. They are used to configure VM-wide * properties, for instance whether a tool is enabled or not. */ public class VmSettings { public static final boolean DYNAMIC_METRICS; static { Settings s = getSettings(); DYNAMIC_METRICS ...
package bd.settings; /** * VmSettings are determined based on Java properties. They are used to configure VM-wide * properties, for instance whether a tool is enabled or not. */ public class VmSettings { public static final boolean DYNAMIC_METRICS; static { Settings s = getSettings(); DYNAMIC_METRICS ...
Use Class.forName instead of class loader
Use Class.forName instead of class loader Class loader seems to be null on the bootclasspath Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
Java
mit
SOM-st/black-diamonds,SOM-st/black-diamonds
465f73b14b9c9d416183c01cc5bb05c47d6e515f
src/org/robockets/stronghold/robot/commands/DrivePosition.java
src/org/robockets/stronghold/robot/commands/DrivePosition.java
package org.robockets.stronghold.robot.commands; import org.robockets.stronghold.robot.highgoalshooter.MoveHood; import org.robockets.stronghold.robot.highgoalshooter.MoveTurnTable; import org.robockets.stronghold.robot.intake.IntakesUp; import edu.wpi.first.wpilibj.command.CommandGroup; /** * */ public class Driv...
package org.robockets.stronghold.robot.commands; import org.robockets.stronghold.robot.highgoalshooter.MoveHood; import org.robockets.stronghold.robot.highgoalshooter.MoveTurnTable; import org.robockets.stronghold.robot.intake.IntakesUp; import edu.wpi.first.wpilibj.command.CommandGroup; /** * Moves the robot into ...
Add javadocs for drive position
Add javadocs for drive position
Java
mit
Team4761/2016-Robot-Code
5c380ed0e770509d2152be88368bd1c8dd806707
java-library-tester/src/test/java/study/hard/javalib/nativelib/GetClassTest.java
java-library-tester/src/test/java/study/hard/javalib/nativelib/GetClassTest.java
package study.hard.javalib.nativelib; public class GetClassTest { public static void main(String[] args) { GetClassTest tester = new GetClassTest(); ExtendedClassA extendedA = tester.new ExtendedClassA(); extendedA.printClass(); // class study.hard.javalib.nativelib.GetClassTest$ExtendedClassA } public clas...
package study.hard.javalib.nativelib; public class GetClassTest { public static void main(String[] args) { GetClassTest tester = new GetClassTest(); ExtendedClassA extendedA = tester.new ExtendedClassA(); extendedA.printClass(); // class study.hard.javalib.nativelib.GetClassTest$ExtendedClassA Class<? exten...
Add some codes to test Class object.
Add some codes to test Class object.
Java
mit
iandmyhand/java-library-tester
265ec93cd2cb59badc8f95c26144905e73d91095
assets/src/InheritingClass.java
assets/src/InheritingClass.java
package THE_PACKAGE; import org.jruby.Ruby; import org.jruby.javasupport.util.RuntimeHelpers; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.javasupport.JavaUtil; import org.jruby.exceptions.RaiseException; import org.ruboto.Script; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS { privat...
package THE_PACKAGE; import org.jruby.Ruby; import org.jruby.javasupport.util.RuntimeHelpers; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.javasupport.JavaUtil; import org.jruby.exceptions.RaiseException; import org.ruboto.Script; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS { privat...
Add place to put constructors
Add place to put constructors
Java
mit
baberthal/ruboto,Jodell88/ruboto,lucasallan/ruboto,lucasallan/ruboto,ruboto/ruboto,Jodell88/ruboto,ruboto/ruboto,Jodell88/ruboto,lucasallan/ruboto,ruboto/ruboto,baberthal/ruboto,baberthal/ruboto
af9dc1069cfd2d525ceed1be6464ed786f5e452d
app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java
app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java
package me.devsaki.hentoid.json.sources; import com.annimon.stream.Stream; import java.util.List; public class NexusGallery { private String b; private String r; private String i; private List<NexusPage> f; public List<String> toUrls() { return Stream.of(f).map(page -> b + r + page.h + "...
package me.devsaki.hentoid.json.sources; import com.squareup.moshi.Json; import java.util.List; public class NexusGallery { private String b; private String r; private String i; @Json(name = "pages") private List<String> pages; public List<String> toUrls() { return pages; } }
Fix test for new nexus gallery structure
Fix test for new nexus gallery structure
Java
apache-2.0
AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid
0a632d844462164d4d2ca40c6d387b8466dc3f87
mg-bootstrap/lib/src/main/java/com/miguelgaeta/bootstrap/mg_delay/MGDelayUtil.java
mg-bootstrap/lib/src/main/java/com/miguelgaeta/bootstrap/mg_delay/MGDelayUtil.java
package com.miguelgaeta.bootstrap.mg_delay; import java.util.concurrent.TimeUnit; import rx.Observable; /** * Created by Miguel Gaeta on 2/17/15. */ class MGDelayUtil { /** * Setup an observable object based * on the specified delay parameters. */ static Observable<Void> observe(long delayM...
package com.miguelgaeta.bootstrap.mg_delay; import java.util.concurrent.TimeUnit; import rx.Observable; /** * Created by Miguel Gaeta on 2/17/15. */ class MGDelayUtil { /** * Setup an observable object based * on the specified delay parameters. */ static Observable<Void> observe(long delayM...
Handle back pressure in MGDelay - it should drop.
Handle back pressure in MGDelay - it should drop.
Java
apache-2.0
mrkcsc/android-mg-bootstrap,mrkcsc/android-mg-bootstrap
b829cf455042d380a3a57730b7073c97950407da
core/src/test/java/com/vladmihalcea/book/hpjp/util/providers/queries/PostgreSQLQueries.java
core/src/test/java/com/vladmihalcea/book/hpjp/util/providers/queries/PostgreSQLQueries.java
package com.vladmihalcea.book.hpjp.util.providers.queries; /** * @author Vlad Mihalcea */ public class PostgreSQLQueries implements Queries { public static final Queries INSTANCE = new PostgreSQLQueries(); @Override public String transactionId() { return "SELECT CAST(txid_current() AS text)"; ...
package com.vladmihalcea.book.hpjp.util.providers.queries; /** * @author Vlad Mihalcea */ public class PostgreSQLQueries implements Queries { public static final Queries INSTANCE = new PostgreSQLQueries(); @Override public String transactionId() { return "SELECT CAST(pg_current_xact_id_if_assig...
Update PostgreSQL transaction id query
Update PostgreSQL transaction id query
Java
apache-2.0
vladmihalcea/high-performance-java-persistence,vladmihalcea/high-performance-java-persistence
64885c385279dc4522a949abfeb98d96f568dae4
src/main/java/com/jmb/springfactory/service/productionschedule/ProductionScheduleServiceImpl.java
src/main/java/com/jmb/springfactory/service/productionschedule/ProductionScheduleServiceImpl.java
package com.jmb.springfactory.service.productionschedule; import org.springframework.beans.factory.annotation.Autowired; import com.jmb.springfactory.dao.GenericMySQLService; import com.jmb.springfactory.dao.productionschedule.ProductionScheduleMySQLService; import com.jmb.springfactory.model.bo.BusinessObjectBase; i...
package com.jmb.springfactory.service.productionschedule; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.jmb.springfactory.dao.GenericMySQLService; import com.jmb.springfactory.dao.productionschedule.ProductionScheduleMySQLService; import com.j...
Fix problem with context load
Fix problem with context load
Java
apache-2.0
JuanmaBM/Spring-Factory
f05aaf7d1f1289777fcadc8ddf95ca0416fdc443
src/forager/newui/Launcher.java
src/forager/newui/Launcher.java
package forager.newui; import java.util.HashMap; import java.util.Map; public class Launcher { public static void main(String[] args) throws Exception { if (args.length < 1) { printHelp(); } Client clientCommand = new Client(); Map<String, Command> commands = new Has...
package forager.newui; import java.util.HashMap; import java.util.Map; public class Launcher { public static void main(String[] args) throws Exception { if (args.length < 1) { printHelp(); } Client clientCommand = new Client(); Map<String, Command> commands = new Has...
Print command usage on errors
Print command usage on errors
Java
bsd-2-clause
malensek/forager,malensek/forager
000059cb3a36d0cbac755ff8b036a725efffc7d7
src/main/java/com/avairebot/orion/commands/music/SkipCommand.java
src/main/java/com/avairebot/orion/commands/music/SkipCommand.java
package com.avairebot.orion.commands.music; import com.avairebot.orion.Orion; import com.avairebot.orion.audio.AudioHandler; import com.avairebot.orion.contracts.commands.AbstractCommand; import net.dv8tion.jda.core.entities.Message; import java.util.Arrays; import java.util.List; public class SkipCommand extends Ab...
package com.avairebot.orion.commands.music; import com.avairebot.orion.Orion; import com.avairebot.orion.audio.AudioHandler; import com.avairebot.orion.audio.GuildMusicManager; import com.avairebot.orion.contracts.commands.AbstractCommand; import net.dv8tion.jda.core.entities.Message; import java.util.Arrays; import ...
Check if music is playing before skipping in music skip command
Check if music is playing before skipping in music skip command
Java
mit
AvaIre/AvaIre,AvaIre/AvaIre
d09281f3ba33ac9175705e305272f9a77dbe4288
src/main/java/com/sangdol/experiment/portableDb/ViewResource.java
src/main/java/com/sangdol/experiment/portableDb/ViewResource.java
package com.sangdol.experiment.portableDb; import com.codahale.metrics.annotation.Timed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import java.util.List; /** * @author hugh */ @Path("/user") @Produces(MediaType.APPLICATION_JSON) public class ViewResource { private ViewService viewService; p...
package com.sangdol.experiment.portableDb; import com.codahale.metrics.annotation.Timed; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import java.util.List; /** * @author hugh */ @Path("/user") @Produces(MediaType.APPLICATION_JSON) public class ViewResource { private ViewService viewService; p...
Throw 404 exception when accessing with invalid userId
Throw 404 exception when accessing with invalid userId
Java
mit
Sangdol/portable-db-experiment,Sangdol/portable-db-experiment
bf4b0caedc0be399e8a3e3e93b06a2a5ed0517e6
goci-data-services/goci-association-upload-services/src/main/java/uk/ac/ebi/spot/goci/service/UploadSheetProcessor.java
goci-data-services/goci-association-upload-services/src/main/java/uk/ac/ebi/spot/goci/service/UploadSheetProcessor.java
package uk.ac.ebi.spot.goci.service; import org.apache.poi.xssf.usermodel.XSSFSheet; import uk.ac.ebi.spot.goci.model.AssociationUploadRow; import java.util.Collection; /** * Created by emma on 13/04/2016. * * @author emma * <p> * Service to read an spreadsheet of associations */ public interfa...
package uk.ac.ebi.spot.goci.service; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import uk.ac.ebi.spot.goci.model.AssociationUploadRow; import java.util.Collection; import java.util.Map; /** * Created by emma on 13/04/2016. * * @author emma * <p> * ...
Add method to process headers
Add method to process headers
Java
apache-2.0
EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci
50b0ecab6c88cc2de12dc7d111ad80a198989543
opendaylight/netconf/netconf-monitoring/src/main/java/org/opendaylight/controller/netconf/monitoring/xml/JaxBSerializer.java
opendaylight/netconf/netconf-monitoring/src/main/java/org/opendaylight/controller/netconf/monitoring/xml/JaxBSerializer.java
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
Fix netconf-monitoring not reusing JAXB context
BUG-2459: Fix netconf-monitoring not reusing JAXB context JAXBContext can be freely reused, so cache it, as it has significant footprint in testing tool. Change-Id: If2f53b9dfd4a1d30390580fd800aa2f5eb4e2b72 Signed-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>
Java
epl-1.0
aryantaheri/monitoring-controller,inocybe/odl-controller,Johnson-Chou/test,Sushma7785/OpenDayLight-Load-Balancer,mandeepdhami/controller,522986491/controller,aryantaheri/monitoring-controller,tx1103mark/controller,aryantaheri/monitoring-controller,mandeepdhami/controller,mandeepdhami/controller,my76128/controller,inocy...
184a8b26d3e4155e1139c15ea47228010d3d4af4
extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClientProvider.java
extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClientProvider.java
package io.quarkus.vertx.http.deployment.devmode; import java.util.Optional; import org.jboss.logging.Logger; import io.quarkus.deployment.dev.remote.RemoteDevClient; import io.quarkus.deployment.dev.remote.RemoteDevClientProvider; import io.quarkus.runtime.LiveReloadConfig; import io.quarkus.runtime.configuration.C...
package io.quarkus.vertx.http.deployment.devmode; import java.util.Optional; import org.jboss.logging.Logger; import io.quarkus.deployment.dev.remote.RemoteDevClient; import io.quarkus.deployment.dev.remote.RemoteDevClientProvider; import io.quarkus.runtime.LiveReloadConfig; import io.quarkus.runtime.configuration.C...
Make missing password and error
Make missing password and error If the URL is set but no password this is clearly a config error.
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
44b911736d3a769ca5542093bb946b8e0bf1deb6
app/src/main/java/io/github/shark_app/shark/ScanActivity.java
app/src/main/java/io/github/shark_app/shark/ScanActivity.java
package io.github.shark_app.shark; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class ScanActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } }
package io.github.shark_app.shark; import android.os.Bundle; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.util.SparseArray; import com.google.android.gms.samples.vision.barcodereader.BarcodeCapture; import com.google.android.gms.sa...
Add QR Code scanning functionality
Add QR Code scanning functionality
Java
mit
shark-app/app,shark-app/app
a1316120de11addf1152eadd4241aa9b392a4f77
src/main/java/org/openhmis/provider/LoggerExceptionMapper.java
src/main/java/org/openhmis/provider/LoggerExceptionMapper.java
//package org.openhmis.provider; // //import javax.ws.rs.WebApplicationException; //import javax.ws.rs.core.Response; //import javax.ws.rs.ext.ExceptionMapper; //import javax.ws.rs.ext.Provider; // //import org.apache.log4j.Logger; //import org.glassfish.jersey.spi.ExtendedExceptionMapper; // //@Provider //public class...
package org.openhmis.provider; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import org.apache.log4j.Logger; import org.glassfish.jersey.spi.ExtendedExceptionMapper; @Provider public class LoggerExceptionMapper i...
Return logging removed in 1b3de81d
Return logging removed in 1b3de81d I think this logging should still be here. Is that right, @slifty?
Java
mpl-2.0
PCNI/OpenHMIS,PCNI/OpenHMIS,PCNI/OpenHMIS,PCNI/OpenHMIS
5e2ea782fff19404e397e1dc3796044b0065bce3
src/main/java/gwt/material/design/client/ui/table/XScrollPanel.java
src/main/java/gwt/material/design/client/ui/table/XScrollPanel.java
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 GwtMaterialDesign * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 GwtMaterialDesign * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
Use exact bar height calculations.
Use exact bar height calculations.
Java
apache-2.0
GwtMaterialDesign/gwt-material-table,GwtMaterialDesign/gwt-material-table,GwtMaterialDesign/gwt-material-table
44fdcddcf46899596ea6e9b1b32b01d67d5471bf
src/test/java/de/retest/recheck/TestCaseFinderJunitVintageTest.java
src/test/java/de/retest/recheck/TestCaseFinderJunitVintageTest.java
package de.retest.recheck; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; public class TestCaseFinderJunitVintageTest { @Test public void junit_vintage_test_cases_should_be_found() throws Exception { final StackTraceElement element = TestCaseFinder.findTestCaseMethodInStack(); ...
package de.retest.recheck; import static org.assertj.core.api.Assertions.assertThat; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; public class TestCaseFinderJunitVintageTest { @Test public void junit_vintage_test_annotation_shou...
Test all JUnit vintage annotations from TestCaseFinder
Test all JUnit vintage annotations from TestCaseFinder
Java
agpl-3.0
retest/recheck,retest/recheck
6d8a0327c9624c213462d554ba898ba1f26e24e1
src/test/java/com/alibaba/json/bvt/jsonp/JSONPParseTest3.java
src/test/java/com/alibaba/json/bvt/jsonp/JSONPParseTest3.java
package com.alibaba.json.bvt.jsonp; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONPObject; import com.alibaba.fastjson.serializer.SerializerFeature; import junit.framework.TestCase; /** * Created by wenshao on 21/02/2017. */ public class JSONPParseTest3 ex...
package com.alibaba.json.bvt.jsonp; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONPObject; import com.alibaba.fastjson.serializer.SerializerFeature; import junit.framework.TestCase; /** * Created by wenshao on 21/02/2017. */ public class JSONPParseTest3 ex...
Enable SerializeFeature.MapSortField for deterministic order
Enable SerializeFeature.MapSortField for deterministic order
Java
apache-2.0
alibaba/fastjson,alibaba/fastjson,alibaba/fastjson,alibaba/fastjson
96df843f8f3df82303c6ed6a550d82e7d9e32436
doc/tool/demo/Tool0.java
doc/tool/demo/Tool0.java
import java.util.spi.ToolProvider; /** Use tool provider to find and run javac tool. */ class Tool0 { public static void main(String... args) { ToolProvider.findFirst("javac").orElseThrow().run(System.out, System.err, args); } }
import java.util.spi.ToolProvider; /** Use tool provider to find and run javac tool. */ class Tool0 { public static void main(String... args) { ToolProvider.findFirst("javac").orElseThrow().run(System.out, System.err, "--version"); } }
Reset setup of step zero
Reset setup of step zero
Java
mit
sormuras/bach,sormuras/bach
c666cbba5a9c5b1027ca74c59a8bcf64e48371e8
app/src/main/java/edu/deanza/calendar/models/Organization.java
app/src/main/java/edu/deanza/calendar/models/Organization.java
package edu.deanza.calendar.models; /** * Created by soso1 on 8/8/2016. */ public class Organization { protected String name; protected String description; protected String facebookUrl; public Organization() {} public Organization(String name, String description) { this.name = name; ...
package edu.deanza.calendar.models; /** * Created by soso1 on 8/8/2016. */ public class Organization { protected String name; protected String description; protected String facebookUrl; public Organization() {} public Organization(String name, String description, String facebookUrl) { ...
Remove constructor w/o fbUrl; empty string guaranteed
Remove constructor w/o fbUrl; empty string guaranteed
Java
apache-2.0
saraelz/DA-Now
3942198c05ec8a981d659dcd1aae5e8e5c72bda5
runtime-testsuite/test/org/antlr/v4/test/runtime/states/State.java
runtime-testsuite/test/org/antlr/v4/test/runtime/states/State.java
/* * Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ package org.antlr.v4.test.runtime.states; import org.antlr.v4.test.runtime.Stage; public abstract class State { publ...
/* * Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ package org.antlr.v4.test.runtime.states; import org.antlr.v4.test.runtime.Stage; public abstract class State { publ...
Augment error message during testing to include full cause of problem. (round 2 to avoid null ptr)
Augment error message during testing to include full cause of problem. (round 2 to avoid null ptr) Signed-off-by: Terence Parr <275b89323d950c58c02f5ad8c33bac7ecb40d004@antlr.org>
Java
bsd-3-clause
ericvergnaud/antlr4,parrt/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,parrt/antlr4,antlr/antlr4,ericvergnaud/antlr4,parrt/antlr4,parrt/antlr4,parrt/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,antlr/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,antlr/antlr4,antlr/antlr4,antlr/antlr4,parrt/antlr4,ericvergnaud/antl...
e1ce1449248811d333108b601d29bf6698af7747
cluster-kubernetes/src/main/java/org/elasticsoftware/elasticactors/kubernetes/cluster/statemachine/impl/SingleThreadKubernetesStateMachine.java
cluster-kubernetes/src/main/java/org/elasticsoftware/elasticactors/kubernetes/cluster/statemachine/impl/SingleThreadKubernetesStateMachine.java
package org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.impl; import io.fabric8.kubernetes.api.model.apps.StatefulSet; import org.elasticsoftware.elasticactors.kubernetes.cluster.TaskScheduler; import org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.AbstractKubernetesStateMachine; i...
package org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.impl; import io.fabric8.kubernetes.api.model.apps.StatefulSet; import org.elasticsoftware.elasticactors.kubernetes.cluster.TaskScheduler; import org.elasticsoftware.elasticactors.kubernetes.cluster.statemachine.AbstractKubernetesStateMachine; i...
Add thread name to the state machine
Add thread name to the state machine
Java
apache-2.0
elasticsoftwarefoundation/elasticactors
ca5709bf4aa84105abf1cf29079b1d657230ea8e
src/main/java/com/github/slidekb/back/settings/PluginSettings.java
src/main/java/com/github/slidekb/back/settings/PluginSettings.java
package com.github.slidekb.back.settings; import java.util.ArrayList; import java.util.List; public class PluginSettings { String usedSlider; List<String> processes; List<String> hotkeys; boolean alwaysRun; List<String> sliderList; public List<String> getSliderList() { return sliderLi...
package com.github.slidekb.back.settings; import java.util.ArrayList; import java.util.List; public class PluginSettings { List<String> processes; List<String> hotkeys; boolean alwaysRun; List<String> sliderList; public List<String> getSliderList() { return sliderList; } public v...
Remove single slider entry from plugin settings
Remove single slider entry from plugin settings
Java
apache-2.0
SlideKB/SlideBar
d1be29918310c8f2d1bb31720a65c0c139c53376
src/main/java/mytown/protection/segment/getter/GetterConstant.java
src/main/java/mytown/protection/segment/getter/GetterConstant.java
package mytown.protection.segment.getter; public class GetterConstant extends Getter { public final Object constant; public GetterConstant(Object constant) { this.constant = constant; } @Override public Object invoke(Class<?> returnType, Object instance, Object... parameters) { r...
package mytown.protection.segment.getter; import com.google.gson.internal.LazilyParsedNumber; public class GetterConstant extends Getter { public final Object constant; public GetterConstant(Object constant) { this.constant = constant; } @Override public Object invoke(Class<?> returnTyp...
Allow conversion to Integer from constant.
Allow conversion to Integer from constant.
Java
unlicense
GameModsBR/MyTown2,MyEssentials/MyTown2,joserobjr/MyTown2
cc564837ec0c8cd86e78f4d9b00d44f134a2e198
core/common/src/test/java/alluxio/SystemOutRuleTest.java
core/common/src/test/java/alluxio/SystemOutRuleTest.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Use static imports for standard test utilities
Use static imports for standard test utilities pr-link: Alluxio/alluxio#8985 change-id: cid-2520d114c17da815ef1c596fb55e0b9a64d7070d
Java
apache-2.0
Alluxio/alluxio,Alluxio/alluxio,calvinjia/tachyon,wwjiang007/alluxio,madanadit/alluxio,bf8086/alluxio,calvinjia/tachyon,madanadit/alluxio,madanadit/alluxio,madanadit/alluxio,calvinjia/tachyon,wwjiang007/alluxio,madanadit/alluxio,maobaolong/alluxio,bf8086/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,EvilMcJerkface/allu...
8706879cefbe376f4dc113dc964f803e9e4edb96
metal-tools-service/src/main/java/io/parsingdata/metal/tools/service/WebSocketConfig.java
metal-tools-service/src/main/java/io/parsingdata/metal/tools/service/WebSocketConfig.java
/** * Copyright 2016 Gertjan Al * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/** * Copyright 2016 Gertjan Al * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Increase max message size for responses
Increase max message size for responses
Java
apache-2.0
gertjanal/metal-tools,gertjanal/metal-tools,gertjanal/metal-tools
2390db488c1dcce68982c8bf18d17441d557b7ec
core-java/src/main/java/org/spine3/error/package-info.java
core-java/src/main/java/org/spine3/error/package-info.java
/* * Copyright 2015, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
/* * Copyright 2015, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Add Javadoc for 'error' package.
Add Javadoc for 'error' package.
Java
apache-2.0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
a6317969f4be388b3a0393b6393d4048459d33c4
src/main/java/de/iani/cubequest/conditions/ConditionType.java
src/main/java/de/iani/cubequest/conditions/ConditionType.java
package de.iani.cubequest.conditions; public enum ConditionType { NEGATED(NegatedQuestCondition.class), RENAMED(RenamedCondition.class), GAMEMODE(GameModeCondition.class), MINIMUM_QUEST_LEVEL(MinimumQuestLevelCondition.class), HAVE_QUEST_STATUS(HaveQuestStatusCondition.class), S...
package de.iani.cubequest.conditions; public enum ConditionType { NEGATED(NegatedQuestCondition.class), RENAMED(RenamedCondition.class), GAMEMODE(GameModeCondition.class), MINIMUM_QUEST_LEVEL(MinimumQuestLevelCondition.class), HAVE_QUEST_STATUS(HaveQuestStatusCondition.class), S...
Add alias "state" for condition type "status".
Add alias "state" for condition type "status".
Java
bsd-2-clause
Brokkonaut/CubeQuest
c7bc5b340af98050432b448b135541435bdab497
minicluster/src/main/java/alluxio/multi/process/Utils.java
minicluster/src/main/java/alluxio/multi/process/Utils.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Replace anonymous type with lambda
Replace anonymous type with lambda pr-link: Alluxio/alluxio#8648 change-id: cid-50ff894a3d0e24b07fe4fb2585530b5032008f0b
Java
apache-2.0
Alluxio/alluxio,maobaolong/alluxio,Alluxio/alluxio,bf8086/alluxio,wwjiang007/alluxio,EvilMcJerkface/alluxio,wwjiang007/alluxio,madanadit/alluxio,calvinjia/tachyon,wwjiang007/alluxio,maobaolong/alluxio,Alluxio/alluxio,maobaolong/alluxio,bf8086/alluxio,calvinjia/tachyon,maobaolong/alluxio,EvilMcJerkface/alluxio,calvinjia...
22f7b3da89add667ff0a1346cb55c83c552e96ce
src/org/robockets/stronghold/robot/intake/Direction.java
src/org/robockets/stronghold/robot/intake/Direction.java
package org.robockets.stronghold.robot.intake; public enum Direction { FORWARD, BACKWARD, LEFT, RIGHT, STOP; }
package org.robockets.stronghold.robot.intake; public enum Direction { FORWARD, BACKWARD, LEFT, RIGHT, UP, DOWN, STOP; }
Add UP and DOWN enums
Add UP and DOWN enums
Java
mit
Team4761/2016-Robot-Code
2dc429241afb18075a4d57e4e64be08aaeb99b71
src/com/darkyen/TimeTrackerDefaultSettingsComponent.java
src/com/darkyen/TimeTrackerDefaultSettingsComponent.java
package com.darkyen; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.*; import org.jetbrains.annotations.NotNull; /** * Only used to track default settings. */ @State(name="DarkyenusTimeTrackerDefaults", storages...
package com.darkyen; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.*; import org.jetbrains.annotations.NotNull; /** * Only used to track default settings. */ @State(name="DarkyenusTimeTrackerDefaults", storages...
Add empty implementations of now-default methods for backwards compatibility
Add empty implementations of now-default methods for backwards compatibility Took 8 minutes
Java
unlicense
Darkyenus/DarkyenusTimeTracker,Darkyenus/DarkyenusTimeTracker,Darkyenus/DarkyenusTimeTracker
7a5ee536fb03dadb094b0dd4c5f171d3dffec864
src/es/ucm/fdi/tp/views/swing/controlpanel/ExitPane.java
src/es/ucm/fdi/tp/views/swing/controlpanel/ExitPane.java
package es.ucm.fdi.tp.views.swing.controlpanel; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JPanel; import es.ucm.fdi.tp.basecode.bgame.control.Controller; public class ExitPane extends JPanel implements ActionLi...
package es.ucm.fdi.tp.views.swing.controlpanel; import java.awt.FlowLayout; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.SwingUtilities; import es.ucm.fdi.tp.basecode.bgame.control.Controller...
Add confirmation box before exit
Add confirmation box before exit
Java
apache-2.0
ggrupo/ataxx
198cc2829c109bef95d2b4608cc4ee1460ada804
src/main/java/com/imsweb/seerapi/client/cs/CsSchema.java
src/main/java/com/imsweb/seerapi/client/cs/CsSchema.java
/* * Copyright (C) 2011 Information Management Services, Inc. */ package com.imsweb.seerapi.client.cs; import java.util.ArrayList; import java.util.List; import org.codehaus.jackson.annotate.JsonProperty; /** * Simple Java object that contains all of the schemas relevant information. */ public class CsSchema { ...
/* * Copyright (C) 2011 Information Management Services, Inc. */ package com.imsweb.seerapi.client.cs; import java.util.ArrayList; import java.util.List; import org.codehaus.jackson.annotate.JsonProperty; /** * Simple Java object that contains all of the schemas relevant information. */ public class CsSchema { ...
Maintain Java 6 compatibility for now
Maintain Java 6 compatibility for now
Java
mit
imsweb/seerapi-client-java
602321530a9457f29be69ee0df1af27600d63c44
coffee-chats/src/main/java/com/google/step/coffee/data/EventStore.java
coffee-chats/src/main/java/com/google/step/coffee/data/EventStore.java
package com.google.step.coffee.data; import com.google.appengine.api.datastore.*; import com.google.step.coffee.entity.Event; public class EventStore { private DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); /** * Saves the event to the database. Returns an <code>Event</code> * ...
package com.google.step.coffee.data; import com.google.appengine.api.datastore.*; import com.google.step.coffee.entity.Event; public class EventStore { private DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); /** * Saves the event to the database. Returns an <code>Event</code> * ...
Fix calendarId not being returned in response
Fix calendarId not being returned in response
Java
apache-2.0
googleinterns/step250-2020,googleinterns/step250-2020,googleinterns/step250-2020,googleinterns/step250-2020
a5469298b94cf88c6aadfd6065b7ba1d6b2da2e8
src/main/java/ac/simons/biking2/support/ResourceNotFoundException.java
src/main/java/ac/simons/biking2/support/ResourceNotFoundException.java
/* * Copyright 2015 michael-simons.eu. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2015 michael-simons.eu. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Add missing serial version id
Add missing serial version id
Java
apache-2.0
michael-simons/biking2,michael-simons/biking2,tullo/biking2,tullo/biking2,tullo/biking2,michael-simons/biking2,tullo/biking2,michael-simons/biking2
848ae7598d1d7dcafa68bbe2a5ed4fc79fdfa9bf
deeplearning4j-core/src/main/java/org/deeplearning4j/util/Dropout.java
deeplearning4j-core/src/main/java/org/deeplearning4j/util/Dropout.java
package org.deeplearning4j.util; import org.deeplearning4j.nn.api.Layer; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.ops.impl.transforms.DropOutInverted; import org.nd4j.linalg.factory.Nd4j; /** * @author Adam Gibson */ public class Dropout { private Dropout() { } /** ...
package org.deeplearning4j.util; import org.deeplearning4j.nn.api.Layer; import org.nd4j.linalg.api.ndarray.INDArray; import org.nd4j.linalg.api.ops.impl.transforms.DropOut; import org.nd4j.linalg.api.ops.impl.transforms.DropOutInverted; import org.nd4j.linalg.factory.Nd4j; /** * @author Adam Gibson */ public clas...
Switch dropconnect to native op
Switch dropconnect to native op
Java
apache-2.0
xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j...
8db70eaf2a95ffc802b7acb6a4006f648af6be53
docker-java-transport-okhttp/src/main/java/com/github/dockerjava/okhttp/UnixSocketFactory.java
docker-java-transport-okhttp/src/main/java/com/github/dockerjava/okhttp/UnixSocketFactory.java
package com.github.dockerjava.okhttp; import com.github.dockerjava.transport.DomainSocket; import javax.net.SocketFactory; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; class UnixSocketFactory extends SocketFactory { private final String socketPath; UnixSocketFactory(Stri...
package com.github.dockerjava.okhttp; import com.github.dockerjava.transport.UnixSocket; import javax.net.SocketFactory; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; class UnixSocketFactory extends SocketFactory { private final String socketPath; UnixSocketFactory(String...
Use UnixDocket in OkHttp as well
Use UnixDocket in OkHttp as well
Java
apache-2.0
docker-java/docker-java,docker-java/docker-java,tejksat/docker-java,tejksat/docker-java
5010d90bdb3700a541256ecf864bdead2d73ba3c
src/main/java/startUI.java
src/main/java/startUI.java
import guiLayer.startUpFrame; import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; import java.sql.SQLException; public class startUI extends Thread { private static JPanel startupFrame; public void run() { try { startUI(); } catch (ClassNotFoundException...
import guiLayer.startUpFrame; import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; import java.sql.SQLException; public class startUI extends Thread { private static JPanel startupFrame; public void run() { try { startUI(); } catch (ClassNotFoundException...
Make the UI use the native look and feel of the system itself.. Don't hardcode it!
Make the UI use the native look and feel of the system itself.. Don't hardcode it!
Java
mit
karbowiak/2semsterProjekt
928cb5c6fdfbcbd62f2d163e54f8b2f313453bd1
rxappfocus/src/main/java/com/gramboid/rxappfocus/AppFocusProvider.java
rxappfocus/src/main/java/com/gramboid/rxappfocus/AppFocusProvider.java
package com.gramboid.rxappfocus; import android.app.Activity; import android.app.Application; import android.app.Application.ActivityLifecycleCallbacks; import rx.Observable; import rx.subjects.PublishSubject; /** * Provides Observables to monitor app visibility. */ public class AppFocusProvider { private boo...
package com.gramboid.rxappfocus; import android.app.Activity; import android.app.Application; import android.app.Application.ActivityLifecycleCallbacks; import rx.Observable; import rx.subjects.ReplaySubject; /** * Provides Observables to monitor app visibility. */ public class AppFocusProvider { private bool...
Allow late subscribers to immediately get the visibility status
Allow late subscribers to immediately get the visibility status
Java
apache-2.0
gramboid/RxAppFocus
12a9fe34d65432941287f468ae4a857f13c3b7a8
app/src/main/java/fr/neamar/kiss/pojo/PojoComparator.java
app/src/main/java/fr/neamar/kiss/pojo/PojoComparator.java
package fr.neamar.kiss.pojo; import java.util.Comparator; public class PojoComparator implements Comparator<Pojo> { @Override public int compare(Pojo lhs, Pojo rhs) { return (lhs.relevance < rhs.relevance ? 1 : (lhs.relevance == rhs.relevance ? 0 : -1)); } }
package fr.neamar.kiss.pojo; import java.util.Comparator; public class PojoComparator implements Comparator<Pojo> { @Override public int compare(Pojo lhs, Pojo rhs) { return rhs.relevance - lhs.relevance; } }
Improve comparison between two pojos
Improve comparison between two pojos
Java
mit
amonaslaju/KISS,wilderjds/KISS,alexander255/KISS,7ShaYaN7/SmartLauncher,cerisara/KISS,bitcores/KISS,Pluggi/KISS,losingkeys/KISS,bdube/KISS,kuroidoruido/KISS
5cae0b8c6f81280b3a5bc26a023067986c36e7c9
src/main/java/com/sloshydog/eventuate/inmemory/InMemoryEventStore.java
src/main/java/com/sloshydog/eventuate/inmemory/InMemoryEventStore.java
package com.sloshydog.eventuate.inmemory; import com.sloshydog.eventuate.api.Event; import com.sloshydog.eventuate.api.EventSpecification; import com.sloshydog.eventuate.api.EventStore; import com.sloshydog.eventuate.api.EventStream; public class InMemoryEventStore implements EventStore { @Override public vo...
package com.sloshydog.eventuate.inmemory; import com.sloshydog.eventuate.api.Event; import com.sloshydog.eventuate.api.EventSpecification; import com.sloshydog.eventuate.api.EventStore; import com.sloshydog.eventuate.api.EventStream; import java.util.ArrayList; import java.util.Iterator; import java.util.List; publi...
Implement the in memory event store so unit test passes.
Implement the in memory event store so unit test passes.
Java
apache-2.0
andytrigg/eventuate
274e695cb0bf8eace0af0bf673f294ffef3dd5f4
src/main/java/org/rmatil/sync/persistence/core/dht/DhtPathElement.java
src/main/java/org/rmatil/sync/persistence/core/dht/DhtPathElement.java
package org.rmatil.sync.persistence.core.dht; import net.tomp2p.peers.Number160; import net.tomp2p.utils.Utils; import org.rmatil.sync.persistence.api.IPathElement; import java.security.PublicKey; /** * A path element representing data in the DHT */ public class DhtPathElement implements IPathElement { /** ...
package org.rmatil.sync.persistence.core.dht; import net.tomp2p.peers.Number160; import net.tomp2p.utils.Utils; import org.rmatil.sync.persistence.api.IPathElement; import java.security.Key; /** * A path element representing data in the DHT */ public class DhtPathElement implements IPathElement { /** * T...
Use a generic key instead of PublicKey
Use a generic key instead of PublicKey
Java
apache-2.0
p2p-sync/persistence
a34049c578fa5ae9c207e92526d6b60cb79cd6c5
willow-servers/src/main/java/com/nitorcreations/willow/servers/WillowServletContextListener.java
willow-servers/src/main/java/com/nitorcreations/willow/servers/WillowServletContextListener.java
package com.nitorcreations.willow.servers; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import org.apache.shiro.guice.web.ShiroWebModule; import org.eclipse.sisu.space.SpaceModule; import org.eclipse.sisu.space.URLClassSpace; import org.eclipse.sisu.wire.WireModule; import com.googl...
package com.nitorcreations.willow.servers; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import org.apache.shiro.guice.web.ShiroWebModule; import org.eclipse.sisu.space.SpaceModule; import org.eclipse.sisu.space.URLClassSpace; import org.eclipse.sisu.wire.WireModule; import com.googl...
Put shiro module into an easily overridable function
Put shiro module into an easily overridable function
Java
apache-2.0
NitorCreations/willow,NitorCreations/willow,NitorCreations/willow,NitorCreations/willow,NitorCreations/willow
ca74c938294e66a483d4b069319ced142e618fbb
src/main/java/com/kawansoft/aceql/gui/util/AceQLManagerUtil.java
src/main/java/com/kawansoft/aceql/gui/util/AceQLManagerUtil.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.kawansoft.aceql.gui.util; /** * * @author Nicolas de Pomereu */ public class AceQLManagerUtil { p...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.kawansoft.aceql.gui.util; /** * * @author Nicolas de Pomereu */ public class AceQLManagerUtil { p...
Refactor and follow codacy.com best practices
Refactor and follow codacy.com best practices
Java
apache-2.0
kawansoft/aceql-http-gui,kawansoft/aceql-http-gui
b3c36451aaeb009a759bcf4bdab98ee78b75049a
src/main/java/com/michael_kuck/android/mkcommons/LayoutUtil.java
src/main/java/com/michael_kuck/android/mkcommons/LayoutUtil.java
/* * * * * LayoutUtil.java * * as part of mkcommons-android * * * * Created by michaelkuck, last updated on 7/25/14 1:00 PM * * Unless otherwise stated in a separate LICENSE file for this project * * or agreed via contract, all rights reserved by the author. * */ package com.michael_kuck.android.mkcommo...
/* * * * * LayoutUtil.java * * as part of mkcommons-android * * * * Created by michaelkuck, last updated on 7/25/14 1:00 PM * * Unless otherwise stated in a separate LICENSE file for this project * * or agreed via contract, all rights reserved by the author. * */ package com.michael_kuck.android.mkcommo...
Add methods for converting resolution independent pixels (dp) to real pixels and the other way round.
Add methods for converting resolution independent pixels (dp) to real pixels and the other way round.
Java
bsd-3-clause
mikumi/MKCommons-Android
094c89122f19f1acecd099c42c4e8ce9a1916d0c
src/main/java/org/jboss/rhiot/services/api/IRHIoTTagScanner.java
src/main/java/org/jboss/rhiot/services/api/IRHIoTTagScanner.java
package org.jboss.rhiot.services.api; /** * Created by sstark on 5/25/16. */ public interface IRHIoTTagScanner { }
package org.jboss.rhiot.services.api; /** * Created by sstark on 5/25/16. */ public interface IRHIoTTagScanner { // Metrics keys // Set 1, the tag data sent on every advertisement event static final String TAG_TEMP = "rhiotTag.temperature"; static final String TAG_KEYS = "rhiotTag.keys"; static final ...
Add constants for the msg metrics and rest endpoints
Add constants for the msg metrics and rest endpoints
Java
apache-2.0
RHioTResearch/RHIoTTagServices
15542cc0d323413c7f9afa20bbd2c99dd75ed3b7
src/test/java/net/symphonious/commonjs/CommonJsCompilerTest.java
src/test/java/net/symphonious/commonjs/CommonJsCompilerTest.java
package net.symphonious.commonjs; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; public class CommonJsCompilerTest { private static final String SIMPLE_JAVASCRIPT = "console.log('Hello World!');"; private final InMemoryModuleLoader moduleLoader ...
package net.symphonious.commonjs; import org.junit.Test; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; public class CommonJsCompilerTest { private static final...
Move test to asserting the result of the script instead of doing a simple text comparison.
Move test to asserting the result of the script instead of doing a simple text comparison.
Java
apache-2.0
ajsutton/commonjs-java,ajsutton/commonjs-java
d55d442a0e0a159a70055c84834cb2ba6c092d1b
templates/maven-quickstart/src/main/java/utils/package-info.java
templates/maven-quickstart/src/main/java/utils/package-info.java
/** * Common utility classes. */ package com.github.dkorotych.test.utils;
/* * Copyright 2016 Dmitry Korotych (dkorotych at gmail dot com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
Fix generated package name Added license information
Fix generated package name Added license information
Java
apache-2.0
dkorotych/lazybones-templates,dkorotych/lazybones-templates
92531a573c9167452e1639117d0d5c827731c8b9
nox/src/main/java/com/github/pedrovgs/nox/path/SpiralPath.java
nox/src/main/java/com/github/pedrovgs/nox/path/SpiralPath.java
package com.github.pedrovgs.nox.path; /** * Spiral Path implementation used to place NoxItem objects in a equiangular spiral starting from * the center of the view. NoxItem instances in this path will have the same size. * * @author Pedro Vicente Gomez Sanchez. */ class SpiralPath extends Path { SpiralPath(Pat...
package com.github.pedrovgs.nox.path; /** * Spiral Path implementation used to place NoxItem objects in a equiangular spiral starting from * the center of the view. NoxItem instances in this path will have the same size. This path is * based on the Archimedean Spiral. * * @author Pedro Vicente Gomez Sanchez. */ ...
Remove unused method and add some javadoc.
Remove unused method and add some javadoc.
Java
apache-2.0
pedrovgs/Nox
442a6caceb932401c12e4dcb2388c57fe6a30349
src/main/java/com/github/pedrovgs/problem39/MultiplyArrayElements.java
src/main/java/com/github/pedrovgs/problem39/MultiplyArrayElements.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Add iterative solution to problem 39
Add iterative solution to problem 39
Java
apache-2.0
zhdh2008/Algorithms,chengjinqian/Algorithms,mrgenco/Algorithms-1,Arkar-Aung/Algorithms,zmywly8866/Algorithms,pedrovgs/Algorithms,ajinkyakolhe112/Algorithms,jibaro/Algorithms,AppScientist/Algorithms,Ariloum/Algorithms,007slm/Algorithms,inexistence/Algorithms,sridhar-newsdistill/Algorithms,VeskoI/Algorithms,JeffreyWei/Al...
93450571760d5f3c3f4c130675eaaf677c9735a5
ocpp-v1_6/src/main/java/eu/chargetime/ocpp/model/core/package-info.java
ocpp-v1_6/src/main/java/eu/chargetime/ocpp/model/core/package-info.java
/* ChargeTime.eu - Java-OCA-OCPP MIT License Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restrict...
/* ChargeTime.eu - Java-OCA-OCPP MIT License Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restrict...
Modify package info with the default namespace
Modify package info with the default namespace
Java
mit
ChargeTimeEU/Java-OCA-OCPP,ChangeTimeEU/Java-OCA-OCPP,ChargeTimeEU/Java-OCA-OCPP
02cd169d05f2ac1316bec47a2ca851646b93c880
health/src/main/java/com/health/input/InputFunctions.java
health/src/main/java/com/health/input/InputFunctions.java
package com.health.input; import java.util.List; import com.health.Record; import com.health.Table; <<<<<<< HEAD /** * A class for functions with can be called on all input formats. * */ ======= >>>>>>> made a special class for input functions as ignore last public class InputFunctions { /** * Deletes the l...
package com.health.input; import java.util.List; import com.health.Record; import com.health.Table; /** * A class for functions with can be called on all input formats. */ public class InputFunctions { /** * Deletes the last x lines which are not needed as specified by the user. * * @param tabl...
Revert "xls Parser fix for ignore last lines"
Revert "xls Parser fix for ignore last lines"
Java
mit
adamIqbal/Health
f32a4239735987e4f160b4401ec93bf702e8e131
agents/neo4j/src/main/java/uk/ac/ebi/biosamples/neo/NeoMessageBuffer.java
agents/neo4j/src/main/java/uk/ac/ebi/biosamples/neo/NeoMessageBuffer.java
package uk.ac.ebi.biosamples.neo; import java.util.Collection; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.ConcurrencyFailureException; import org.springframework.stereotype.Component; import uk.ac.ebi.biosamples.messages.threaded.MessageBuffer; im...
package uk.ac.ebi.biosamples.neo; import java.util.Collection; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.ConcurrencyFailureException; import org.springframework.stereotype.Component; import uk.ac.ebi.biosamples.messages.threaded.MessageBuffer; im...
Tweak to error message propagation
Tweak to error message propagation
Java
apache-2.0
EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4
b7b4c79f6640fdba67fa80a82246149a7b54e374
nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/nuxeo/drive/service/impl/RootDefinitionsHelper.java
nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/nuxeo/drive/service/impl/RootDefinitionsHelper.java
package org.nuxeo.drive.service.impl; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.nuxeo.ecm.core.api.IdRef; public class RootDefinitionsHelper { public static Map<String, Set<IdRef>> parseRootDefinit...
package org.nuxeo.drive.service.impl; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.nuxeo.ecm.core.api.IdRef; public class RootDefinitionsHelper { private RootDefinitionsHelper() { // Utility c...
Fix Sonar Major violation: Hide Utility Class Constructor
NXP-11577: Fix Sonar Major violation: Hide Utility Class Constructor
Java
lgpl-2.1
DirkHoffmann/nuxeo-drive,IsaacYangSLA/nuxeo-drive,arameshkumar/base-nuxeo-drive,DirkHoffmann/nuxeo-drive,arameshkumar/base-nuxeo-drive,arameshkumar/base-nuxeo-drive,loopingz/nuxeo-drive,loopingz/nuxeo-drive,ssdi-drive/nuxeo-drive,loopingz/nuxeo-drive,arameshkumar/nuxeo-drive,loopingz/nuxeo-drive,ssdi-drive/nuxeo-drive,...
f6c687f607671302aa2af1d0cd5bdcc6656ec703
app/src/main/java/com/innovattic/logeverywhere/MainActivity.java
app/src/main/java/com/innovattic/logeverywhere/MainActivity.java
package com.innovattic.logeverywhere; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import butterknife.ButterKnife; import butterknife.OnClick; /** * Created by Jelle on 6-7-2015. */ public class MainActivity extends Activity { @Override protected void onCreate(Bundle sav...
package com.innovattic.logeverywhere; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import butterknife.ButterKnife; import butterknife.OnClick; /** * Created by Jelle on 6-7-2015. */ public class MainActivity extends Activity { private static final String TAG = MainActivit...
Add (failed) attempt to grant ourselves READ_LOGS permission
Add (failed) attempt to grant ourselves READ_LOGS permission
Java
apache-2.0
jfresen/log-everywhere
3bd4517838783e2c3e8758d94ab4ad64ee9c6c35
app/src/main/java/com/marverenic/music/ui/settings/SettingsActivity.java
app/src/main/java/com/marverenic/music/ui/settings/SettingsActivity.java
package com.marverenic.music.ui.settings; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.view.MenuItem; import com.marverenic.music.R; import com.marverenic.music.ui.BaseActivity; public class SettingsActivity extends BaseActivity { ...
package com.marverenic.music.ui.settings; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v7.app.ActionBar; import com.marverenic.music.R; import com.marverenic.music.ui.BaseActivity; public class SettingsActivity extends BaseAc...
Fix missing up button on settings page
Fix missing up button on settings page
Java
apache-2.0
marverenic/Jockey,marverenic/Jockey
c1be7fc0fa32ce58e9075da4a35e51914d16b023
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/repoimage/GetImagesListQueryBase.java
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/repoimage/GetImagesListQueryBase.java
package org.ovirt.engine.core.bll.storage.repoimage; import java.util.List; import org.ovirt.engine.core.bll.QueriesCommandBase; import org.ovirt.engine.core.bll.storage.domain.IsoDomainListSyncronizer; import org.ovirt.engine.core.common.businessentities.storage.RepoImage; import org.ovirt.engine.core.common.queries...
package org.ovirt.engine.core.bll.storage.repoimage; import java.util.ArrayList; import java.util.List; import org.ovirt.engine.core.bll.QueriesCommandBase; import org.ovirt.engine.core.bll.storage.domain.IsoDomainListSyncronizer; import org.ovirt.engine.core.common.businessentities.storage.RepoImage; import org.ovir...
Fix ISO Domain List refresh NPE
core: Fix ISO Domain List refresh NPE Fix ISO DomainList refresh NPE when no ISO domain is configured. Change-Id: Ied2b1490d8f66bb40f6f456d2d39bb05120e97d3 Bug-Url: https://bugzilla.redhat.com/1291202 Signed-off-by: Marek Libra <e8e92ef0eef30bdb5bafbacaf4ac8261fffd12ff@redhat.com>
Java
apache-2.0
OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine
a6cf909d0c2c569b3df5e3883fb1212c27257198
src/main/java/com/kiselev/reflection/ui/bytecode/agent/Agent.java
src/main/java/com/kiselev/reflection/ui/bytecode/agent/Agent.java
package com.kiselev.reflection.ui.bytecode.agent; import com.kiselev.reflection.ui.bytecode.holder.ByteCodeHolder; import java.lang.instrument.Instrumentation; import java.util.List; /** * Created by Vadim Kiselev on 6/12/2017. */ public class Agent { public static void agentmain(String args, Instrumentation ...
package com.kiselev.reflection.ui.bytecode.agent; import java.lang.instrument.Instrumentation; /** * Created by Vadim Kiselev on 6/12/2017. */ public class Agent { public static void agentmain(String args, Instrumentation instrumentation) { try { instrumentation.addTransformer(new Transform...
Fix agent class after merging
Fix agent class after merging
Java
mit
vadim8kiselev/reflection-ui
8a3e300c06fe8087ba1aad4abef430161d1c0990
spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
spec-api/src/main/java/org/apache/amber/server/OAuthServer.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Revert previous commit adding storage methods
Revert previous commit adding storage methods git-svn-id: 522c0d53943162a6437d919c1900af0a20491c0c@962477 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
sebadiaz/oltu,apache/oltu,enamrik/oltu,apache/oltu,sncap/oltu,sebadiaz/oltu,sebadiaz/oltu,jimbarritt/amber,jimbarritt/amber,enamrik/oltu,englishtown/oltu,sncap/oltu,enamrik/oltu,englishtown/oltu
23e664408e85d31243fbd95cc289a6bd1d89e3b4
src/core/org/apache/jmeter/testelement/property/PropertyIteratorImpl.java
src/core/org/apache/jmeter/testelement/property/PropertyIteratorImpl.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Tidy types Make class final and remove unused ctor/setter
Tidy types Make class final and remove unused ctor/setter git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@804702 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: a37b5f7b7d8cc52c9947bc15230d1a7f0e972d06
Java
apache-2.0
ham1/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,ham1/jmeter,etnetera/jmeter,apache/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter,benbenw/jmeter
0e817e574ddd4123137abe120cccb5e1a08e031c
test/org/callimachusproject/webdriver/pages/DigestUserEdit.java
test/org/callimachusproject/webdriver/pages/DigestUserEdit.java
package org.callimachusproject.webdriver.pages; import org.callimachusproject.webdriver.helpers.WebBrowserDriver; import org.openqa.selenium.By; public class DigestUserEdit extends CalliPage { public DigestUserEdit(WebBrowserDriver driver) { super(driver); } public FileUploadForm openPhotoUpload() { driver.c...
package org.callimachusproject.webdriver.pages; import org.callimachusproject.webdriver.helpers.WebBrowserDriver; import org.openqa.selenium.By; public class DigestUserEdit extends CalliPage { public DigestUserEdit(WebBrowserDriver driver) { super(driver); } public FileUploadForm openPhotoUpload() { driver.c...
Switch focus back to top window
Switch focus back to top window
Java
apache-2.0
Thellmann/callimachus,edwardsph/callimachus,3-Round-Stones/callimachus,Thellmann/callimachus,jimmccusker/callimachus,jimmccusker/callimachus,Thellmann/callimachus,jimmccusker/callimachus,jimmccusker/callimachus,3-Round-Stones/callimachus,3-Round-Stones/callimachus,jimmccusker/callimachus,edwardsph/callimachus,edwardsph...
fc3fe9ec605db9a5ba4859e3b2647779da13e813
src/main/java/roycurtis/signshopexport/json/Exclusions.java
src/main/java/roycurtis/signshopexport/json/Exclusions.java
package roycurtis.signshopexport.json; import com.google.gson.ExclusionStrategy; import com.google.gson.FieldAttributes; public class Exclusions implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes f) { String name = f.getName(); return // Ig...
package roycurtis.signshopexport.json; import com.google.gson.ExclusionStrategy; import com.google.gson.FieldAttributes; public class Exclusions implements ExclusionStrategy { @Override public boolean shouldSkipField(FieldAttributes f) { String name = f.getName(); return // Ig...
Exclude skull profile tags from export
Exclude skull profile tags from export
Java
mit
Gamealition/SignShopExport