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 |
|---|---|---|---|---|---|---|---|---|---|
8c7912ad7e4e0071568d01e8c114bb16d92f9bca | app/controllers/AbstractController.java | app/controllers/AbstractController.java | package controllers;
import play.mvc.Controller;
import services.configuration.ConfigurationService;
import utils.json.JsonHelper;
import com.google.inject.Singleton;
@Singleton
public class AbstractController extends Controller {
protected static final String _TITLE = "Reactive AngularApp's - Elasticsearch 1.4... | package controllers;
import play.mvc.Controller;
import services.configuration.ConfigurationService;
import utils.json.JsonHelper;
import com.google.inject.Singleton;
@Singleton
public class AbstractController extends Controller {
protected static final String _TITLE = "Reactive AngularApp's - Elasticsearch 1.4... | Fix ./activator dist for the scaladoc | Fix ./activator dist for the scaladoc
| Java | apache-2.0 | joakim-ribier/reactive-elasticsearch-play,joakim-ribier/reactive-elasticsearch-play,joakim-ribier/reactive-elasticsearch-play |
c42f4a8c9577f1af1f887789d5ad3f18d26c0371 | src/main/java/com/stripe/model/SourceRedirectFlow.java | src/main/java/com/stripe/model/SourceRedirectFlow.java | package com.stripe.model;
public final class SourceRedirectFlow extends StripeObject {
String url;
String returnUrl;
String status;
public String getURL() {
return url;
}
public void setURL(String url) {
this.url = url;
}
public String getReturnURL() {
return returnUrl;
}
public void setReturnURL(S... | package com.stripe.model;
public final class SourceRedirectFlow extends StripeObject {
String failureReason;
String returnUrl;
String status;
String url;
public String getFailureReason() {
return failureReason;
}
public void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
... | Support for new failure_reason attribute | Support for new failure_reason attribute
| Java | mit | stripe/stripe-java |
b4d153a179c76837e809549c173da81e13e07f1e | src/revert/Entities/EnemyFactory.java | src/revert/Entities/EnemyFactory.java | package revert.Entities;
import java.awt.Point;
import revert.AI.EnemyAi;
import revert.MainScene.World;
public class EnemyFactory {
Point[] spawnPoints;
World world;
public EnemyFactory(World world, Point... spawns)
{
this.spawnPoints = spawns;
this.world = world;
}
/**
* Create a data set array
... | package revert.Entities;
import java.awt.Point;
import com.kgp.util.Vector2;
import revert.AI.EnemyAi;
import revert.MainScene.World;
public class EnemyFactory {
Vector2[] spawnPoints;
World world;
public EnemyFactory(World world, Vector2... spawns)
{
this.spawnPoints = spawns;
this.world = world;
}
... | Fix enemy factory since world is now using vector2 | Fix enemy factory since world is now using vector2
| Java | mit | nhydock/revert |
d558df69d5a8e8028ff5422866225bfd91989720 | tests/src/cgeo/geocaching/LogTemplateProviderTest.java | tests/src/cgeo/geocaching/LogTemplateProviderTest.java | package cgeo.geocaching;
import junit.framework.TestCase;
public class LogTemplateProviderTest extends TestCase {
public static void testApplyTemplates() {
final String noTemplates = " no templates ";
assertEquals(noTemplates, LogTemplateProvider.applyTemplates(noTemplates, true));
assert... | package cgeo.geocaching;
import java.util.Calendar;
import junit.framework.TestCase;
public class LogTemplateProviderTest extends TestCase {
public static void testApplyTemplates() {
final String noTemplates = " no templates ";
assertEquals(noTemplates, LogTemplateProvider.applyTemplates(noTempl... | Fix text by requiring the current year to be present in output | Fix text by requiring the current year to be present in output
| Java | apache-2.0 | cgeo/cgeo,marco-dev/c-geo-opensource,tobiasge/cgeo,yummy222/cgeo,Huertix/cgeo,cgeo/cgeo,auricgoldfinger/cgeo,pstorch/cgeo,S-Bartfast/cgeo,marco-dev/c-geo-opensource,pstorch/cgeo,Bananeweizen/cgeo,cgeo/cgeo,Huertix/cgeo,lewurm/cgeo,Bananeweizen/cgeo,samueltardieu/cgeo,kumy/cgeo,SammysHP/cgeo,mucek4/cgeo,samueltardieu/cg... |
eb0014304600648a1760d98d01599976ec073842 | test/access/AccessControllerTest.java | test/access/AccessControllerTest.java | package access;
import config.MvcConfiguration;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
impo... | package access;
import config.MvcConfiguration;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
impo... | Set value to annotation @WebAppConfiguration in tests. | Set value to annotation @WebAppConfiguration in tests.
| Java | mit | afkgeolog/knure-collaboration-for-students,afkgeolog/knure-collaboration-for-students,afkgeolog/knure-collaboration-for-students,afkgeolog/knure-collaboration-for-students |
892eccc3e00c4971be16d03f15c3a4fbda062b95 | android/src/org/cocos2dx/breakout/BreakoutCocos2Dx.java | android/src/org/cocos2dx/breakout/BreakoutCocos2Dx.java | package org.cocos2dx.breakout;
import org.cocos2dx.lib.Cocos2dxActivity;
import org.cocos2dx.lib.Cocos2dxGLSurfaceView;
import android.os.Bundle;
import android.widget.EditText;
public class BreakoutCocos2Dx extends Cocos2dxActivity{
private Cocos2dxGLSurfaceView mGLView;
protected void onCreate(Bundle ... | package org.cocos2dx.breakout;
import org.cocos2dx.lib.Cocos2dxActivity;
import org.cocos2dx.lib.Cocos2dxGLSurfaceView;
import android.os.Bundle;
import android.widget.EditText;
public class BreakoutCocos2Dx extends Cocos2dxActivity{
private Cocos2dxGLSurfaceView mGLView;
protected void onCreate(Bundle ... | Load box2d library in JNI | Load box2d library in JNI
| Java | mit | clawoo/BreakoutCocos2D-x,clawoo/BreakoutCocos2D-x,clawoo/BreakoutCocos2D-x,clawoo/BreakoutCocos2D-x,clawoo/BreakoutCocos2D-x,clawoo/BreakoutCocos2D-x,clawoo/BreakoutCocos2D-x |
7efd55ff1eb6258e13db2f1ad75eb70f53bcbf47 | strategy/src/main/java/com/belocraft/Main.java | strategy/src/main/java/com/belocraft/Main.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.belocraft;
import com.belocraft.network.Runner;
import java.io.IOException;
/**
*
* @author Eugene
*/
public class Mai... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.belocraft;
import com.belocraft.network.Runner;
import java.io.IOException;
/**
*
* @author Eugene
*/
public class Mai... | Add exception in strategy from not enought args | Add exception in strategy from not enought args
| Java | mit | 2DKot/AI_Contester,2DKot/AI_Contester,2DKot/AI_Contester,2DKot/AI_Contester |
c4f5877b49b235acc17296741de544da40ef8c0b | test/com/twu/biblioteca/BibliotecaAppTest.java | test/com/twu/biblioteca/BibliotecaAppTest.java | package com.twu.biblioteca;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.lang.StringBuilder;
import java.util.List;
import java.util.ArrayList;
public class BibliotecaAppTest {
@Test
public void testBibliote... | package com.twu.biblioteca;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.lang.StringBuilder;
import java.util.List;
import java.util.ArrayList;
import java.util.Formatter;
public class BibliotecaAppTest {
@Test
... | Test printing book list with author and publish year | Test printing book list with author and publish year
| Java | apache-2.0 | raingxm/twu-biblioteca-emilysiow |
176f52102f2ec3ed0f0788e6504fde5b6811d74c | tests/java/src/main/java/playn/tests/java/TestsGameJava.java | tests/java/src/main/java/playn/tests/java/TestsGameJava.java | /**
* Copyright 2010 The PlayN 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 applicable law or agreed ... | /**
* Copyright 2010 The PlayN 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 applicable law or agreed ... | Make the test window bigger in Java. | Make the test window bigger in Java.
| Java | apache-2.0 | thecocce/playn-1,ruslansennov/playn2,tinkerstudent/playn,longtaoge/playn,tinkerstudent/playn,ruslansennov/playn2,longtaoge/playn,rachelharvey/playn,thecocce/playn-1,playn/playn,playn/playn,playn/playn,rachelharvey/playn |
8004709637e4a553706fd70b31a508fcfcaa231c | src/main/java/dmillerw/sound/core/item/ItemBrokenEarmuffs.java | src/main/java/dmillerw/sound/core/item/ItemBrokenEarmuffs.java | package dmillerw.sound.core.item;
import dmillerw.sound.client.sound.SoundHelper;
import dmillerw.sound.client.sound.SoundReplaced;
import net.minecraft.client.audio.ISound;
import net.minecraft.client.audio.SoundCategory;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net... | package dmillerw.sound.core.item;
import dmillerw.sound.client.sound.SoundHelper;
import dmillerw.sound.client.sound.SoundReplaced;
import net.minecraft.client.audio.ISound;
import net.minecraft.client.audio.SoundCategory;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net... | Increase rate of random sounds with broken earmuffs | Increase rate of random sounds with broken earmuffs
| Java | mit | dmillerw/SoundMuffler |
24f5d90b20359692d65ba34228d79ebf1c251abd | src/com/aragaer/jtt/JTTHour.java | src/com/aragaer/jtt/JTTHour.java | package com.aragaer.jtt;
public class JTTHour {
public static final String Glyphs[] = { "酉", "戌", "亥", "子", "丑", "寅", "卯",
"辰", "巳", "午", "未", "申" };
public static final int ticks = 6;
public static final int subs = 100;
public boolean isNight;
public int num; // 0 to 11, where 0 is h... | package com.aragaer.jtt;
public class JTTHour {
public static final String Glyphs[] = "酉戌亥子丑寅卯辰巳午未申".split("(?!^)");
public static final int ticks = 6;
public static final int subs = 100;
public boolean isNight;
public int num; // 0 to 11, where 0 is hour of Cock and 11 is hour of Monkey
publ... | Replace array of glyphs with a single string and split | Replace array of glyphs with a single string and split
| Java | mit | aragaer/jtt_android |
281f0e3cbd58a930a2dd13252d69df8ca947f91d | src/main/java/com/btk5h/skriptmirror/LibraryLoader.java | src/main/java/com/btk5h/skriptmirror/LibraryLoader.java | package com.btk5h.skriptmirror;
import ch.njol.skript.Skript;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.List;
public class LibraryLoader {
private static C... | package com.btk5h.skriptmirror;
import ch.njol.skript.Skript;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.ArrayList;
import java.util.List;
public class LibraryLoader {
private static C... | Create skript-mirror data folder by default | Create skript-mirror data folder by default
| Java | mit | btk5h/skript-mirror |
1cc02c6b4060592a6216f98f75c9f4365779eb78 | demo/src/main/java/com/vaadin/components/gwt/polymer/client/Demo.java | demo/src/main/java/com/vaadin/components/gwt/polymer/client/Demo.java | package com.vaadin.components.gwt.polymer.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.vaadin.components.gwt.polymer.client.sampler.Sampler;
import com.vaadin.polymer.Polymer;
import com.vaadin.polymer.elemental.Function;
public class Demo implements... | package com.vaadin.components.gwt.polymer.client;
import java.util.Arrays;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.vaadin.components.gwt.polymer.client.sampler.iron.IronCollapseSample;
import com.vaadin.polymer.Polymer;
import com.vaadin.polymer.element... | Document needed imports before the app starts | Document needed imports before the app starts
| Java | apache-2.0 | vaadin/gwt-polymer-elements,manolo/gwt-polymer-elements |
a3b25dc7b9c7df089779372efbbddba62ecd1c25 | src/de/gurkenlabs/litiengine/UpdateLoop.java | src/de/gurkenlabs/litiengine/UpdateLoop.java | package de.gurkenlabs.litiengine;
import java.util.Collections;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
public abstract class UpdateLoop extends Thread implements ILoop {
private static final Logger log = Logger.getLogger(... | package de.gurkenlabs.litiengine;
import java.util.Collections;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
public abstract class UpdateLoop extends Thread implements ILoop {
private static final Logger log = Logger.getLogger(... | Improve implementation: add returns a boolean | Improve implementation: add returns a boolean | Java | mit | gurkenlabs/litiengine,gurkenlabs/litiengine |
2c95afd0345b9f41fe16ade6ceaae4fc39e0ebe2 | alura/algoritmos/TestaMenorPreco.java | alura/algoritmos/TestaMenorPreco.java | public class TestaMenorPreco {
public static void main(String[] args) {
Produto produtos[] = new Produto[5];
produtos[0] = new Produto("Lamborghini", 1000000);
produtos[1] = new Produto("Jipe", 46000);
produtos[2] = new Produto("Brasília", 16000);
produtos[3] = new Produto("Smart", 46000);
p... | public class TestaMenorPreco {
public static void main(String[] args) {
Produto produtos[] = {
new Produto("Lamborghini", 1000000),
new Produto("Jipe", 46000),
new Produto("Brasília", 16000),
new Produto("Smart", 46000),
new Produto("Fusca", 17000)
};
int maisBarato = 0;
... | Insert new files, Alura, Projeto de Algoritmos 1, Aula 10 | Insert new files, Alura, Projeto de Algoritmos 1, Aula 10
| Java | mit | fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs |
f427e403e411919634486218001dbd66a5c40ce1 | rsf-core/core/src/uk/org/ponder/rsf/uitype/BooleanUIType.java | rsf-core/core/src/uk/org/ponder/rsf/uitype/BooleanUIType.java | /*
* Created on Nov 11, 2005
*/
package uk.org.ponder.rsf.uitype;
public class BooleanUIType implements UIType {
public static final BooleanUIType instance = new BooleanUIType();
public Boolean PLACEHOLDER = new Boolean(false);
public Object getPlaceholder() {
return PLACEHOLDER;
}
public St... | /*
* Created on Nov 11, 2005
*/
package uk.org.ponder.rsf.uitype;
public class BooleanUIType implements UIType {
public static final BooleanUIType instance = new BooleanUIType();
public Boolean PLACEHOLDER = Boolean.FALSE;
public Object getPlaceholder() {
return PLACEHOLDER;
}
public String ... | Use constant to generate Boolean | Use constant to generate Boolean
| Java | bsd-3-clause | ern/rsf,ern/rsf,ern/rsf |
3e107d5e141cb9f02fd041016cda8c0be88d4b2a | src/main/java/de/gymnew/sudoku/model/Field.java | src/main/java/de/gymnew/sudoku/model/Field.java | package de.gymnew.sudoku.model;
import java.util.Set;
public class Field {
private byte value; // 0 = undefined
private Set<Byte> notes;
private Row row;
private Column col;
private Block block;
}
| package de.gymnew.sudoku.model;
import java.util.Set;
public class Field {
private byte value; // 0 = undefined
private Set<Byte> notes;
private Row row;
private Column col;
private Block block;
public byte getValue() {
return value;
}
public void setValue(byte value) {
this.value = val... | Add getter and setter for "value" | Add getter and setter for "value" | Java | apache-2.0 | Chroonos/Sudoku |
0002e9626a293914989d7d470fb6a4cfd0ce8842 | src/main/java/com/frameworkium/core/ui/driver/drivers/FirefoxImpl.java | src/main/java/com/frameworkium/core/ui/driver/drivers/FirefoxImpl.java | package com.frameworkium.core.ui.driver.drivers;
import com.frameworkium.core.common.properties.Property;
import com.frameworkium.core.ui.driver.AbstractDriver;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.fi... | package com.frameworkium.core.ui.driver.drivers;
import com.frameworkium.core.common.properties.Property;
import com.frameworkium.core.ui.driver.AbstractDriver;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.*;
public class FirefoxImpl extends Abstrac... | Reduce geckodriver logs to INFO | Reduce geckodriver logs to INFO
| Java | apache-2.0 | robertgates55/frameworkium-core,Frameworkium/frameworkium-core |
bec4ccc911691527d24d9057952c63c1fdad9653 | app/src/main/java/org/mozilla/focus/FocusApplication.java | app/src/main/java/org/mozilla/focus/FocusApplication.java | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus;
import... | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus;
import... | Enable strict mode after setting default preferences values. | Enable strict mode after setting default preferences values.
Technically this is already our first strict mode violation - reading the preferences
will require reading data from the disk and we are on the main thread here. However
currently the following code requires that those values exist so we initialize
strict mo... | Java | mpl-2.0 | pocmo/focus-android,layely/focus-android,ekager/focus-android,jonalmeida/focus-android,jonalmeida/focus-android,liuche/focus-android,Benestar/focus-android,pocmo/focus-android,ekager/focus-android,mastizada/focus-android,jonalmeida/focus-android,Achintya999/focus-android,Achintya999/focus-android,codebu5ter/focus-andro... |
95d5683586172e91de68599c6863a741aa15dc48 | Source/library/src/main/java/im/delight/android/ddp/ResultListener.java | Source/library/src/main/java/im/delight/android/ddp/ResultListener.java | package im.delight.android.ddp;
/*
* Copyright (c) delight.im <info@delight.im>
*
* 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
*
... | package im.delight.android.ddp;
/*
* Copyright (c) delight.im <info@delight.im>
*
* 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
*
... | Remove unnecessary visibility modifiers in interface | Remove unnecessary visibility modifiers in interface
| Java | apache-2.0 | delight-im/Android-DDP |
5562d6baeead172db65383136b1369249142e3b9 | org.perfclipse.wizards/src/org/perfclipse/wizards/Activator.java | org.perfclipse.wizards/src/org/perfclipse/wizards/Activator.java | package org.perfclipse.wizards;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
import org.perfclipse.core.logging.Logger;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
private Logger logger;
// The plug-in ... | package org.perfclipse.wizards;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
import org.perfclipse.core.logging.Logger;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
private Logger logger;
// The plug-in ... | Fix initializing logger in wizards plugin | Fix initializing logger in wizards plugin
| Java | apache-2.0 | PerfCake/PerfClipse |
25adcedad8fc27a4a50060be070f70e89a79394c | src/main/java/br/usp/each/saeg/jaguar/model/LineRequirement.java | src/main/java/br/usp/each/saeg/jaguar/model/LineRequirement.java | package br.usp.each.saeg.jaguar.model;
import javax.xml.bind.annotation.XmlRootElement;
/**
* This class represents the Line Requirement.
*
* Created by henrique on 7/9/17.
*/
@XmlRootElement(name = "lineRequirement")
public class LineRequirement extends Requirement {
@Override
public Type getType() {
... | package br.usp.each.saeg.jaguar.model;
import javax.xml.bind.annotation.XmlRootElement;
/**
* This class represents the Line Requirement.
*
* Created by henrique on 7/9/17.
*/
@XmlRootElement(name = "lineRequirement")
public class LineRequirement extends Requirement {
@Override
public Type getType() {
... | Remove type in toString, the name says the type already | Remove type in toString, the name says the type already
| Java | epl-1.0 | henriquelemos0/jaguar-model |
e8c3209de60901b42c0e48ed36361509ee8bc1a5 | src/main/java/com/uwetrottmann/trakt/v2/entities/BaseEntity.java | src/main/java/com/uwetrottmann/trakt/v2/entities/BaseEntity.java | package com.uwetrottmann.trakt.v2.entities;
public abstract class BaseEntity {
public String title;
public Images images;
}
| package com.uwetrottmann.trakt.v2.entities;
import java.util.List;
public abstract class BaseEntity {
public String title;
public Images images;
public List<String> available_translations;
}
| Add "available_translations" property to base entities. | Add "available_translations" property to base entities.
| Java | apache-2.0 | UweTrottmann/trakt-java |
9e217a3cf24c4beb560b69156f9b6025c4bfeca8 | src/com/ingotpowered/api/plugins/Plugin.java | src/com/ingotpowered/api/plugins/Plugin.java | package com.ingotpowered.api.plugins;
import java.io.File;
public abstract class Plugin {
private String name;
private String author;
private String description;
private String jarFilePath;
private File pluginDirectory;
public abstract void onEnable();
public abstract void onDisable();
... | package com.ingotpowered.api.plugins;
import java.io.File;
public abstract class Plugin {
private String name;
private String author;
private String description;
private String jarFilePath;
private File pluginDirectory;
public abstract void onEnable();
public abstract void onDisable();
... | Allow for error reporting back to the plugin on a plugin to plugin basis, for use for remote error reporting. | Allow for error reporting back to the plugin on a plugin to plugin basis, for use for remote error reporting.
| Java | mit | IngotPowered/IngotAPI |
006c04a65d13ddda1c209df02339c345101488af | ios/src/playn/ios/IOSKeyboard.java | ios/src/playn/ios/IOSKeyboard.java | /**
* Copyright 2012 The PlayN 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 applicable law or agreed ... | /**
* Copyright 2012 The PlayN 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 applicable law or agreed ... | Update setListener() warning for iOS. | Update setListener() warning for iOS.
| Java | apache-2.0 | ruslansennov/playn,ruslansennov/playn,threerings/playn,threerings/playn,ruslansennov/playn,threerings/playn,threerings/playn |
a438a48a782da9bab2be012afe10477687c4b7dd | parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolException.java | parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolException.java | package org.jvirtanen.parity.net;
import java.io.IOException;
public class ProtocolException extends IOException {
public ProtocolException(String message) {
super(message);
}
public ProtocolException(String message, Throwable cause) {
super(message, cause);
}
public ProtocolExc... | package org.jvirtanen.parity.net;
import java.io.IOException;
/**
* Indicates a protocol error.
*/
public class ProtocolException extends IOException {
/**
* Construct an instance with the specified detail message.
*
* @param message the detail message
*/
public ProtocolException(String... | Add documentation for protocol exception in network protocols | Add documentation for protocol exception in network protocols
| Java | apache-2.0 | paritytrading/parity,pmcs/parity,pmcs/parity,paritytrading/parity |
d82736cb24c3a6a2fa454888188a270b5e583c43 | documentation/src/test/java/example/ExternalMethodSourceDemo.java | documentation/src/test/java/example/ExternalMethodSourceDemo.java | /*
* Copyright 2015-2018 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v2.0 which
* accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v20.html
*/
packag... | /*
* Copyright 2015-2018 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v2.0 which
* accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v20.html
*/
packag... | Use non-blank string values as demo arguments | Use non-blank string values as demo arguments
Prior to this commit the demo tree showed empty and multi-line
display names:
+-- ExternalMethodSourceDemo [OK]
| '-- testWithExternalMethodSource(String) [OK]
| +-- [1] [OK]
| +-- [2] [OK]
| '-- [3]
[OK]
Now, a tiny one-liner and non-blank String is provided.... | Java | epl-1.0 | sbrannen/junit-lambda,junit-team/junit-lambda |
f5561de9186bd73a2c3e74dce50fc27c943702fc | org/postgresql/util/PSQLDriverVersion.java | org/postgresql/util/PSQLDriverVersion.java | /*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgjdbc/org/postgresql/util/PSQLDriverVersion.java,v 1.22 2007/07/31 06:05:43 jurka Exp $
*
*---------------------------------------------------... | /*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgjdbc/org/postgresql/util/PSQLDriverVersion.java,v 1.23 2007/12/02 08:30:15 jurka Exp $
*
*---------------------------------------------------... | Prepare for release of 8.3dev-602. | Prepare for release of 8.3dev-602.
| Java | bsd-3-clause | element-doo/postgresql-jdbc,element-doo/postgresql-jdbc |
361c6a93eb4fd14cbe3dec1539a879bab8ef9f4c | src/main/java/jp/crafterkina/pipes/common/RegistryEntries.java | src/main/java/jp/crafterkina/pipes/common/RegistryEntries.java | package jp.crafterkina.pipes.common;
@SuppressWarnings({"AssignmentToNull","NullableProblems"})
public class RegistryEntries {
} | package jp.crafterkina.pipes.common;
import net.minecraftforge.fml.common.registry.GameRegistry.ObjectHolder;
import static jp.crafterkina.pipes.common.PipesCore.MOD_ID;
@ObjectHolder(MOD_ID)
@SuppressWarnings({"AssignmentToNull", "NullableProblems", "unused"})
public class RegistryEntries {
} | Add ObjectHolder Annotation Suppress unused | Add ObjectHolder Annotation
Suppress unused
| Java | mpl-2.0 | CrafterKina/Pipes |
17d44cd58a7c4788a1c28662ed5538ac277546af | tests/ch/hsr/ifs/pystructure/tests/typeinference/TypeInferenceTests.java | tests/ch/hsr/ifs/pystructure/tests/typeinference/TypeInferenceTests.java | /*
* Copyright (C) 2007-2008 Reto Schuettel, Robin Stocker
*
* IFS Institute for Software, HSR Rapperswil, Switzerland
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | /*
* Copyright (C) 2007-2008 Reto Schuettel, Robin Stocker
*
* IFS Institute for Software, HSR Rapperswil, Switzerland
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | Call suite() instead of constructor of TypeInferenceSuite. | Call suite() instead of constructor of TypeInferenceSuite.
| Java | lgpl-2.1 | retoo/pystructure,retoo/pystructure,retoo/pystructure,retoo/pystructure |
21a3451f9bf5efe00fa90d7b4f17491d7da546a4 | wisdom-test/src/main/java/org/wisdom/test/parents/Invocation.java | wisdom-test/src/main/java/org/wisdom/test/parents/Invocation.java | /*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | /*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* 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... | Allow invocations to access the context. | Allow invocations to access the context.
Signed-off-by: Clement Escoffier <6397137e57d1f87002962a37058f2a1c76fca9db@gmail.com>
| Java | apache-2.0 | cheleb/wisdom,CRDNicolasBourbaki/wisdom,cheleb/wisdom,torito/wisdom,gdelafosse/wisdom,wisdom-framework/wisdom,evrignaud/wisdom,cheleb/wisdom,gdelafosse/wisdom,wisdom-framework/wisdom,evrignaud/wisdom,torito/wisdom,gdelafosse/wisdom,gdelafosse/wisdom,wisdom-framework/wisdom,CRDNicolasBourbaki/wisdom,CRDNicolasBourbaki/w... |
5219361dc1bfe36d7f65f6fec08ce2a7f56f2f41 | app/src/main/java/com/yiba/MyApplication.java | app/src/main/java/com/yiba/MyApplication.java | package com.yiba;
import android.app.Application;
import www.yiba.com.wifisdk.manager.WiFiSDKManager;
/**
* Created by yiba_zyj on 2016/11/14.
*/
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
WiFiSDKManager.getInstance().setToken( th... | package com.yiba;
import android.app.Application;
import www.yiba.com.wifisdk.manager.WiFiSDKManager;
/**
* Created by yiba_zyj on 2016/11/14.
*/
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
WiFiSDKManager.getInstance().init(getAppl... | Add init SDK on Application. | Add init SDK on Application.
| Java | apache-2.0 | yibawifi/wifisdk |
c1ec56a0ea1f9acb1e80db5493ce193c410c9795 | Chat/src/ru/nsu/ccfit/bogush/message/types/TextMessage.java | Chat/src/ru/nsu/ccfit/bogush/message/types/TextMessage.java | package ru.nsu.ccfit.bogush.message.types;
import ru.nsu.ccfit.bogush.User;
import ru.nsu.ccfit.bogush.message.Message;
import ru.nsu.ccfit.bogush.message.MessageHandler;
public class TextMessage implements Message {
private User author;
private String text;
public TextMessage(User author, String text) {
this.a... | package ru.nsu.ccfit.bogush.message.types;
import ru.nsu.ccfit.bogush.User;
import ru.nsu.ccfit.bogush.message.Message;
import ru.nsu.ccfit.bogush.message.MessageHandler;
public class TextMessage implements Message {
private User author;
private String text;
public TextMessage(User author, String text) {
this.a... | Replace string builder with string concatenation | Replace string builder with string concatenation
| Java | mit | RoyPy/15201-bogush |
46231cf5938f090521f7d65c881f0df8b6e34511 | app/src/main/java/mozilla/org/webmaker/activity/Tinker.java | app/src/main/java/mozilla/org/webmaker/activity/Tinker.java | package mozilla.org.webmaker.activity;
import android.app.ActionBar;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.Menu;
import android.view.Window;
import android.view.WindowManager;
import android.widget.RelativeLayout;
import mozilla.org... | package mozilla.org.webmaker.activity;
import android.app.ActionBar;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.Menu;
import android.view.Window;
import android.view.WindowManager;
import android.wid... | Use plum and shadow_plum from colors.xml | Use plum and shadow_plum from colors.xml
| Java | mpl-2.0 | adamlofting/webmaker-android,k88hudson/webmaker-android,alicoding/webmaker-android,alanmoo/webmaker-android,alicoding/webmaker-android,bolaram/webmaker-android,alanmoo/webmaker-android,j796160836/webmaker-android,gvn/webmaker-android,rodmoreno/webmaker-android,j796160836/webmaker-android,rodmoreno/webmaker-android,mozi... |
0eb889b55aede5782f5bb6b8a0fc4f48c05705c1 | sample/src/main/java/com/raskasa/metrics/okhttp/sample/App.java | sample/src/main/java/com/raskasa/metrics/okhttp/sample/App.java | package com.raskasa.metrics.okhttp.sample;
import com.codahale.metrics.ConsoleReporter;
import com.codahale.metrics.MetricRegistry;
import com.raskasa.metrics.okhttp.InstrumentedOkHttpClients;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3... | package com.raskasa.metrics.okhttp.sample;
import com.codahale.metrics.ConsoleReporter;
import com.codahale.metrics.MetricRegistry;
import com.raskasa.metrics.okhttp.InstrumentedOkHttpClients;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import okh... | Revert "Update sample to use execute async calls." | Revert "Update sample to use execute async calls."
This reverts commit 1affe46ccaa3f846e86db850024a49fa390d85fa.
| Java | apache-2.0 | raskasa/metrics-okhttp |
fe02b6034ce6cadca3748f8e13b0c2c278a10f3a | test/strings/ReplaceAndRemoveTest.java | test/strings/ReplaceAndRemoveTest.java | package strings;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
import static strings.ReplaceAndRemove.replaceAndRemove;
class ReplaceAndRemoveTest {
private String expected;
private String input;
private int k;
@Test
void replaceAndRemove1() {
expe... | package strings;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
import static strings.ReplaceAndRemove.replaceAndRemove;
class ReplaceAndRemoveTest {
private String expected;
private String input;
private int k;
@Test
void replaceAndRemove1() {
expe... | Test case with mismatch and array size removed | Test case with mismatch and array size removed
| Java | mit | gardncl/elements-of-programming-interviews |
5c36591ee725a4ac4b606a927e259c24d598d5da | app/src/main/java/com/veyndan/paper/reddit/ui/widget/PostFlairsLayout.java | app/src/main/java/com/veyndan/paper/reddit/ui/widget/PostFlairsLayout.java | package com.veyndan.paper.reddit.ui.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import com.google.android.flexbox.FlexboxLayout;
import com.veyndan.paper.reddit.databinding.PostFlairBinding;
import com.veyndan.paper.reddit.post.Flair;
import java.util... | package com.veyndan.paper.reddit.ui.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import com.google.android.flexbox.FlexboxLayout;
import com.veyndan.paper.reddit.databinding.PostFlairBinding;
import com.veyndan.paper.reddit.post.Flair;
import java.util... | Fix bug where multiple flairs from unrelated posts are shown | Fix bug where multiple flairs from unrelated posts are shown
| Java | mit | veyndan/paper-for-reddit,veyndan/paper-for-reddit,veyndan/reddit-client |
122e851cd70ae2fa67a69f8e2f553a5aa20f32a5 | java/com/google/copybara/util/BadExitStatusWithOutputException.java | java/com/google/copybara/util/BadExitStatusWithOutputException.java | // Copyright 2016 Google Inc. All Rights Reserved.
package com.google.copybara.util;
import com.google.common.base.Preconditions;
import com.google.devtools.build.lib.shell.AbnormalTerminationException;
import com.google.devtools.build.lib.shell.Command;
import com.google.devtools.build.lib.shell.CommandResult;
impor... | // Copyright 2016 Google Inc. All Rights Reserved.
package com.google.copybara.util;
import com.google.devtools.build.lib.shell.AbnormalTerminationException;
import com.google.devtools.build.lib.shell.Command;
import com.google.devtools.build.lib.shell.CommandResult;
/**
* An exception that represents a program that... | Fix unused import lint error | Fix unused import lint error
Change-Id: Ib72b049b4991e48b2ac9ffbc3c5585e676edf781
| Java | apache-2.0 | google/copybara,google/copybara,google/copybara |
9c0f03d8eb441733ab98c721d95e86f77746d51c | presto-jaxb/src/main/java/net/ontopia/presto/jaxb/TopicPartial.java | presto-jaxb/src/main/java/net/ontopia/presto/jaxb/TopicPartial.java | package net.ontopia.presto.jaxb;
import java.util.Collection;
import javax.xml.bind.annotation.XmlRootElement;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@XmlRootElement
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@Jso... | package net.ontopia.presto.jaxb;
import java.util.Collection;
import java.util.Map;
import javax.xml.bind.annotation.XmlRootElement;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@XmlRootElement
@JsonSerialize(include = JsonSerialize.In... | Add params to topic partial | Add params to topic partial
| Java | apache-2.0 | thesverre/presto,grove/presto |
de55a31edacc283a80c0824dcafd7958250253d1 | src/FE_SRC_COMMON/com/ForgeEssentials/afterlife/InventroyGrave.java | src/FE_SRC_COMMON/com/ForgeEssentials/afterlife/InventroyGrave.java | package com.ForgeEssentials.afterlife;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.inventory.InventoryBasic;
import net.minecraft.item.ItemStack;
public class InventroyGrave extends InventoryBasic
{
private Grave grave;
public InventroyGrave(Grave grave)
{
super(grave.owner + "'s gr... | package com.ForgeEssentials.afterlife;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.inventory.InventoryBasic;
import net.minecraft.item.ItemStack;
public class InventroyGrave extends InventoryBasic
{
private Grave grave;
public InventroyGrave(Grave grave)
{
super(grave.owner + "'s gr... | Fix private value in Grave | Fix private value in Grave
| Java | epl-1.0 | ForgeEssentials/ForgeEssentialsMain,planetguy32/ForgeEssentials,Techjar/ForgeEssentials,CityOfLearning/ForgeEssentials,liachmodded/ForgeEssentials,aschmois/ForgeEssentialsMain |
2ef30b0961cc13b5f0f1601dae1f4f238c086c52 | src/main/java/com/netcracker/students_project/entity/TegEntity.java | src/main/java/com/netcracker/students_project/entity/TegEntity.java | package com.netcracker.students_project.entity;
import org.hibernate.annotations.Generated;
import org.hibernate.annotations.GenerationTime;
import javax.persistence.*;
@Entity
@Table(name = "teg", schema = "netcracker", catalog = "nc_student_project")
public class TegEntity {
private int id;
private String ... | package com.netcracker.students_project.entity;
import javax.persistence.*;
@Entity
@Table(name = "teg", schema = "netcracker", catalog = "nc_student_project")
public class TegEntity {
private int id;
private String text;
@Id
@Column(name = "id", columnDefinition = "serial")
@GeneratedValue(strat... | Revert "it's work!!! for tegEnity" | Revert "it's work!!! for tegEnity"
This reverts commit b66c557ffab584ed1f8083857fd67732fce21bc1.
| Java | apache-2.0 | fev0ks/NCStudentsProject |
f17e7f20b3f3fb2452cab19305593a63cc56d0ce | ij2-gui/src/main/java/imagej/gui/GradientImage.java | ij2-gui/src/main/java/imagej/gui/GradientImage.java | package imagej.gui;
import imagej.data.Types;
import imagej.dataset.Dataset;
import imagej.dataset.PlanarDatasetFactory;
import imagej.plugin.ij2.IPlugin;
import imagej.plugin.ij2.Parameter;
import imagej.plugin.ij2.Plugin;
@Plugin(
menuPath="Process>Gradient"
)
public class GradientImage implements IPlugin {
@Pa... | package imagej.gui;
import imagej.data.UnsignedByteType;
import imagej.dataset.Dataset;
import imagej.dataset.DatasetFactory;
import imagej.dataset.PlanarDatasetFactory;
import imagej.plugin.ij2.IPlugin;
import imagej.plugin.ij2.Parameter;
import imagej.plugin.ij2.Plugin;
@Plugin(
menuPath="Process>Gradient"
)
publ... | Clean up gradient image plugin code. | Clean up gradient image plugin code.
This used to be revision r1904.
| Java | bsd-2-clause | TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej |
d66a958cd881ee4477e62ee36bc7febb48dcd70d | app/src/main/java/com/x1unix/avi/dashboard/FavoritesTabFragment.java | app/src/main/java/com/x1unix/avi/dashboard/FavoritesTabFragment.java | package com.x1unix.avi.dashboard;
import com.x1unix.avi.R;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.x1unix.avi.model.KPMovie;
import com.x1unix.avi.storage.MoviesRepository;
import java.util.ArrayList;
public class FavoritesTabFr... | package com.x1unix.avi.dashboard;
import com.x1unix.avi.R;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.x1unix.avi.model.KPMovie;
import com.x1unix.avi.storage.MoviesRepository;
import java.util.ArrayList;
public class FavoritesTabFr... | Set name for favs tab | Set name for favs tab
| Java | bsd-3-clause | odin3/Avi,odin3/Avi,odin3/Avi |
bf8b11fa2995ef92154921229c133f59f3dd19d8 | src/com/thaiopensource/relaxng/ValuePattern.java | src/com/thaiopensource/relaxng/ValuePattern.java | package com.thaiopensource.relaxng;
import org.xml.sax.Locator;
import com.thaiopensource.datatype.Datatype;
class ValuePattern extends SimplePattern {
String str;
Datatype dt;
ValuePattern(Datatype dt, String str, Locator locator) {
super(combineHashCode(VALUE_HASH_CODE, str.hashCode()), locator);
thi... | package com.thaiopensource.relaxng;
import org.xml.sax.Locator;
import com.thaiopensource.datatype.Datatype;
class ValuePattern extends SimplePattern {
String str;
Datatype dt;
ValuePattern(Datatype dt, String str, Locator locator) {
super(combineHashCode(VALUE_HASH_CODE, str.hashCode()), locator);
thi... | Fix a couple of bugs. | Fix a couple of bugs.
git-svn-id: ca8e9bb6f3f9b50a093b443c23951d3c25ca0913@45 369101cc-9a96-11dd-8e58-870c635edf7a
| Java | bsd-3-clause | vandenoever/jing,vandenoever/jing,vandenoever/jing |
1c072a67a82bbb9dafd68a9496ca51b237f81116 | src/main/java/net/onrc/onos/core/topology/serializers/DeviceSerializer.java | src/main/java/net/onrc/onos/core/topology/serializers/DeviceSerializer.java | package net.onrc.onos.core.topology.serializers;
import java.io.IOException;
import net.onrc.onos.core.topology.Device;
import net.onrc.onos.core.topology.Port;
import net.onrc.onos.core.topology.PortEvent.SwitchPort;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.JsonGenerator;
imp... | package net.onrc.onos.core.topology.serializers;
import java.io.IOException;
import net.onrc.onos.core.topology.Device;
import net.onrc.onos.core.topology.Port;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.map.SerializerProvider;
import o... | Change device REST API format. | Change device REST API format.
Change-Id: I848c637f5a6d2a224ddceb16d0d27183712ed54a
| Java | apache-2.0 | opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open |
492961857725a4d7b428a725fcd5194ae1f17809 | clients/android/NewsBlur/src/com/newsblur/fragment/LogoutDialogFragment.java | clients/android/NewsBlur/src/com/newsblur/fragment/LogoutDialogFragment.java | package com.newsblur.fragment;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.app.DialogFragment;
import com.newsblur.R;
import com.newsblur.util.PrefsUtils;
public class LogoutDialogFragment extends DialogFragment {
@O... | package com.newsblur.fragment;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.app.DialogFragment;
import com.newsblur.R;
import com.newsblur.util.PrefsUtils;
public class LogoutDialogFragment extends DialogFragment {
@O... | Fix activity drop after logout/login. | Fix activity drop after logout/login.
| Java | mit | lucidbard/NewsBlur,manderson23/NewsBlur,epiphany27/NewsBlur,epiphany27/NewsBlur,lucidbard/NewsBlur,epiphany27/NewsBlur,Suninus/NewsBlur,AlphaCluster/NewsBlur,Suninus/NewsBlur,petecummings/NewsBlur,petecummings/NewsBlur,AlphaCluster/NewsBlur,dosiecki/NewsBlur,mihaip/NewsBlur,Suninus/NewsBlur,AlphaCluster/NewsBlur,mihaip... |
6512101a9c7d2dfe3c367f4c59935d7208959baa | app/src/main/java/com/kickstarter/models/DiscoveryParams.java | app/src/main/java/com/kickstarter/models/DiscoveryParams.java | package com.kickstarter.models;
import com.google.common.collect.ImmutableMap;
public class DiscoveryParams {
public enum Sort {
MAGIC, POPULAR, ENDING_SOON, NEWEST, MOST_FUNDED;
@Override
public String toString() {
switch (this) {
case MAGIC: return "magic";
case POPULAR: ... | package com.kickstarter.models;
import com.google.common.collect.ImmutableMap;
public class DiscoveryParams {
public enum Sort {
MAGIC, POPULAR, ENDING_SOON, NEWEST, MOST_FUNDED;
@Override
public String toString() {
switch (this) {
case MAGIC: return "magic";
case POPULAR: ... | Throw assertion instead of returning empty string. | Throw assertion instead of returning empty string.
| Java | apache-2.0 | kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss |
a3732acc2e39f7c7de93e788dc4933da07b95e77 | src/main/java/ch/tkuhn/bel2nanopub/Bel2Nanopub.java | src/main/java/ch/tkuhn/bel2nanopub/Bel2Nanopub.java | package ch.tkuhn.bel2nanopub;
public class Bel2Nanopub {
public static void main(String[] args) {
System.out.println( "Hello World!" );
}
}
| package ch.tkuhn.bel2nanopub;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.openbel.bel.model.BELParseErrorException;
import org.openbel.framework.common.bel.parser.BELParseResults;
import org.openbel.framework.common.bel.parser.BEL... | Read exemplary BEL document (leads to errors...) | Read exemplary BEL document (leads to errors...) | Java | mit | tkuhn/bel2nanopub,tkuhn/bel2nanopub |
aa3ad68e972706769dfe5074f896951f276a73c8 | android/java/com/sometrik/framework/FWLayout.java | android/java/com/sometrik/framework/FWLayout.java | package com.sometrik.framework;
import android.content.Context;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
public class FWLayout extends LinearLayout implements NativeMessageHandler{
private Context context;
public FWLayout(Context context) {... | package com.sometrik.framework;
import android.content.Context;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.Spinner;
import android.widget.TextView;
public class FWLayout extends LinearLayout implements NativeMessageHandler{
p... | Add cases for picker, textField and textlabel creation | Add cases for picker, textField and textlabel creation | Java | mit | Sometrik/framework,Sometrik/framework,Sometrik/framework |
5fb1449a3a9a883da7fd6b3b7c542212c6ab8f02 | LNReader/src/com/erakk/lnreader/helper/BakaTsukiWebViewClient.java | LNReader/src/com/erakk/lnreader/helper/BakaTsukiWebViewClient.java | package com.erakk.lnreader.helper;
import com.erakk.lnreader.Constants;
import com.erakk.lnreader.DisplayImageActivity;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Toast;
public class... | package com.erakk.lnreader.helper;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.erakk.lnreader.Constants;
import com.erakk.lnreader.DisplayImageActivity;
public class Baka... | Handle other links in content view to browser | Handle other links in content view to browser
| Java | apache-2.0 | SandroHc/LNReader-Android,freedomofkeima/LNReader-Android,calvinaquino/LNReader-Android,calvinaquino/LNReader-Android,SandroHc/LNReader-Android,freedomofkeima/LNReader-Android |
15328d974e5681cc626f50ef647e5d758cb8e7b9 | common/app/com/commercetools/sunrise/common/template/i18n/I18nIdentifier.java | common/app/com/commercetools/sunrise/common/template/i18n/I18nIdentifier.java | package com.commercetools.sunrise.common.template.i18n;
import io.sphere.sdk.models.Base;
/**
* i18n Identifier, consisting of the message key and the bundle.
*
* - {@code bundle}: usually represents a module (e.g. catalog)
* - {@code messageKey}: can contain multiple path elements (e.g. pagination.next)
*
* @s... | package com.commercetools.sunrise.common.template.i18n;
import io.sphere.sdk.models.Base;
import static com.commercetools.sunrise.common.utils.ArrayUtils.getArrayElement;
import static org.apache.commons.lang3.StringUtils.split;
/**
* i18n Identifier, consisting of the message key and the bundle.
*
* - {@code bun... | Add deprecated messages to i18n identifier methods | Add deprecated messages to i18n identifier methods
| Java | apache-2.0 | commercetools/commercetools-sunrise-java,sphereio/sphere-sunrise,sphereio/commercetools-sunrise-java,commercetools/commercetools-sunrise-java,sphereio/commercetools-sunrise-java,sphereio/sphere-sunrise,rfuertesp/pruebas2,sphereio/commercetools-sunrise-java,commercetools/commercetools-sunrise-java,sphereio/sphere-sunris... |
9c09fd56f8394f74ef9e201c5950701757690e84 | app/org/sagebionetworks/bridge/services/backfill/StormpathAccountIterator.java | app/org/sagebionetworks/bridge/services/backfill/StormpathAccountIterator.java | package org.sagebionetworks.bridge.services.backfill;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.stormpath.sdk.account.Account;
import com.stormpath.sdk.account.AccountCriteria;
import com.stormpath.sdk.account.AccountList;
import com.stormpath.sdk.application.Application... | package org.sagebionetworks.bridge.services.backfill;
import java.util.Iterator;
import com.stormpath.sdk.account.Account;
import com.stormpath.sdk.account.AccountCriteria;
import com.stormpath.sdk.account.AccountList;
import com.stormpath.sdk.application.Application;
import com.stormpath.sdk.impl.account.DefaultAcco... | Test the paginated Stormpath account iterator | Test the paginated Stormpath account iterator
| Java | apache-2.0 | DwayneJengSage/BridgePF,DwayneJengSage/BridgePF,Sage-Bionetworks/BridgePF,alxdarksage/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF |
cac5bd5224cccdb079d616cb5a464e29e3070d4d | src/core/org/apache/jmeter/util/StringUtilities.java | src/core/org/apache/jmeter/util/StringUtilities.java | /*
* Copyright 2001-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/licenses/LICENSE-2.0
*
* Unless required by appli... | /*
* Copyright 2001-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/licenses/LICENSE-2.0
*
* Unless required by appli... | Add documentation and tidy up a bit | Add documentation and tidy up a bit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-1@349151 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: 27e9d82281f1ffccef29acba25b279d8ebca551c | Java | apache-2.0 | benbenw/jmeter,etnetera/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,apache/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter |
efca2259f1288f29d36c8faf4c2295cba5c26e25 | src/test/java/org/clafer/ir/IrMemberTest.java | src/test/java/org/clafer/ir/IrMemberTest.java | package org.clafer.ir;
import org.clafer.ir.IrQuickTest.Solution;
import static org.clafer.ir.Irs.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import solver.constraints.Constraint;
import solver.constraints.set.SCF;
import solver.variables.IntVar;
import solver.variables.SetVar;
/**
*
* @author jimmy
... | package org.clafer.ir;
import org.clafer.choco.constraint.Constraints;
import org.clafer.ir.IrQuickTest.Solution;
import static org.clafer.ir.Irs.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import solver.constraints.Constraint;
import solver.variables.IntVar;
import solver.variables.SetVar;
/**
*
* @... | Test with custom membership constraints. | Test with custom membership constraints.
| Java | mit | gsdlab/chocosolver,gsdlab/chocosolver |
cc827662998a5c6c968bcef80d64c2dde07f2308 | library/src/test/java/com/mobilejazz/cacheio/serializer/GsonSerialiserTest.java | library/src/test/java/com/mobilejazz/cacheio/serializer/GsonSerialiserTest.java | package com.mobilejazz.cacheio.serializer;
import com.google.gson.Gson;
import com.mobilejazz.cacheio.ApplicationTestCase;
import com.mobilejazz.cacheio.GsonSerialiser;
import com.mobilejazz.cacheio.Serialiser;
import org.assertj.core.api.Assertions;
import org.junit.Before;
import org.junit.Test;
public class GsonSe... | package com.mobilejazz.cacheio.serializer;
import com.google.gson.Gson;
import com.mobilejazz.cacheio.ApplicationTestCase;
import com.mobilejazz.cacheio.GsonSerialiser;
import com.mobilejazz.cacheio.Serialiser;
import com.mobilejazz.cacheio.model.UserTestModel;
import org.assertj.core.api.Assertions;
import org.junit.... | Implement test to check that the GsonSerializer is working | Implement test to check that the GsonSerializer is working
| Java | apache-2.0 | mobilejazz/CacheIO |
0389ccfe4ed3e071fa976e942553d544bb0a6621 | AndroidVkSdk/src/com/perm/kate/api/Params.java | AndroidVkSdk/src/com/perm/kate/api/Params.java | package com.perm.kate.api;
import java.net.URLEncoder;
import java.util.TreeMap;
import java.util.Map.Entry;
public class Params {
TreeMap<String, String> args = new TreeMap<String, String>();
String method_name;
public Params(String method_name){
this.method_name=method_name;
... | package com.perm.kate.api;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.TreeMap;
import java.util.Map.Entry;
public class Params {
TreeMap<String, String> args = new TreeMap<String, String>();
String method_name;
public Params(String method_name... | Fix posting messages with smiles | Fix posting messages with smiles
| Java | mit | thest1/Android-VKontakte-SDK,romanbrandhall/MyApp |
a44ce60aaf47d0329d35489a95dc65b52ecba29a | src/main/java/net/tridentsdk/effect/RemoteEffect.java | src/main/java/net/tridentsdk/effect/RemoteEffect.java | /*
* Trident - A Multithreaded Server Alternative
* Copyright 2014 The TridentSDK 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.... | /*
* Trident - A Multithreaded Server Alternative
* Copyright 2014 The TridentSDK 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.... | Add method to broadcast to all players | Add method to broadcast to all players
| Java | apache-2.0 | TridentSDK/TridentSDK,nickrobson/TridentSDK,TridentSDK/TridentSDK,nickrobson/TridentSDK,TridentSDK/TridentSDK |
467cc3f88d071061debff4fca76800cf1d383aed | core/src/main/java/com/pcloud/sdk/authentication/Authenticator.java | core/src/main/java/com/pcloud/sdk/authentication/Authenticator.java | /*
* Copyright (c) 2017 pCloud AG
*
* 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) 2017 pCloud AG
*
* 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... | Add a way to access the OAuth token authenticator | feat(Core): Add a way to access the OAuth token authenticator
| Java | apache-2.0 | pCloud/pcloud-sdk-java,pCloud/pcloud-sdk-java |
fa2d46b51a944b30bc7d4e9c71734546fc3ae3c2 | plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java | plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java | package org.eobjects.build;
import java.io.File;
import org.apache.maven.plugin.MojoFailureException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
public abstract class AbstractDotnetTestMojo extends Abstra... | package org.eobjects.build;
import java.io.File;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Parameter;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
publ... | Add parameter to allow for output xml flag | Add parameter to allow for output xml flag
| Java | apache-2.0 | kaspersorensen/dotnet-maven-plugin,kaspersorensen/dotnet-maven-plugin |
415853e57b2c3b9dd1017c5343b8898eee3dea02 | src/main/java/com/elmakers/mine/bukkit/api/spell/SpellTemplate.java | src/main/java/com/elmakers/mine/bukkit/api/spell/SpellTemplate.java | package com.elmakers.mine.bukkit.api.spell;
import java.util.Collection;
import org.bukkit.Color;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.ConfigurationSection;
import com.elmakers.mine.bukkit.api.block.MaterialAndData;
import com.elmakers.mine.bukkit.api.effect.EffectPlayer;
/**
* ... | package com.elmakers.mine.bukkit.api.spell;
import java.util.Collection;
import org.bukkit.Color;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.ConfigurationSection;
import com.elmakers.mine.bukkit.api.block.MaterialAndData;
import com.elmakers.mine.bukkit.api.effect.EffectPlayer;
/**
* ... | Add basic spell levelling API | Add basic spell levelling API
| Java | mit | elBukkit/MagicAPI,elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
62d08b126617dc18383af3d088e91f0d2ee4a0bd | app/src/main/java/com/zulip/android/ZLog.java | app/src/main/java/com/zulip/android/ZLog.java | package com.zulip.android;
import com.crashlytics.android.Crashlytics;
public class ZLog {
public static void logException(Throwable e) {
if (BuildHelper.shouldLogToCrashlytics()) {
e.printStackTrace();
} else {
Crashlytics.logException(e);
}
}
}
| package com.zulip.android;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
public class ZLog {
public static void logException(Throwable e) {
if (!BuildHelper.shouldLogToCrashlytics()) {
Log.e("Error", "oops", e);
} else {
Crashlytics.logException(e);... | Fix logic error on logging to crashlytics | Fix logic error on logging to crashlytics
| Java | apache-2.0 | abhaymaniyar/zulip-android,vishwesh3/zulip-android,prati0100/zulip-android,zulip/zulip-android,abhaymaniyar/zulip-android,prati0100/zulip-android,saketkumar95/zulip-android,Sam1301/zulip-android,Sam1301/zulip-android,saketkumar95/zulip-android |
84472288152437af63d61079966794bc622bd737 | src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java | src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java | package info.u_team.u_team_test.entity.render;
import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.client.renderer.entity.*;
import net.minecraft.entity.monster.ZombieEntity;
public class TestLivingEntityRenderer extends ZombieRenderer {
public TestLivingEntityRenderer(EntityRendererManager renderM... | package info.u_team.u_team_test.entity.render;
import com.mojang.blaze3d.matrix.MatrixStack;
import info.u_team.u_team_test.TestMod;
import net.minecraft.client.renderer.entity.*;
import net.minecraft.entity.monster.ZombieEntity;
import net.minecraft.util.ResourceLocation;
public class TestLivingEntityRenderer exten... | Use texture for test living | Use texture for test living | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
ad13c45d8544655ded85a02d53ccf8211c466405 | src/main/java/sqlline/SunSignalHandler.java | src/main/java/sqlline/SunSignalHandler.java | /*
// Licensed to Julian Hyde under one or more contributor license
// agreements. See the NOTICE file distributed with this work for
// additional information regarding copyright ownership.
//
// Julian Hyde licenses this file to you under the Modified BSD License
// (the "License"); you may not use this file except i... | /*
// Licensed to Julian Hyde under one or more contributor license
// agreements. See the NOTICE file distributed with this work for
// additional information regarding copyright ownership.
//
// Julian Hyde licenses this file to you under the Modified BSD License
// (the "License"); you may not use this file except i... | Remove '@Override', to fix compile on JDK 1.5. | Remove '@Override', to fix compile on JDK 1.5.
| Java | bsd-3-clause | nvoron23/sqlline,nvoron23/sqlline,mapr/sqlline,parthchandra/sqlline,julianhyde/sqlline,mapr/sqlline,julianhyde/sqlline,parthchandra/sqlline |
b6e3b99a3283d15a1e2e3c72f8a4f0bb8e9a3d2a | bits/src/main/java/dk/aau/kah/bits/evaluation/ExperimentFactory.java | bits/src/main/java/dk/aau/kah/bits/evaluation/ExperimentFactory.java | package dk.aau.kah.bits.evaluation;
import da.aau.kah.bits.exceptions.InvalidDatabaseConfig;
import dk.aau.kah.bits.database.DatabaseConfig;
import dk.aau.kah.bits.database.DatabaseHandler;
public class ExperimentFactory {
public ExperimentFactory() {
}
public AbstractEvaluationHandler makeEvaluation(Database... | package dk.aau.kah.bits.evaluation;
import da.aau.kah.bits.exceptions.InvalidDatabaseConfig;
import dk.aau.kah.bits.database.DatabaseConfig;
import dk.aau.kah.bits.database.DatabaseHandler;
public class ExperimentFactory {
public ExperimentFactory() {
}
public AbstractExperimentHandler makeEvaluation(Database... | Rename some functions to experiment instead of evaluation | Rename some functions to experiment instead of evaluation | Java | apache-2.0 | kimajakobsen/BITS,kimajakobsen/BITS |
776c7a86607d2d28990f6877716bfea0bd61bc3c | src/main/java/com/telus/training/ex1/ClockNeedles.java | src/main/java/com/telus/training/ex1/ClockNeedles.java | package com.telus.training.ex1;
public class ClockNeedles {
public double calculateAngle(int hours, int minutes) {
double hoursAngle = hours*30;
double minutesAngle = minutes*6;
double angle = Math.abs(hoursAngle - minutesAngle);
if(angle > 180.0) angle = angle - 180.0;
return angle;
}
}
| package com.telus.training.ex1;
public class ClockNeedles {
public double calculateAngleBetween(int hours, int minutes) {
double hoursAngle = convertHoursToAngle(hours);
double minutesAngle = convertMinutesToAngle(minutes);
double angle = Math.abs(hoursAngle - minutesAngle);
return (angle > 180.0) ? (angl... | Add checks for hours and minutes | Add checks for hours and minutes
| Java | mit | tristanles/tdd-ex1-java |
0c9e86072256cfff980d669a888bead3e9a0db00 | src/main/java/wissolsoft/porada/webapp/model/Vote.java | src/main/java/wissolsoft/porada/webapp/model/Vote.java | package wissolsoft.porada.webapp.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.appfuse.model.User;
@Entity
@Table(name="vote")
public class Vote {
public enum Value {
... | package wissolsoft.porada.webapp.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.appfuse.model.User;
@Entity
@Table(name="vote")
public class Vote {
public enum Value {
... | Add values to vote enum | Add values to vote enum | Java | mit | michael-drygola/porada-radi,michael-drygola/porada-radi |
cc141d69b49414aaa81c5bb0ef39ca2a4bc7132b | java/squeek/veganoption/integration/magicalcrops/MagicalCrops.java | java/squeek/veganoption/integration/magicalcrops/MagicalCrops.java | package squeek.veganoption.integration.magicalcrops;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import squeek.veganoption.content.registry.CompostRegistry;
import squeek.veganoption.content.registry.CompostRegistry.FoodS... | package squeek.veganoption.integration.magicalcrops;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import squeek.veganoption.content.ContentHelper;
import squeek.veganoption.... | Add magical crops grape seeds to grape seed oredict | Add magical crops grape seeds to grape seed oredict
| Java | unlicense | Adaptivity/VeganOption,squeek502/VeganOption |
cea5ff62353e29fe4335048cbdd9e495cfb8cbca | src/org/frostbite/karren/listeners/ConnectCommand.java | src/org/frostbite/karren/listeners/ConnectCommand.java | /*
* Copyright (c) 2016 Owen Bennett.
* You may use, distribute and modify this code under the terms of the MIT licence.
* You should have obtained a copy of the MIT licence with this software,
* if not please obtain one from https://opensource.org/licences/MIT
*
*
*
*/
package org.frostbite.karren.listener... | /*
* Copyright (c) 2016 Owen Bennett.
* You may use, distribute and modify this code under the terms of the MIT licence.
* You should have obtained a copy of the MIT licence with this software,
* if not please obtain one from https://opensource.org/licences/MIT
*
*
*
*/
package org.frostbite.karren.listener... | Set status line to display current version | Set status line to display current version
| Java | mit | ripxfrostbite/karren-sama |
e3d1cc7858bae39dc2f110f86ed66c1236dfdcf1 | pentaho-xul-core/src/org/pentaho/ui/xul/components/XulTreeCol.java | pentaho-xul-core/src/org/pentaho/ui/xul/components/XulTreeCol.java | package org.pentaho.ui.xul.components;
import java.util.List;
import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.binding.InlineBindingExpression;
import org.pentaho.ui.xul.util.ColumnType;
public interface XulTreeCol extends XulComponent {
public void setEditable(boolean edit);
publi... | package org.pentaho.ui.xul.components;
import java.util.List;
import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.binding.InlineBindingExpression;
import org.pentaho.ui.xul.util.ColumnType;
public interface XulTreeCol extends XulComponent {
public void setEditable(boolean edit);
publi... | Support for Hierarchical trees added. | Support for Hierarchical trees added.
| Java | lgpl-2.1 | pentaho/pentaho-commons-xul |
d77a34ee186e76e3283897229e07a08f0390c034 | metrics-proxy/src/main/java/ai/vespa/metricsproxy/service/RemoteMetricsFetcher.java | metrics-proxy/src/main/java/ai/vespa/metricsproxy/service/RemoteMetricsFetcher.java | // Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.metricsproxy.service;
import ai.vespa.metricsproxy.metric.Metrics;
import java.io.IOException;
/**
* Fetch metrics for a given vespa service
*
* @author Jo Kristian Bergum
*/
public c... | // Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.metricsproxy.service;
import ai.vespa.metricsproxy.metric.Metrics;
import java.io.IOException;
/**
* Fetch metrics for a given vespa service
*
* @author Jo Kristian Bergum
*/
public c... | Reduce logging noise when metric fetching fails | Reduce logging noise when metric fetching fails
| 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 |
c3f9435aeb46e82c59d6a431a9c5028f8e31fcd9 | gerrit-server/src/main/java/com/google/gerrit/server/AccessPath.java | gerrit-server/src/main/java/com/google/gerrit/server/AccessPath.java | // Copyright (C) 2009 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) 2009 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 ... | Remove unused WEB_BROWSER access path | Remove unused WEB_BROWSER access path
Change-Id: I979d4539f3e67bdee0e5aaa82830df695dd9c25d
Signed-off-by: Edwin Kempin <b444e279ad95fdef4fbdd82c813b624595df204a@sap.com>
| Java | apache-2.0 | GerritCodeReview/gerrit,netroby/gerrit,qtproject/qtqa-gerrit,Seinlin/gerrit,quyixia/gerrit,gerrit-review/gerrit,bootstraponline-archive/gerrit-mirror,midnightradio/gerrit,gcoders/gerrit,thesamet/gerrit,WANdisco/gerrit,quyixia/gerrit,renchaorevee/gerrit,midnightradio/gerrit,supriyantomaftuh/gerrit,Seinlin/gerrit,renchao... |
f197b0595656d0b45f587f3ea115d7a84e32f724 | liquibase-core/src/main/java/liquibase/datatype/core/DoubleType.java | liquibase-core/src/main/java/liquibase/datatype/core/DoubleType.java | package liquibase.datatype.core;
import liquibase.database.Database;
import liquibase.database.core.*;
import liquibase.datatype.DataTypeInfo;
import liquibase.datatype.DatabaseDataType;
import liquibase.datatype.LiquibaseDataType;
@DataTypeInfo(name="double", aliases = {"java.sql.Types.DOUBLE", "java.lang.Double"}, ... | package liquibase.datatype.core;
import liquibase.database.Database;
import liquibase.database.core.*;
import liquibase.datatype.DataTypeInfo;
import liquibase.datatype.DatabaseDataType;
import liquibase.datatype.LiquibaseDataType;
@DataTypeInfo(name="double", aliases = {"java.sql.Types.DOUBLE", "java.lang.Double"}, ... | Use double precision for double with Firebird | Use double precision for double with Firebird | Java | apache-2.0 | dprguard2000/liquibase,russ-p/liquibase,russ-p/liquibase,russ-p/liquibase,gquintana/liquibase,Willem1987/liquibase,evigeant/liquibase,Datical/liquibase,syncron/liquibase,OpenCST/liquibase,mbreslow/liquibase,syncron/liquibase,vbekiaris/liquibase,danielkec/liquibase,fossamagna/liquibase,evigeant/liquibase,vfpfafrf/liquib... |
f3528af81d0628ae7a256644ad3b94e27446be22 | log4j-api/src/main/java/org/apache/logging/log4j/spi/Terminable.java | log4j-api/src/main/java/org/apache/logging/log4j/spi/Terminable.java | /*
* Copyright (c) 2016 Nextiva, Inc. to Present.
* All rights reserved.
*/
package org.apache.logging.log4j.spi;
/**
* Interface to be implemented by LoggerContext's that provide a shutdown method.
* @since 2.6
*/
public interface Terminable {
/**
* Requests that the logging implementation shut down.
... | /*
* Copyright (c) 2016 Nextiva, Inc. to Present.
* All rights reserved.
*/
package org.apache.logging.log4j.spi;
/**
* Interface to be implemented by LoggerContext's that provide a shutdown method.
* @since 2.6
*/
public interface Terminable {
/**
* Requests that the logging implementation shut down.
... | Document that the terminate method is blocking. | Document that the terminate method is blocking.
| Java | apache-2.0 | xnslong/logging-log4j2,lqbweb/logging-log4j2,xnslong/logging-log4j2,lburgazzoli/apache-logging-log4j2,codescale/logging-log4j2,lqbweb/logging-log4j2,xnslong/logging-log4j2,GFriedrich/logging-log4j2,lburgazzoli/apache-logging-log4j2,apache/logging-log4j2,lburgazzoli/logging-log4j2,codescale/logging-log4j2,lburgazzoli/lo... |
ae3aea302b2a5ea084725388f2283688f3c420fe | Mafia/src/mafiaclient/MafiaClient.java | Mafia/src/mafiaclient/MafiaClient.java | package mafiaclient;
/**
* MafiaClient.java
* Contains the MafiaClient class
* @author Cory Gehr (cmg5573)
*/
public class MafiaClient {
public static String HOST_NAME;
public static int PORT_NUMBER = 65004;
/**
* main()
* Entry point for the MafiaClient application
* @param ar... | package mafiaclient;
/**
* MafiaClient.java
* Contains the MafiaClient class
* @author Cory Gehr (cmg5573)
*/
public class MafiaClient {
public static String HOST_NAME;
public static int PORT_NUMBER = 65004;
/**
* main()
* Entry point for the MafiaClient application
* @param ar... | Use CLI for arguments in client | Use CLI for arguments in client
| Java | bsd-3-clause | corygehr/Mafia |
bbc687ca0ae85627fceda87a7257723efb178de5 | redpen-core/src/main/java/cc/redpen/validator/section/ParagraphNumberValidator.java | redpen-core/src/main/java/cc/redpen/validator/section/ParagraphNumberValidator.java | /**
* redpen: a text inspection tool
* Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
*
* 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
... | /**
* redpen: a text inspection tool
* Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
*
* 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
... | Fix error mssage of ParagraphNumber | Fix error mssage of ParagraphNumber
| Java | apache-2.0 | recruit-tech/redpen,recruit-tech/redpen,redpen-cc/redpen,recruit-tech/redpen,recruit-tech/redpen,redpen-cc/redpen,redpen-cc/redpen,redpen-cc/redpen,redpen-cc/redpen |
494278de82c3ebb565fabb2763ebfda0c0e0147b | sample_data/src/main/java/com/peta2kuba/sample_data/SampleDataLoadingFacadeImpl.java | sample_data/src/main/java/com/peta2kuba/sample_data/SampleDataLoadingFacadeImpl.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.peta2kuba.sample_data;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spr... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.peta2kuba.sample_data;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.spr... | Revert "sample data structure for multithread working" | Revert "sample data structure for multithread working"
This reverts commit 33a475b883c311666078b91ed1dab5870c6d583d.
| Java | apache-2.0 | DrakMelisek/pa165_haunted_houses |
b7419d740332ed42df4bde9294480d33f92e1fe3 | another-simple-server/src/main/java/org/yukung/sandbox/http/Main.java | another-simple-server/src/main/java/org/yukung/sandbox/http/Main.java | package org.yukung.sandbox.http;
import static org.yukung.sandbox.http.HttpRequest.CRLF;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.ServerSocket;
import java.net.Socket;
/**
* @author yukung
*/
public class Main {
pu... | package org.yukung.sandbox.http;
import static org.yukung.sandbox.http.HttpRequest.*;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.ServerSocket;
import java.net.Socket;
/**
* @author yukung
*/
public class Main {
publi... | Return the simple response header and response body. | Return the simple response header and response body.
| Java | mit | yukung/playground,yukung/playground,yukung/playground,yukung/playground |
0c51483a40be09cf419ba3a7ed9af41251525e2a | app/src/main/java/com/smartdragons/interactivestory/MainActivity.java | app/src/main/java/com/smartdragons/interactivestory/MainActivity.java | package com.smartdragons.interactivestory;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCr... | package com.smartdragons.interactivestory;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity e... | Set click listener to button and show name in a toast | Set click listener to button and show name in a toast
| Java | mit | midas-claw/interactive-story |
a294ea80e95e8469031997ad40fbb3fa5e5eb658 | security-utils/src/main/java/com/yahoo/security/tls/MixedMode.java | security-utils/src/main/java/com/yahoo/security/tls/MixedMode.java | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.security.tls;
import java.util.Arrays;
/**
* @author bjorncs
*/
public enum MixedMode {
PLAINTEXT_CLIENT_MIXED_SERVER("plaintext_client_mixed_server"),
TLS_CLIENT_MIXED_SE... | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.security.tls;
import java.util.Arrays;
/**
* @author bjorncs
*/
public enum MixedMode {
PLAINTEXT_CLIENT_MIXED_SERVER("plaintext_client_mixed_server"),
TLS_CLIENT_MIXED_SE... | Add 'tls_client_tls_server' as tls mixed mode option | Add 'tls_client_tls_server' as tls mixed mode option
Also introduce default value for mixed mode.
| 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 |
c1433f2c6b099931d1a99c95f4d64824595eeab5 | xstream/src/java/com/thoughtworks/xstream/core/util/FastField.java | xstream/src/java/com/thoughtworks/xstream/core/util/FastField.java | /*
* Copyright (C) 2008 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 13. October 2008 by Joerg Schaible
*/
package com.though... | /*
* Copyright (C) 2008, 2010 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 13. October 2008 by Joerg Schaible
*/
package com.... | Allow null as defining class. | Allow null as defining class.
git-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@1736 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e
| Java | bsd-3-clause | vkscool/xstream,Groostav/xstream,emopers/xstream,Groostav/xstream,emopers/xstream,tenghuihua/xstream,tenghuihua/xstream,vkscool/xstream |
bd39b24623119f4c9ec5b14936e0b1c0b0884392 | addressbook-web-tests/src/test/java/ru/sfwt/mt/addressbook/tests/GroupCreationTests.java | addressbook-web-tests/src/test/java/ru/sfwt/mt/addressbook/tests/GroupCreationTests.java | package ru.sfwt.mt.addressbook.tests;
import org.testng.Assert;
import org.testng.annotations.Test;
import ru.sfwt.mt.addressbook.model.GroupData;
import java.util.HashSet;
import java.util.List;
public class GroupCreationTests extends TestBase{
@Test
public void testGroupCreation() {
app.getNavigationHelpe... | package ru.sfwt.mt.addressbook.tests;
import org.testng.Assert;
import org.testng.annotations.Test;
import ru.sfwt.mt.addressbook.model.GroupData;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
public class GroupCreationTests extends TestBase{
@Test
public void testGroupCreation()... | Create lambda instead of IF in GroupCreationTest | Create lambda instead of IF in GroupCreationTest
| Java | apache-2.0 | MarinaTereshkova/java_for_testers,MarinaTereshkova/java_for_testers |
c576a98c5060996a6ea948f3b5c14a83d58b33b2 | com/woopra/java/sdk/WoopraVisitor.java | com/woopra/java/sdk/WoopraVisitor.java | package com.woopra.java.sdk;
import java.util.HashMap;
public class WoopraVisitor {
public static String EMAIL = "email";
public static String UNIQUE_ID = "uniqueId";
protected HashMap<String, Object> properties = new HashMap<String, Object>();
private String ipAddress = "";
private String cookieValue = "";
... | package com.woopra.java.sdk;
import java.util.HashMap;
public class WoopraVisitor {
public static String EMAIL = "email";
public static String UNIQUE_ID = "uniqueId";
protected HashMap<String, Object> properties = new HashMap<String, Object>();
private String ipAddress = "";
private String cookieValue = "";
... | Add getters for visitor/visit properties. | Add getters for visitor/visit properties. | Java | mit | Woopra/woopra-java-sdk |
b82ac6c5256229efed865164f7cc8ea407b5af7c | edocs-app/src/main/java/com/github/aureliano/edocs/app/EdocsApp.java | edocs-app/src/main/java/com/github/aureliano/edocs/app/EdocsApp.java | package com.github.aureliano.edocs.app;
import javax.swing.SwingUtilities;
import com.github.aureliano.edocs.app.gui.AppFrame;
public class EdocsApp {
private AppFrame frame;
public EdocsApp() {
this.frame = new AppFrame();
}
public AppFrame getFrame() {
return this.frame;
}
public static void main(... | package com.github.aureliano.edocs.app;
import javax.swing.SwingUtilities;
import com.github.aureliano.edocs.app.gui.AppFrame;
public class EdocsApp {
private static EdocsApp instance;
private AppFrame frame;
public static void main(String[] args) {
final EdocsApp application = new EdocsApp();
SwingUtil... | Make main frame visible by other components. | Make main frame visible by other components.
| Java | mit | aureliano/e-docs |
346f6e68cf2cbb972f481062d9da0c07ff773fbc | src/test/java/benjamin/groehbiel/ch/JedisTest.java | src/test/java/benjamin/groehbiel/ch/JedisTest.java | package benjamin.groehbiel.ch;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.data.redis.connection.je... | package benjamin.groehbiel.ch;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.data.redis.connection.je... | Add value to key-value store | Add value to key-value store
| Java | mit | Armandorev/url-shortener,Armandorev/url-shortener,Armandorev/url-shortener,Armandorev/url-shortener |
976767dc78b6b3c92c48563ab5c6f7684242d643 | src/cs437/som/neighborhood/LinearDecayNeighborhoodWidthFunction.java | src/cs437/som/neighborhood/LinearDecayNeighborhoodWidthFunction.java | package cs437.som.neighborhood;
import cs437.som.NeightborhoodWidthFunction;
/**
* Neighborhood width strategy for self-organizing maps that decays the width
* linearly as the iterations progress.
*/
public class LinearDecayNeighborhoodWidthFunction implements NeightborhoodWidthFunction {
private final double ... | package cs437.som.neighborhood;
import cs437.som.NeightborhoodWidthFunction;
/**
* Neighborhood width strategy for self-organizing maps that decays the width
* linearly as the iterations progress.
*
* The exact behavior follows the formula:
* w_i * (1 - (-t / t_max))
* where
* w_i is the initial w... | Add formula comment to lin. decay NW class. | Add formula comment to lin. decay NW class.
| Java | bsd-3-clause | gamma9mu/SOMa |
c7cf174f8ada8c438a7593c9db9015ea68f0f937 | src/peergos/server/tests/RamUserTests.java | src/peergos/server/tests/RamUserTests.java | package peergos.server.tests;
import org.junit.runner.*;
import org.junit.runners.*;
import java.util.*;
@RunWith(Parameterized.class)
public class RamUserTests extends UserTests {
public RamUserTests(Random rnd) throws Exception {
super("RAM", rnd);
}
@Parameterized.Parameters()
public sta... | package peergos.server.tests;
import org.junit.*;
import org.junit.runner.*;
import org.junit.runners.*;
import peergos.server.storage.*;
import java.util.*;
@RunWith(Parameterized.class)
public class RamUserTests extends UserTests {
public RamUserTests(Random rnd) throws Exception {
super("RAM", rnd);
... | Clear Ram storage between tests | Clear Ram storage between tests
| Java | agpl-3.0 | Peergos/Peergos,Peergos/Peergos,ianopolous/Peergos,Peergos/Peergos,ianopolous/Peergos,ianopolous/Peergos |
8fd06cf3697441f2a88b19dbf8fb038fa8b954c3 | processor/src/test/resources/expected/Arez_BasicObservableModel.java | processor/src/test/resources/expected/Arez_BasicObservableModel.java | import javax.annotation.Generated;
import javax.annotation.Nonnull;
import org.realityforge.arez.ArezContext;
import org.realityforge.arez.Observable;
@Generated( "org.realityforge.arez.processor.ArezProcessor" )
public final class Arez_BasicObservableModel
extends BasicObservableModel
{
@Nonnull
private final A... | import javax.annotation.Generated;
import javax.annotation.Nonnull;
import org.realityforge.arez.ArezContext;
import org.realityforge.arez.Observable;
@Generated( "org.realityforge.arez.processor.ArezProcessor" )
public final class Arez_BasicObservableModel
extends BasicObservableModel
{
private static volatile lo... | Update code to match current generation format | Update code to match current generation format
| Java | apache-2.0 | realityforge/arez,realityforge/arez,realityforge/arez |
110b393c2843289adb4bdedd6e63cf6f52a5094a | src/boundary/PlayerApplication.java | src/boundary/PlayerApplication.java | import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class PlayerApplication {
public static final String title = "Sixes Wild";
protected JFrame frame;
protected JPanel view;
public PlayerApplication() {
frame = new JFrame(ti... | import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class PlayerApplication {
public static final String title = "Sixes Wild";
protected JFrame frame;
protected JPanel view;
public PlayerApplication() {
frame = new JFrame(ti... | Add outline for splash screen usage | Add outline for splash screen usage
Progress on #6
Signed-off-by: Eli Skeggs <9586c285e7eef0e86d45536fe84e916128618137@wpi.edu>
| Java | mit | mvit/sixes-wild |
0809f6fda804e0924abc737bcc71336a874cf57d | src/protocol/http/org/apache/jmeter/protocol/http/util/EncoderCache.java | src/protocol/http/org/apache/jmeter/protocol/http/util/EncoderCache.java | package org.apache.jmeter.protocol.http.util;
import java.net.URLEncoder;
import org.apache.oro.util.Cache;
import org.apache.oro.util.CacheLRU;
/**
* @author Administrator
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
*/
public class Encoder... | package org.apache.jmeter.protocol.http.util;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import org.apache.oro.util.Cache;
import org.apache.oro.util.CacheLRU;
/**
* @author Administrator
*
* To change this generated comment edit the template variable "typecomment":
* Window>Prefere... | Use utf8 to encode URLs. | Use utf8 to encode URLs.
PR: 8961
Submitted by: Matthew Faull
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@323764 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: f20f9b66b4af229a29de308fe78c6306bbf79768 | Java | apache-2.0 | benbenw/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,benbenw/jmeter,ham1/jmeter,ham1/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter,etnetera/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter |
9a3001aa53ef6e140280390ee27d5f70935d6fcf | backend/server/src/test/java/org/marsik/elshelves/backend/test/config/EmptyApplication.java | backend/server/src/test/java/org/marsik/elshelves/backend/test/config/EmptyApplication.java | package org.marsik.elshelves.backend.test.config;
import org.marsik.elshelves.backend.app.spring.NoAutoscan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@EnableAutoConfiguration
@NoAutoscan
public class EmptyApplication {
... | package org.marsik.elshelves.backend.test.config;
import org.marsik.elshelves.backend.app.spring.NoAutoscan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@NoAutoscan
public class EmptyApplication {
}
| Disable autoconfiguration for basic unit tests | Disable autoconfiguration for basic unit tests
| Java | agpl-3.0 | MarSik/shelves,MarSik/shelves,MarSik/shelves,MarSik/shelves |
a099733cbd81605cd034e597c3ad4f2f5e448a8b | openxc/src/main/java/com/openxc/remote/sources/JsonVehicleDataSource.java | openxc/src/main/java/com/openxc/remote/sources/JsonVehicleDataSource.java | package com.openxc.remote.sources;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
public abstract class JsonVehicleDataSource
extends AbstractVehicleDataSource {
private static final String TAG = "JsonVehicleDataSource";
public JsonVehicleDataSource() {
s... | package com.openxc.remote.sources;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
public abstract class JsonVehicleDataSource
extends AbstractVehicleDataSource {
private static final String TAG = "JsonVehicleDataSource";
public JsonVehicleDataSource() {
s... | Remove stray debug log statement. | Remove stray debug log statement.
| Java | bsd-3-clause | dhootha/openxc-android,petemaclellan/openxc-android,prateeknitish391/demo,openxc/openxc-android,ChernyshovYuriy/openxc-android,dhootha/openxc-android,prateeknitish391/demo,prateeknitish391/demo,msowka/openxc-android,mray19027/openxc-android,mray19027/openxc-android,msowka/openxc-android,petemaclellan/openxc-android,Che... |
402692e59cbac750fbdc2d7e73d1793cec7ef897 | src/main/java/me/august/lumen/compile/parser/ast/expr/AssignmentExpr.java | src/main/java/me/august/lumen/compile/parser/ast/expr/AssignmentExpr.java | package me.august.lumen.compile.parser.ast.expr;
import me.august.lumen.compile.scanner.Op;
public class AssignmentExpr extends BinaryExpression {
public AssignmentExpr(IdentExpr right, Expression left) {
super(right, left, Op.ASSIGN);
}
}
| package me.august.lumen.compile.parser.ast.expr;
import me.august.lumen.compile.codegen.BuildContext;
import me.august.lumen.compile.scanner.Op;
import org.objectweb.asm.MethodVisitor;
public class AssignmentExpr extends BinaryExpression {
// BinaryExpression only defines left as general expression
IdentExpr... | Add assignment expression bytecode generation | Add assignment expression bytecode generation
Only reference types currently supported (ASTORE)
| Java | mit | augustt198/lumen |
bb3663fd27ae4644983f1231967e01573e89ed72 | android/src/main/java/com/rnfs/RNFSPackage.java | android/src/main/java/com/rnfs/RNFSPackage.java | package com.rnfs;
import java.util.*;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
public class RNFSPackage implement... | package com.rnfs;
import java.util.*;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
public class RNFSPackage implement... | Add `createJSModules()` to be compatible with latest React. | Add `createJSModules()` to be compatible with latest React. | Java | mit | itinance/react-native-fs,johanneslumpe/react-native-fs,itinance/react-native-fs,itinance/react-native-fs,johanneslumpe/react-native-fs,johanneslumpe/react-native-fs,itinance/react-native-fs |
604270511bd844a958c881e17d8f115afec6ab71 | app/src/main/java/com/example/julian/locationservice/DataUploader.java | app/src/main/java/com/example/julian/locationservice/DataUploader.java | package com.example.julian.locationservice;
import android.content.Context;
import com.meedamian.info.BasicData;
import org.json.JSONException;
import org.json.JSONObject;
public class DataUploader {
private Context c;
private String phone;
private String vanity;
private String county;
private ... | package com.example.julian.locationservice;
import android.content.Context;
import com.meedamian.info.BasicData;
import org.json.JSONException;
import org.json.JSONObject;
public class DataUploader {
private Context c;
private String phone;
private String vanity;
private String country;
private... | Add conditions in upload method | Add conditions in upload method
| Java | mit | chester1000/Basic-Info,chester1000/Basic-Info,meeDamian/Basic-Info |
97b14ed0b88699f8f38b3f62b12ede4b41e39179 | app/src/main/java/com/example/profbola/bakingtime/ui/MainActivity.java | app/src/main/java/com/example/profbola/bakingtime/ui/MainActivity.java | package com.example.profbola.bakingtime.ui;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.example.profbo... | package com.example.profbola.bakingtime.ui;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.example.profbo... | Add String Constant for Recipe key in Bundle | Add String Constant for Recipe key in Bundle
| Java | mit | Ehbraheem/Baking-Time |
ec6fee9230040d515fd0ee8224023d5a2e7e6bb5 | src/main/java/techreborn/compat/opencomputers/CompatOpenComputers.java | src/main/java/techreborn/compat/opencomputers/CompatOpenComputers.java | package techreborn.compat.opencomputers;
import li.cil.oc.api.Driver;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.even... | package techreborn.compat.opencomputers;
import li.cil.oc.api.Driver;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.even... | Fix crash with OC compat | Fix crash with OC compat
| Java | mit | Dimmerworld/TechReborn,drcrazy/TechReborn,TechReborn/TechReborn |
4e41217ab26eb47a225ede8613dc8bf58d6a69dd | 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.
| Java | apache-2.0 | kuali/kc-rice,gathreya/rice-kc,rojlarge/rice-kc,rojlarge/rice-kc,bsmith83/rice-1,ewestfal/rice,UniversityOfHawaiiORS/rice,smith750/rice,smith750/rice,shahess/rice,kuali/kc-rice,jwillia/kc-rice1,ewestfal/rice-svn2git-test,sonamuthu/rice-1,geothomasp/kualico-rice-kc,sonamuthu/rice-1,jwillia/kc-rice1,jwillia/kc-rice1,jwil... |
ab76be90f01edc70f0e730ef0c378f496d4464cd | geneproduct-common/src/main/java/uk/ac/ebi/quickgo/geneproduct/common/ProteomeMembership.java | geneproduct-common/src/main/java/uk/ac/ebi/quickgo/geneproduct/common/ProteomeMembership.java | package uk.ac.ebi.quickgo.geneproduct.common;
/**
* An enumeration of the possible states of proteome membership a gene product can have.
* @author Tony Wardell
* Date: 06/03/2018
* Time: 10:33
* Created with IntelliJ IDEA.
*/
public enum ProteomeMembership {
REFERENCE("Reference"),
COMPLETE("Complete")... | package uk.ac.ebi.quickgo.geneproduct.common;
/**
* An enumeration of the possible states of proteome membership a gene product can have.
* @author Tony Wardell
* Date: 06/03/2018
* Time: 10:33
* Created with IntelliJ IDEA.
*/
public enum ProteomeMembership {
REFERENCE("Reference"),
COMPLETE("Complete")... | Add @Override annotation for toString() | Add @Override annotation for toString()
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
8ed5a99466ce51f75e3b6481b27070e85c2db7c6 | src/main/java/com/tterrag/blur/config/BlurConfigGui.java | src/main/java/com/tterrag/blur/config/BlurConfigGui.java | package com.tterrag.blur.config;
import com.tterrag.blur.Blur;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.config.GuiConfig;
public class BlurConfigGui extends GuiConfig {... | package com.tterrag.blur.config;
import javax.annotation.Nonnull;
import com.tterrag.blur.Blur;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.Tessellator;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecra... | Make config GUI see-through when in a world | Make config GUI see-through when in a world | Java | mit | tterrag1098/Blur |
81d00454906ce9a4be17474b35f0ccb341ece287 | mobile/src/main/java/com/chaos/databinding/activities/MainActivity.java | mobile/src/main/java/com/chaos/databinding/activities/MainActivity.java | package com.chaos.databinding.activities;
import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.chaos.databinding.R;
import com.chaos.databinding.models.User;
import com.chaos.databinding.databinding.ActivityMainBinding;
public class MainAct... | package com.chaos.databinding.activities;
import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.chaos.databinding.R;
import com.chaos.databinding.models.User;
import com.chaos.databinding.databinding.ActivityMainBinding;
public class MainAct... | Store binding as local variable | Store binding as local variable
| Java | apache-2.0 | ashdavies/data-binding,jandrop/data-binding |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.