diff stringlengths 262 553k | is_single_chunk bool 2
classes | is_single_function bool 1
class | buggy_function stringlengths 20 391k | fixed_function stringlengths 0 392k |
|---|---|---|---|---|
diff --git a/src/edu/x3m/kas/core/HuffmannDecoder.java b/src/edu/x3m/kas/core/HuffmannDecoder.java
index af9c80d..0437883 100644
--- a/src/edu/x3m/kas/core/HuffmannDecoder.java
+++ b/src/edu/x3m/kas/core/HuffmannDecoder.java
@@ -1,195 +1,195 @@
package edu.x3m.kas.core;
import edu.x3m.kas.core.iface.IProgressable... | true | true | private void readAndWrite () throws IOException {
parseResult = new ParseResult (0, 0);
byte[] buffer;
int reminder;
int validBits;
byte[] result;
int bytesLoaded = 0;
int prcCur, prcPrev = 0;
while ((buffer = his.readNextBinaryBuffer ()) != null) {
... | private void readAndWrite () throws IOException {
parseResult = new ParseResult (0, 0);
byte[] buffer;
int reminder;
int validBits;
byte[] result;
int bytesLoaded = 0;
int prcCur, prcPrev = 0;
while ((buffer = his.readNextBinaryBuffer ()) != null) {
... |
diff --git a/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestMapSideCoGroup.java b/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestMapSideCoGroup.java
index 4e92f9db..e04a21fa 100644
--- a/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestMapSideCoGroup.java
+++ b/contrib/zebra/src/test/org/apache/ha... | true | true | public void test() throws IOException {
int table1RowCount = 100000;
int table2RowCount = 200000;
int table1DupFactor = 15;
int table2DupFactor = 125;
createTable( table1RowCount, table1DupFactor, "a:int, b:string, c:string", "[a, b, c]", "a", table1 );
createTabl... | public void test() throws IOException {
int table1RowCount = 100000;
int table2RowCount = 200000;
int table1DupFactor = 15;
int table2DupFactor = 125;
createTable( table1RowCount, table1DupFactor, "a:int, b:string, c:string", "[a, b, c]", "a", table1 );
createTabl... |
diff --git a/db-utils/src/pt/ist/dbUtils/TaskWithExternalDbOperation.java b/db-utils/src/pt/ist/dbUtils/TaskWithExternalDbOperation.java
index cd919eb..5ec982a 100644
--- a/db-utils/src/pt/ist/dbUtils/TaskWithExternalDbOperation.java
+++ b/db-utils/src/pt/ist/dbUtils/TaskWithExternalDbOperation.java
@@ -1,57 +1,57 @@
... | true | true | protected void executeQuery(final ExternalDbQuery externalDbQuery) throws SQLException {
final DbTransaction dbTransaction = transaction.get();
if (dbTransaction == null) {
throw new Error("error.not.inside.transaction");
}
System.out.println("Executing query: ");
System.out.println(externalDbQuery);
Sys... | protected void executeQuery(final ExternalDbQuery externalDbQuery) throws SQLException {
final DbTransaction dbTransaction = transaction.get();
if (dbTransaction == null) {
throw new Error("error.not.inside.transaction");
}
System.out.println("Executing query: ");
System.out.println(externalDbQuery.getQue... |
diff --git a/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/util/JSF2ResourceUtil.java b/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/util/JSF2ResourceUtil.java
index 341ab41ff..4df6fd2fd 100644
--- a/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/jsf2/util/JSF2ResourceUtil.java
+... | true | true | public static IFile createCompositeComponentFile(IProject project,
IPath resourceRelativePath) throws CoreException {
IFile compositeCompResFile = null;
if (!project.exists()) {
return null;
}
if (!project.isAccessible()) {
try {
project.open(new NullProgressMonitor());
} catch (CoreException e... | public static IFile createCompositeComponentFile(IProject project,
IPath resourceRelativePath) throws CoreException {
IFile compositeCompResFile = null;
if (!project.exists()) {
return null;
}
if (!project.isAccessible()) {
try {
project.open(new NullProgressMonitor());
} catch (CoreException e... |
diff --git a/src/gui/TimeSlicerTab.java b/src/gui/TimeSlicerTab.java
index 92cea9d..843c4e5 100644
--- a/src/gui/TimeSlicerTab.java
+++ b/src/gui/TimeSlicerTab.java
@@ -1,970 +1,970 @@
package gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridBagConstraints;... | false | true | public TimeSlicerTab() {
// Setup miscallenous
setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
backgroundColor = new Color(231, 237, 246);
polygonsMaxColor = new Color(50, 255, 255, 255);
branchesMaxColor = new Color(255, 5, 50, 255);
polygonsMinColor = new Color(0, 0, 0, 100);
branchesMinColor = n... | public TimeSlicerTab() {
// Setup miscallenous
setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
backgroundColor = new Color(231, 237, 246);
polygonsMaxColor = new Color(50, 255, 255, 255);
branchesMaxColor = new Color(255, 5, 50, 255);
polygonsMinColor = new Color(0, 0, 0, 100);
branchesMinColor = n... |
diff --git a/web-selenium/src/main/java/org/jbehave/web/selenium/RemoteWebDriverProvider.java b/web-selenium/src/main/java/org/jbehave/web/selenium/RemoteWebDriverProvider.java
index 2920aed..e4b3fd4 100644
--- a/web-selenium/src/main/java/org/jbehave/web/selenium/RemoteWebDriverProvider.java
+++ b/web-selenium/src/mai... | false | true | public void initialize() {
URL url = null;
WebDriver remoteWebDriver;
try {
url = createRemoteURL();
remoteWebDriver = new ScreenshootingRemoteWebDriver(url, desiredCapabilities);
} catch (Throwable e) {
if (verbose) {
e.printStackT... | public void initialize() {
URL url = null;
WebDriver remoteWebDriver;
try {
url = createRemoteURL();
remoteWebDriver = new ScreenshootingRemoteWebDriver(url, desiredCapabilities);
} catch (Throwable e) {
if (verbose) {
System.err.pr... |
diff --git a/registry/src/main/java/org/intalio/tempo/registry/RegistryFactory.java b/registry/src/main/java/org/intalio/tempo/registry/RegistryFactory.java
index 041580c5..fb45d1ca 100644
--- a/registry/src/main/java/org/intalio/tempo/registry/RegistryFactory.java
+++ b/registry/src/main/java/org/intalio/tempo/registr... | true | true | public synchronized void init() {
if (_propertyFile != null) {
_propertyFile = resolveSystemProperties(_propertyFile);
}
try {
if (_props == null && new File(_propertyFile).exists()) {
_props = new Properties();
_props.load(new FileInpu... | public synchronized void init() {
if (_propertyFile != null) {
_propertyFile = resolveSystemProperties(_propertyFile);
}
try {
if (_props == null && new File(_propertyFile).exists()) {
_props = new Properties();
_props.load(new FileInpu... |
diff --git a/PacDefence/src/towers/BomberTower.java b/PacDefence/src/towers/BomberTower.java
index 3600736..2ca4767 100644
--- a/PacDefence/src/towers/BomberTower.java
+++ b/PacDefence/src/towers/BomberTower.java
@@ -1,151 +1,154 @@
/*
* This file is part of Pac Defence.
*
* Pac Defence is free software: you c... | false | true | public double doTick(List<Sprite> sprites) {
if (exploding) {
double radius = blast.getRadius();
if (expanding) {
blast.setRadius(radius + blastSizeIncrement);
if (blast.getRadius() >= blastRadius) {
blast.setRadius(blastRadius);
... | public double doTick(List<Sprite> sprites) {
if (exploding) {
double radius = blast.getRadius();
if (expanding) {
blast.setRadius(radius + blastSizeIncrement);
if (blast.getRadius() >= blastRadius) {
blast.setRadius(blastRadius);
... |
diff --git a/nephele/nephele-visualization/src/main/java/eu/stratosphere/nephele/visualization/swt/SWTGateToolTip.java b/nephele/nephele-visualization/src/main/java/eu/stratosphere/nephele/visualization/swt/SWTGateToolTip.java
index 8fa4a83c7..0bbd8adf8 100644
--- a/nephele/nephele-visualization/src/main/java/eu/strato... | true | true | public SWTGateToolTip(Shell parent, ManagementGate managementGate, int x, int y) {
super(parent, x, y);
int height;
this.managementGate = managementGate;
if (managementGate.isInputGate()) {
setTitle("Input Gate " + managementGate.getIndex());
} else {
setTitle("Output Gate " + managementGate.getInde... | public SWTGateToolTip(Shell parent, ManagementGate managementGate, int x, int y) {
super(parent, x, y);
int height;
this.managementGate = managementGate;
if (managementGate.isInputGate()) {
setTitle("Input Gate " + managementGate.getIndex());
} else {
setTitle("Output Gate " + managementGate.getInde... |
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
index 4c4755b0..9aad4204 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
... | true | true | public static native void initialize() /*-{
(function(){
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
done = 0,
toString = Object.prototype.toString,
hasDuplicate = false;
var IES = function(selector, conte... | public static native void initialize() /*-{
(function(){
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
done = 0,
toString = Object.prototype.toString,
hasDuplicate = false;
var IES = function(selector, conte... |
diff --git a/h2/src/test/org/h2/test/db/TestCompatibility.java b/h2/src/test/org/h2/test/db/TestCompatibility.java
index a74b10688..8065bdedb 100644
--- a/h2/src/test/org/h2/test/db/TestCompatibility.java
+++ b/h2/src/test/org/h2/test/db/TestCompatibility.java
@@ -1,81 +1,81 @@
/*
* Copyright 2004-2008 H2 Group. Mul... | true | true | private void testUniqueIndexSingleNull() throws Exception {
Statement stat = conn.createStatement();
String[] modes = new String[] { "PostgreSQL", "MySQL", "HSQLDB", "MSSQLServer", "Derby", "Oracle", "Regular" };
String multiNull = "PostgreSQL,MySQL,Regular";
for (int i = 0; i < mode... | private void testUniqueIndexSingleNull() throws Exception {
Statement stat = conn.createStatement();
String[] modes = new String[] { "PostgreSQL", "MySQL", "HSQLDB", "MSSQLServer", "Derby", "Oracle", "Regular" };
String multiNull = "PostgreSQL,MySQL,Oracle,Regular";
for (int i = 0; i... |
diff --git a/SWADroid/src/es/ugr/swad/swadroid/Global.java b/SWADroid/src/es/ugr/swad/swadroid/Global.java
index 325c9008..a8fd92b2 100644
--- a/SWADroid/src/es/ugr/swad/swadroid/Global.java
+++ b/SWADroid/src/es/ugr/swad/swadroid/Global.java
@@ -1,465 +1,465 @@
/*
* This file is part of SWADroid.
*
* Copyrigh... | true | true | public static boolean connectionAvailable(Context ctx){
boolean connAvailable = false;
ConnectivityManager connec = (ConnectivityManager)ctx.getSystemService(Context.CONNECTIVITY_SERVICE);
//Survey all networks (wifi, gprs...)
NetworkInfo[] networks = connec.getAllNetworkInfo();
for(i... | public static boolean connectionAvailable(Context ctx){
boolean connAvailable = false;
ConnectivityManager connec = (ConnectivityManager)ctx.getSystemService(Context.CONNECTIVITY_SERVICE);
//Survey all networks (wifi, gprs...)
NetworkInfo[] networks = connec.getAllNetworkInfo();
for(i... |
diff --git a/Search.java b/Search.java
index 3b0b5f75..3035cb4a 100644
--- a/Search.java
+++ b/Search.java
@@ -1,471 +1,471 @@
package cs.threephase;
import static cs.threephase.Moves.*;
import static cs.threephase.Util.*;
import static cs.threephase.Center2.rlmv;
import static cs.threephase.Center2.ctmv;
impor... | false | true | public void run() {
solution = "";
int ud = new Center1(c.getCenter(), 0).getsym();
int fb = new Center1(c.getCenter(), 1).getsym();
int rl = new Center1(c.getCenter(), 2).getsym();
int udprun = csprun[ud >> 6];
int fbprun = csprun[fb >> 6];
int rlprun = csprun[rl >> 6];
p1SolsCnt = 0;
arr2idx = 0... | public void run() {
solution = "";
int ud = new Center1(c.getCenter(), 0).getsym();
int fb = new Center1(c.getCenter(), 1).getsym();
int rl = new Center1(c.getCenter(), 2).getsym();
int udprun = csprun[ud >> 6];
int fbprun = csprun[fb >> 6];
int rlprun = csprun[rl >> 6];
p1SolsCnt = 0;
arr2idx = 0... |
diff --git a/src/com/eggwall/BabyMusic/AudioService.java b/src/com/eggwall/BabyMusic/AudioService.java
index dd90b66..3c7e5f6 100644
--- a/src/com/eggwall/BabyMusic/AudioService.java
+++ b/src/com/eggwall/BabyMusic/AudioService.java
@@ -1,108 +1,110 @@
package com.eggwall.BabyMusic;
import android.app.Notification;... | true | true | private void startPlayingResource(int id, int type) {
releasePlayer();
// If the user hits the same button twice, just stop playing anything.
if (mTypePlaying != type) {
mTypePlaying = type;
mPlayer = new MediaPlayer();
// Keep the CPU awake while playing ... | private void startPlayingResource(int id, int type) {
releasePlayer();
// If the user hits the same button twice, just stop playing anything.
if (mTypePlaying != type) {
mTypePlaying = type;
mPlayer = new MediaPlayer();
// Keep the CPU awake while playing ... |
diff --git a/test/nl/jqno/equalsverifier/EqualsVerifierTestBase.java b/test/nl/jqno/equalsverifier/EqualsVerifierTestBase.java
index 64249fff..580f598b 100644
--- a/test/nl/jqno/equalsverifier/EqualsVerifierTestBase.java
+++ b/test/nl/jqno/equalsverifier/EqualsVerifierTestBase.java
@@ -1,38 +1,38 @@
/*
* Copyright 2... | true | true | public void verifyFailure(String message, EqualsVerifier<?> equalsVerifier) {
try {
equalsVerifier.verify();
}
catch (AssertionError e) {
// Using startsWith because Assert class sometimes adds extra info to the error message.
assertTrue("Assertion has incorrect message: expected <" + message + "> but w... | public void verifyFailure(String message, EqualsVerifier<?> equalsVerifier) {
try {
equalsVerifier.verify();
}
catch (AssertionError e) {
// Using startsWith because Assert class sometimes adds extra info to the error message.
assertTrue("Assertion has incorrect message. Expected:\n " + message + "\nbu... |
diff --git a/src/com/lookout/keymaster/fragments/KeyFragment.java b/src/com/lookout/keymaster/fragments/KeyFragment.java
index 56f10cc..d041f7d 100644
--- a/src/com/lookout/keymaster/fragments/KeyFragment.java
+++ b/src/com/lookout/keymaster/fragments/KeyFragment.java
@@ -1,53 +1,53 @@
package com.lookout.keymaster.fr... | true | true | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_key, container, false);
GPGFactory.buildData();
ListView lv = (ListView) rootView.findViewById(R.id.keyView);... | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_key, container, false);
GPGFactory.buildData();
ListView lv = (ListView) rootView.findViewById(R.id.keyView);... |
diff --git a/web/src/main/java/org/openmrs/web/taglib/ForEachEncounterTag.java b/web/src/main/java/org/openmrs/web/taglib/ForEachEncounterTag.java
index 90db50a1..accde2ea 100644
--- a/web/src/main/java/org/openmrs/web/taglib/ForEachEncounterTag.java
+++ b/web/src/main/java/org/openmrs/web/taglib/ForEachEncounterTag.ja... | true | true | public int doStartTag() {
if (encounters == null || encounters.isEmpty()) {
log.debug("ForEachEncounterTag skipping body due to 'encounters' param = " + encounters);
return SKIP_BODY;
}
// First retrieve all encounters matching the passed encounter type id, if provided.
// If not provided, return all enc... | public int doStartTag() {
if (encounters == null || encounters.isEmpty()) {
log.debug("ForEachEncounterTag skipping body due to 'encounters' param = " + encounters);
return SKIP_BODY;
}
// First retrieve all encounters matching the passed encounter type id, if provided.
// If not provided, return all enc... |
diff --git a/graphe-mobile/src/com/utc/graphemobile/element/LeftMenu.java b/graphe-mobile/src/com/utc/graphemobile/element/LeftMenu.java
index c5faf42..9ab4450 100644
--- a/graphe-mobile/src/com/utc/graphemobile/element/LeftMenu.java
+++ b/graphe-mobile/src/com/utc/graphemobile/element/LeftMenu.java
@@ -1,134 +1,134 @@... | true | true | public LeftMenu(IGrapheScreen screen) {
this.screen = screen;
this.table = new Table();
UIEventListener listener = new UIEventListener(screen);
this.top().left();
table.top().left();
TextureRegion deleteTR = screen.getSkin().getRegion("see-more");
img = new Image(deleteTR);
img.setHeight(Utils.toDp(... | public LeftMenu(IGrapheScreen screen) {
this.screen = screen;
this.table = new Table();
UIEventListener listener = new UIEventListener(screen);
this.top().left();
table.top().left();
TextureRegion deleteTR = screen.getSkin().getRegion("seeMore");
img = new Image(deleteTR);
img.setHeight(Utils.toDp(C... |
diff --git a/nuxeo-platform-ui-web/src/main/java/org/nuxeo/ecm/platform/ui/web/rest/RestHelper.java b/nuxeo-platform-ui-web/src/main/java/org/nuxeo/ecm/platform/ui/web/rest/RestHelper.java
index f2fccdcc..9c138e81 100644
--- a/nuxeo-platform-ui-web/src/main/java/org/nuxeo/ecm/platform/ui/web/rest/RestHelper.java
+++ b/... | true | true | public String initContextFromRestRequest(DocumentView docView)
throws ClientException {
String outcome = null;
if (docView != null) {
DocumentLocation docLoc = docView.getDocumentLocation();
String serverName = docLoc.getServerName();
if (serverName !... | public String initContextFromRestRequest(DocumentView docView)
throws ClientException {
String outcome = null;
if (docView != null) {
DocumentLocation docLoc = docView.getDocumentLocation();
String serverName = docLoc.getServerName();
if (serverName !... |
diff --git a/labirynth/src/com/flexymind/labirynth/screens/settings/SettingsScreen.java b/labirynth/src/com/flexymind/labirynth/screens/settings/SettingsScreen.java
index 721c28a..84c38f3 100644
--- a/labirynth/src/com/flexymind/labirynth/screens/settings/SettingsScreen.java
+++ b/labirynth/src/com/flexymind/labirynth/... | false | true | public void addButtons() {
Button calibrButton = (Button) findViewById(R.id.accelCalibr);
SeekBar bar = (SeekBar)findViewById(R.id.seekBar1);
TextView text = (TextView)findViewById(R.id.sensText);
bar.setMax(MAXSENS);
bar.setProgress((int)SettingsStorage.getSensivity() * 10);
bar.setOnSeekBarChangeL... | public void addButtons() {
Button calibrButton = (Button) findViewById(R.id.accelCalibr);
SeekBar bar = (SeekBar)findViewById(R.id.seekBar1);
TextView text = (TextView)findViewById(R.id.sensText);
bar.setMax(MAXSENS);
bar.setProgress((int)SettingsStorage.getSensivity() * 10);
bar.setOnSeekBarChangeL... |
diff --git a/src/cz/muni/stanse/automatonchecker/ErrorTracesListCreator.java b/src/cz/muni/stanse/automatonchecker/ErrorTracesListCreator.java
index e47bfd1..a59e6ed 100644
--- a/src/cz/muni/stanse/automatonchecker/ErrorTracesListCreator.java
+++ b/src/cz/muni/stanse/automatonchecker/ErrorTracesListCreator.java
@@ -1,1... | true | true | public boolean visit(final List<CFGNode> path) {
final CFGNode node = path.iterator().next();
// TODO: remove this check, when ALL the CFG nodes will contain related XML
// element.
{if (path.listIterator().next().getElement() == null) return true;}
//if (getStartNode().equals(node))
... | public boolean visit(final List<CFGNode> path) {
final CFGNode node = path.iterator().next();
// TODO: remove this check, when ALL the CFG nodes will contain related XML
// element.
{if (path.listIterator().next().getElement() == null) return true;}
if (getStartNode().equals(node))
... |
diff --git a/src/clldsystem/data/LUCENEWikipediaAnalyzer.java b/src/clldsystem/data/LUCENEWikipediaAnalyzer.java
index 1c6df57..14a7d03 100644
--- a/src/clldsystem/data/LUCENEWikipediaAnalyzer.java
+++ b/src/clldsystem/data/LUCENEWikipediaAnalyzer.java
@@ -1,151 +1,151 @@
package clldsystem.data;
import de.tudarmst... | true | true | public TokenStream tokenStream(String fieldName, Reader reader) {
if (lang == null || !lang.equals("zh")) {
Tokenizer tokenizer = new WikipediaTokenizer(reader);
TokenStream stream = new StandardFilter(Version.LUCENE_30, tokenizer);
stream = new LengthFilter(true, stream, 3, 100);
stream = new LowerCase... | public TokenStream tokenStream(String fieldName, Reader reader) {
if (lang == null || !lang.equals("zh")) {
Tokenizer tokenizer = new WikipediaTokenizer(reader);
TokenStream stream = new StandardFilter(Version.LUCENE_30, tokenizer);
//stream = new LengthFilter(true, stream, 3, 100);
stream = new LowerCa... |
diff --git a/core/typechecker/src/test/java/org/overture/typechecker/tests/external/ExternalClassesRtTypeCheckTest.java b/core/typechecker/src/test/java/org/overture/typechecker/tests/external/ExternalClassesRtTypeCheckTest.java
index a0fb112134..a24879502e 100644
--- a/core/typechecker/src/test/java/org/overture/typec... | true | true | public static Test suite() throws IllegalArgumentException,
SecurityException, InstantiationException, IllegalAccessException,
InvocationTargetException, NoSuchMethodException, IOException
{
Properties.recordTestResults = false;
String name = "Type_Check_Rt_Classes_TestSuite_External";
File root = Externa... | public static Test suite() throws IllegalArgumentException,
SecurityException, InstantiationException, IllegalAccessException,
InvocationTargetException, NoSuchMethodException, IOException
{
Properties.recordTestResults = false;
String name = "Type_Check_RT_Classes_TestSuite_External";
File root = Externa... |
diff --git a/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/internal/p2/core/StringPool.java b/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/internal/p2/core/StringPool.java
index 168524c21..6dc09803a 100644
--- a/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/internal/p2/core/St... | true | true | public String add(String string) {
if (string == null)
return string;
Object result = map.get(string);
if (result != null) {
if (result != string)
savings += 44 + 2 * string.length();
return (String) result;
}
//explicitly copy the string to trim excess baggage
map.put(string, new String(strin... | public String add(String string) {
if (string == null)
return string;
Object result = map.get(string);
if (result != null) {
if (result != string)
savings += 44 + 2 * string.length();
return (String) result;
}
//explicitly copy the string to trim excess baggage
String trim = new String(string.... |
diff --git a/src/net/derkholm/nmica/extra/app/seq/nextgen/CreateDepthDatabase.java b/src/net/derkholm/nmica/extra/app/seq/nextgen/CreateDepthDatabase.java
index 1e11861..4437646 100644
--- a/src/net/derkholm/nmica/extra/app/seq/nextgen/CreateDepthDatabase.java
+++ b/src/net/derkholm/nmica/extra/app/seq/nextgen/CreateDe... | true | true | private Connection connection() throws Exception {
if (this.connection == null) {
if (this.format == Format.MYSQL) {
if (this.createDatabase) {
this.connection =
CountDepths.mysqlConnection(
dbHost,
"",
dbUser,
dbPassword);
PreparedStatement statement;
i... | private Connection connection() throws Exception {
if (this.connection == null) {
if (this.format == Format.MYSQL) {
if (this.createDatabase) {
this.connection =
CountDepths.mysqlConnection(
dbHost,
"",
dbUser,
dbPassword);
PreparedStatement statement;
i... |
diff --git a/src/main/java/com/onarandombox/multiverseinventories/api/DataStrings.java b/src/main/java/com/onarandombox/multiverseinventories/api/DataStrings.java
index ab1f3f6..d6788dd 100644
--- a/src/main/java/com/onarandombox/multiverseinventories/api/DataStrings.java
+++ b/src/main/java/com/onarandombox/multiverse... | true | true | public String toString() {
StringBuilder result = new StringBuilder();
result.append(DataStrings.createEntry(DataStrings.ITEM_TYPE_ID, this.getItem().getTypeId()));
if (this.getItem().getDurability() != 0) {
result.append(DataStrings.GENERAL_DELIMITER);
... | public String toString() {
StringBuilder result = new StringBuilder();
result.append(DataStrings.createEntry(DataStrings.ITEM_TYPE_ID, this.getItem().getTypeId()));
if (this.getItem().getDurability() != 0) {
result.append(DataStrings.GENERAL_DELIMITER);
... |
diff --git a/examples/jms/non-transaction-failover/src/org/hornetq/jms/example/NonTransactionFailoverExample.java b/examples/jms/non-transaction-failover/src/org/hornetq/jms/example/NonTransactionFailoverExample.java
index e4074c826..2ee1639b9 100644
--- a/examples/jms/non-transaction-failover/src/org/hornetq/jms/examp... | false | true | public boolean runExample() throws Exception
{
final int numMessages = 10;
Connection connection = null;
InitialContext initialContext = null;
try
{
// Step 1. Get an initial context for looking up JNDI from the server #1
initialContext = getContext(1);
... | public boolean runExample() throws Exception
{
final int numMessages = 10;
Connection connection = null;
InitialContext initialContext = null;
try
{
// Step 1. Get an initial context for looking up JNDI from the server #1
initialContext = getContext(0);
... |
diff --git a/src/com/sonyericsson/chkbugreport/plugins/battery/BatteryLevelGenerator.java b/src/com/sonyericsson/chkbugreport/plugins/battery/BatteryLevelGenerator.java
index 661f83e..9192940 100644
--- a/src/com/sonyericsson/chkbugreport/plugins/battery/BatteryLevelGenerator.java
+++ b/src/com/sonyericsson/chkbugrepor... | true | true | private boolean generateGraph(Module br, String fn) {
int w = 800;
int h = 350;
int cx = 100;
int cy = 250;
int gw = 600;
int gh = 200;
int nx = 750;
int ny = 10;
int tx = cx;
int ty = cy;
int th = 75;
int sh = 25;
... | private boolean generateGraph(Module br, String fn) {
int w = 800;
int h = 350;
int cx = 100;
int cy = 250;
int gw = 600;
int gh = 200;
int nx = 750;
int ny = 10;
int tx = cx;
int ty = cy;
int th = 75;
int sh = 25;
... |
diff --git a/source/com/mucommander/file/impl/lst/LstArchiveFile.java b/source/com/mucommander/file/impl/lst/LstArchiveFile.java
index f3d90674..0ae30faa 100644
--- a/source/com/mucommander/file/impl/lst/LstArchiveFile.java
+++ b/source/com/mucommander/file/impl/lst/LstArchiveFile.java
@@ -1,108 +1,109 @@
package com.... | true | true | public Vector getEntries() throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(file.getInputStream()));
Vector entries = new Vector();
try {
baseFolder = br.readLine();
if(baseFolder==null)
return entries;
S... | public Vector getEntries() throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(file.getInputStream()));
Vector entries = new Vector();
try {
baseFolder = br.readLine();
if(baseFolder==null)
return entries;
S... |
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityIndex.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityIndex.java
index 6627268e..85313258 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityIndex.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityIndex.java
@@ -1... | true | true | private static int common(long[] srcHash, int srcIdx, //
long[] dstHash, int dstIdx) {
if (srcIdx == srcHash.length || dstIdx == dstHash.length)
return 0;
int common = 0;
int srcKey = keyOf(srcHash[srcIdx]);
int dstKey = keyOf(dstHash[dstIdx]);
for (;;) {
if (srcKey == dstKey) {
common += Math... | private static int common(long[] srcHash, int srcIdx, //
long[] dstHash, int dstIdx) {
if (srcIdx == srcHash.length || dstIdx == dstHash.length)
return 0;
int common = 0;
int srcKey = keyOf(srcHash[srcIdx]);
int dstKey = keyOf(dstHash[dstIdx]);
for (;;) {
if (srcKey == dstKey) {
common += Math... |
diff --git a/src/swing/org/pathvisio/gex/SimpleGex.java b/src/swing/org/pathvisio/gex/SimpleGex.java
index 732b5fe1..3475b916 100644
--- a/src/swing/org/pathvisio/gex/SimpleGex.java
+++ b/src/swing/org/pathvisio/gex/SimpleGex.java
@@ -1,659 +1,659 @@
// PathVisio,
// a tool for data visualization and analysis using B... | true | true | private Collection<ReporterData> getDataForXref(Xref srcRef, IDMapper gdb, Set<DataSource> destFilter) throws IDMapperException
{
try
{
PreparedStatement pst = getPst1();
// get all cross-refs for this id
Set<Xref> destRefs = new HashSet<Xref>();
if (gdb.isConnected())
{
for (Xref destR... | private Collection<ReporterData> getDataForXref(Xref srcRef, IDMapper gdb, Set<DataSource> destFilter) throws IDMapperException
{
try
{
PreparedStatement pst = getPst1();
// get all cross-refs for this id
Set<Xref> destRefs = new HashSet<Xref>();
if (gdb.isConnected() && srcRef.getId() != null... |
diff --git a/src/main/java/by/itransition/fanfic/service/impl/UserServiceImpl.java b/src/main/java/by/itransition/fanfic/service/impl/UserServiceImpl.java
index b15925d..55dc25e 100644
--- a/src/main/java/by/itransition/fanfic/service/impl/UserServiceImpl.java
+++ b/src/main/java/by/itransition/fanfic/service/impl/User... | true | true | public void remove(User user) {
List<Fanfic> fanfics = user.getFanfics();
for (Fanfic fanfic : fanfics) {
removeFanfic(user, fanfic);
}
for (Comment comment : user.getComments()) {
comment.setAuthor(null);
Fanfic fanfic = comment.getFanfic();
fanfic.getComments().remove(comment);
comment.setFanf... | public void remove(User user) {
List<Fanfic> fanfics = new ArrayList<Fanfic>();
for (Fanfic fanfic : user.getFanfics()) {
fanfics.add(fanfic);
}
for (Fanfic fanfic : fanfics) {
removeFanfic(user, fanfic);
}
for (Comment comment : user.getComments()) {
comment.setAuthor(null);
Fanfic fanfic = co... |
diff --git a/c/YetiTypeAttr.java b/c/YetiTypeAttr.java
index 773449b..76709e4 100644
--- a/c/YetiTypeAttr.java
+++ b/c/YetiTypeAttr.java
@@ -1,536 +1,534 @@
// ex: se sts=4 sw=4 expandtab:
/*
* Yeti language compiler java bytecode generator.
*
* Copyright (c) 2007,2008 Madis Janson
* All rights reserved.
... | true | true | YType read() {
YType t;
int tv;
if (p >= end) {
throw new RuntimeException("Invalid type description");
}
switch (tv = in[p++]) {
case YetiType.VAR:
case TAINTED: {
Integer var = new Integer(cr.r... | YType read() {
YType t;
int tv;
if (p >= end) {
throw new RuntimeException("Invalid type description");
}
switch (tv = in[p++]) {
case YetiType.VAR:
case TAINTED: {
Integer var = new Integer(cr.r... |
diff --git a/src/core/utils/EMail.java b/src/core/utils/EMail.java
index 53508a9..8bf90b1 100644
--- a/src/core/utils/EMail.java
+++ b/src/core/utils/EMail.java
@@ -1,58 +1,58 @@
package core.utils;
import java.io.IOException;
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
p... | false | true | public static void sendEmail(String eMail_Address, String in_message, String topic) throws AddressException, MessagingException, IOException
{
Details details = Details.getIntance();
// Get system properties
Properties props = System.getProperties();
// Setup mail server
props.put("mail.smtp.auth", "tru... | public static void sendEmail(String eMail_Address, String in_message, String topic) throws AddressException, MessagingException, IOException
{
Details details = Details.getIntance();
// Get system properties
Properties props = System.getProperties();
// Setup mail server
props.put("mail.smtp.auth", "tru... |
diff --git a/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java b/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java
index 2efa980ffd..69b050cd66 100755
--- a/drools-compiler/src/main/java/org/drools/rule/builder/PatternBuilder.java
+++ b/drools-compiler/src/main/java/org/d... | false | true | public void build( RuleBuildContext context,
Pattern pattern,
ExprConstraintDescr descr ) {
DrlExprParser parser = new DrlExprParser();
ConstraintConnectiveDescr result = parser.parse( descr.getText() );
if ( result == null || parser.hasErrors() ... | public void build( RuleBuildContext context,
Pattern pattern,
ExprConstraintDescr descr ) {
DrlExprParser parser = new DrlExprParser();
ConstraintConnectiveDescr result = parser.parse( descr.getText() );
if ( result == null || parser.hasErrors() ... |
diff --git a/core/src/main/java/hudson/scheduler/CronTab.java b/core/src/main/java/hudson/scheduler/CronTab.java
index cd5b6377c..c70b01f11 100644
--- a/core/src/main/java/hudson/scheduler/CronTab.java
+++ b/core/src/main/java/hudson/scheduler/CronTab.java
@@ -1,123 +1,124 @@
package hudson.scheduler;
import antlr.... | false | true | public String checkSanity() {
for( int i=0; i<5; i++ ) {
for( int j=LOWER_BOUNDS[i]; j<=UPPER_BOUNDS[i]; j++ ) {
if(!checkBits(bits[i],j)) {
// this rank has a sparse entry.
// if we have a sparse rank, one of them better be the left-most.
... | public String checkSanity() {
for( int i=0; i<5; i++ ) {
long bitMask = (i<4)?bits[i]:(long)dayOfWeek;
for( int j=LOWER_BOUNDS[i]; j<=UPPER_BOUNDS[i]; j++ ) {
if(!checkBits(bitMask,j)) {
// this rank has a sparse entry.
// if we... |
diff --git a/AdamBots-FIRST-2013-Robot-Code/src/robot/logic/teleop/TeleopLogic.java b/AdamBots-FIRST-2013-Robot-Code/src/robot/logic/teleop/TeleopLogic.java
index 1ee3611..57146e1 100644
--- a/AdamBots-FIRST-2013-Robot-Code/src/robot/logic/teleop/TeleopLogic.java
+++ b/AdamBots-FIRST-2013-Robot-Code/src/robot/logic/tel... | true | true | public void updatePhase() {
//RobotActuators.cameraLED.set(true);
//// UPDATE JOYSTICK AND MAGIC BOX VALUES ------------------------------
updateJoystickValues();
updateMagicBox();
//// PRIMARY DRIVER ----------------------------------------------------
_leftDrive = _primaryAxis[FancyJoystick.A... | public void updatePhase() {
//RobotActuators.cameraLED.set(true);
//// UPDATE JOYSTICK AND MAGIC BOX VALUES ------------------------------
updateJoystickValues();
updateMagicBox();
//// PRIMARY DRIVER ----------------------------------------------------
_leftDrive = _primaryAxis[FancyJoystick.A... |
diff --git a/javafx.debug/src/org/netbeans/modules/javafx/debug/ErrorNode.java b/javafx.debug/src/org/netbeans/modules/javafx/debug/ErrorNode.java
index fe5af6d9..dbc0b1f5 100644
--- a/javafx.debug/src/org/netbeans/modules/javafx/debug/ErrorNode.java
+++ b/javafx.debug/src/org/netbeans/modules/javafx/debug/ErrorNode.ja... | true | true | public ErrorNode(CompilationInfo info, Diagnostic diag) {
super(Children.LEAF); //always leaf
this.info = info;
this.diag = diag;
String ss = diag.getMessage(Locale.ENGLISH);
setDisplayName(diag.getCode() + " " + diag.getKind() + ": " + ss); //NOI18N
setIconBaseWithEx... | public ErrorNode(CompilationInfo info, Diagnostic diag) {
super(Children.LEAF); //always leaf
this.info = info;
this.diag = diag;
String ss = diag.getMessage(Locale.ENGLISH);
setDisplayName(diag.getKind() + "[" +
diag.getStartPosition() + "," + diag.getEndPosi... |
diff --git a/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java b/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java
index b07930dc7..37098ad1c 100644
--- a/connectors/meridio/connector/src/main... | false | true | public void outputSpecificationBody(IHTTPOutput out, Locale locale, DocumentSpecification ds, String tabName)
throws ManifoldCFException, IOException
{
int i;
int k;
// Search Paths tab
if (tabName.equals(Messages.getString(locale,"MeridioConnector.SearchPaths")))
{
out.print(
"<table... | public void outputSpecificationBody(IHTTPOutput out, Locale locale, DocumentSpecification ds, String tabName)
throws ManifoldCFException, IOException
{
int i;
int k;
// Search Paths tab
if (tabName.equals(Messages.getString(locale,"MeridioConnector.SearchPaths")))
{
out.print(
"<table... |
diff --git a/KeyValueServer/src/assignmentImplementation/MyLogger.java b/KeyValueServer/src/assignmentImplementation/MyLogger.java
index 73622dc..ab9a795 100644
--- a/KeyValueServer/src/assignmentImplementation/MyLogger.java
+++ b/KeyValueServer/src/assignmentImplementation/MyLogger.java
@@ -1,78 +1,80 @@
package assi... | true | true | synchronized public Future<?> logRequest(final LogRecord record) {
final MyLogger logger = this;
Future<?> f = executor.submit(new Callable<Void>() {
public Void call() throws Exception {
if (!enabled) {
return null;
}
logger.wait(groupTimeout);
... | synchronized public Future<?> logRequest(final LogRecord record) {
final MyLogger logger = this;
Future<?> f = executor.submit(new Callable<Void>() {
public Void call() throws Exception {
if (!enabled) {
return null;
}
synchronized(logger) {
... |
diff --git a/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBuilder.java b/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBuilder.java
index 8752f073a2..6a71b0279c 100644
--- a/core/src/test/java/org/infinispan/test/fwk/JGroupsConfigBuilder.java
+++ b/core/src/test/java/org/infinispan/test/fwk/JGroups... | true | true | public static String getTcpConfig() {
loadTcp();
// replace mcast_addr
Matcher m = TCP_START_PORT.matcher(tcpConfig);
String result;
String newStartPort;
if (m.find()) {
newStartPort = threadTcpStartPort.get();
result = m.replaceFirst("start_port=" + newStartPort... | public static String getTcpConfig() {
loadTcp();
// replace mcast_addr
Matcher m = TCP_START_PORT.matcher(tcpConfig);
String result;
String newStartPort;
if (m.find()) {
newStartPort = threadTcpStartPort.get();
result = m.replaceFirst("bind_port=" + newStartPort)... |
diff --git a/user/src/com/google/gwt/user/client/Cookies.java b/user/src/com/google/gwt/user/client/Cookies.java
index 81ab03e82..1ab8492d1 100644
--- a/user/src/com/google/gwt/user/client/Cookies.java
+++ b/user/src/com/google/gwt/user/client/Cookies.java
@@ -1,167 +1,175 @@
/*
* Copyright 2007 Google Inc.
*
*... | true | true | static native void loadCookies(HashMap<String, String> m) /*-{
var docCookie = $doc.cookie;
if (docCookie && docCookie != '') {
var crumbs = docCookie.split('; ');
for (var i = 0; i < crumbs.length; ++i) {
var name, value;
var eqIdx = crumbs[i].indexOf('=');
if (eqIdx == -1... | static native void loadCookies(HashMap<String, String> m) /*-{
var docCookie = $doc.cookie;
if (docCookie && docCookie != '') {
var crumbs = docCookie.split('; ');
for (var i = 0; i < crumbs.length; ++i) {
var name, value;
var eqIdx = crumbs[i].indexOf('=');
if (eqIdx == -1... |
diff --git a/src/main/java/org/osaf/cosmo/acegisecurity/HomedirVoter.java b/src/main/java/org/osaf/cosmo/acegisecurity/HomedirVoter.java
index 1aa0d7557..0b29aa039 100644
--- a/src/main/java/org/osaf/cosmo/acegisecurity/HomedirVoter.java
+++ b/src/main/java/org/osaf/cosmo/acegisecurity/HomedirVoter.java
@@ -1,84 +1,87 ... | true | true | public int vote(Authentication authentication,
Object object,
ConfigAttributeDefinition config) {
if (! (authentication instanceof UsernamePasswordAuthenticationToken)) {
return ACCESS_ABSTAIN;
}
CosmoUserDetails details =
(Cos... | public int vote(Authentication authentication,
Object object,
ConfigAttributeDefinition config) {
if (! (authentication instanceof UsernamePasswordAuthenticationToken)) {
return ACCESS_ABSTAIN;
}
CosmoUserDetails details =
(Cos... |
diff --git a/src/de/nomagic/printerController/core/movement/MotionSender.java b/src/de/nomagic/printerController/core/movement/MotionSender.java
index dd7975f..72ca1f5 100644
--- a/src/de/nomagic/printerController/core/movement/MotionSender.java
+++ b/src/de/nomagic/printerController/core/movement/MotionSender.java
@@ ... | false | true | private void sendMoveCommand()
{
StepperMove sm = mq.getMove(0);
if(null == sm)
{
return;
}
if(true == sm.hasCommand())
{
if(false == pro.endStopOnOff(sm.getOn(), sm.getSwitches()))
{
log.error("Could not enable/... | private void sendMoveCommand()
{
StepperMove sm = mq.getMove(0);
if(null == sm)
{
return;
}
if(true == sm.hasCommand())
{
if(false == pro.endStopOnOff(sm.getOn(), sm.getSwitches()))
{
log.error("Could not enable/... |
diff --git a/src/main/java/com/objectgraph/core/Node.java b/src/main/java/com/objectgraph/core/Node.java
index 94f1648..1acd324 100644
--- a/src/main/java/com/objectgraph/core/Node.java
+++ b/src/main/java/com/objectgraph/core/Node.java
@@ -1,681 +1,685 @@
/*
* Copyright 2013 Emanuele Tamponi
*
* This file is pa... | true | true | protected void initialiseNode() {
for (String property : getProperties()) {
if (get(property) instanceof Node) { // && !get(property, Node.class).getParentPaths().containsKey(this)) {
Object value = get(property);
setLocal(property, null);
set(prop... | protected void initialiseNode() {
for (String property : getProperties()) {
if (get(property) instanceof Node) { // && !get(property, Node.class).getParentPaths().containsKey(this)) {
Object value = get(property);
setLocal(property, null);
set(prop... |
diff --git a/src/java/org/jivesoftware/sparkimpl/plugin/bookmarks/BookmarkPlugin.java b/src/java/org/jivesoftware/sparkimpl/plugin/bookmarks/BookmarkPlugin.java
index 141fb576..913f7a82 100644
--- a/src/java/org/jivesoftware/sparkimpl/plugin/bookmarks/BookmarkPlugin.java
+++ b/src/java/org/jivesoftware/sparkimpl/plugin... | true | true | public void initialize() {
final SwingWorker bookmarkThreadWorker = new SwingWorker() {
public Object construct() {
return this;
}
/**
* Installing menu into spark menu and adding events to bookmarks
*/
@Override... | public void initialize() {
final SwingWorker bookmarkThreadWorker = new SwingWorker() {
public Object construct() {
return this;
}
/**
* Installing menu into spark menu and adding events to bookmarks
*/
@Override... |
diff --git a/src/com/google/caja/demos/playground/server/GWTCajolingServiceImpl.java b/src/com/google/caja/demos/playground/server/GWTCajolingServiceImpl.java
index 48a86ddf..990cfab4 100644
--- a/src/com/google/caja/demos/playground/server/GWTCajolingServiceImpl.java
+++ b/src/com/google/caja/demos/playground/server/G... | true | true | public CajolingServiceResult cajole(
String url, String input, boolean debugMode) {
MessageContext mc = new MessageContext();
MessageQueue mq = new SimpleMessageQueue();
StringBuilder output = new StringBuilder();
String html = null;
String javascript = null;
Map<InputSource, ? extends... | public CajolingServiceResult cajole(
String url, String input, boolean debugMode) {
MessageContext mc = new MessageContext();
MessageQueue mq = new SimpleMessageQueue();
StringBuilder output = new StringBuilder();
String html = null;
String javascript = null;
Map<InputSource, ? extends... |
diff --git a/src/org/opensolaris/opengrok/index/Indexer.java b/src/org/opensolaris/opengrok/index/Indexer.java
index b051987..3a05e1c 100644
--- a/src/org/opensolaris/opengrok/index/Indexer.java
+++ b/src/org/opensolaris/opengrok/index/Indexer.java
@@ -1,468 +1,468 @@
/*
* CDDL HEADER START
*
* The contents of t... | false | true | public static void main(String argv[]) {
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
boolean runIndex = true;
if(argv.length == 0) {
if (GraphicsEnvironment.isHeadless()) {
System.err.println("No display available for the Graphical User Int... | public static void main(String argv[]) {
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
boolean runIndex = true;
if(argv.length == 0) {
if (GraphicsEnvironment.isHeadless()) {
System.err.println("No display available for the Graphical User Int... |
diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransportFactory.java b/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransportFactory.java
index 1c0a85bd2..1cefa908e 100755
--- a/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransportFactory.java
+++ b/acti... | true | true | public Transport doCompositeConnect(URI location) throws Exception {
URI brokerURI;
String host;
Map<String, String> options;
boolean create = true;
CompositeData data = URISupport.parseComposite(location);
if (data.getComponents().length == 1 && "broker".equals(data.... | public Transport doCompositeConnect(URI location) throws Exception {
URI brokerURI;
String host;
Map<String, String> options;
boolean create = true;
CompositeData data = URISupport.parseComposite(location);
if (data.getComponents().length == 1 && "broker".equals(data.... |
diff --git a/luni/src/test/java/libcore/java/lang/OldThreadTest.java b/luni/src/test/java/libcore/java/lang/OldThreadTest.java
index 4028eaa04..1094d3328 100644
--- a/luni/src/test/java/libcore/java/lang/OldThreadTest.java
+++ b/luni/src/test/java/libcore/java/lang/OldThreadTest.java
@@ -1,494 +1,482 @@
/*
* Licens... | false | true | public void test_getState() {
Thread.State state = Thread.currentThread().getState();
assertNotNull(state);
assertEquals(Thread.State.RUNNABLE, state);
final Semaphore sem = new Semaphore(0);
final Object lock = new Object();
Thread th = new Thread() {
@O... | public void test_getState() throws InterruptedException {
Thread.State state = Thread.currentThread().getState();
assertNotNull(state);
assertEquals(Thread.State.RUNNABLE, state);
final Semaphore sem = new Semaphore(0);
final Object lock = new Object();
Thread th = n... |
diff --git a/entando-plugin-jpgeoref/src/main/java/com/agiletec/plugins/jpgeoref/aps/system/services/content/model/extraAttribute/CoordsAttribute.java b/entando-plugin-jpgeoref/src/main/java/com/agiletec/plugins/jpgeoref/aps/system/services/content/model/extraAttribute/CoordsAttribute.java
index d777e06d..d737f675 1006... | false | true | public void valueFrom(DefaultJAXBAttribute jaxbAttribute) {
if (null == jaxbAttribute) return;
String coords = (String) jaxbAttribute.getValue();
if (null == coords) return;
String[] coordinates = coords.trim().substring(1, coords.trim().length() - 1).split(",");
try {
this.setX(Long.parseLong(coordinates... | public void valueFrom(DefaultJAXBAttribute jaxbAttribute) {
if (null == jaxbAttribute) return;
String coords = (String) jaxbAttribute.getValue();
if (null == coords) return;
String[] coordinates = coords.trim().substring(1, coords.trim().length() - 1).split(",");
if (coordinates.length < 2) return;
try {
... |
diff --git a/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldDeploymentProcessor.java b/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldDeploymentProcessor.java
index 598c725..b3aa137 100644
--- a/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldDeploymentProce... | true | true | public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
final DeploymentUnit parent = deploymentUnit.getParent() == null ? deploymentUnit : deploymentUnit.getParent();
final Ser... | public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
final DeploymentUnit parent = deploymentUnit.getParent() == null ? deploymentUnit : deploymentUnit.getParent();
final Ser... |
diff --git a/library/src/main/java/net/sourceforge/cilib/nn/architecture/visitors/BackPropagationVisitor.java b/library/src/main/java/net/sourceforge/cilib/nn/architecture/visitors/BackPropagationVisitor.java
index 4c2bc7f4..5e0be4dd 100644
--- a/library/src/main/java/net/sourceforge/cilib/nn/architecture/visitors/Back... | false | true | public void visit(Architecture architecture) {
List<Layer> layers = architecture.getLayers();
int numLayers = layers.size();
int currentLayerIdx = numLayers - 1; // skip input layer
Layer currentLayer = layers.get(currentLayerIdx);
int layerSize = currentLayer.size();
... | public void visit(Architecture architecture) {
List<Layer> layers = architecture.getLayers();
int numLayers = layers.size();
int currentLayerIdx = numLayers - 1; // skip input layer
Layer currentLayer = layers.get(currentLayerIdx);
int layerSize = currentLayer.size();
... |
diff --git a/src/main/Main.java b/src/main/Main.java
index c258d21..6f318db 100644
--- a/src/main/Main.java
+++ b/src/main/Main.java
@@ -1,47 +1,48 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package main;
import GUI.MainWindow;
/**
*
* @author G... | true | true | public static void main(String[] args) {
String Style = "Nimbus";
//String Style = "Windows";
//<editor-fold defaultstate="collapsed" desc=" Carga estilo de Interfaz ">
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels(... | public static void main(String[] args) {
String Style = "Nimbus";
//String Style = "Metal";
//String Style = "Windows";
//<editor-fold defaultstate="collapsed" desc=" Carga estilo de Interfaz ">
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.U... |
diff --git a/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java b/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XMLHttpRequest4Test.java
index 7608d5f6c..cdbed14b1 100644
--- a/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/... | true | true | public void testSetLocation() throws Exception {
final String content =
"<html>\n"
+ " <head>\n"
+ " <title>Page1</title>\n"
+ " <script>\n"
+ " var request;\n"
+ " function testAsync() {\n"
+ " if ... | public void setLocation() throws Exception {
final String content =
"<html>\n"
+ " <head>\n"
+ " <title>Page1</title>\n"
+ " <script>\n"
+ " var request;\n"
+ " function testAsync() {\n"
+ " if (win... |
diff --git a/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/edu/uci/ics/hyracks/hdfs/dataflow/HDFSReadOperatorDescriptor.java b/hyracks/hyracks-hdfs/hyracks-hdfs-core/src/main/java/edu/uci/ics/hyracks/hdfs/dataflow/HDFSReadOperatorDescriptor.java
index a45992c03..814be7a4a 100644
--- a/hyracks/hyracks-hdfs/hyrack... | false | true | public IOperatorNodePushable createPushRuntime(final IHyracksTaskContext ctx,
IRecordDescriptorProvider recordDescProvider, final int partition, final int nPartitions)
throws HyracksDataException {
final InputSplit[] inputSplits = splitsFactory.getSplits();
return new Abstra... | public IOperatorNodePushable createPushRuntime(final IHyracksTaskContext ctx,
IRecordDescriptorProvider recordDescProvider, final int partition, final int nPartitions)
throws HyracksDataException {
final InputSplit[] inputSplits = splitsFactory.getSplits();
return new Abstra... |
diff --git a/src/test/java/org/elasticsearch/river/rabbitmq/RabbitMQRiverTest.java b/src/test/java/org/elasticsearch/river/rabbitmq/RabbitMQRiverTest.java
index 17ece05..3372f2d 100644
--- a/src/test/java/org/elasticsearch/river/rabbitmq/RabbitMQRiverTest.java
+++ b/src/test/java/org/elasticsearch/river/rabbitmq/Rabbit... | true | true | public static void main(String[] args) throws Exception {
Node node = NodeBuilder.nodeBuilder().settings(ImmutableSettings.settingsBuilder().put("gateway.type", "none")).node();
node.client().prepareIndex("_river", "test1", "_meta").setSource(jsonBuilder().startObject().field("type", "rabbitmq").e... | public static void main(String[] args) throws Exception {
Node node = NodeBuilder.nodeBuilder().settings(ImmutableSettings.settingsBuilder().put("gateway.type", "none")).node();
node.client().prepareIndex("_river", "test1", "_meta").setSource(jsonBuilder().startObject().field("type", "rabbitmq").e... |
diff --git a/VSS-web/src/main/java/com/team33/controllers/MyAccountController.java b/VSS-web/src/main/java/com/team33/controllers/MyAccountController.java
index 1938601..370c1d1 100644
--- a/VSS-web/src/main/java/com/team33/controllers/MyAccountController.java
+++ b/VSS-web/src/main/java/com/team33/controllers/MyAccoun... | true | true | public String displayAccountInfo(Map<String, Object> map, HttpSession session){
Integer token = (Integer)session.getAttribute(LoginController.ACCOUNT_ATTRIBUTE);
System.out.println("TOKEN : " + token);
if (token == null){
return "redirect:/myAccountView.htm";
... | public String displayAccountInfo(Map<String, Object> map, HttpSession session){
Integer token = (Integer)session.getAttribute(LoginController.ACCOUNT_ATTRIBUTE);
System.out.println("TOKEN : " + token);
if (token == null){
return "redirect:/myAccountView.htm";
... |
diff --git a/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/nativelib/ASMModule.java b/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/nativelib/ASMModule.java
index 7f6a0027..ef3493b0 100644
--- a/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/n... | true | true | public ASMOclAny get(StackFrame frame, String name) {
ASMOclAny ret = (ASMOclAny)fields.get(name);
if(ret == null) {
frame.printStackTrace("transformation module \"" + asm.getName() +
"\" does not have an initialized field named \"" + name + "\"");
}
return ret;
}
| public ASMOclAny get(StackFrame frame, String name) {
ASMOclAny ret = (ASMOclAny)fields.get(name);
if(ret == null) {
frame.printStackTrace("Transformation module \"" + asm.getName() +
"\" does not have an initialized field named \"" + name + "\"");
}
return ret;
}
|
diff --git a/util/src/main/java/com/ning/arecibo/util/timeline/DefaultTimelineDAO.java b/util/src/main/java/com/ning/arecibo/util/timeline/DefaultTimelineDAO.java
index 01b62f1..6433708 100644
--- a/util/src/main/java/com/ning/arecibo/util/timeline/DefaultTimelineDAO.java
+++ b/util/src/main/java/com/ning/arecibo/util/... | true | true | public void getSamplesByHostIdsAndSampleKindIds(final List<Integer> hostIdList,
@Nullable final List<Integer> sampleKindIdList,
final DateTime startTime,
final ... | public void getSamplesByHostIdsAndSampleKindIds(final List<Integer> hostIdList,
@Nullable final List<Integer> sampleKindIdList,
final DateTime startTime,
final ... |
diff --git a/src/main/java/com/araeosia/ArcherGames/listeners/EntityEventListener.java b/src/main/java/com/araeosia/ArcherGames/listeners/EntityEventListener.java
index 4881823..25a9517 100644
--- a/src/main/java/com/araeosia/ArcherGames/listeners/EntityEventListener.java
+++ b/src/main/java/com/araeosia/ArcherGames/li... | true | true | public void onMobDamaged(final EntityDamageEvent event) {
if (event instanceof EntityDamageByEntityEvent) {
EntityDamageByEntityEvent damageevent = (EntityDamageByEntityEvent) event;
if (damageevent.getDamager() instanceof Player) {
if (ScheduledTasks.gameStatus == 1 || ScheduledTasks.gameStatus == 5) {
... | public void onMobDamaged(final EntityDamageEvent event) {
if (event instanceof EntityDamageByEntityEvent) {
EntityDamageByEntityEvent damageevent = (EntityDamageByEntityEvent) event;
if (damageevent.getDamager() instanceof Player) {
if (ScheduledTasks.gameStatus == 1 || ScheduledTasks.gameStatus == 5) {
... |
diff --git a/quantum-client/src/main/java/org/openstack/quantum/client/QuantumClient.java b/quantum-client/src/main/java/org/openstack/quantum/client/QuantumClient.java
index 2d8dc91..ddf73ce 100644
--- a/quantum-client/src/main/java/org/openstack/quantum/client/QuantumClient.java
+++ b/quantum-client/src/main/java/org... | true | true | public <R> R execute(QuantumCommand<R> command) {
WebTarget endpoint = OpenStack.CLIENT.target(endpointURL);
if(token != null) {
endpoint.configuration().register(tokenFilter);
}
return command.execute(endpoint);
}
| public <R> R execute(QuantumCommand<R> command) {
WebTarget endpoint = OpenStack.CLIENT.target(endpointURL);
if(token != null) {
endpoint.register(tokenFilter);
}
return command.execute(endpoint);
}
|
diff --git a/main/src/jp/ac/osaka_u/ist/sel/metricstool/main/ast/databuilder/InitializableVariableBuilder.java b/main/src/jp/ac/osaka_u/ist/sel/metricstool/main/ast/databuilder/InitializableVariableBuilder.java
index a2ce6771..9553d449 100644
--- a/main/src/jp/ac/osaka_u/ist/sel/metricstool/main/ast/databuilder/Initial... | true | true | public void stateChangend(final StateChangeEvent<AstVisitEvent> event) {
super.stateChangend(event);
final StateChangeEventType eventType = event.getType();
if (eventType.equals(VARIABLE_STATE.ENTER_VARIABLE_DEF)) {
// �ϐ��̏������������邩�ǂ����킩��Ȃ��̂łƂ肠����null�������
... | public void stateChangend(final StateChangeEvent<AstVisitEvent> event) {
super.stateChangend(event);
final StateChangeEventType eventType = event.getType();
if (eventType.equals(VARIABLE_STATE.ENTER_VARIABLE_DEF)) {
// �ϐ��̏������������邩�ǂ����킩��Ȃ��̂łƂ肠����null�������
... |
diff --git a/app-lifecycle-maven-plugin/src/main/java/org/sonatype/maven/plugin/app/buildhelper/InjectArtifactHandlerMojo.java b/app-lifecycle-maven-plugin/src/main/java/org/sonatype/maven/plugin/app/buildhelper/InjectArtifactHandlerMojo.java
index e29211f..3b69c39 100644
--- a/app-lifecycle-maven-plugin/src/main/java/... | true | true | public void execute()
throws MojoExecutionException
{
ArtifactVersion currentVersion = ri.getApplicationVersion();
ArtifactVersion maxUsageVersion = new DefaultArtifactVersion( "2.2.0" );
if ( maxUsageVersion.compareTo( currentVersion ) <= 0 )
{
getLog().debu... | public void execute()
throws MojoExecutionException
{
ArtifactVersion currentVersion = ri.getApplicationVersion();
ArtifactVersion maxUsageVersion = new DefaultArtifactVersion( "2.2.0" );
if ( maxUsageVersion.compareTo( currentVersion ) < 0 )
{
getLog().debug... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java
index a3c2c137d..9e0b2f67b 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/... | true | true | private void createTable(Composite parent) {
Label label= new Label(parent, SWT.NONE);
label.setText(DebugUIMessages.getString("JavaLogicalStructuresPreferencePage.1")); //$NON-NLS-1$
GridData gd= new GridData();
gd.horizontalSpan= 2;
label.setLayoutData(gd);
label.se... | private void createTable(Composite parent) {
Label label= new Label(parent, SWT.NONE);
label.setText(DebugUIMessages.getString("JavaLogicalStructuresPreferencePage.1")); //$NON-NLS-1$
GridData gd= new GridData();
gd.horizontalSpan= 2;
label.setLayoutData(gd);
label.se... |
diff --git a/src/com/example/campomagnetico/ActivitySimulacion.java b/src/com/example/campomagnetico/ActivitySimulacion.java
index 985a914..2dd4fb4 100644
--- a/src/com/example/campomagnetico/ActivitySimulacion.java
+++ b/src/com/example/campomagnetico/ActivitySimulacion.java
@@ -1,658 +1,658 @@
package com.example.ca... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_simulacion);
//Si existen datos en los arrays de la gestora de informacion se los asignamos a los arrays de esta clase
if (!GestoraInformacion.getDatosA().isEmpty()){
datosA.setArrayD... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_simulacion);
//Si existen datos en los arrays de la gestora de informacion se los asignamos a los arrays de esta clase
if (!GestoraInformacion.getDatosA().isEmpty()){
datosA.setArrayD... |
diff --git a/maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java b/maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java
index 832a338..4105991 100644
--- a/maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java
+++ b/maven-plugin/src/main/java/hudson/maven/r... | true | true | public boolean postBuild(MavenBuildProxy build, MavenProject pom, BuildListener listener) throws InterruptedException, IOException {
build.executeAsync(new BuildCallable<Void,IOException>() {
// record is transient, so needs to make a copy first
private final Map<String,String> u = u... | public boolean postBuild(MavenBuildProxy build, MavenProject pom, BuildListener listener) throws InterruptedException, IOException {
build.executeAsync(new BuildCallable<Void,IOException>() {
// record is transient, so needs to make a copy first
private final Map<String,String> u = u... |
diff --git a/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/TaskListFilterTest.java b/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/TaskListFilterTest.java
index 0ed7228..9fb8974 100644
--- a/org.eclipse.mylyn.tests/src/org/eclipse/mylyn/tests/integration/TaskListFilterTest.java
+++ b... | false | true | protected void setUp() throws Exception {
super.setUp();
view = TaskListView.openInActivePerspective();
assertNotNull(view);
previousFilters = view.getFilters();
view.clearFilters(true);
manager.getTaskList().reset();
assertEquals(0, manager.getTaskList().getAllTasks().size());
taskCompleted = ne... | protected void setUp() throws Exception {
super.setUp();
view = TaskListView.openInActivePerspective();
assertNotNull(view);
previousFilters = view.getFilters();
view.clearFilters(true);
manager.getTaskList().reset();
assertEquals(0, manager.getTaskList().getAllTasks().size());
taskCompleted = ne... |
diff --git a/src/main/java/de/kopis/glacier/CommandLineGlacierUploader.java b/src/main/java/de/kopis/glacier/CommandLineGlacierUploader.java
index 49d5913..83ee102 100644
--- a/src/main/java/de/kopis/glacier/CommandLineGlacierUploader.java
+++ b/src/main/java/de/kopis/glacier/CommandLineGlacierUploader.java
@@ -1,55 +1... | true | true | public static void main(final String[] args) throws IOException {
if (args == null || args.length != 4) {
System.err.println("USAGE");
System.err
.println("\tjava -jar uploader.jar PATH_TO_CREDENTIALFILE PATH_TO_ARCHIVE ENDPOINT_URL VAULTNAME");
System... | public static void main(final String[] args) throws IOException {
if (args == null || args.length != 4) {
System.err.println("USAGE");
System.err
.println("\tjava -jar uploader.jar PATH_TO_CREDENTIALFILE PATH_TO_ARCHIVE ENDPOINT_URL VAULTNAME");
System... |
diff --git a/twitter4j-core/src/main/java/twitter4j/StatusStreamImpl.java b/twitter4j-core/src/main/java/twitter4j/StatusStreamImpl.java
index 32534c71..f85fde5f 100644
--- a/twitter4j-core/src/main/java/twitter4j/StatusStreamImpl.java
+++ b/twitter4j-core/src/main/java/twitter4j/StatusStreamImpl.java
@@ -1,158 +1,158 ... | true | true | private void handleNextElement(StatusListener listener, UserStreamListener userStreamListener) throws TwitterException {
if (!streamAlive) {
throw new IllegalStateException("Stream already closed.");
}
try {
String line;
line = br.readLine();
i... | private void handleNextElement(StatusListener listener, UserStreamListener userStreamListener) throws TwitterException {
if (!streamAlive) {
throw new IllegalStateException("Stream already closed.");
}
try {
String line;
line = br.readLine();
i... |
diff --git a/src/plugins/org.drftpd.protocol.zipscript.mp3.slave/src/org/drftpd/protocol/zipscript/mp3/slave/MP3Parser.java b/src/plugins/org.drftpd.protocol.zipscript.mp3.slave/src/org/drftpd/protocol/zipscript/mp3/slave/MP3Parser.java
index 2365c486..9f18e69f 100644
--- a/src/plugins/org.drftpd.protocol.zipscript.mp3... | true | true | public MP3Info getMP3Info() throws IOException {
FileInputStream in = null;
Header frameHeader = null;
try {
in = new FileInputStream(_mp3file);
Bitstream mp3Stream = new Bitstream(in);
// Read 4 frames to ensure this really is an mp3
for (int i = 0; i < 4; i++) {
try {
frameHeader = mp3Stre... | public MP3Info getMP3Info() throws IOException {
FileInputStream in = null;
Header frameHeader = null;
try {
in = new FileInputStream(_mp3file);
Bitstream mp3Stream = new Bitstream(in);
// Read 4 frames to ensure this really is an mp3
for (int i = 0; i < 4; i++) {
try {
frameHeader = mp3Stre... |
diff --git a/src/truelauncher/utils/LauncherUtils.java b/src/truelauncher/utils/LauncherUtils.java
index 4c2bfba..8130891 100644
--- a/src/truelauncher/utils/LauncherUtils.java
+++ b/src/truelauncher/utils/LauncherUtils.java
@@ -1,88 +1,92 @@
/**
* This program is free software; you can redistribute it and/or
* modi... | true | true | public static void logError(Exception err)
{
File errLogFile = new File(LauncherUtils.getDir() + File.separator + AllSettings.errFolder + File.separator + "LError.log");
errLogFile.getParentFile().mkdirs();
try {
err.printStackTrace();
FileOutputStream fos = new FileOutputStream(errLogFile,... | public static void logError(Exception err)
{
File errLogFile = new File(LauncherUtils.getDir() + File.separator + AllSettings.errFolder + File.separator + "LError.log");
errLogFile.getParentFile().mkdirs();
try {
err.printStackTrace();
if (errLogFile.length()/1024/1024 > 1)
{
e... |
diff --git a/ananya-kilkari-web/src/main/java/org/motechproject/ananya/kilkari/web/GatewayLogger.java b/ananya-kilkari-web/src/main/java/org/motechproject/ananya/kilkari/web/GatewayLogger.java
index f29edb47..1a730aa9 100644
--- a/ananya-kilkari-web/src/main/java/org/motechproject/ananya/kilkari/web/GatewayLogger.java
... | true | true | public void afterRESTCall(JoinPoint joinPoint, Object result) {
if (logger.isDebugEnabled()) {
Object[] args = joinPoint.getArgs();
String arguments = "";
if (args.length > 0) {
arguments = Arrays.toString(args);
}
logger.debug("Aft... | public void afterRESTCall(JoinPoint joinPoint, Object result) {
if (logger.isDebugEnabled()) {
Object[] args = joinPoint.getArgs();
String arguments = "";
if (args.length > 0) {
arguments = getPrintableArgsList(args).toString();
}
l... |
diff --git a/src/com/martinbrook/tesseractuhc/listeners/MatchListener.java b/src/com/martinbrook/tesseractuhc/listeners/MatchListener.java
index abf402e..b6afbf9 100644
--- a/src/com/martinbrook/tesseractuhc/listeners/MatchListener.java
+++ b/src/com/martinbrook/tesseractuhc/listeners/MatchListener.java
@@ -1,219 +1,21... | true | true | public void onPlayerDeath(PlayerDeathEvent e){
Player p = e.getEntity();
UhcParticipant up = m.getUhcParticipant(p);
// If it's a pvp kill, drop bonus items
if (p.getKiller() != null) {
UhcParticipant killer = m.getUhcParticipant(p.getKiller());
if (up != null && killer != null && killer.getTeam() != ... | public void onPlayerDeath(PlayerDeathEvent e){
Player p = e.getEntity();
UhcParticipant up = m.getUhcParticipant(p);
// If it's a pvp kill, drop bonus items
if (p.getKiller() != null) {
UhcParticipant killer = m.getUhcParticipant(p.getKiller());
if (up != null && killer != null && killer.getTeam() != ... |
diff --git a/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/InterfaceAndAbstractValidationTest.java b/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/InterfaceAndAbstractValidationTest.java
index 679af022..d877e20f 100644
--- a/tests/org.jboss... | true | true | public void testInterfaceValidation() {
/* import test project */
String projectName = "interface1";
importSeam3ProjectWithLibrary(projectName, SeamLibrary.SOLDER_3_1);
bot.sleep(Timing.time3S()); // necessary to CDI Validation computation
/* get markers for beans.xml */
IMarker[] markers = getMarker... | public void testInterfaceValidation() {
/* import test project */
String projectName = "interface1";
importSeam3ProjectWithLibrary(projectName, SeamLibrary.SOLDER_3_1);
bot.sleep(Timing.time3S()); // necessary to CDI Validation computation
/* get markers for beans.xml */
IMarker[] markers = getMarker... |
diff --git a/src/umberto/WeightedClusterCoefficient/ChartUtils.java b/src/umberto/WeightedClusterCoefficient/ChartUtils.java
index eaa34f2..091de98 100644
--- a/src/umberto/WeightedClusterCoefficient/ChartUtils.java
+++ b/src/umberto/WeightedClusterCoefficient/ChartUtils.java
@@ -1,151 +1,151 @@
/*
Copyright 2011 Ge... | true | true | public static void scaleLogChart(JFreeChart chart, XYSeries dSeries, boolean normalized) {
XYPlot plot = (XYPlot) chart.getPlot();
final LogAxis logyAxis = new LogAxis(plot.getRangeAxis().getLabel());
final LogAxis logxAxis = new LogAxis(plot.getDomainAxis().getLabel());
//Set y axis... | public static void scaleLogChart(JFreeChart chart, XYSeries dSeries, boolean normalized) {
XYPlot plot = (XYPlot) chart.getPlot();
final LogAxis logyAxis = new LogAxis(plot.getRangeAxis().getLabel());
final LogAxis logxAxis = new LogAxis(plot.getDomainAxis().getLabel());
//Set y axis... |
diff --git a/CommunityService/src/org/CommunityService/ManagedBeans/LoginBean.java b/CommunityService/src/org/CommunityService/ManagedBeans/LoginBean.java
index ff66b61..2ec0ea3 100644
--- a/CommunityService/src/org/CommunityService/ManagedBeans/LoginBean.java
+++ b/CommunityService/src/org/CommunityService/ManagedBean... | true | true | public String Login() {
if (currentVolunteer.getVolunteer() == null) {
try {
Volunteer v = VolunteerService.getVolunteerByName(username);
if (v != null && v.getVolunteerPassword().equals(password)) {
currentVolunteer.setVolunteer(v);
return "LandingPage";
} else {
new FacesMessage(Faces... | public String Login() {
if (currentVolunteer.getVolunteer() == null) {
try {
Volunteer v = VolunteerService.getVolunteerByName(username);
if (v != null && v.getVolunteerPassword().equals(password)) {
currentVolunteer.setVolunteer(v);
return "Login";
} else {
new FacesMessage(FacesMessag... |
diff --git a/service/src/java/org/apache/hadoop/hive/service/HiveServer.java b/service/src/java/org/apache/hadoop/hive/service/HiveServer.java
index ea73bd91..b52f3bbb 100644
--- a/service/src/java/org/apache/hadoop/hive/service/HiveServer.java
+++ b/service/src/java/org/apache/hadoop/hive/service/HiveServer.java
@@ -1... | true | true | public static void main(String[] args) {
try {
int port = 10000;
if (args.length > 1) {
port = Integer.getInteger(args[0]);
}
TServerTransport serverTransport = new TServerSocket(port);
Iface handler = new HiveServerHandler();
FacebookService.Processor processor = new T... | public static void main(String[] args) {
try {
int port = 10000;
if (args.length >= 1) {
port = Integer.parseInt(args[0]);
}
TServerTransport serverTransport = new TServerSocket(port);
Iface handler = new HiveServerHandler();
FacebookService.Processor processor = new Th... |
diff --git a/plexus-container-default/src/main/java/org/codehaus/plexus/component/discovery/AbstractComponentDiscoverer.java b/plexus-container-default/src/main/java/org/codehaus/plexus/component/discovery/AbstractComponentDiscoverer.java
index 0ff8ac3d..05aaead1 100644
--- a/plexus-container-default/src/main/java/org/... | true | true | public List findComponents( Context context,
ClassRealm classRealm )
throws PlexusConfigurationException
{
List componentSetDescriptors = new ArrayList();
Enumeration resources;
try
{
// do NOT scan parent realms
re... | public List findComponents( Context context,
ClassRealm classRealm )
throws PlexusConfigurationException
{
List componentSetDescriptors = new ArrayList();
Enumeration resources;
try
{
// We don't always want to scan parent real... |
diff --git a/src/main/java/com/mojang/minecraft/net/SkinDownloadThread.java b/src/main/java/com/mojang/minecraft/net/SkinDownloadThread.java
index c57d98c..ef69562 100644
--- a/src/main/java/com/mojang/minecraft/net/SkinDownloadThread.java
+++ b/src/main/java/com/mojang/minecraft/net/SkinDownloadThread.java
@@ -1,46 +1... | true | true | public void run()
{
HttpURLConnection connection = null;
try {
connection = (HttpURLConnection)new URL("http://www.minecraft.net/skin/" + player.name + ".png").openConnection();
connection.setDoInput(true);
connection.setDoOutput(false);
connection.connect();
if(connection.getResponseCode() == ... | public void run()
{
HttpURLConnection connection = null;
try {
connection = (HttpURLConnection)new URL("http://www.classicube.net/static/skin/" + player.name + ".png").openConnection();
connection.setDoInput(true);
connection.setDoOutput(false);
connection.connect();
if(connection.getResponseCo... |
diff --git a/core/src/main/java/eu/janinko/botninko/Commands.java b/core/src/main/java/eu/janinko/botninko/Commands.java
index e017d7c..ab500af 100644
--- a/core/src/main/java/eu/janinko/botninko/Commands.java
+++ b/core/src/main/java/eu/janinko/botninko/Commands.java
@@ -1,226 +1,226 @@
package eu.janinko.botninko;
... | true | true | public void handleCommand(Message message) {
if(!conn.isConnected()) return;
String body = message.getBody();
if(body.startsWith(prefix)){
body = body.substring(prefix.length());
}else{ //(message.getBody().startsWith(connection.getNick()){
body = body.substring(conn.getNick().length());
if(body.matc... | public void handleCommand(Message message) {
if(!conn.isConnected()) return;
String body = message.getBody();
if(body.startsWith(prefix)){
body = body.substring(prefix.length());
}else{ //(message.getBody().startsWith(connection.getNick()){
body = body.substring(conn.getNick().length());
if(body.matc... |
diff --git a/transcript-service/src/main/java/uk/org/sappho/applications/transcript/service/registry/Applications.java b/transcript-service/src/main/java/uk/org/sappho/applications/transcript/service/registry/Applications.java
index 667312b..668647e 100644
--- a/transcript-service/src/main/java/uk/org/sappho/applicatio... | true | true | public String[] getApplicationNames(String environment, final Pattern pattern) throws TranscriptException {
String[] applications = workingCopy.getUpToDatePath(environment).list(new FilenameFilter() {
public boolean accept(File dir, String name) {
boolean found = new File(dir, n... | public String[] getApplicationNames(String environment, final Pattern pattern) throws TranscriptException {
String[] applications = workingCopy.getUpToDatePath(environment).list(new FilenameFilter() {
public boolean accept(File dir, String name) {
boolean found = new File(dir, n... |
diff --git a/vfs2provider-jdbctable/src/main/java/com/seeburger/vfs2/util/TreePrinter.java b/vfs2provider-jdbctable/src/main/java/com/seeburger/vfs2/util/TreePrinter.java
index 2dfe40c..ae00c80 100644
--- a/vfs2provider-jdbctable/src/main/java/com/seeburger/vfs2/util/TreePrinter.java
+++ b/vfs2provider-jdbctable/src/ma... | true | true | public static void printTree(FileObject file, String prefix, PrintStream out) throws FileSystemException
{
String type = "";
if (file.isHidden())
type+="H";
else
type+=".";
if (file.isReadable())
type+="R";
else
type+=".";
... | public static void printTree(FileObject file, String prefix, PrintStream out) throws FileSystemException
{
String type = "";
if (file.isHidden())
type+="H";
else
type+=".";
if (file.isReadable())
type+="R";
else
type+=".";
... |
diff --git a/src/java/org/apache/cassandra/thrift/CassandraDaemon.java b/src/java/org/apache/cassandra/thrift/CassandraDaemon.java
index ede1b228..60d9753b 100644
--- a/src/java/org/apache/cassandra/thrift/CassandraDaemon.java
+++ b/src/java/org/apache/cassandra/thrift/CassandraDaemon.java
@@ -1,227 +1,227 @@
/**
* ... | true | true | protected void setup() throws IOException
{
int listenPort = DatabaseDescriptor.getRpcPort();
InetAddress listenAddr = DatabaseDescriptor.getRpcAddress();
/*
* If ThriftAddress was left completely unconfigured, then assume
* the same default as ListenAddress
... | protected void setup() throws IOException
{
int listenPort = DatabaseDescriptor.getRpcPort();
InetAddress listenAddr = DatabaseDescriptor.getRpcAddress();
/*
* If ThriftAddress was left completely unconfigured, then assume
* the same default as ListenAddress
... |
diff --git a/src/org/jruby/runtime/load/LoadService.java b/src/org/jruby/runtime/load/LoadService.java
index 24808c685..40a766359 100644
--- a/src/org/jruby/runtime/load/LoadService.java
+++ b/src/org/jruby/runtime/load/LoadService.java
@@ -1,583 +1,583 @@
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/... | true | true | public boolean smartLoad(String file) {
if (file.equals("")) {
throw runtime.newLoadError("No such file to load -- " + file);
}
if(firstLineLoadedFeatures.contains(file)) {
return false;
}
Library library = null;
String loadName = file;
... | public boolean smartLoad(String file) {
if (file.equals("")) {
throw runtime.newLoadError("No such file to load -- " + file);
}
if(firstLineLoadedFeatures.contains(file)) {
return false;
}
Library library = null;
String loadName = file;
... |
diff --git a/src/com/cyanogenmod/trebuchet/preference/NumberPickerPreference.java b/src/com/cyanogenmod/trebuchet/preference/NumberPickerPreference.java
index 4bf73a41..31f87562 100644
--- a/src/com/cyanogenmod/trebuchet/preference/NumberPickerPreference.java
+++ b/src/com/cyanogenmod/trebuchet/preference/NumberPickerP... | false | true | protected View onCreateDialogView() {
int max = mMax;
int min = mMin;
// External values
if (mMaxExternalKey != null && mMaxExternalPreference != null) {
max = mMaxExternalPreference.getSharedPreferences().getInt(mMaxExternalKey, mMax);
}
if (mMinExternal... | protected View onCreateDialogView() {
int max = mMax;
int min = mMin;
// External values
if (mMaxExternalKey != null && mMaxExternalPreference != null) {
max = mMaxExternalPreference.getSharedPreferences().getInt(mMaxExternalKey, mMax);
}
if (mMinExternal... |
diff --git a/src/org/xbmc/httpapi/client/Client.java b/src/org/xbmc/httpapi/client/Client.java
index d9d779f..0e0a02d 100644
--- a/src/org/xbmc/httpapi/client/Client.java
+++ b/src/org/xbmc/httpapi/client/Client.java
@@ -1,267 +1,267 @@
/*
* Copyright (C) 2005-2009 Team XBMC
* http://xbmc.org
*
* Th... | false | true | private Bitmap getCoverFromMicroHTTPd(INotifiableManager manager, ICoverArt cover, int size, String url, String fallbackUrl) {
final int mediaType = cover.getMediaType();
// don't fetch small sizes
size = size < ThumbSize.BIG ? ThumbSize.MEDIUM : ThumbSize.BIG;
InputStream is = null;
try {
Log.i(TAG, ... | private Bitmap getCoverFromMicroHTTPd(INotifiableManager manager, ICoverArt cover, int size, String url, String fallbackUrl) {
final int mediaType = cover.getMediaType();
// don't fetch small sizes
size = size < ThumbSize.BIG ? ThumbSize.MEDIUM : ThumbSize.BIG;
InputStream is = null;
try {
Log.i(TAG, ... |
diff --git a/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java b/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java
index 4240696..a5856ca 100644
--- a/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java
+++ b/src/org/eclipse/core/tests/resources/ContentDes... | false | true | public void testNatureContentTypeAssociation() {
IContentTypeManager contentTypeManager = Platform.getContentTypeManager();
IContentType baseType = contentTypeManager.getContentType("org.eclipse.core.tests.resources.nature_associated_1");
IContentType derivedType = contentTypeManager.getContentType("org.eclipse.... | public void testNatureContentTypeAssociation() {
IContentTypeManager contentTypeManager = Platform.getContentTypeManager();
IContentType baseType = contentTypeManager.getContentType("org.eclipse.core.tests.resources.nature_associated_1");
IContentType derivedType = contentTypeManager.getContentType("org.eclipse.... |
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/ContentHandlerFactory.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/ContentHandlerFactory.java
index ec92934a..8834694b 100644
--- a/bundles/org.eclipse.osgi/core/framework/org... | true | true | public ContentHandler createContentHandler(String contentType) {
//first, we check to see if there exists a built in content handler for
//this content type. we can not overwrite built in ContentHandlers
String builtInHandlers = System.getProperty(CONTENT_HANDLER_PKGS);
Class clazz = null;
if (builtInHandle... | public ContentHandler createContentHandler(String contentType) {
//first, we check to see if there exists a built in content handler for
//this content type. we can not overwrite built in ContentHandlers
String builtInHandlers = System.getProperty(CONTENT_HANDLER_PKGS);
Class clazz = null;
if (builtInHandle... |
diff --git a/src/com/android/gallery3d/update/CheckUpdate.java b/src/com/android/gallery3d/update/CheckUpdate.java
index 6c0f380..8927461 100755
--- a/src/com/android/gallery3d/update/CheckUpdate.java
+++ b/src/com/android/gallery3d/update/CheckUpdate.java
@@ -1,274 +1,274 @@
package com.android.gallery3d.update;
i... | true | true | private void readTextInfo()
{
TextInfo textInfo=new TextInfo(target,mContext);
String scope;
String release;
String FIRMWARE;
int num=textInfo.discoverNew();
if(num!=-1){
Log.v(TAG,"find new apk to download");
scope=textInfo.getScope(num);
release=textInfo.getRelease(num);
if... | private void readTextInfo()
{
TextInfo textInfo=new TextInfo(target,mContext);
String scope;
String release;
String FIRMWARE;
int num=textInfo.discoverNew();
if(num!=-1){
Log.v(TAG,"find new apk to download");
scope=textInfo.getScope(num);
release=textInfo.getRelease(num);
if... |
diff --git a/FallPrevention/src/no/ntnu/stud/fallprevention/connectivity/ContentProviderHelper.java b/FallPrevention/src/no/ntnu/stud/fallprevention/connectivity/ContentProviderHelper.java
index b078132..6ae430b 100644
--- a/FallPrevention/src/no/ntnu/stud/fallprevention/connectivity/ContentProviderHelper.java
+++ b/Fa... | true | true | public double getGaitVariability(Timestamp start, Timestamp stop) {
double returner = 3500;
// Setting variables for the query
// sets the unique resource identifier for the data
Uri uri = Uri.parse("content://ntnu.stud.valens.contentprovider");
ContentProviderClient stepsProvider = context.getContentResolv... | public double getGaitVariability(Timestamp start, Timestamp stop) {
double returner = -1;
// Setting variables for the query
// sets the unique resource identifier for the data
Uri uri = Uri.parse("content://ntnu.stud.valens.contentprovider");
ContentProviderClient stepsProvider = context.getContentResolver... |
diff --git a/simulator/src/java/main/ca/neo/model/impl/AbstractEnsemble.java b/simulator/src/java/main/ca/neo/model/impl/AbstractEnsemble.java
index d8a7a085..2efbac8f 100644
--- a/simulator/src/java/main/ca/neo/model/impl/AbstractEnsemble.java
+++ b/simulator/src/java/main/ca/neo/model/impl/AbstractEnsemble.java
@@ -1... | true | true | public void run(float startTime, float endTime) throws SimulationException {
// System.out.println(this.getName());
for (int i = 0; i < myNodes.length; i++) {
myNodes[i].run(startTime, endTime);
if (myCollectSpikesFlag) {
try {
InstantaneousOutput output = myNodes[i].getOrigin(Neuron.AXON).getValues... | public void run(float startTime, float endTime) throws SimulationException {
if (mySpikePattern == null) {
mySpikePattern = new SpikePatternImpl(myNodes.length);
}
for (int i = 0; i < myNodes.length; i++) {
myNodes[i].run(startTime, endTime);
if (myCollectSpikesFlag) {
try {
InstantaneousOutpu... |
diff --git a/src/com/elezeta/gnlp/GNLPCLI.java b/src/com/elezeta/gnlp/GNLPCLI.java
index 14f738f..5640adf 100644
--- a/src/com/elezeta/gnlp/GNLPCLI.java
+++ b/src/com/elezeta/gnlp/GNLPCLI.java
@@ -1,142 +1,142 @@
package com.elezeta.gnlp;
import java.lang.reflect.Field;
import java.text.DecimalFormat;
import java... | true | true | public static void main(String[] args) {
df = new DecimalFormat("#.0000");
DecimalFormatSymbols dfs = new DecimalFormatSymbols();
dfs.setGroupingSeparator(',');
dfs.setDecimalSeparator('.');
df.setDecimalFormatSymbols(dfs);
if (args.length == 0) {
System.out.println("GNLP (General Natural Language Pars... | public static void main(String[] args) {
df = new DecimalFormat("#.0000");
DecimalFormatSymbols dfs = new DecimalFormatSymbols();
dfs.setGroupingSeparator(',');
dfs.setDecimalSeparator('.');
df.setDecimalFormatSymbols(dfs);
if (args.length == 0) {
System.out.println("GNLP (General Natural Language Pars... |
diff --git a/src/no/hials/muldvarp/v2/MuldvarpService.java b/src/no/hials/muldvarp/v2/MuldvarpService.java
index 70e0f23..9de4846 100644
--- a/src/no/hials/muldvarp/v2/MuldvarpService.java
+++ b/src/no/hials/muldvarp/v2/MuldvarpService.java
@@ -1,361 +1,361 @@
package no.hials.muldvarp.v2;
import android.app.Servic... | true | true | public void initializeData() {
initilizeDataCounter = 0;
new DownloadTask(this,new Intent(ACTION_ALL_UPDATING), DataTypes.COURSES)
.execute(getUrl(R.string.courseResPath));
new DownloadTask(this,new Intent(ACTION_ALL_UPDATING), DataTypes.PROGRAMS)
.execute(get... | public void initializeData() {
initilizeDataCounter = 0;
new DownloadTask(this,new Intent(ACTION_ALL_UPDATING), DataTypes.COURSES)
.execute(getUrl(R.string.courseResPath));
new DownloadTask(this,new Intent(ACTION_ALL_UPDATING), DataTypes.PROGRAMS)
.execute(get... |
diff --git a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/jdbc/internal/exec/StatementProcessor.java b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/jdbc/internal/exec/StatementProcessor.java
index 73c24b8344..b023922931 100644
--- a/org.eclipse.scout.rt.serv... | true | true | private IBindInput createInputRec(ValueInputToken bindToken, String[] path, Object bindBase, Class nullType) throws ProcessingException {
boolean terminal = (path.length == 1);
Object o = null;
boolean found = false;
if (bindBase instanceof Map) {
// handle all terminal cases for map
o = (... | private IBindInput createInputRec(ValueInputToken bindToken, String[] path, Object bindBase, Class nullType) throws ProcessingException {
boolean terminal = (path.length == 1);
Object o = null;
boolean found = false;
if (bindBase instanceof Map) {
// handle all terminal cases for map
o = (... |
diff --git a/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/engine/KeywordLinkingEngine.java b/enhancer/engines/keywordextraction/src/main/java/org/apache/stanbol/enhancer/engines/keywordextraction/engine/KeywordLinkingEngine.java
index 4b7b50bb5..38f21e2c7 100644... | true | true | protected void activateEntityLinkerConfig(Dictionary<String,Object> configuration) throws ConfigurationException {
if(linkerConfig == null){
this.linkerConfig = new EntityLinkerConfig();
}
Object value;
value = configuration.get(NAME_FIELD);
if(value != null){
... | protected void activateEntityLinkerConfig(Dictionary<String,Object> configuration) throws ConfigurationException {
if(linkerConfig == null){
this.linkerConfig = new EntityLinkerConfig();
}
Object value;
value = configuration.get(NAME_FIELD);
if(value != null){
... |
diff --git a/main/src/test/java/com/bloatit/framework/BigDB.java b/main/src/test/java/com/bloatit/framework/BigDB.java
index 7b5dc278f..82eae98f8 100644
--- a/main/src/test/java/com/bloatit/framework/BigDB.java
+++ b/main/src/test/java/com/bloatit/framework/BigDB.java
@@ -1,164 +1,164 @@
package com.bloatit.framework;... | true | true | public BigDB() {
SessionManager.beginWorkUnit();
// Create some users
final List<DaoMember> members = new ArrayList<DaoMember>();
for (int i = 0; i < nbUsers; i++) {
DaoMember member;
member = DaoMember.createAndPersist("member " + i, new Integer(i).toString... | public BigDB() {
SessionManager.beginWorkUnit();
// Create some users
final List<DaoMember> members = new ArrayList<DaoMember>();
for (int i = 0; i < nbUsers; i++) {
DaoMember member;
member = DaoMember.createAndPersist("member " + i, new Integer(i).toString... |
diff --git a/src/musician101/controlcreativemode/ControlCreativeMode.java b/src/musician101/controlcreativemode/ControlCreativeMode.java
index 6026bb4..3757d31 100644
--- a/src/musician101/controlcreativemode/ControlCreativeMode.java
+++ b/src/musician101/controlcreativemode/ControlCreativeMode.java
@@ -1,92 +1,90 @@
... | false | true | public void onEnable()
{
/** Listener Registers */
getServer().getPluginManager().registerEvents(new BlockListener(this), this);
getServer().getPluginManager().registerEvents(new EntityListener(this), this);
getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
/** Command Exe... | public void onEnable()
{
/** Listener Registers */
getServer().getPluginManager().registerEvents(new BlockListener(this), this);
getServer().getPluginManager().registerEvents(new EntityListener(this), this);
getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
/** Command Exe... |
diff --git a/api/src/main/java/org/jscep/util/HexUtil.java b/api/src/main/java/org/jscep/util/HexUtil.java
index 1ef14da4..83f2db54 100644
--- a/api/src/main/java/org/jscep/util/HexUtil.java
+++ b/api/src/main/java/org/jscep/util/HexUtil.java
@@ -1,134 +1,134 @@
/*
* Copyright (c) 2009-2010 David Grant
*
* Permi... | true | true | public static String formatHex(byte[] hex) {
StringBuilder sb = new StringBuilder();
String s = new String(hex).toUpperCase();
char[] c = s.toCharArray();
for (int i = 0; i < c.length; i++) {
if (i % 32 == 0) {
sb.append("\n\t");
}
sb.append(c[i]);
if (i % 2 == 1) {
sb.append(" ");
}
}... | public static String formatHex(byte[] hex) {
StringBuilder sb = new StringBuilder();
String s = new String(hex).toUpperCase();
char[] c = s.toCharArray();
for (int i = 0; i < c.length; i++) {
if (i % 32 == 0) {
sb.append("\n\t");
}
sb.append(c[i]);
if (i % 2 != 0) {
sb.append(" ");
}
}... |
diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipProtocolHandler.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipProtocolHandler.java
index d38762047..515b02f73 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipProtocolHandler.... | true | true | public void start() throws Exception {
if(logger.isDebugEnabled()) {
logger.debug("Starting a sip protocol handler");
}
// This simply puts HTTP and SSL port numbers in JVM properties menat to be read by jsip ha when sending heart beats with Node description.
StaticServiceHolder.sipStandardServi... | public void start() throws Exception {
if(logger.isDebugEnabled()) {
logger.debug("Starting a sip protocol handler");
}
// This simply puts HTTP and SSL port numbers in JVM properties menat to be read by jsip ha when sending heart beats with Node description.
StaticServiceHolder.sipStandardServi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.