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 |
|---|---|---|---|---|---|---|---|---|---|
f6ba84c42f7b88134c680663e95b12bbd6717ce0 | src/main/java/com/graphicsengine/charset/PlayfieldFactory.java | src/main/java/com/graphicsengine/charset/PlayfieldFactory.java | package com.graphicsengine.charset;
import java.io.IOException;
import com.graphicsengine.assets.AssetManager;
import com.nucleus.renderer.BaseRenderer;
import com.nucleus.texturing.Texture2D;
/**
* Use to create charmaps from JSON source
*
* @author Richard Sahlin
*
*/
public class PlayfieldFactory {
pub... | package com.graphicsengine.charset;
import java.io.IOException;
import com.graphicsengine.assets.AssetManager;
import com.nucleus.renderer.BaseRenderer;
import com.nucleus.texturing.Texture2D;
/**
* Use to create charmaps from JSON source
*
* @author Richard Sahlin
*
*/
public class PlayfieldFactory {
/**... | Change playfield factory method name to create() | Change playfield factory method name to create()
| Java | apache-2.0 | rsahlin/graphics-engine,rsahlin/graphics-engine |
1bbbd45c365705dc4474a8dacf77ccf012c98773 | src/main/java/com/skelril/aurora/prayer/PrayerFX/ZombieFX.java | src/main/java/com/skelril/aurora/prayer/PrayerFX/ZombieFX.java | /*
* Copyright (c) 2014 Wyatt Childers.
*
* All Rights Reserved
*/
package com.skelril.aurora.prayer.PrayerFX;
import com.skelril.aurora.prayer.PrayerType;
import org.bukkit.entity.Player;
import org.bukkit.entity.Zombie;
/**
* Author: Turtle9598
*/
public class ZombieFX extends AbstractEffect {
@Override... | /*
* Copyright (c) 2014 Wyatt Childers.
*
* All Rights Reserved
*/
package com.skelril.aurora.prayer.PrayerFX;
import com.skelril.aurora.prayer.PrayerType;
import org.bukkit.entity.Player;
import org.bukkit.entity.Zombie;
/**
* Author: Turtle9598
*/
public class ZombieFX extends AbstractEffect {
@Override... | Set the target of zombies spawned by the Zombie curse | Set the target of zombies spawned by the Zombie curse
| Java | agpl-3.0 | Skelril/Aurora |
584ee1ba8bd38926b846d01cd302388d3e9a9077 | gwt-polymer-elements/src/main/java/com/vaadin/components/gwt/polymer/client/Polymer.java | gwt-polymer-elements/src/main/java/com/vaadin/components/gwt/polymer/client/Polymer.java | package com.vaadin.components.gwt.polymer.client;
import java.util.HashSet;
import java.util.Set;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.vaadin.components.gwt.polymer.client.element.ImportsMap;
public class Polymer {
... | package com.vaadin.components.gwt.polymer.client;
import java.util.HashSet;
import java.util.Set;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.vaadin.components.gwt.polymer.client.element.ImportsMap;
public abstract class Polym... | Remove unused methods and make the class static | Remove unused methods and make the class static
Signed-off-by: Manolo Carrasco <0d18e2b6d68973f0f02c17c97e4765f716eca440@apache.org>
| Java | apache-2.0 | manolo/gwt-api-generator,vaadin/gwt-polymer-elements,florian-f/gwt-api-generator,vaadin/gwt-api-generator,manolo/gwt-api-generator,florian-f/gwt-api-generator,vaadin/gwt-api-generator,manolo/gwt-polymer-elements |
2af78142eb3f5a8cfbf66a765dd9a62ec5b4390b | presto-main/src/main/java/com/facebook/presto/failureDetector/FailureDetectorModule.java | presto-main/src/main/java/com/facebook/presto/failureDetector/FailureDetectorModule.java | /*
* 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
* distribut... | /*
* 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
* distribut... | Use a private I/O thread pool for failure detector | Use a private I/O thread pool for failure detector
| Java | apache-2.0 | vermaravikant/presto,jiekechoo/presto,y-lan/presto,mode/presto,fipar/presto,electrum/presto,hgschmie/presto,aglne/presto,martint/presto,11xor6/presto,yuananf/presto,mugglmenzel/presto,tellproject/presto,fiedukow/presto,Svjard/presto,mattyb149/presto,arhimondr/presto,jf367/presto,joshk/presto,XiaominZhang/presto,harunur... |
2d0801f9156d70ea7e13118855d3af8d7fe795c6 | PicoBramble/src/bramble/configuration/BrambleConfiguration.java | PicoBramble/src/bramble/configuration/BrambleConfiguration.java | package bramble.configuration;
public abstract class BrambleConfiguration {
public static final int MASTER_PORT = 5800;
public static final int SLAVE_PORT = 5801;
public static final int WEB_API_SERVER_PORT = 5802;
public static final int WEB_SERVER_PORT = 8000;
public static final String MASTER_NODE_IP = "169.... | package bramble.configuration;
public abstract class BrambleConfiguration {
public static final int MASTER_PORT = 5800;
public static final int SLAVE_PORT = 5801;
public static final int WEB_API_SERVER_PORT = 5802;
public static final int WEB_SERVER_PORT = 8000;
public static final String MASTER_NODE_IP = "169.... | Use relative path for web files location | Use relative path for web files location
| Java | apache-2.0 | Tom-Willemsen/PicoBramble,Tom-Willemsen/PicoBramble,Tom-Willemsen/PicoBramble |
49580b5215f68bdff3428cee2ed257c83dcd1351 | digdag-cli/src/main/java/io/digdag/cli/client/ShowProjects.java | digdag-cli/src/main/java/io/digdag/cli/client/ShowProjects.java | package io.digdag.cli.client;
import io.digdag.cli.SystemExitException;
import io.digdag.client.DigdagClient;
import io.digdag.client.api.RestProject;
import io.digdag.client.api.RestProjectCollection;
import static io.digdag.cli.SystemExitException.systemExit;
public class ShowProjects
extends ClientCommand... | package io.digdag.cli.client;
import io.digdag.cli.SystemExitException;
import io.digdag.cli.TimeUtil;
import io.digdag.client.DigdagClient;
import io.digdag.client.api.RestProject;
import io.digdag.client.api.RestProjectCollection;
import static io.digdag.cli.SystemExitException.systemExit;
public class ShowProject... | Change output format like digdag sessions | Change output format like digdag sessions
| Java | apache-2.0 | treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag |
bed404c22694f8161c53d77291183f89ee7263cf | src/main/java/me/coley/recaf/command/impl/Initializer.java | src/main/java/me/coley/recaf/command/impl/Initializer.java | package me.coley.recaf.command.impl;
import me.coley.recaf.Recaf;
import me.coley.recaf.control.Controller;
import me.coley.recaf.control.gui.GuiController;
import me.coley.recaf.control.headless.HeadlessController;
import picocli.CommandLine;
import java.io.File;
/**
* Command line initializer for Recaf, invoked f... | package me.coley.recaf.command.impl;
import me.coley.recaf.Recaf;
import me.coley.recaf.control.Controller;
import me.coley.recaf.control.gui.GuiController;
import me.coley.recaf.control.headless.HeadlessController;
import picocli.CommandLine;
import java.awt.*;
import java.io.File;
/**
* Command line initializer f... | Check if we are running in headless environment | Check if we are running in headless environment
| Java | mit | Col-E/Recaf,Col-E/Recaf |
5c48436f87f43c5be4b8a20711877e8d2a4f91b3 | src/org/usfirst/frc2832/Robot_2016/HID/VirtualGamepad.java | src/org/usfirst/frc2832/Robot_2016/HID/VirtualGamepad.java | package org.usfirst.frc2832.Robot_2016.HID;
import java.util.ArrayList;
public class VirtualGamepad {
private ArrayList<GamepadState> states;
private boolean done;
// Millisecond timings
long startTime, recordedOffset;
int lastIndex = 0;
public VirtualGamepad(ArrayList<GamepadState> states) {... | package org.usfirst.frc2832.Robot_2016.HID;
import java.util.ArrayList;
public class VirtualGamepad {
private ArrayList<GamepadState> states;
private boolean done;
// Millisecond timings
long startTime, recordedOffset;
int lastIndex = 0;
public VirtualGamepad(ArrayList<GamepadState> states) {... | Fix issue with out of bounds array check in recordable autonomous | Fix issue with out of bounds array check in recordable autonomous | Java | bsd-3-clause | FRC2832/Robot_2016 |
c822be4b2239fc81533b466c41e28dc50980bbae | compass-integration-test/src/test/java/de/dfki/asr/compass/test/integration/DeploymentDeployTest.java | compass-integration-test/src/test/java/de/dfki/asr/compass/test/integration/DeploymentDeployTest.java | /*
* This file is part of COMPASS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also available at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
package de.dfki.asr.compass.t... | /*
* This file is part of COMPASS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also available at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
package de.dfki.asr.compass.t... | Add the Unit Test as a Library to the EAR prior to deployment. | Add the Unit Test as a Library to the EAR prior to deployment.
| Java | apache-2.0 | dfki-asr/compass,dfki-asr/compass,dfki-asr/compass |
f02bb65b078b5c46d548ded6876b37eddda7adb1 | Scheduler/src/main/java/Client.java | Scheduler/src/main/java/Client.java | import rabbit.Receiver;
public class Client {
public static void main(String[] args) {
Receiver receiver = new Receiver();
receiver.startReceiving();
}
}
| import dmon.core.commons.helpers.CommandLineArgumentParser;
import dmon.core.commons.helpers.PidManipulation;
import dmon.core.commons.helpers.ProgramArguments;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
import rabbit.Receiver;
public class Client {
public static final Logger lo... | Add argument parser to Scheduler component. | Add argument parser to Scheduler component.
| Java | apache-2.0 | IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring |
8af4957e3d1f0a1950e8a67b7e23e4dbf8fd4c7c | sampleData/BasicArithmatic.java | sampleData/BasicArithmatic.java | public class BasicArithmatic
{
private static final int constant = 10;
public static int casualMethod()
{
return 1;
}
public static void main(String args)
{
int a = 4;
int b = 2 + casualMethod();
int sum = a + b;
int product = a*b;
int difference = a -b;
int addImmediate = a + 2;
int subImmediat... | public class BasicArithmatic
{
private static final int constant = 10;
public static int casualMethod()
{
return 1;
}
public static void main(String args)
{
int a = 4;
int b = 2 + casualMethod();
if (true)
{
b += 1;
}
int sum = a + b;
int product = a*b;
int difference = a -b;
int addImmed... | Add conditional to sample java file | Add conditional to sample java file
| Java | apache-2.0 | zcmoore/plp-grinder,zcmoore/plp-grinder,Progressive-Learning-Platform/plp-grinder,Progressive-Learning-Platform/plp-grinder |
b680215f57c40d9aeba5916abc2e0bfaf14b85a5 | src/main/java/org/nwapw/abacus/plugin/NumberImplementation.java | src/main/java/org/nwapw/abacus/plugin/NumberImplementation.java | package org.nwapw.abacus.plugin;
import org.nwapw.abacus.number.NumberInterface;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
public abstract class NumberImplementation {
private Class<? extends NumberInterface> implementation;
private Map<String, Function<NumberInterf... | package org.nwapw.abacus.plugin;
import org.nwapw.abacus.number.NumberInterface;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
public abstract class NumberImplementation {
protected Map<Class<? extends NumberInterface>, Function<NumberInterface, NumberInterface>> promotionP... | Make the promotion map protected and use classes. | Make the promotion map protected and use classes.
| Java | mit | DanilaFe/abacus,DanilaFe/abacus |
a61b844e411687e1b4b876a4c38f086f0e028ddd | rule-beans/src/com/axonivy/ivy/process/element/rule/ui/cellEdit/NumericValueVerifier.java | rule-beans/src/com/axonivy/ivy/process/element/rule/ui/cellEdit/NumericValueVerifier.java | package com.axonivy.ivy.process.element.rule.ui.cellEdit;
import org.apache.commons.lang3.math.NumberUtils;
import org.eclipse.swt.events.VerifyEvent;
import org.eclipse.swt.events.VerifyListener;
import org.eclipse.swt.widgets.Text;
public class NumericValueVerifier implements VerifyListener
{
@Override
public v... | package com.axonivy.ivy.process.element.rule.ui.cellEdit;
import org.apache.commons.lang3.math.NumberUtils;
import org.eclipse.swt.events.VerifyEvent;
import org.eclipse.swt.events.VerifyListener;
import org.eclipse.swt.widgets.Text;
public class NumericValueVerifier implements VerifyListener
{
@Override
public v... | Fix IndexOutOfBoundEx for empty numeric values | Fix IndexOutOfBoundEx for empty numeric values | Java | apache-2.0 | ivy-supplements/bpm-beans,ivy-supplements/bpm-beans |
83f22fd9d0ec0ca51c4908b977924e1d4589e641 | modules/container/src/main/java/io/liveoak/container/tenancy/service/ApplicationGitInstallCommitService.java | modules/container/src/main/java/io/liveoak/container/tenancy/service/ApplicationGitInstallCommitService.java | package io.liveoak.container.tenancy.service;
import java.io.File;
import java.util.function.Consumer;
import org.jboss.msc.service.Service;
import org.jboss.msc.service.ServiceController;
import org.jboss.msc.service.StartContext;
import org.jboss.msc.service.StartException;
import org.jboss.msc.service.StopContext;... | package io.liveoak.container.tenancy.service;
import java.io.File;
import java.util.function.Consumer;
import org.jboss.logging.Logger;
import org.jboss.msc.service.Service;
import org.jboss.msc.service.ServiceController;
import org.jboss.msc.service.StartContext;
import org.jboss.msc.service.StartException;
import o... | Improve error handling of git process to commit installation of application. Mainly of use in tests | Improve error handling of git process to commit installation of application. Mainly of use in tests
| Java | epl-1.0 | ljshj/liveoak,liveoak-io/liveoak,liveoak-io/liveoak,ljshj/liveoak,kyroskoh/liveoak,ljshj/liveoak,ammendonca/liveoak,liveoak-io/liveoak,ammendonca/liveoak,liveoak-io/liveoak,kyroskoh/liveoak,kyroskoh/liveoak,ammendonca/liveoak,kyroskoh/liveoak,ljshj/liveoak,ammendonca/liveoak |
74ef604184f346ffaf550ce29124ddd38de842c8 | modules/deployment/src/java/org/apache/geronimo/deployment/plugin/factories/AuthenticationFailedException.java | modules/deployment/src/java/org/apache/geronimo/deployment/plugin/factories/AuthenticationFailedException.java | package org.apache.geronimo.deployment.plugin.factories;
import javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException;
/**
* A Geronimo-specific DeploymentManagerCreationException indicating that
* there was a login failure.
*
* @version $Revision 1.0 $
*/
public class AuthenticationFailedEx... | /**
*
* Copyright 2003-2004 The Apache Software Foundation
*
* 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... | Add license and header comment | Add license and header comment
git-svn-id: d69ffe4ccc4861bf06065bd0072b85c931fba7ed@56647 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | meetdestiny/geronimo-trader,meetdestiny/geronimo-trader,meetdestiny/geronimo-trader,apache/geronimo,apache/geronimo,vibe13/geronimo,vibe13/geronimo,vibe13/geronimo,apache/geronimo,apache/geronimo,vibe13/geronimo |
d1759c0a1f0be44a645b5a41b22566d704c713cd | extensions/reactive-mssql-client/deployment/src/test/java/io/quarkus/reactive/mssql/client/DevModeResource.java | extensions/reactive-mssql-client/deployment/src/test/java/io/quarkus/reactive/mssql/client/DevModeResource.java | package io.quarkus.reactive.mssql.client;
import java.net.ConnectException;
import java.sql.SQLException;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.w... | package io.quarkus.reactive.mssql.client;
import java.net.ConnectException;
import java.sql.SQLException;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.w... | Remove redundant stacktrace from the test console | Remove redundant stacktrace from the test console
| Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
3df573e44eb0a348161bef0fbf8da54546a5ca08 | modules/openlmis-web/src/main/java/org/openlmis/web/controller/vaccine/inventory/LogTagTemperatureController.java | modules/openlmis-web/src/main/java/org/openlmis/web/controller/vaccine/inventory/LogTagTemperatureController.java | package org.openlmis.web.controller.vaccine.inventory;
/**
* Created by hassan on 5/27/17.
*/
public class LogTagTemperatureController {
}
| package org.openlmis.web.controller.vaccine.inventory;
import org.openlmis.core.web.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServl... | Add log tag temperature controller | Add log tag temperature controller
| Java | agpl-3.0 | USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis |
74903d3ca8144bf1ef0bb972fa4162a77037c1a6 | cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/buildpacks/_Buildpack.java | cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/buildpacks/_Buildpack.java | /*
* Copyright 2013-2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | /*
* Copyright 2013-2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Allow for Missing Buildpack Filename | Allow for Missing Buildpack Filename
Previously we assumed that all buildpacks would have an associated filename. It is
possible to create a buildpack without a filename, therefore this commit removes our
assumption.
| Java | apache-2.0 | alexander071/cf-java-client,cloudfoundry/cf-java-client,alexander071/cf-java-client,cloudfoundry/cf-java-client,cloudfoundry/cf-java-client |
895eb4fed0fb4c4d08556c1dfbdc54df50e989af | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import java.time.Duration;
/**
* Removes inact... | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import java.time.Duration;
/**
* Removes inact... | Reduce the time we keep expired remotes sessions and fix comment | Reduce the time we keep expired remotes sessions and fix comment
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
befd460c79a1d16c64a1a9857678621106e4a111 | core/src/main/java/me/prettyprint/cassandra/service/template/ColumnFamilyResultIterator.java | core/src/main/java/me/prettyprint/cassandra/service/template/ColumnFamilyResultIterator.java | /**
* This class will instill 'normal' iterator behavior to a ColumnFamilyResult.
* Simply instantiate this class while passing your ColumnFamilyResult as a
* constructor argument.
*
* Ex.
*
* ColumnFamilyResultIterator myResultsInterator =
* new ColumnFamilyResultIterator(someColumnFamilyResult);
*
... | /**
* This class will instill 'normal' iterator behavior to a ColumnFamilyResult.
* Simply instantiate this class while passing your ColumnFamilyResult as a
* constructor argument.
*
* Ex.
*
* ColumnFamilyResultIterator myResultsInterator =
* new ColumnFamilyResultIterator(someColumnFamilyResult);
*
... | Fix bug in hasNext when no result for a key is returned | Fix bug in hasNext when no result for a key is returned
| Java | mit | apigee/hector,Ursula/hector,hector-client/hector,Ursula/hector,hector-client/hector |
48c787db5eb08aa680be23aab8f555e563d13b3d | fm-workbench/agree/com.rockwellcollins.atc.agree/src/com/rockwellcollins/atc/agree/serializer/AgreeSyntacticSequencer.java | fm-workbench/agree/com.rockwellcollins.atc.agree/src/com/rockwellcollins/atc/agree/serializer/AgreeSyntacticSequencer.java | /*
* generated by Xtext
*/
package com.rockwellcollins.atc.agree.serializer;
public class AgreeSyntacticSequencer extends AbstractAgreeSyntacticSequencer {
}
| /*
* generated by Xtext
*/
package com.rockwellcollins.atc.agree.serializer;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.nodemodel.INode;
public class AgreeSyntacticSequencer extends AbstractAgreeSyntacticSequencer {
/**
* AppliesToKeywords:
* 'applies' 't... | Fix keyword sequence serialization for Agree. | Fix keyword sequence serialization for Agree. | Java | bsd-3-clause | smaccm/smaccm,smaccm/smaccm,smaccm/smaccm,smaccm/smaccm,smaccm/smaccm,smaccm/smaccm,smaccm/smaccm,smaccm/smaccm |
5557da6d25fc7856193d84018fb67e1edc483729 | flyway-core/src/main/java/org/flywaydb/core/internal/configuration/ConfigurationValidator.java | flyway-core/src/main/java/org/flywaydb/core/internal/configuration/ConfigurationValidator.java | /*
* Copyright 2010-2019 Boxfuse GmbH
*
* 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 ... | /*
* Copyright 2010-2019 Boxfuse GmbH
*
* 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 ... | Fix regression in Community edition | Fix regression in Community edition
| Java | apache-2.0 | flyway/flyway,flyway/flyway |
9b1ec605a690cc083ce43a21eb8e9210f890d882 | src/cecs566_tth/Driver.java | src/cecs566_tth/Driver.java | package cecs566_tth;
public class Driver
{
public static void main(String [] args)
{
// System.out.println(Utils.translateTotalToLetters(Utils.compressionFunction(Utils.convertMessageTo4x4Matrices("I leave twenty million dollars to my friendly cousin Bill."))));
// Integer [] targetNumbers = { 6,25,17,22 };
St... | package cecs566_tth;
public class Driver
{
public static void main(String [] args)
{
String matchingHash = Utils.findMatchingHash("BFQG");
System.out.println(matchingHash);
System.out.println(Utils.convertMessageTo4x4Matrices(matchingHash));
System.out.println(Utils.translateHashValueToLetters(Utils.compre... | Remove comments and fix function parameter for generating hash. | Remove comments and fix function parameter for generating hash.
| Java | mit | sdicken/cecs566_tth |
be6e1d38672c2a1ee683c807606ace8314174aab | src/main/java/uk/co/reecedunn/intellij/plugin/xquery/psi/impl/xquery/XQueryCDataSectionPsiImpl.java | src/main/java/uk/co/reecedunn/intellij/plugin/xquery/psi/impl/xquery/XQueryCDataSectionPsiImpl.java | /*
* Copyright (C) 2016 Reece H. Dunn
*
* 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 t... | /*
* Copyright (C) 2016 Reece H. Dunn
*
* 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 t... | Use an XQueryCDataSection for the CDataSection PSI. | Use an XQueryCDataSection for the CDataSection PSI.
| Java | apache-2.0 | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin |
0abf7d47bb6725951a01bb20e326d0d0e04ce275 | app/src/main/java/de/fau/amos/virtualledger/android/views/savings/add/AddSavingsAccountFinalDateFragment.java | app/src/main/java/de/fau/amos/virtualledger/android/views/savings/add/AddSavingsAccountFinalDateFragment.java | package de.fau.amos.virtualledger.android.views.savings.add;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import org.apache.commons.lang3.math.NumberUtils;
import butt... | package de.fau.amos.virtualledger.android.views.savings.add;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.DatePicker;
import butterknife.BindView;
import butterknife.ButterKnife;... | Add fragment class for final date | Add fragment class for final date
| Java | apache-2.0 | BankingBoys/amos-ss17-proj7,BankingBoys/amos-ss17-proj7 |
36847d5a0db202fc429d653ed07defd4abcb4181 | RemoteTemplate/secondscreen-library/src/main/java/fr/bouyguestelecom/tv/openapi/secondscreen/apiutils/BboxApiUrl.java | RemoteTemplate/secondscreen-library/src/main/java/fr/bouyguestelecom/tv/openapi/secondscreen/apiutils/BboxApiUrl.java | package fr.bouyguestelecom.tv.openapi.secondscreen.apiutils;
/**
* @author Pierre-Etienne Cherière PCHERIER@bouyguestelecom.fr
*/
public class BboxApiUrl {
public static final String USER_INTERFACE = "userinterface";
public static final String REMOTE_CONTROLLER = "remotecontroller";
public static final ... | package fr.bouyguestelecom.tv.openapi.secondscreen.apiutils;
/**
* @author Pierre-Etienne Cherière PCHERIER@bouyguestelecom.fr
*/
public class BboxApiUrl {
public static final String USER_INTERFACE = "userinterface";
public static final String REMOTE_CONTROLLER = "remotecontroller";
public static final ... | Add media URL (used to get the current channel) | Add media URL (used to get the current channel)
| Java | mit | BboxLab/remote-template-android |
3b0ef9a6ef5d76e7f8f7846bf551c3c6f2f54b39 | subprojects/migration/src/main/groovy/org/gradle/api/plugins/migration/model/compare/internal/ComparisonResultType.java | subprojects/migration/src/main/groovy/org/gradle/api/plugins/migration/model/compare/internal/ComparisonResultType.java | /*
* Copyright 2012 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2012 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add a new comparison result type for when neither side has it. | Add a new comparison result type for when neither side has it.
| Java | apache-2.0 | gstevey/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,robinverdu... |
4d8d8a9df6066b6b23397d16a8e71a38cf43fcfc | src/Command.java | src/Command.java | /**
* Created by arran on 21/11/2016.
*/
public interface Command {
void doCommand();
}
| /**
* Created by arran on 21/11/2016.
*/
public interface Command {
void doCommand(SceneController sceneController);
}
| Add SceneController to do command | Add SceneController to do command
| Java | apache-2.0 | 9VStudios/Mosslass1 |
a7c8173c83724f1a505e2a68ff30af31591fe0b7 | xfire-aegis/src/main/org/codehaus/xfire/aegis/MessageReader.java | xfire-aegis/src/main/org/codehaus/xfire/aegis/MessageReader.java | package org.codehaus.xfire.aegis;
import javax.xml.namespace.QName;
/**
* A MessageReader. You must call getNextChildReader() until hasMoreChildReaders()
* returns false.
*
* @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
*/
public interface MessageReader
{
public String getValue();
... | package org.codehaus.xfire.aegis;
import javax.xml.namespace.QName;
/**
* A MessageReader. You must call getNextChildReader() until hasMoreChildReaders()
* returns false.
*
* @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
*/
public interface MessageReader
{
public String getValue();
... | Add method to get AttributeReader for specific attribute as well as ability to determine namespaces for a given prefix | Add method to get AttributeReader for specific attribute as well as ability to determine namespaces for a given prefix
git-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@888 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba
| Java | mit | eduardodaluz/xfire,eduardodaluz/xfire |
fc481621ea65b5a347dc5c294dfda040bc38cf28 | jmx/src/main/java/com/proofpoint/jmx/JMXModule.java | jmx/src/main/java/com/proofpoint/jmx/JMXModule.java | package com.proofpoint.jmx;
import com.google.inject.Binder;
import com.google.inject.Module;
import com.proofpoint.configuration.ConfigurationModule;
import javax.management.MBeanServer;
import java.lang.management.ManagementFactory;
public class JMXModule
implements Module
{
public void configure(Binde... | package com.proofpoint.jmx;
import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.Scopes;
import com.proofpoint.configuration.ConfigurationModule;
import javax.management.MBeanServer;
import java.lang.management.ManagementFactory;
public class JMXModule
implements Module
... | Make sure JMXAgent gets bound | Make sure JMXAgent gets bound
| Java | apache-2.0 | dain/airlift,johngmyers/platform,johngmyers/platform,haozhun/airlift,haozhun/airlift,airlift/airlift,johngmyers/platform,cberner/airlift,johngmyers/platform-rack,erichwang/airlift,johngmyers/platform-rack,mono-plane/airlift,johngmyers/platform-rack,electrum/airlift,martint/airlift,martint/airlift,johngmyers/platform-ra... |
225f6e53c17a76ae7f4bd5fea7b87c0ce076e832 | src/org/CG/infrastructure/Drawing.java | src/org/CG/infrastructure/Drawing.java | package org.CG.infrastructure;
import javax.media.opengl.GL;
/**
*
* @author ldavid
*/
public abstract class Drawing {
protected Point start;
protected ColorByte color;
protected boolean finished;
protected int glDrawingType = GL.GL_POINTS;
public Drawing() {
// All drawings, except b... | package org.CG.infrastructure;
import javax.media.opengl.GL;
/**
*
* @author ldavid
*/
public abstract class Drawing {
protected Point start;
protected ColorByte color;
protected boolean finished;
protected int glDrawingType = GL.GL_POINTS;
public Drawing() {
// All drawings, except b... | Break lines so they don't overstep right margin | Break lines so they don't overstep right margin | Java | mit | lucasdavid/CG-Assignment-1,lucasdavid/Matrix-Paint |
3cacbc552c987814f728393b9ba632ad3eeadf48 | src/test/java/org/kohsuke/github/GHDiscussionTest.java | src/test/java/org/kohsuke/github/GHDiscussionTest.java | package org.kohsuke.github;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
public class GHDiscussionTest extends AbstractGitHubWireMockTest {
@Test
public void testCreatedDiscussion() throws IOException {
GHTeam team = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamB... | package org.kohsuke.github;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
public class GHDiscussionTest extends AbstractGitHubWireMockTest {
@Test
public void testCreatedDiscussion() throws IOException {
GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG);
... | Set the organisation name to avoid to populate a url request having /orgs/null | Fix: Set the organisation name to avoid to populate a url request having /orgs/null
| Java | mit | kohsuke/github-api |
9a414c4452a9bd2354bef376a2399c3bee68ff74 | Java/src/net/megaroid/math/Factors.java | Java/src/net/megaroid/math/Factors.java | package net.megaroid.math;
import java.util.Scanner;
public class Factors {
private int mNumber;
private int[] mFactors;
private int mCount;
public Factors(int number) {
mNumber = number;
}
public int getNumber() {
return mNumber;
}
public void printAllFactors() {
if (mFactors == null) {
init... | package net.megaroid.math;
import java.util.Scanner;
import java.util.LinkedList;
public class Factors {
private int mNumber;
private LinkedList<Integer> mFactors;
public Factors(int number) {
mNumber = number;
}
public int getNumber() {
return mNumber;
}
public void printAllFactors() {
if (mFacto... | Use LinkedList instead of Array | Use LinkedList instead of Array | Java | mit | xmenta/megaroid,xmenta/megaroid,xmenta/megaroid |
840ac7e078d238cc51d2aa29e1f6a7ee49e1daca | src/org/chromium/hostedclient/KeepAliveService.java | src/org/chromium/hostedclient/KeepAliveService.java | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.hostedclient;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
/**
... | // Copyright 2015 Google Inc. All Rights Reserved.
//
// 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... | Make one remaining header consistent with LICENSE | Make one remaining header consistent with LICENSE
Change-Id: I3184b7251d42cccb1e3b0d7e802a7efb6f2d8a5e
| Java | apache-2.0 | modulexcite/custom-tabs-client,yetixxx83/custom-tabs-client,bestwpw/custom-tabs-client,ZaneSummer/custom-tabs-client,sangupandi/custom-tabs-client,r511253/custom-tabs-client,GoogleChrome/custom-tabs-client,redanium/custom-tabs-client,shaunkawano/custom-tabs-client,GabrielDuque/custom-tabs-client,jiyuren/custom-tabs-cli... |
4b8e8f8adfbee64f3fe619a055809ce551251b46 | gwt-ol3-client/src/main/java/ol/source/WmtsOptions.java | gwt-ol3-client/src/main/java/ol/source/WmtsOptions.java | /*******************************************************************************
* Copyright 2014, 2017 gwt-ol3
*
* 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... | /*******************************************************************************
* Copyright 2014, 2019 gwt-ol
*
* 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.... | Add request encoding to WMTS source | Add request encoding to WMTS source | Java | apache-2.0 | TDesjardins/GWT-OL3-Playground,TDesjardins/GWT-OL3-Playground,TDesjardins/GWT-OL3-Playground,TDesjardins/gwt-ol3,TDesjardins/gwt-ol3,TDesjardins/gwt-ol3 |
7c63edcaa0c10682b8d5b10618bb726bb7cc614d | app/src/main/java/jasenmoloy/wirelesscontrol/helpers/UIHelper.java | app/src/main/java/jasenmoloy/wirelesscontrol/helpers/UIHelper.java | package jasenmoloy.wirelesscontrol.helpers;
import android.widget.Button;
/**
* Created by jasenmoloy on 5/20/16.
*/
public class UIHelper {
/**
* Visually and functionally enables a button
* @param button The button to enable
*/
public static void enableButton(Button button) {
... | package jasenmoloy.wirelesscontrol.helpers;
import android.content.Context;
import android.widget.Button;
import android.widget.Toast;
/**
* Created by jasenmoloy on 5/20/16.
*/
public class UIHelper {
/**
* Visually and functionally enables a button
* @param button The button to enable
*... | Add ability to display toasts | Add ability to display toasts
| Java | apache-2.0 | jasenmoloy/wirelesscontrol |
ea05214716ffcba0ca6d4553e1458552478dfe63 | done/pong/src/pong/Ball.java | done/pong/src/pong/Ball.java | package pong;
import java.awt.Color;
import java.awt.Graphics2D;
import java.util.Random;
public class Ball {
private float x, y;
private float angle;
private float size;
private Color color;
public Ball() {
Random r = new Random();
this.angle = (float) (r.nextFloat() * 2 * Math.PI);
this.size... | package pong;
import java.awt.Color;
import java.awt.Graphics2D;
import java.util.Random;
public class Ball {
private float x, y;
private float angle;
private float size;
private float speed;
private Color color;
public Ball() {
Random r = new Random();
this.angle = (float) (r.nextFloat() * 2 *... | Make ball bounce off ceiling and floor | Make ball bounce off ceiling and floor
| Java | mit | SullyJHF/learn-to-code |
79f6542cd08a4c5d09305786eb447360deb92aca | HighScores/src/utils/Parser.java | HighScores/src/utils/Parser.java | package utils;
/**
* Class containing methods to parse the result lines retrieved from ThingSpeak
* @author Johan Brunet, Julien Gallego
*
*/
public class Parser {
/**
* Parsing method that parses the line to retrieve the score value
* @param s the line to parse
* @return the score value
*/
public stati... | package utils;
/**
* Class containing methods to parse the result lines retrieved from ThingSpeak
* @author Johan Brunet, Julien Gallego
*
*/
public class Parser {
/**
* Parsing method that parses the line to retrieve the score value
* @param s the line to parse
* @return the score value
*/
public stati... | Add method to parse the name of the player | Add method to parse the name of the player
| Java | mit | JohanBrunet/HighScoreProject,JohanBrunet/HighScoreProject,JohanBrunet/HighScoreProject |
29da36393653eeb844dceda201553e3bc9963da1 | services/pvlogger/src/xal/service/pvlogger/Main.java | services/pvlogger/src/xal/service/pvlogger/Main.java | /*
* Main.java
*
* Created on Wed Jan 14 13:03:12 EST 2004
*
* Copyright (c) 2004 Spallation Neutron Source
* Oak Ridge National Laboratory
* Oak Ridge, TN 37830
*/
package xal.service.pvlogger;
import xal.extension.service.ServiceDirectory;
/**
* Main
*
* @author tap
*/
public class Main {
protected ... | /*
* Main.java
*
* Created on Wed Jan 14 13:03:12 EST 2004
*
* Copyright (c) 2004 Spallation Neutron Source
* Oak Ridge National Laboratory
* Oak Ridge, TN 37830
*/
package xal.service.pvlogger;
import xal.extension.service.ServiceDirectory;
/**
* Main
*
* @author tap
*/
public class Main {
protected ... | Add a flag to the PV Logger service to disable periodic logging and only allow on-demand logging. | Add a flag to the PV Logger service to disable periodic logging and only allow on-demand logging.
| Java | bsd-3-clause | EuropeanSpallationSource/openxal,openxal/openxal,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,openxal/openxal,openxal/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,openxal/openxal,openxal/openxal,luxiaohan/openxal-c... |
dad1a6c39fd3eb605cf5d70cbe9c786656b2bd50 | src/main/java/com/awesometickets/config/CORSFilter.java | src/main/java/com/awesometickets/config/CORSFilter.java | package com.awesometickets.config;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRespon... | package com.awesometickets.config;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRespon... | Update CORS origin to localhost | Update CORS origin to localhost
| Java | mit | AwesomeTickets/Tickets-Server,AwesomeTickets/Tickets-Server,AwesomeTickets/Tickets-Server |
7aef487d2fe0cfa1c460d623bdf1b12696fdc310 | src/main/java/org/geojson/object/FeatureCollection.java | src/main/java/org/geojson/object/FeatureCollection.java | package org.geojson.object;
public class FeatureCollection {
private Feature[] features;
public FeatureCollection(Feature[] features) {
this.features = features;
}
public Feature[] getFeatures() {
return features;
}
public void setFeatures(Feature[] features) {
this.features = features;
}
} | package org.geojson.object;
import java.util.List;
public class FeatureCollection {
private List<Feature> features;
public FeatureCollection(List<Feature> features) {
this.features = features;
}
public Feature[] getFeatures() {
return features.toArray(new Feature[0]);
}
} | Use List<Feature> instead array in constructor. | REFACTORED: Use List<Feature> instead array in constructor. | Java | mit | MPriess/GeoJSON-POJO |
9359a4397d9aede5583753bc5e9ba143978b7f0b | src/java/org/apache/hadoop/mapred/MapReduceBase.java | src/java/org/apache/hadoop/mapred/MapReduceBase.java | package org.apache.hadoop.mapred;
import org.apache.hadoop.io.Closeable;
import org.apache.hadoop.mapred.JobConfigurable;
/**
* A class to implement the trivial close and configure methods.
* @author Owen O'Malley
*/
public class MapReduceBase implements Closeable, JobConfigurable {
public void close() {
}
... | /**
* Copyright 2006 The Apache Software Foundation
*
* 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 applicab... | Fix so that close() throws IOException, so that classes which override this method can throw IOException, as specified in the Closeable interface. Also add the Apache license (which must be in every file) and add a bit more javadoc. | Fix so that close() throws IOException, so that classes which override
this method can throw IOException, as specified in the Closeable
interface. Also add the Apache license (which must be in every file)
and add a bit more javadoc.
git-svn-id: 4d48d1092ee340c9ada5711cdbe4355b138bc22b@391364 13f79535-47bb-0310-9956-... | Java | apache-2.0 | awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop |
46f6abbb66c2cd0e575c0d5670690954d4b9e52c | src/main/java/leetcode/Problem229.java | src/main/java/leetcode/Problem229.java | package leetcode;
import java.util.ArrayList;
import java.util.List;
/**
* https://leetcode.com/problems/majority-element-ii/
*/
public class Problem229 {
public List<Integer> majorityElement(int[] nums) {
List<Integer> result = new ArrayList<>();
// TODO
return result;
}
public... | package leetcode;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* https://leetcode.com/problems/majority-element-ii/
*/
public class Problem229 {
public List<Integer> majorityElement(int[] nums) {
List<Integer> result = new ArrayList<>();
... | Solve problem 229 (with O(n) space) | Solve problem 229 (with O(n) space)
| Java | mit | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode |
5a93ce7995dfd9b820e825567f666d3d2821d06d | burp/src/main/java/burp/BHttpRequestResponseFactory.java | burp/src/main/java/burp/BHttpRequestResponseFactory.java | package burp;
public class BHttpRequestResponseFactory {
public static BHttpRequestResponse create(IHttpRequestResponse requestResponse,
IBurpExtenderCallbacks callbacks, IExtensionHelpers helpers) {
BHttpRequestResponse bHttpRequestResponse = new BHttpReques... | package burp;
public class BHttpRequestResponseFactory {
public static BHttpRequestResponse create(IHttpRequestResponse requestResponse,
IBurpExtenderCallbacks callbacks, IExtensionHelpers helpers) {
BHttpRequestResponse bHttpRequestResponse = new BHttpReques... | Fix null response issue with sitemap | Fix null response issue with sitemap
| Java | mit | mtzaperas/burpbuddy,tomsteele/burpbuddy,mtzaperas/burpbuddy,tomsteele/burpbuddy |
362138b799429ca9ac9f16947924036295306b41 | digdag-cli/src/main/java/io/digdag/cli/ParameterValidator.java | digdag-cli/src/main/java/io/digdag/cli/ParameterValidator.java | package io.digdag.cli;
import com.beust.jcommander.IParameterValidator;
import com.beust.jcommander.ParameterException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ParameterValidator implements IParameterValidator
{
public void validate(String name, String value) throws Pa... | package io.digdag.cli;
import com.beust.jcommander.IParameterValidator;
import com.beust.jcommander.ParameterException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ParameterValidator implements IParameterValidator
{
public void validate(String name, String value) throws Pa... | Fix string index out of bounds | Fix string index out of bounds
| Java | apache-2.0 | treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag |
5da457e58f0dc7d276ed4927c663d7e0cbf36f15 | dxm/src/main/java/com/custardsource/parfait/dxm/PcpConfig.java | dxm/src/main/java/com/custardsource/parfait/dxm/PcpConfig.java | package com.custardsource.parfait.dxm;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import com.google.common.io.Closeables;
public class PcpConfig {
private final static String pcpC... | package com.custardsource.parfait.dxm;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import com.google.common.io.Closeables;
public class PcpConfig {
private final static String pcpC... | Allow user-override of pcp config variable like PCP_TMP_DIR. | Allow user-override of pcp config variable like PCP_TMP_DIR.
This is implemented in the same way that the PCP C code does - if
the same-named environment variable is set, use its value (and no
extra checking added).
| Java | apache-2.0 | performancecopilot/parfait,timols/parfait,akshayahn/parfait,performancecopilot/parfait |
35f20097b6dfff413db20f11edb1969d8fa9490e | src/main/java/org/amc/servlet/listener/APLSessionListener.java | src/main/java/org/amc/servlet/listener/APLSessionListener.java | package org.amc.servlet.listener;
/**
*
* @author Adrian Mclaughlin
* @version 1
*/
import org.apache.log4j.Logger;
import javax.servlet.ServletContext;
import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpS... | package org.amc.servlet.listener;
/**
*
* @author Adrian Mclaughlin
* @version 1
*/
import org.apache.log4j.Logger;
import javax.servlet.ServletContext;
import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
@WebListener
public cl... | Remove unnecessary and incorrect import | Remove unnecessary and incorrect import
| Java | mit | subwoofer359/aplsystem,subwoofer359/aplsystem,subwoofer359/aplsystem,subwoofer359/aplsystem |
44bc600ae63b6e4f18bf5a360d4e5529e0786728 | src/flow/netbeans/markdown/MarkdownLanguageProvider.java | src/flow/netbeans/markdown/MarkdownLanguageProvider.java | package flow.netbeans.markdown;
import org.netbeans.api.lexer.InputAttributes;
import org.netbeans.api.lexer.Language;
import org.netbeans.api.lexer.LanguagePath;
import org.netbeans.api.lexer.Token;
import org.netbeans.spi.lexer.LanguageEmbedding;
import org.netbeans.spi.lexer.LanguageProvider;
import flow.ne... | package flow.netbeans.markdown;
import flow.netbeans.markdown.csl.MarkdownLanguageConfig;
import flow.netbeans.markdown.highlighter.MarkdownLanguageHierarchy;
import flow.netbeans.markdown.highlighter.MarkdownTokenId;
import org.netbeans.api.lexer.InputAttributes;
import org.netbeans.api.lexer.Language;
import ... | Make use of MarkdownLanguageConfig constants | Make use of MarkdownLanguageConfig constants | Java | mit | stengerh/flow-netbeans-markdown,madflow/flow-netbeans-markdown,stengerh/flow-netbeans-markdown,dublebuble/flow-netbeans-markdown,dublebuble/flow-netbeans-markdown,madflow/flow-netbeans-markdown |
efe6f013b25ee9e8a7d433959f5550404a1511d1 | src/main/java/com/beyondtechnicallycorrect/pong/App.java | src/main/java/com/beyondtechnicallycorrect/pong/App.java | package com.beyondtechnicallycorrect.pong;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
| package com.beyondtechnicallycorrect.pong;
import javax.swing.JFrame;
public class App {
public static void main( String[] args ) {
javax.swing.SwingUtilities.invokeLater(
new Runnable() {
public void run() {
setupGui();
}
});
}
private static void setupGui() {
JFrame frame = new JFra... | Add extremely basic GUI setup | Add extremely basic GUI setup
| Java | bsd-2-clause | jeffcharles/pong |
7750319db538eef4488eb0748e6fed89586e8c34 | src/main/java/com/quicktravel/ticket_printer/TicketElement.java | src/main/java/com/quicktravel/ticket_printer/TicketElement.java | package com.quicktravel.ticket_printer;
public class TicketElement {
private int x = 0;
private int y = 0;
private int fontSize = 10;
private boolean bold = false;
private boolean italic = false;
private String value = "";
public boolean isImage() {
return this.value.startsWith("image:");
}
... | package com.quicktravel.ticket_printer;
public class TicketElement {
private int x = 0;
private int y = 0;
protected String value = "";
private int fontSize = 10;
private boolean bold = false;
private boolean italic = false;
public int getX() {
return x;
}
public void setX(int x) {
this.x ... | Add imageBase64: prefix alongside image: for ticket element values | Add imageBase64: prefix alongside image: for ticket element values
| Java | mit | sealink/ticket_printer |
f81187b8d1e2bd4efcf1a451756af9c556b9a270 | src/main/java/com/tmitim/twittercli/TimeLine.java | src/main/java/com/tmitim/twittercli/TimeLine.java | package com.tmitim.twittercli;
import java.util.ArrayList;
import java.util.List;
import com.github.rvesse.airline.annotations.Command;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
/**
* Get timeline
*/
@Command(name = "timeline", descripti... | package com.tmitim.twittercli;
import java.util.ArrayList;
import java.util.List;
import com.github.rvesse.airline.annotations.Command;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
/**
* Get timeline
*/
@Command(name = "timeline", descripti... | Add id, favorite + rt count to timeline | Add id, favorite + rt count to timeline
| Java | apache-2.0 | tmitim/twittercli4j,tmitim/twittercli4j |
188da00d41fd1eb12f5910b4d8beb90076c1a0e0 | src/main/java/com/axellience/vuegwt/client/gwtpanel/VueGwtPanel.java | src/main/java/com/axellience/vuegwt/client/gwtpanel/VueGwtPanel.java | package com.axellience.vuegwt.client.gwtpanel;
import com.axellience.vuegwt.client.VueGWT;
import com.axellience.vuegwt.client.component.VueComponent;
import com.axellience.vuegwt.client.vue.VueJsConstructor;
import com.google.gwt.user.client.ui.SimplePanel;
/**
* Wrap a {@link VueComponent} instance in a GWT Panel
... | package com.axellience.vuegwt.client.gwtpanel;
import com.axellience.vuegwt.client.VueGWT;
import com.axellience.vuegwt.client.component.VueComponent;
import com.axellience.vuegwt.client.vue.VueFactory;
import com.axellience.vuegwt.client.vue.VueJsConstructor;
import com.google.gwt.user.client.ui.SimplePanel;
/**
* ... | Update VueGWT panel to support Factory | Update VueGWT panel to support Factory
| Java | mit | Axellience/vue-gwt,Axellience/vue-gwt,Axellience/vue-gwt,Axellience/vue-gwt |
723555cd824e3ee4e6a8952ea2c3ccea54df520e | src/main/java/hk/ust/comp4321/database/IndexInfo.java | src/main/java/hk/ust/comp4321/database/IndexInfo.java | package hk.ust.comp4321.database;
/**
*
* @author Alex Poon
*/
public class IndexInfo
{
//Constants and fields.
// -------------------------------------------------------------------------
private int id;
private int frequency;
// Constructors.
// ----------------------------------------------------... | package hk.ust.comp4321.database;
/**
*
* @author Alex Poon
*/
public class IndexInfo
{
//Constants and fields.
// -------------------------------------------------------------------------
private int id;
private int frequency;
// Constructors.
// ----------------------------------------------------... | Add missing function in index info | Add missing function in index info
| Java | mit | chpoon92/vector-model-search-engine-java |
10943f87a75323ca29b33423c54cb441b9672859 | gwt-olcs-main/src/main/java/org/ol3cesium/client/ol/RendererType.java | gwt-olcs-main/src/main/java/org/ol3cesium/client/ol/RendererType.java | /*
* Copyright 2016 iserge.
*
* 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 iserge.
*
* 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... | Add enumiration for renderer type. | Add enumiration for renderer type. | Java | apache-2.0 | iSergio/gwt-olcs,iSergio/gwt-olcs |
87e40154fb0b84c0438113899c3b56a9ac2bc0f9 | oak-core/src/main/java/org/apache/jackrabbit/oak/util/Predicates.java | oak-core/src/main/java/org/apache/jackrabbit/oak/util/Predicates.java | package org.apache.jackrabbit.oak.util;
/**
* Utility class containing type safe counterparts for some of the predicates of
* commons-collections.
*/
public class Predicates {
private static final Predicate<?> NOT_NULL = new Predicate<Object>() {
@Override
public boolean evaluate(Object arg) {
... | /*
* 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 n... | Refactor ModifiedNodeState and related classes to use type safe iterator utilities missing license header (again, sorry) | OAK-112: Refactor ModifiedNodeState and related classes to use type safe iterator utilities
missing license header (again, sorry)
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1342200 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | mduerig/jackrabbit-oak,bdelacretaz/jackrabbit-oak,mduerig/jackrabbit-oak,catholicon/jackrabbit-oak,bdelacretaz/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,alexkli/jackrabbit-oak,leftouterjoin/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,francescomari/jackrabbit-oak,anchela/jackrabbit-oak,joansmith/jackrabbit-o... |
d4be4bc48edd61a7c49cc71eb745740af72a4b84 | kawa/standard/list_p.java | kawa/standard/list_p.java | package kawa.standard;
import kawa.lang.*;
public class list_p extends Procedure1
{
public kawa.standard.list_p()
{
super("list?");
}
public Object apply1 (Object arg1)
{
if (List.list_length (arg1) >= 0)
return Interpreter.trueObject;
else
return Interpreter.falseObject;
}
}
| package kawa.standard;
import kawa.lang.*;
/** Implement the standard Scheme function "list?". */
public class list_p extends Procedure1
{
public Object apply1 (Object arg1)
{
if (List.list_length (arg1) >= 0)
return Interpreter.trueObject;
else
return Interpreter.falseObject;
}
}
| Remove redundant name qualification (which J++ complains about). Remove constructors. Generally remove verbosity. | Remove redundant name qualification (which J++ complains about).
Remove constructors. Generally remove verbosity.
git-svn-id: 169764d5f12c41a1cff66b81d896619f3ce5473d@266 5e0a886f-7f45-49c5-bc19-40643649e37f
| Java | mit | spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror |
8d5a7fe5401126873fbd23990610e916d37482f7 | testframework/hu/adamsan/selenium/framework/pages/LoginPage.java | testframework/hu/adamsan/selenium/framework/pages/LoginPage.java | package hu.adamsan.selenium.framework.pages;
import org.openqa.selenium.support.ui.WebDriverWait;
import hu.adamsan.selenium.framework.selenium.Driver;
public class LoginPage {
private static final String LOGIN_PAGE = Driver.BASE_ADDRESS + "/wp-login.php";
public static void goTo() {
Driver.INSTANC... | package hu.adamsan.selenium.framework.pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import hu.adamsan.selenium.framework.selenium.Driver;
public class LoginPage {
private static final String LOGIN_PAGE = Driver.BASE_ADDRESS + "/wp-login.php";
public stati... | Fix previously not occurring bug:The method until(Predicate<WebDriver>) is ambiguous for the type WebDriverWait | Fix previously not occurring bug:The method until(Predicate<WebDriver>) is ambiguous for the type WebDriverWait
| Java | mit | adamsan/WordpressBlackBoxTesting |
c4b49a37178283d38d7a1a2b32cc985058c41dc1 | app/src/main/java/com/doctoror/fuckoffmusicplayer/di/DaggerHolder.java | app/src/main/java/com/doctoror/fuckoffmusicplayer/di/DaggerHolder.java | /*
* Copyright (C) 2017 Yaroslav Mytkalyk
*
* 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... | /*
* Copyright (C) 2017 Yaroslav Mytkalyk
*
* 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... | Rename appContextModule variable to appModule. | Rename appContextModule variable to appModule.
| Java | apache-2.0 | Doctoror/PainlessMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/FuckOffMusicPlayer,Doctoror/FuckOffMusicPlayer |
e97755ebee7c5994d0b65da9578e1a233b3fdee7 | sampleapp/src/it/java/edu/samplu/mainmenu/test/TermLookUpLegacyIT.java | sampleapp/src/it/java/edu/samplu/mainmenu/test/TermLookUpLegacyIT.java | /**
* Copyright 2005-2011 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | /**
* Copyright 2005-2011 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | Disable term lookup smoke test to avoid any server impact till fixed. | KULRICE-9047: Disable term lookup smoke test to avoid any server impact till fixed.
git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@37464 7a7aa7f6-c479-11dc-97e2-85a2497f191d
| Java | apache-2.0 | ricepanda/rice,ricepanda/rice,ricepanda/rice,ricepanda/rice |
826765622385bac2729c1a47c386d9d7b662e2d3 | Project1/apptbook/src/main/java/edu/pdx/cs410J/chances/Appointment.java | Project1/apptbook/src/main/java/edu/pdx/cs410J/chances/Appointment.java | package edu.pdx.cs410J.chances;
import edu.pdx.cs410J.AbstractAppointment;
import java.util.Date;
public class Appointment extends AbstractAppointment {
private String beginTime;
private String endTime;
private String description;
public Appointment() {}
public Appointment(String description) {
this.... | package edu.pdx.cs410J.chances;
import edu.pdx.cs410J.AbstractAppointment;
import java.util.Date;
public class Appointment extends AbstractAppointment {
private Date beginTime;
private Date endTime;
private String description;
public Appointment() {}
public Appointment(String description) {
this.desc... | Store begin and end times as dates | Store begin and end times as dates
| Java | mit | chances/cs410-adv-java,chances/cs410-adv-java,chances/cs410-adv-java |
6e2782dcbe46a6f798b8431fbcd5025813d491f9 | src/main/java/com/github/therapi/core/interceptor/MethodPredicates.java | src/main/java/com/github/therapi/core/interceptor/MethodPredicates.java | package com.github.therapi.core.interceptor;
import java.lang.annotation.Annotation;
import java.util.function.Predicate;
import com.github.therapi.core.MethodDefinition;
import org.aopalliance.intercept.MethodInterceptor;
/**
* Factory methods for common method predicates, useful for registering method interceptor... | package com.github.therapi.core.interceptor;
import java.lang.annotation.Annotation;
import java.util.function.Predicate;
import com.github.therapi.core.MethodDefinition;
/**
* Factory methods for common method predicates, useful for registering method interceptors.
*
* @see com.github.therapi.core.MethodRegistry... | Fix "unused import". It was used, but only by Javadoc. | Fix "unused import". It was used, but only by Javadoc.
| Java | apache-2.0 | dnault/bozbar,dnault/therapi,dnault/therapi-json-rpc,dnault/therapi,dnault/therapi-json-rpc,dnault/therapi-json-rpc,dnault/bozbar |
0b1d84391933fc86d2ee456b607482a474e61f84 | src/main/java/de/paymill/net/Filter.java | src/main/java/de/paymill/net/Filter.java | package de.paymill.net;
import java.util.HashMap;
import java.util.Map;
/**
* A thin wrapper around a map object for declaring a list filter when querying
* the webservice.
*/
public class Filter {
private Map<String, Object> data;
public Filter() {
data = new HashMap<String, Object>();
}
/**
* Adds a n... | package de.paymill.net;
import java.util.HashMap;
import java.util.Map;
/**
* A thin wrapper around a map object for declaring a list filter when querying
* the webservice.
*/
public class Filter {
private Map<String, Object> data;
public Filter() {
data = new HashMap<String, Object>();
}
public Filter(M... | Return instance from add for chaining. Add constructor that takes a map. | Return instance from add for chaining. Add constructor that takes a map.
I let the add method return "this" soo that we can chain method calls. Like ```new Filter().add("some", "value").add("another", "value")
I added a constructor that takes a filter map and uses a copy of that for the initial data. | Java | mit | vladaspasic/paymill-java,paymill/paymill-java |
001a51ea2e7c9ab304f125fdb4980e3bd66080d5 | project/Activity.java | project/Activity.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... | /*
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... | Move config.xml parsing into its own Config class | Move config.xml parsing into its own Config class
Now the parsing happens very early in the bootstrap process, before
loadUrl() is called. This enables a future change to put the start page
in config.xml instead of hardcoding it.
| Java | apache-2.0 | CrandellWS/cordova-android-template,CrandellWS/cordova-android-template,CrandellWS/cordova-android-template |
fa5787e919af21c5def0a27aa086b7b51fa7781e | java/com/google/gerrit/metrics/MetricsReservoirConfig.java | java/com/google/gerrit/metrics/MetricsReservoirConfig.java | // Copyright (C) 2022 The Android Open Source Project
//
// 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) 2022 The Android Open Source Project
//
// 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 ... | Fix javadoc summary for Google Java Style | Fix javadoc summary for Google Java Style
The summary shouldn't use @return and should use "Returns".
[1] https://google.github.io/styleguide/javaguide.html#s7.2-summary-fragment
Change-Id: I631f0be5c048c2f93d62993c41583fb382d714ac
Release-Notes: skip
| Java | apache-2.0 | GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit |
4956f9004b56617ec35b5f88e59567197009ff68 | src/test/java/com/skraylabs/poker/ApplicationTest.java | src/test/java/com/skraylabs/poker/ApplicationTest.java | package com.skraylabs.poker;
import static org.hamcrest.CoreMatchers.allOf;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintSt... | package com.skraylabs.poker;
import static org.hamcrest.CoreMatchers.allOf;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintSt... | Add application test for “too many arguments”. | Add application test for “too many arguments”. | Java | mit | AbeSkray/poker-calculator |
3be9f4cc84d479a16284bcabb29b681db215bd22 | src/main/java/org/cyclops/integratedtunnels/core/ItemStackPredicate.java | src/main/java/org/cyclops/integratedtunnels/core/ItemStackPredicate.java | package org.cyclops.integratedtunnels.core;
import net.minecraft.item.ItemStack;
import javax.annotation.Nonnull;
import java.util.function.Predicate;
/**
* A predicate for matching ItemStacks.
* @author rubensworks
*/
public abstract class ItemStackPredicate implements Predicate<ItemStack> {
private final I... | package org.cyclops.integratedtunnels.core;
import net.minecraft.item.ItemStack;
import javax.annotation.Nonnull;
import java.util.function.Predicate;
/**
* A predicate for matching ItemStacks.
* @author rubensworks
*/
public abstract class ItemStackPredicate implements Predicate<ItemStack> {
private final I... | Fix item transfer happening on all items when an empty filter was given | Fix item transfer happening on all items when an empty filter was given
Closes ##121
| Java | mit | CyclopsMC/IntegratedTunnels |
61a26c224a31b658fc15aa0990d0b78c0bf6a5e3 | webmvc/src/main/java/org/zols/web/config/controller/LoginController.java | webmvc/src/main/java/org/zols/web/config/controller/LoginController.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 org.zols.datastore.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Mod... | /*
* 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 org.zols.web.config.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelM... | Rename package to fix compilation issue | Rename package to fix compilation issue
| Java | apache-2.0 | sathishk/zols,sathishk/zols,lokinell/zols,sathishk/zols,lokinell/zols,lokinell/zols,lokinell/zols |
a3bdd8273e23c98672a507d9b0edd4aa9066fb9c | src/main/java/com/ezardlabs/lostsector/objects/ShieldedEntity.java | src/main/java/com/ezardlabs/lostsector/objects/ShieldedEntity.java | package com.ezardlabs.lostsector.objects;
import com.ezardlabs.dethsquare.Vector2;
import com.ezardlabs.lostsector.Game.DamageType;
public abstract class ShieldedEntity extends Entity {
protected final int maxShield;
protected int shield;
private long shieldRegenTime;
private long nextShieldRegen;
public Shield... | package com.ezardlabs.lostsector.objects;
import com.ezardlabs.dethsquare.Vector2;
import com.ezardlabs.lostsector.Game.DamageType;
public abstract class ShieldedEntity extends Entity {
protected final int maxShield;
protected int shield;
private long shieldRegenTime;
private long nextShieldRegen;
public Shield... | Reset shield regen timer every time damage is taken, even if the shield isn't damaged | Reset shield regen timer every time damage is taken, even if the shield isn't damaged
| Java | mit | 8-Bit-Warframe/Lost-Sector |
bddd303dc2d7057e904b67bea2755c4a01cf2bf8 | src/biz/plexers/sparrow/db/DbManager.java | src/biz/plexers/sparrow/db/DbManager.java | package biz.plexers.sparrow.db;
import java.net.MalformedURLException;
import org.ektorp.CouchDbConnector;
import org.ektorp.CouchDbInstance;
import org.ektorp.DbAccessException;
import org.ektorp.http.HttpClient;
import org.ektorp.http.StdHttpClient;
import org.ektorp.impl.StdCouchDbInstance;
import biz.... | package biz.plexers.sparrow.db;
import java.net.MalformedURLException;
import org.ektorp.CouchDbConnector;
import org.ektorp.CouchDbInstance;
import org.ektorp.DbAccessException;
import org.ektorp.http.HttpClient;
import org.ektorp.http.StdHttpClient;
import org.ektorp.impl.StdCouchDbInstance;
import biz.... | Fix db link and signIn method | Fix db link and signIn method | Java | mit | plexers/project-sparrow,plexers/project-sparrow |
0ccab6c3703d9af1a0a952e669ca322af686c3ac | src/main/java/org/embulk/decoder/CommonsCompressDecoderPlugin.java | src/main/java/org/embulk/decoder/CommonsCompressDecoderPlugin.java | package org.embulk.decoder;
import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.ConfigInject;
import org.embulk.config.ConfigSource;
import org.embulk.config.Task;
import org.embulk.config.TaskSource;
import org.embulk.spi.BufferAllocator;
import org.embulk.spi.DecoderPlug... | package org.embulk.decoder;
import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.ConfigInject;
import org.embulk.config.ConfigSource;
import org.embulk.config.Task;
import org.embulk.config.TaskSource;
import org.embulk.spi.BufferAllocator;
import org.embulk.spi.DecoderPlug... | Add workaround code to avoid hanging by skip issue | Add workaround code to avoid hanging by skip issue
| Java | mit | hata/embulk-decoder-commons-compress,hata/embulk-decoder-commons-compress |
366f4757f45ebc8da956165cdefd4134a07d701b | Dendrite/src/com/deuteriumlabs/dendrite/unittest/StoryPageTest.java | Dendrite/src/com/deuteriumlabs/dendrite/unittest/StoryPageTest.java | package com.deuteriumlabs.dendrite.unittest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.Ignore;
import org.junit.Test;
import com... | package com.deuteriumlabs.dendrite.unittest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.Ignore;
import org.junit.Test;
import com.deuteriumlabs.dendrite.model.StoryPage;
publ... | Remove test for null result | Remove test for null result
| Java | mit | MattHeard/Dendrite,MattHeard/Dendrite,MattHeard/Dendrite |
b4708c310f5f5e61c52373f1129f942891e9b233 | src/main/java/pg/hadoop/pig/HashCode.java | src/main/java/pg/hadoop/pig/HashCode.java | package pg.hadoop.pig;
import org.apache.pig.EvalFunc;
import org.apache.pig.data.Tuple;
import java.io.IOException;
/**
* Returns the hashcode of the given String or Number.
*/
public class HashCode extends EvalFunc<Integer> {
@Override
public Integer exec(final Tuple input) throws IOException {
... | package pg.hadoop.pig;
import org.apache.pig.EvalFunc;
import org.apache.pig.data.Tuple;
import java.io.IOException;
/**
* Returns the hashcode of the given String or Number.
*/
public class HashCode extends EvalFunc<Integer> {
@Override
public Integer exec(final Tuple input) throws IOException {
... | Add value to the exception for debugging. | Add value to the exception for debugging.
| Java | apache-2.0 | gandola/pig-extensions |
ab977fd2d700a0108650e2bff2cb7f28883f2a0b | app/src/main/java/br/com/alura/agenda/firebase/AgendaMessagingService.java | app/src/main/java/br/com/alura/agenda/firebase/AgendaMessagingService.java | package br.com.alura.agenda.firebase;
import android.util.Log;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
import java.util.Map;
public class AgendaMessagingService extends FirebaseMessagingService {
@Override
public void onMessageReceiv... | package br.com.alura.agenda.firebase;
import android.util.Log;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
import java.io.IOException;
import java.util.Map;
import br.com.alura.agenda.dao.AlunoD... | Convert info send by server into student objects | Convert info send by server into student objects
| Java | mit | filipe1309/android-student-agenda |
da71d12cb4f774dc7c08d3b1ac9a0345f8294500 | trees-api/src/main/java/com/mattunderscore/trees/construction/TypeKey.java | trees-api/src/main/java/com/mattunderscore/trees/construction/TypeKey.java | package com.mattunderscore.trees.construction;
import com.mattunderscore.trees.tree.Tree;
import java.lang.reflect.ParameterizedType;
/**
* Type key to support generics when constructing trees.
* @author Matt Champion
*/
public abstract class TypeKey<T extends Tree<?, ?>> {
private final Class<T> type;
@... | package com.mattunderscore.trees.construction;
import com.mattunderscore.trees.tree.Tree;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/**
* Type key to support generics when constructing trees.
* @author Matt Champion
*/
public abstract class TypeKey<T extends Tree<?, ?>> {
priv... | Allow exactly specified trees to be represented by type keys | Allow exactly specified trees to be represented by type keys
| Java | bsd-3-clause | mattunderscorechampion/tree-root |
035c5b6adb61f841edbe10e7003077e1a4d177f4 | src/main/java/com/jstanier/tweetscheduler/main/Config.java | src/main/java/com/jstanier/tweetscheduler/main/Config.java | package com.jstanier.tweetscheduler.main;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("com.jstanier")
public class Config {
}
| package com.jstanier.tweetscheduler.main;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan("com.jstanier.tweetscheduler")
public class Config {
}
| Make component scan more specific | Make component scan more specific
| Java | mit | jstanier/tweet-scheduler |
5b4473a7d1748e54d7c097b818ecb4fbb2080497 | src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java | src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java | package info.u_team.u_team_core.data;
import java.io.IOException;
import java.util.Arrays;
import net.minecraft.resources.*;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.data.ExistingFileHelper;
import net.minecraftforge.fml.loading.FMLLoader;
public class ExistingFileHelperWithForge ... | package info.u_team.u_team_core.data;
import java.io.IOException;
import java.util.Arrays;
import net.minecraft.resources.*;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.data.ExistingFileHelper;
import net.minecraftforge.fml.loading.FMLLoader;
class ExistingFileHelperWithForge extends... | Make the class package private | Make the class package private | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
03d10da5b41f9ffc7837e0cc60868fa8c4f7b4c4 | src/main/java/google/ResultCounter.java | src/main/java/google/ResultCounter.java | package google;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import google.main.ResultProcessor;
@SpringBootApplication
public c... | package google;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import google.main.ResultProcessor;
@SpringBootApplication
public c... | Update Java doc of the main method. | Update Java doc of the main method.
| Java | apache-2.0 | szydra/first-repository,szydra/first-repository |
9e5508063a2d509a2e50b15edff72f6a149ef537 | src/com/deweysasser/example/webserver/GoodbyePage.java | src/com/deweysasser/example/webserver/GoodbyePage.java | package com.deweysasser.example.webserver;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
/** Serve up a basic Hello World page
*
* @author De... | package com.deweysasser.example.webserver;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import com.sun.net.httpserver.HttpExchange;
import com.sun.net.httpserver.HttpHandler;
/** Serve up a basic Hello World page
*
* @author De... | Change 'goodbye' handler to use proper exit methodology. | Change 'goodbye' handler to use proper exit methodology.
System.exit() works but is less graceful than asking the server
to stop.
| Java | mit | deweysasser/example-java-webserver |
81443d2eb7b1b4155e6e2922c7748f434fccafc7 | src/main/java/org/mybatis/spring/SqlSessionHolder.java | src/main/java/org/mybatis/spring/SqlSessionHolder.java | /*
* Copyright 2010 The myBatis Team
*
* 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 applic... | /*
* Copyright 2010 The myBatis Team
*
* 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 applic... | Replace 'assert session != null' with Assert.notnull(Object, String) | Replace 'assert session != null' with Assert.notnull(Object, String)
| Java | apache-2.0 | yinhe402/spring,20094720/JustMyStudy,hazendaz/spring,zeal4u/spring,adairtaosy/spring,forestqqqq/spring,zhengyixin/spring,mybatis/spring,mofeiyunfei/spring,bojueWjt/spring,nguyenvanthan/spring,mybatis/spring,kazuki43zoo/spring,zyong2004/mybatis-spring,mosoft521/spring,pboonphong/mybatis-spring,gigold/spring,leichunxin/s... |
9e0f9ce5e5a8b8080063fd3512934c164c74e309 | app/src/main/java/uk/co/imallan/tuchongdaily/api/data/DataPosts.java | app/src/main/java/uk/co/imallan/tuchongdaily/api/data/DataPosts.java | package uk.co.imallan.tuchongdaily.api.data;
import java.io.Serializable;
import java.util.List;
import uk.co.imallan.tuchongdaily.db.model.Post;
/**
* Created by allan on 15/1/30.
*/
public class DataPosts extends BaseData {
private List<Post> posts;
public List<Post> getPosts() {
return posts;
}
public ... | package uk.co.imallan.tuchongdaily.api.data;
import java.util.List;
import uk.co.imallan.tuchongdaily.db.model.Post;
/**
* Created by allan on 15/1/30.
*/
public class DataPosts extends BaseData {
private List<Post> posts;
public List<Post> getPosts() {
return posts;
}
public void setPosts(List<Post> post... | Reformat Code and optimize imports | Reformat Code and optimize imports
| Java | mit | allan1st/tuchong-daily-android |
5ea972b74f99efe2697b30a94d9d68c1280fce6b | common-core-open/src/main/java/com/bbn/bue/common/OrderingUtils.java | common-core-open/src/main/java/com/bbn/bue/common/OrderingUtils.java | package com.bbn.bue.common;
import com.google.common.base.Function;
import com.google.common.collect.Ordering;
public final class OrderingUtils {
private OrderingUtils() {
throw new UnsupportedOperationException();
}
/**
* Gets a function which maps any iterable to its minimum according to the supplied... | package com.bbn.bue.common;
import com.google.common.base.Function;
import com.google.common.collect.Ordering;
public final class OrderingUtils {
private OrderingUtils() {
throw new UnsupportedOperationException();
}
/**
* Gets a function which maps any iterable to its minimum according to the supplied... | Revert "add ability to order a domain D by the result of a function F and an Ordering O on the image of F" | Revert "add ability to order a domain D by the result of a function F and an Ordering O on the image of F"
Use guava
This reverts commit d39b479c87eef9ce0f17d45b1885994f1a9f7fa4.
| Java | mit | rgabbard-bbn/bue-common-open,BBN-E/bue-common-open,BBN-E/bue-common-open,rgabbard-bbn/bue-common-open |
c83d8c4f77ebbd865649df82f89f69fd12235f14 | action-system/impl/com/intellij/ide/IdePopupManager.java | action-system/impl/com/intellij/ide/IdePopupManager.java | package com.intellij.ide;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.ui.popup.IdePopup;
import com.intellij.ui.popup.StackingPopupDispatcher;
import com.intellij.ui.popup.JBPopupImpl;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
public final cla... | package com.intellij.ide;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.ui.popup.IdePopup;
import com.intellij.ui.popup.StackingPopupDispatcher;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
public final class IdePopupManager implements IdeEventQueu... | Remove assertion in favor to correct recover. | Remove assertion in favor to correct recover.
| Java | apache-2.0 | ol-loginov/intellij-community,TangHao1987/intellij-community,MER-GROUP/intellij-community,retomerz/intellij-community,Distrotech/intellij-community,gnuhub/intellij-community,vvv1559/intellij-community,ibinti/intellij-community,pwoodworth/intellij-community,tmpgit/intellij-community,muntasirsyed/intellij-community,mgluk... |
db1bf2bc162dc0288ec2226f8303470205965935 | src/test/java/org/pitest/cucumber/ScenarioTestUnitTest.java | src/test/java/org/pitest/cucumber/ScenarioTestUnitTest.java | package org.pitest.cucumber;
import cucumber.api.junit.Cucumber;
import cucumber.runtime.Runtime;
import cucumber.runtime.model.CucumberScenario;
import gherkin.formatter.Formatter;
import gherkin.formatter.Reporter;
import gherkin.formatter.model.TagStatement;
import org.junit.Before;
import org.junit.Test;
import or... | package org.pitest.cucumber;
import cucumber.api.junit.Cucumber;
import cucumber.runtime.Runtime;
import cucumber.runtime.model.CucumberScenario;
import gherkin.formatter.Formatter;
import gherkin.formatter.Reporter;
import gherkin.formatter.model.TagStatement;
import org.junit.Before;
import org.junit.Test;
import or... | Update to support FIT 1.4.3-SNAPSHOT | Update to support FIT 1.4.3-SNAPSHOT | Java | apache-2.0 | alexvictoor/pitest-cucumber-plugin |
93e35bc960564bd57c9926d90aaa9cf53f9e444e | apt/src/main/java/com/bloatit/framework/webprocessor/annotations/Message.java | apt/src/main/java/com/bloatit/framework/webprocessor/annotations/Message.java | package com.bloatit.framework.webprocessor.annotations;
public class Message {
public enum What {
UNKNOWN, NOT_FOUND, CONVERSION_ERROR, MIN_ERROR, MAX_ERROR, NO_ERROR, LENGTH_ERROR, OPTIONAL_ERROR, PRECISION_ERROR
}
private final String message;
private final What what;
public Message(fin... | package com.bloatit.framework.webprocessor.annotations;
import java.util.regex.Matcher;
public class Message {
public enum What {
UNKNOWN, NOT_FOUND, CONVERSION_ERROR, MIN_ERROR, MAX_ERROR, NO_ERROR, LENGTH_ERROR, OPTIONAL_ERROR, PRECISION_ERROR
}
private final String message;
private final W... | Fix message generation: when the value contained replacement group for regex it was crashing | Fix message generation: when the value contained replacement group for regex it was crashing
| Java | agpl-3.0 | BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit |
a7d3603b30ac1f035985745cf450d23f04d11819 | src/main/java/com/github/onsdigital/json/release/ReleaseSection.java | src/main/java/com/github/onsdigital/json/release/ReleaseSection.java | package com.github.onsdigital.json.release;
import com.github.onsdigital.json.ContentType;
import com.github.onsdigital.json.Reference;
import com.github.onsdigital.json.dataset.Dataset;
import com.github.onsdigital.json.markdown.Article;
import com.github.onsdigital.json.markdown.Bulletin;
/**
* Represents a sectio... | package com.github.onsdigital.json.release;
import com.github.onsdigital.json.ContentType;
import com.github.onsdigital.json.Reference;
import com.github.onsdigital.json.dataset.Dataset;
import com.github.onsdigital.json.markdown.Article;
import com.github.onsdigital.json.markdown.Bulletin;
/**
* Represents a sectio... | Fix for duplicat field in Json serialisation. | Fix for duplicat field in Json serialisation. | Java | mit | ONSdigital/tredegar,ONSdigital/tredegar,ONSdigital/tredegar,ONSdigital/babbage,ONSdigital/tredegar,ONSdigital/babbage,ONSdigital/babbage,ONSdigital/babbage |
5327bdaee252da69b10aaed2290965a64ca1d612 | cipango-diameter/src/main/java/org/cipango/diameter/router/DefaultRouter.java | cipango-diameter/src/main/java/org/cipango/diameter/router/DefaultRouter.java | // ========================================================================
// Copyright 2010 NEXCOM Systems
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... | // ========================================================================
// Copyright 2010 NEXCOM Systems
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licen... | Fix CIPANGO-99: Creating a DiameterServletRequest without specifying the destinationhost field leads to a null pointer exception when sending a the request | Fix CIPANGO-99: Creating a DiameterServletRequest without specifying the destinationhost field leads to a null pointer exception when sending a the request
git-svn-id: a3e743b3c7f6e97b9a019791beffa901f5d7f1d1@506 657f710f-be33-0410-a596-71a6d81f68ef
| Java | apache-2.0 | bpdavis-scratch/cipango,bpdavis-scratch/cipango,bpdavis-scratch/cipango,bpdavis-scratch/cipango,bpdavis-scratch/cipango |
202a0d71301953940ffdad54e6cc8360f8359467 | TrailScribeTest/src/edu/cmu/sv/trailscribe/view/MainActivityTest.java | TrailScribeTest/src/edu/cmu/sv/trailscribe/view/MainActivityTest.java | package edu.cmu.sv.trailscribe;
import android.test.ActivityInstrumentationTestCase2;
import edu.cmu.sv.trailscribe.view.MainActivity;
import android.widget.GridView;
/**
* This is a simple framework for a test of an Application. See
* {@link android.test.ApplicationTestCase ApplicationTestCase} for more informat... | package edu.cmu.sv.trailscribe;
import android.test.ActivityInstrumentationTestCase2;
import edu.cmu.sv.trailscribe.view.MainActivity;
import android.widget.GridView;
/**
* This is a simple framework for a test of an Application. See
* {@link android.test.ApplicationTestCase ApplicationTestCase} for more informa... | Put test value in a more obvious location | Put test value in a more obvious location
| Java | mit | CMUPracticum/TrailScribe,CMUPracticum/TrailScribe,CMUPracticum/TrailScribe |
324b0c02d9aef4a6fc92a3a1d7bb2a11fce1b6af | src/com/example/octoissues/EditOwnerRepoDialog.java | src/com/example/octoissues/EditOwnerRepoDialog.java | package com.example.octoissues;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.TextVi... | package com.example.octoissues;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;
import android.widget.EditText;
import android.w... | Send owner and repo info to enclosing activity when done | Send owner and repo info to enclosing activity when done
| Java | mit | avidas/Octoissues |
c2cacebcce85247cae467c1846ca3f8738f50424 | test/regression/Str2.java | test/regression/Str2.java | class Str2 {
public static void main (String args[]) {
String a = "1";
a += "2";
System.out.println(a);
System.out.println("abc".indexOf("", -32));
System.out.println("abc".indexOf("", 100));
System.out.println("abc".lastIndexOf("", -32));
System.out.println("abc".lastIndexOf("", 100));
}
}
/* Expected... | class Str2 {
public static void main (String args[]) {
String a = "1";
a += "2";
System.out.println(a);
System.out.println("abc".indexOf("", -99999999));
System.out.println("abc".indexOf("", 99999999));
System.out.println("".indexOf("a"));
System.out.println("".indexOf(""));
System.out.println("abc".la... | Add a couple more tests. | Add a couple more tests.
| Java | lgpl-2.1 | kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe |
cb96ca5477d52cef8258fe02806c824ab1bd5bfc | app/src/main/java/me/devsaki/hentoid/activities/sources/PorncomixActivity.java | app/src/main/java/me/devsaki/hentoid/activities/sources/PorncomixActivity.java | package me.devsaki.hentoid.activities.sources;
import me.devsaki.hentoid.enums.Site;
public class PorncomixActivity extends BaseWebActivity {
// private static final String DOMAIN_FILTER = "porncomixonline.net";
private static final String[] GALLERY_FILTER = {
"//www.porncomixonline.net/manga/... | package me.devsaki.hentoid.activities.sources;
import me.devsaki.hentoid.enums.Site;
public class PorncomixActivity extends BaseWebActivity {
// private static final String DOMAIN_FILTER = "porncomixonline.net";
private static final String[] GALLERY_FILTER = {
"//www.porncomixonline.net/manga/... | Remove ads from porncomixonline's main page | Remove ads from porncomixonline's main page
| Java | apache-2.0 | AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid |
5ad4ec1cafc82808beb3d8048d9c18e99c0c7dd3 | java/org/opendaylight/controller/cluster/notifications/LeaderStateChanged.java | java/org/opendaylight/controller/cluster/notifications/LeaderStateChanged.java | /*
* Copyright (c) 2015 Brocade Communications 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... | /*
* Copyright (c) 2015 Brocade Communications 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... | Return local shard tree from FindPrimaryShard | Return local shard tree from FindPrimaryShard
Added a new ShardLeaderStateChanged message that includes the Shard's
DataTree as an Optional. If the shard is the leader, it returns it's
local DataTree, oherwise returns absent.
The ShardManager now returns a LocalPrimaryShardFound response to
FindPrimary if the shard's... | Java | epl-1.0 | opendaylight/yangtools,opendaylight/yangtools |
a5fc6bdec123e10fcef4ec55232b9b69def8aa18 | src/test/java/seedu/address/logic/parser/FinishCommandParserTest.java | src/test/java/seedu/address/logic/parser/FinishCommandParserTest.java | //@@author A0143409J
package seedu.address.logic.parser;
import static org.junit.Assert.assertEquals;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import java.lang.reflect.Field;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import seed... | //@@author A0143409J
package seedu.address.logic.parser;
import static org.junit.Assert.assertEquals;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import java.lang.reflect.Field;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import seed... | Modify to match lexicographical order | [V0.4][Travis] Modify to match lexicographical order
| Java | mit | CS2103JAN2017-W10-B1/main,CS2103JAN2017-W10-B1/main |
b5c06c452100760c1f507b15f40132366c532ff3 | src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java | src/java/org/apache/ddlutils/platform/HsqlDbBuilder.java | package org.apache.ddlutils.platform;
/*
* Copyright 1999-2005 The Apache Software Foundation.
*
* 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/license... | package org.apache.ddlutils.platform;
/*
* Copyright 1999-2005 The Apache Software Foundation.
*
* 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/license... | Add call identity to hsqldb. | Add call identity to hsqldb.
git-svn-id: 9ba7b058a3825ad085cc988a898da8cc978da7ce@330902 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | nakag/ddlutils,nakag/ddlutils |
ed032d6e1a01ce8ad2af773e71113a5c3a647a83 | app/src/main/java/fr/coding/tools/AutoAuthSslWebView.java | app/src/main/java/fr/coding/tools/AutoAuthSslWebView.java | package fr.coding.tools;
import android.webkit.HttpAuthHandler;
import android.webkit.WebView;
import java.util.List;
import fr.coding.tools.model.HostAuth;
import fr.coding.tools.model.SslByPass;
/**
* Created by Matthieu on 03/10/2015.
*/
public class AutoAuthSslWebView extends SslWebView {
public CallbackRe... | package fr.coding.tools;
import android.webkit.HttpAuthHandler;
import android.webkit.WebView;
import java.util.Date;
import java.util.List;
import fr.coding.tools.model.HostAuth;
import fr.coding.tools.model.SslByPass;
/**
* Created by Matthieu on 03/10/2015.
*/
public class AutoAuthSslWebView extends SslWebView ... | Correct cycling bug when password is updated server side | Correct cycling bug when password is updated server side
| Java | apache-2.0 | mtudury/yourandroidwebapp,mtudury/yourandroidwebapp |
66398025e8ebc7f72814a0e430649a6447ee0b73 | kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/launch/KotlinLaunchableTester.java | kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/launch/KotlinLaunchableTester.java | package org.jetbrains.kotlin.ui.launch;
import org.eclipse.core.expressions.PropertyTester;
import org.eclipse.core.resources.IFile;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
import org.jetbrains.jet.lang.psi.JetFile;
import org.jetbrains.jet.lang.resolve.BindingContext;
import or... | package org.jetbrains.kotlin.ui.launch;
import org.eclipse.core.expressions.PropertyTester;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
import org.jetbrains.jet.lang.psi.JetFile;
import org.jetbrain... | Return ability to launch kotlin from editor | Return ability to launch kotlin from editor | Java | apache-2.0 | noemus/kotlin-eclipse,noemus/kotlin-eclipse |
9a58e0ceeceb434bb3fe22dafa7adedd57652d95 | selendroid-server/src/main/java/io/selendroid/server/util/Intents.java | selendroid-server/src/main/java/io/selendroid/server/util/Intents.java | package io.selendroid.server.util;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
/**
* A helper class for working with intents
*/
public class Intents {
/**
* Create an intent to start an activity, for both ServerInstrumentation and LightweightInstrumentation
*... | package io.selendroid.server.util;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
/**
* A helper class for working with intents
*/
public class Intents {
/**
* Create an intent to start an activity, for both ServerInstrumentation and LightweightInstrumentation
*... | Add flags to the intent so it is launched correctly. | Add flags to the intent so it is launched correctly.
| Java | apache-2.0 | selendroid/selendroid,koichirok/selendroid,koichirok/selendroid,selendroid/selendroid,koichirok/selendroid,koichirok/selendroid,selendroid/selendroid,selendroid/selendroid,selendroid/selendroid,koichirok/selendroid |
69af138b94a32408e2dccf3abebe921c4820a01f | lookup.java | lookup.java | import java.util.*;
import org.xbill.DNS.*;
public class lookup {
public static void
printAnswer(String name, Lookup lookup) {
System.out.print(name + ":");
int result = lookup.getResult();
if (result != Lookup.SUCCESSFUL)
System.out.print(" " + lookup.getErrorString());
System.out.println();
if (lookup.getRes... | import java.util.*;
import org.xbill.DNS.*;
public class lookup {
public static void
printAnswer(String name, Lookup lookup) {
System.out.print(name + ":");
int result = lookup.getResult();
if (result != Lookup.SUCCESSFUL)
System.out.print(" " + lookup.getErrorString());
System.out.println();
Name [] aliases =... | Print a list of aliases, if any exist. | Print a list of aliases, if any exist.
| Java | bsd-2-clause | sebastianscatularo/javadns,sebastianscatularo/javadns |
30910e99145b2f15b2d298f191e1739a93cf87af | axelor-core/src/main/java/com/axelor/dms/db/repo/DMSFileRepository.java | axelor-core/src/main/java/com/axelor/dms/db/repo/DMSFileRepository.java | package com.axelor.dms.db.repo;
import java.util.Map;
import org.joda.time.LocalDateTime;
import com.axelor.db.JpaRepository;
import com.axelor.dms.db.DMSFile;
public class DMSFileRepository extends JpaRepository<DMSFile> {
public DMSFileRepository() {
super(DMSFile.class);
}
@Override
public Map<String, Ob... | package com.axelor.dms.db.repo;
import java.util.List;
import java.util.Map;
import org.joda.time.LocalDateTime;
import com.axelor.db.JpaRepository;
import com.axelor.dms.db.DMSFile;
public class DMSFileRepository extends JpaRepository<DMSFile> {
public DMSFileRepository() {
super(DMSFile.class);
}
@Override... | Delete children when deleting dms folder | Delete children when deleting dms folder
| Java | agpl-3.0 | marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit,marioestradarosa/axelor-development-kit,marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit,donsunsoft/axelor-development-kit,marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit |
511d031b0ee9cbaf9c7d8d8d54ce531b0a8b1b12 | src/main/java/abra/Reference.java | src/main/java/abra/Reference.java | package abra;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class Reference {
private Map<String, StringBuffer> refMap = new HashMap<String, StringBuffer>();
public Reference(String reference) throws IOException {
... | package abra;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class Reference {
private Map<String, StringBuffer> refMap = new HashMap<String, StringBuffer>();
public Reference(String reference) throws IOException {
... | Handle reference with description. Don't sub index past beginning of reference sequence. | Handle reference with description. Don't sub index past beginning of
reference sequence. | Java | mit | mozack/abra2,mozack/abra2,mozack/abra,mozack/abra2,mozack/abra,mozack/abra2,mozack/abra |
889da6f3b28f7590a4520c5cde310ef544b7b74a | worker-svc/src/main/java/com/palominolabs/benchpress/worker/WorkerMainModule.java | worker-svc/src/main/java/com/palominolabs/benchpress/worker/WorkerMainModule.java | package com.palominolabs.benchpress.worker;
import com.google.inject.AbstractModule;
import com.palominolabs.benchpress.ipc.IpcHttpClientModule;
import com.palominolabs.benchpress.ipc.IpcJsonModule;
import com.palominolabs.benchpress.job.registry.JobRegistryModule;
import com.palominolabs.benchpress.job.task.TaskPlugi... | package com.palominolabs.benchpress.worker;
import com.google.inject.AbstractModule;
import com.palominolabs.benchpress.ipc.IpcHttpClientModule;
import com.palominolabs.benchpress.ipc.IpcJsonModule;
import com.palominolabs.benchpress.jersey.JerseySupportModule;
import com.palominolabs.benchpress.job.registry.JobRegist... | Fix worker service: needs jersey binding | Fix worker service: needs jersey binding
| Java | apache-2.0 | palominolabs/benchpress |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.