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/tubular-core/src/main/java/org/trancecode/xproc/PipelineParser.java b/tubular-core/src/main/java/org/trancecode/xproc/PipelineParser.java
index 2fe91c5f..751577d0 100644
--- a/tubular-core/src/main/java/org/trancecode/xproc/PipelineParser.java
+++ b/tubular-core/src/main/java/org/trancecode/xproc/PipelineP... | false | true | private Step parseStepChildNode(final XdmNode node, final Step step)
{
if (node.getNodeKind() == XdmNodeKind.ELEMENT)
{
if (node.getNodeName().equals(Elements.IMPORT))
{
parseImport(node);
return step;
}
if (Element... | private Step parseStepChildNode(final XdmNode node, final Step step)
{
if (node.getNodeKind() == XdmNodeKind.ELEMENT)
{
if (node.getNodeName().equals(Elements.IMPORT))
{
parseImport(node);
return step;
}
if (Element... |
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java
index f751d6fc3..07ac31451 100644
--- a/htroot/yacysearch.java
+++ b/htroot/yacysearch.java
@@ -1,574 +1,574 @@
// yacysearch.java
// -----------------------
// part of the AnomicHTTPD caching proxy
// (C) by Michael Peter Christen; mc@anomic.de
// first... | false | true | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
final plasmaSwitchboard sb = (plasmaSwitchboard) env;
boolean searchAllowed = sb.getConfigBool("publicSearchpage", true) || sb.verifyAuthentication(header, false);
boolean authenticated =... | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
final plasmaSwitchboard sb = (plasmaSwitchboard) env;
boolean searchAllowed = sb.getConfigBool("publicSearchpage", true) || sb.verifyAuthentication(header, false);
boolean authenticated =... |
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
index 2c9b6cf4..540c0365 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/pac... | false | true | public boolean onTouchEvent(MotionEvent event) {
boolean shouldRecycleEvent = false;
if (PhoneStatusBar.SETTINGS_DRAG_SHORTCUT
&& mStatusBar.mHasFlipSettings) {
boolean shouldFlip = false;
boolean swipeFlipJustFinished = false;
boolean swipeFlipJus... | public boolean onTouchEvent(MotionEvent event) {
boolean shouldRecycleEvent = false;
if (PhoneStatusBar.SETTINGS_DRAG_SHORTCUT
&& mStatusBar.mHasFlipSettings) {
boolean flip = false;
boolean swipeFlipJustFinished = false;
boolean swipeFlipJustStart... |
diff --git a/codegenerator/src/main/java/org/jboss/jca/codegenerator/xml/IronjacamarXmlGen.java b/codegenerator/src/main/java/org/jboss/jca/codegenerator/xml/IronjacamarXmlGen.java
index 8fbd4aa48..02aeedd00 100644
--- a/codegenerator/src/main/java/org/jboss/jca/codegenerator/xml/IronjacamarXmlGen.java
+++ b/codegenera... | false | true | public void writeXmlBody(Definition def, Writer out) throws IOException
{
out.write("<!--");
writeEol(out);
writeheader(def, out);
out.write("-->");
writeEol(out);
writeEol(out);
URL buildFile = IronjacamarXmlGen.class.getResource("/ironjacamar.xml.template");
... | public void writeXmlBody(Definition def, Writer out) throws IOException
{
out.write("<!--");
writeEol(out);
writeheader(def, out);
out.write("-->");
writeEol(out);
writeEol(out);
URL buildFile = IronjacamarXmlGen.class.getResource("/ironjacamar.xml.template");
... |
diff --git a/src/org/es/butler/MainActivity.java b/src/org/es/butler/MainActivity.java
index 991012e..90ae1de 100644
--- a/src/org/es/butler/MainActivity.java
+++ b/src/org/es/butler/MainActivity.java
@@ -1,204 +1,204 @@
package org.es.butler;
import android.app.Activity;
import android.os.Bundle;
import android.... | true | true | private void dailySpeech(boolean force) {
if (cancelDailySpeech() && !force) {
return;
}
WeatherApi weatherApi = WeatherApiFactory.getWeatherAPI();
WeatherData weatherData = weatherApi.checkWeather();
AgendaApi agendaApi = AgendaApiFactory.getAgendaApi();
... | private void dailySpeech(boolean force) {
if (cancelDailySpeech() && !force) {
return;
}
WeatherApi weatherApi = WeatherApiFactory.getWeatherAPI();
WeatherData weatherData = weatherApi.checkWeather();
AgendaApi agendaApi = AgendaApiFactory.getAgendaApi();
... |
diff --git a/src/main/java/com/j256/simplejmx/common/ObjectNameUtil.java b/src/main/java/com/j256/simplejmx/common/ObjectNameUtil.java
index bfd7a36..966d2c9 100644
--- a/src/main/java/com/j256/simplejmx/common/ObjectNameUtil.java
+++ b/src/main/java/com/j256/simplejmx/common/ObjectNameUtil.java
@@ -1,209 +1,211 @@
pa... | false | true | private static ObjectName makeObjectName(String domainName, String beanName, JmxFolderName[] folderNames,
String[] folderNameStrings) {
// j256:00=clients,name=Foo
StringBuilder sb = new StringBuilder();
sb.append(domainName);
sb.append(':');
boolean first = true;
int prefixC = 0;
if (folderNames != n... | private static ObjectName makeObjectName(String domainName, String beanName, JmxFolderName[] folderNames,
String[] folderNameStrings) {
// j256:00=clients,name=Foo
StringBuilder sb = new StringBuilder();
sb.append(domainName);
sb.append(':');
boolean first = true;
int prefixC = 0;
/*
* Self-naming ... |
diff --git a/tool/src/java/org/sakaiproject/poll/tool/producers/PollVoteProducer.java b/tool/src/java/org/sakaiproject/poll/tool/producers/PollVoteProducer.java
index 0adda3a..aa3197c 100644
--- a/tool/src/java/org/sakaiproject/poll/tool/producers/PollVoteProducer.java
+++ b/tool/src/java/org/sakaiproject/poll/tool/pro... | true | true | public void fillComponents(UIContainer tofill, ViewParameters viewparams, ComponentChecker checker) {
if (tml.size() > 0) {
for (int i = 0; i < tml.size(); i ++ ) {
UIBranchContainer errorRow = UIBranchContainer.make(tofill,"error-row:");
String output;
if (tml.messageAt(... | public void fillComponents(UIContainer tofill, ViewParameters viewparams, ComponentChecker checker) {
if (tml.size() > 0) {
for (int i = 0; i < tml.size(); i ++ ) {
UIBranchContainer errorRow = UIBranchContainer.make(tofill,"error-row:");
String output;
if (tml.messageAt(... |
diff --git a/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java b/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
index f98af922..4b90b9bc 100644
--- a/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
+++ b/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
@@ -1,821 +1,824 @@
/* -*- Mode: java; t... | true | true | public void put(int index, Scriptable start, Object value) {
Object parent = Undefined.instance;
// Convert text into XML if needed.
XMLObject xmlValue;
// Special-case checks for undefined and null
if (value == null) {
value = "null";
} else if (value in... | public void put(int index, Scriptable start, Object value) {
Object parent = Undefined.instance;
// Convert text into XML if needed.
XMLObject xmlValue;
// Special-case checks for undefined and null
if (value == null) {
value = "null";
} else if (value in... |
diff --git a/src/main/java/mia/recommender/ch02/EvaluatorIntro.java b/src/main/java/mia/recommender/ch02/EvaluatorIntro.java
index fcc53e8..f5a4641 100644
--- a/src/main/java/mia/recommender/ch02/EvaluatorIntro.java
+++ b/src/main/java/mia/recommender/ch02/EvaluatorIntro.java
@@ -1,41 +1,41 @@
package mia.recommender.... | true | true | public static void x(String[] args) throws Exception {
RandomUtils.useTestSeed();
DataModel model = new FileDataModel(new File("data/intro.csv"));
RecommenderEvaluator evaluator = new AverageAbsoluteDifferenceRecommenderEvaluator();
// Build the same recommender for testing that we did last time:
... | public static void main(String[] args) throws Exception {
RandomUtils.useTestSeed();
DataModel model = new FileDataModel(new File("data/intro.csv"));
RecommenderEvaluator evaluator = new AverageAbsoluteDifferenceRecommenderEvaluator();
// Build the same recommender for testing that we did last time:
... |
diff --git a/revolt/src/org/riotfamily/revolt/support/ScriptBuilder.java b/revolt/src/org/riotfamily/revolt/support/ScriptBuilder.java
index 54616b372..9f3ee9d85 100644
--- a/revolt/src/org/riotfamily/revolt/support/ScriptBuilder.java
+++ b/revolt/src/org/riotfamily/revolt/support/ScriptBuilder.java
@@ -1,98 +1,98 @@
... | true | true | public Script buildScript() {
script = new Script();
Iterator it = model.getSequences().iterator();
while (it.hasNext()) {
String sequence = (String) it.next();
dialect.createAutoIncrementSequence(sequence);
}
it = model.getTables().iterator();
while (it.hasNext()) {
Table table = (Table) it.next(... | public Script buildScript() {
script = new Script();
Iterator it = model.getSequences().iterator();
while (it.hasNext()) {
String sequence = (String) it.next();
script.append(dialect.createAutoIncrementSequence(sequence));
}
it = model.getTables().iterator();
while (it.hasNext()) {
Table table = (... |
diff --git a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
index 57c4e2a56..bcde1509d 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/Accum... | true | true | public static void init(VolumeManager fs, ServerConfiguration config, String application) throws UnknownHostException {
System.setProperty("org.apache.accumulo.core.application", application);
if (System.getenv("ACCUMULO_LOG_DIR") != null)
System.setProperty("org.apache.accumulo.core.dir.log",... | public static void init(VolumeManager fs, ServerConfiguration config, String application) throws UnknownHostException {
System.setProperty("org.apache.accumulo.core.application", application);
if (System.getenv("ACCUMULO_LOG_DIR") != null)
System.setProperty("org.apache.accumulo.core.dir.log",... |
diff --git a/lucene/src/test/org/apache/lucene/index/TestThreadedForceMerge.java b/lucene/src/test/org/apache/lucene/index/TestThreadedForceMerge.java
index aeb883a8b..520791990 100644
--- a/lucene/src/test/org/apache/lucene/index/TestThreadedForceMerge.java
+++ b/lucene/src/test/org/apache/lucene/index/TestThreadedFor... | true | true | public void runTest(Random random, Directory directory) throws Exception {
IndexWriter writer = new IndexWriter(
directory,
newIndexWriterConfig(TEST_VERSION_CURRENT, ANALYZER).
setOpenMode(OpenMode.CREATE).
setMaxBufferedDocs(2).
setMergePolicy(newLogMergePoli... | public void runTest(Random random, Directory directory) throws Exception {
IndexWriter writer = new IndexWriter(
directory,
newIndexWriterConfig(TEST_VERSION_CURRENT, ANALYZER).
setOpenMode(OpenMode.CREATE).
setMaxBufferedDocs(2).
setMergePolicy(newLogMergePoli... |
diff --git a/frost-wot/source/frost/threads/UpdateIdThread.java b/frost-wot/source/frost/threads/UpdateIdThread.java
index 613bda58..aa7446aa 100644
--- a/frost-wot/source/frost/threads/UpdateIdThread.java
+++ b/frost-wot/source/frost/threads/UpdateIdThread.java
@@ -1,282 +1,290 @@
/*
UpdateIdThread.java / Frost
... | true | true | public void run()
{
notifyThreadStarted(this);
try {
// Wait some random time to speed up the update of the TOF table
// ... and to not to flood the node
int waitTime = (int)(Math.random() * 5000); // wait a max. of 5 seconds between start of threads
mixed.wait(w... | public void run()
{
notifyThreadStarted(this);
try {
// Wait some random time to speed up the update of the TOF table
// ... and to not to flood the node
int waitTime = (int)(Math.random() * 5000); // wait a max. of 5 seconds between start of threads
mixed.wait(w... |
diff --git a/org.eclipse.mylyn.monitor.tests/src/org/eclipse/mylyn/monitor/reports/tests/ContextParsingTest.java b/org.eclipse.mylyn.monitor.tests/src/org/eclipse/mylyn/monitor/reports/tests/ContextParsingTest.java
index ee0cf536..eea91e8a 100644
--- a/org.eclipse.mylyn.monitor.tests/src/org/eclipse/mylyn/monitor/repor... | true | true | public void testInteractionHistoryWithoutDecay() {
ScalingFactors scalingFactors = new ScalingFactors();
// scalingFactors.setDecay(new ScalingFactor("decay", .05f));
MylarContext context = new MylarContext("test", scalingFactors);
int numEvents = 0;
for (InteractionEvent event : events) {
if (SelectionMo... | public void testHistoryParsingWithDecayReset() {
ScalingFactors scalingFactors = new ScalingFactors();
// scalingFactors.setDecay(new ScalingFactor("decay", .05f));
MylarContext context = new MylarContext("test", scalingFactors);
int numEvents = 0;
for (InteractionEvent event : events) {
if (SelectionMoni... |
diff --git a/com.mountainminds.eclemma.ui/src/com/mountainminds/eclemma/internal/ui/coverageview/CoverageView.java b/com.mountainminds.eclemma.ui/src/com/mountainminds/eclemma/internal/ui/coverageview/CoverageView.java
index 7e6f1a2..d19a7d8 100644
--- a/com.mountainminds.eclemma.ui/src/com/mountainminds/eclemma/intern... | true | true | public void createPartControl(Composite parent) {
ContextHelp.setHelp(parent, ContextHelp.COVERAGE_VIEW);
Tree tree = new Tree(parent, SWT.MULTI);
tree.setHeaderVisible(true);
tree.setLinesVisible(true);
viewer = new TreeViewer(tree);
final TreeViewerColumn column0 = new TreeViewerColumn(view... | public void createPartControl(Composite parent) {
ContextHelp.setHelp(parent, ContextHelp.COVERAGE_VIEW);
Tree tree = new Tree(parent, SWT.MULTI);
tree.setHeaderVisible(true);
tree.setLinesVisible(true);
viewer = new TreeViewer(tree);
final TreeViewerColumn column0 = new TreeViewerColumn(view... |
diff --git a/main-src/net/minecraft/src/MAtProcessorFrequent.java b/main-src/net/minecraft/src/MAtProcessorFrequent.java
index 673c0f1..5465b7a 100644
--- a/main-src/net/minecraft/src/MAtProcessorFrequent.java
+++ b/main-src/net/minecraft/src/MAtProcessorFrequent.java
@@ -1,252 +1,252 @@
package net.minecraft.src;
... | true | true | protected void doProcess()
{
Minecraft mc = mod().manager().getMinecraft();
World w = mc.theWorld;
WorldInfo worldinfo = w.worldInfo;
EntityPlayerSP player = mc.thePlayer;
int x = (int) Math.floor(player.posX);
int y = (int) Math.floor(player.posY);
int z = (int) Math.floor(player.posZ);
int mx ... | protected void doProcess()
{
Minecraft mc = mod().manager().getMinecraft();
World w = mc.theWorld;
WorldInfo worldinfo = w.worldInfo;
EntityPlayerSP player = mc.thePlayer;
int x = (int) Math.floor(player.posX);
int y = (int) Math.floor(player.posY);
int z = (int) Math.floor(player.posZ);
int mx ... |
diff --git a/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java b/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java
index 840ef2dc..50eee34f 100755
--- a/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java
+++ b/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java
@@ -1,85 +1,85 @@
/*
* Copyright (c) 2... | true | true | public XmlvmProcess<?> createTargetProcess(Targets target, String out) {
switch (target) {
case JS:
return new JavaScriptOutputProcess(arguments);
case PYTHON:
return new PythonOutputProcess(arguments);
case CPP:
return new CppOutputProcess(argumen... | public XmlvmProcess<?> createTargetProcess(Targets target, String out) {
switch (target) {
case JS:
return new JavaScriptOutputProcess(arguments);
case PYTHON:
return new PythonOutputProcess(arguments);
case CPP:
return new CppOutputProcess(argumen... |
diff --git a/java/src/org/broadinstitute/sting/gatk/walkers/indels/ConstrainedMateFixingManager.java b/java/src/org/broadinstitute/sting/gatk/walkers/indels/ConstrainedMateFixingManager.java
index 75ca976e8..d3e61092c 100755
--- a/java/src/org/broadinstitute/sting/gatk/walkers/indels/ConstrainedMateFixingManager.java
+... | true | true | public void addRead( SAMRecord newRead ) {
if ( DEBUG ) logger.info("New read pos " + newRead.getAlignmentStart() + " OP = " + newRead.getAttribute("OP"));
//final long curTime = timer.currentTime();
//if ( curTime - lastProgressPrintTime > PROGRESS_PRINT_FREQUENCY ) {
// lastPro... | public void addRead( SAMRecord newRead ) {
if ( DEBUG ) logger.info("New read pos " + newRead.getAlignmentStart() + " OP = " + newRead.getAttribute("OP"));
//final long curTime = timer.currentTime();
//if ( curTime - lastProgressPrintTime > PROGRESS_PRINT_FREQUENCY ) {
// lastPro... |
diff --git a/src/org/broad/igv/tools/CoverageCounter.java b/src/org/broad/igv/tools/CoverageCounter.java
index c6e68e8c1..958f163da 100644
--- a/src/org/broad/igv/tools/CoverageCounter.java
+++ b/src/org/broad/igv/tools/CoverageCounter.java
@@ -1,772 +1,772 @@
/*
* Copyright (c) 2007-2011 by The Broad Institute of M... | false | true | public synchronized void parse() throws IOException {
int maxExtFactor = Math.max(extFactor, Math.max(preExtFactor, postExtFactor));
int tolerance = (int) (windowSize * (Math.floor(maxExtFactor / windowSize) + 2));
consumer.setSortTolerance(tolerance);
AlignmentReader reader = nul... | public synchronized void parse() throws IOException {
int maxExtFactor = Math.max(extFactor, Math.max(preExtFactor, postExtFactor));
int tolerance = (int) (windowSize * (Math.floor(maxExtFactor / windowSize) + 2));
consumer.setSortTolerance(tolerance);
AlignmentReader reader = nul... |
diff --git a/src/main/java/com/onarandombox/MultiverseNetherPortals/listeners/MVNPPlayerListener.java b/src/main/java/com/onarandombox/MultiverseNetherPortals/listeners/MVNPPlayerListener.java
index 7fe46fc..43dc863 100644
--- a/src/main/java/com/onarandombox/MultiverseNetherPortals/listeners/MVNPPlayerListener.java
++... | true | true | public void onPlayerPortal(PlayerPortalEvent event) {
if (event.isCancelled()) {
this.plugin.log(Level.FINEST, "PlayerPortalEvent was cancelled! NOT teleporting!");
return;
}
Location originalTo = event.getTo();
if (originalTo != null) {
originalTo... | public void onPlayerPortal(PlayerPortalEvent event) {
if (event.isCancelled()) {
this.plugin.log(Level.FINEST, "PlayerPortalEvent was cancelled! NOT teleporting!");
return;
}
Location originalTo = event.getTo();
if (originalTo != null) {
originalTo... |
diff --git a/framework/src/test/java/org/papoose/framework/launch/PapooseFrameworkFactoryTest.java b/framework/src/test/java/org/papoose/framework/launch/PapooseFrameworkFactoryTest.java
index bfdb0d2..26fafce 100644
--- a/framework/src/test/java/org/papoose/framework/launch/PapooseFrameworkFactoryTest.java
+++ b/frame... | true | true | public void test() throws Exception
{
Map<String, String> configuration = new HashMap<String, String>();
configuration.put(Constants.FRAMEWORK_STORAGE, "targets/papoose");
FrameworkFactory factory = new PapooseFrameworkFactory();
final Framework framework = factory.newFramework(... | public void test() throws Exception
{
Map<String, String> configuration = new HashMap<String, String>();
configuration.put(Constants.FRAMEWORK_STORAGE, "target/papoose");
FrameworkFactory factory = new PapooseFrameworkFactory();
final Framework framework = factory.newFramework(c... |
diff --git a/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/ConfigurationGenerator.java b/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/ConfigurationGenerator.java
index a0004972..eb4cab99 100644
--- a/nuxeo-launcher-commons/src/main/java/org/nuxeo/launcher/config/ConfigurationGenerator... | false | true | private StringBuffer loadConfiguration(Map<String, String> changedParameters)
throws ConfigurationException {
String wizardParam = null, templatesParam = null;
Integer generationIndex = null, wizardIndex = null, templatesIndex = null;
if (changedParameters != null) {
... | private StringBuffer loadConfiguration(Map<String, String> changedParameters)
throws ConfigurationException {
String wizardParam = null, templatesParam = null;
Integer generationIndex = null, wizardIndex = null, templatesIndex = null;
if (changedParameters != null) {
... |
diff --git a/bpm/bonita-synchro-repository/bonita-synchro-jms/src/main/java/org/bonitasoft/engine/synchro/jms/TaskReadyHandler.java b/bpm/bonita-synchro-repository/bonita-synchro-jms/src/main/java/org/bonitasoft/engine/synchro/jms/TaskReadyHandler.java
index 177a34c973..e297733b19 100644
--- a/bpm/bonita-synchro-reposi... | true | true | public boolean isInterested(final SEvent event) {
// the !isStateExecuting avoid having 2 times the same event in case of execution of e.g. connectors
if (event.getObject() instanceof SFlowNodeInstance) {
final SFlowNodeInstance fni = (SFlowNodeInstance) event.getObject();
boolean intereste... | public boolean isInterested(final SEvent event) {
// the !isStateExecuting avoid having 2 times the same event in case of execution of e.g. connectors
if (event.getObject() instanceof SFlowNodeInstance) {
final SFlowNodeInstance fni = (SFlowNodeInstance) event.getObject();
boolean intereste... |
diff --git a/nexus/nexus-api/src/main/java/org/sonatype/nexus/proxy/item/DefaultRepositoryItemUid.java b/nexus/nexus-api/src/main/java/org/sonatype/nexus/proxy/item/DefaultRepositoryItemUid.java
index 428d4a603..a5b5baf3b 100644
--- a/nexus/nexus-api/src/main/java/org/sonatype/nexus/proxy/item/DefaultRepositoryItemUid.... | true | true | protected void doLock( Action action, String lockKey, ReentrantReadWriteLock rwLock )
{
// we always go from "weaker" to "stronger" lock (read is shared, while write is exclusive lock)
// because of Nexus nature (wrong nature?), the calls are heavily boxed, hence a thread once acquired write
... | protected void doLock( Action action, String lockKey, ReentrantReadWriteLock rwLock )
{
// we always go from "weaker" to "stronger" lock (read is shared, while write is exclusive lock)
// because of Nexus nature (wrong nature?), the calls are heavily boxed, hence a thread once acquired write
... |
diff --git a/src/com/digitallizard/bbcnewsreader/data/DatabaseHandler.java b/src/com/digitallizard/bbcnewsreader/data/DatabaseHandler.java
index df19eab..5d01262 100644
--- a/src/com/digitallizard/bbcnewsreader/data/DatabaseHandler.java
+++ b/src/com/digitallizard/bbcnewsreader/data/DatabaseHandler.java
@@ -1,527 +1,52... | false | true | public Integer[][] getUndownloaded(int days) {
Date now = new Date();
long curTime = now.getTime();
long timeComparison = curTime - 86400000L * days;
String timeComparisonS = Long.toString(timeComparison);
Cursor cursorArticles = db.query(ITEM_TABLE, new String[] { "item_Id" }, "html IS NULL AND pubdate>?... | public Integer[][] getUndownloaded(int days) {
Date now = new Date();
long curTime = now.getTime();
long timeComparison = curTime - 86400000L * days;
String timeComparisonS = Long.toString(timeComparison);
Cursor cursorArticles = db.query(ITEM_TABLE, new String[] { "item_Id" }, "html IS NULL AND pubdate>?... |
diff --git a/src/main/java/lcmc/gui/dialog/drbdConfig/CreateFS.java b/src/main/java/lcmc/gui/dialog/drbdConfig/CreateFS.java
index 37490c83..51a04b4b 100644
--- a/src/main/java/lcmc/gui/dialog/drbdConfig/CreateFS.java
+++ b/src/main/java/lcmc/gui/dialog/drbdConfig/CreateFS.java
@@ -1,422 +1,422 @@
/*
* This file is ... | false | true | protected JComponent getInputPane() {
makeFsButton.setEnabled(false);
final JPanel pane = new JPanel(new SpringLayout());
final JPanel inputPane = new JPanel(new SpringLayout());
/* host */
final Value[] hosts = new Value[3];
hosts[0] = NO_HOST_STRING;
int i ... | protected JComponent getInputPane() {
makeFsButton.setEnabled(false);
final JPanel pane = new JPanel(new SpringLayout());
final JPanel inputPane = new JPanel(new SpringLayout());
/* host */
final Value[] hosts = new Value[3];
hosts[0] = NO_HOST_STRING;
int i ... |
diff --git a/app/src/main/java/org/xbmc/android/app/ui/fragment/AlbumCompactFragment.java b/app/src/main/java/org/xbmc/android/app/ui/fragment/AlbumCompactFragment.java
index e511811..3449b7f 100644
--- a/app/src/main/java/org/xbmc/android/app/ui/fragment/AlbumCompactFragment.java
+++ b/app/src/main/java/org/xbmc/andro... | true | true | public void bindView(View view, Context context, Cursor cursor) {
final TextView titleView = (TextView) view.findViewById(R.id.title_album);
final TextView subtitleView = (TextView) view.findViewById(R.id.title_artist);
final ImageView imageView = (ImageView) view.findViewById(R.id.list_album_cover);
try ... | public void bindView(View view, Context context, Cursor cursor) {
final TextView titleView = (TextView) view.findViewById(R.id.album);
final TextView subtitleView = (TextView) view.findViewById(R.id.artist);
final ImageView imageView = (ImageView) view.findViewById(R.id.list_album_cover);
try {
final ... |
diff --git a/src/com/fourisland/frigidearth/MapViewGameState.java b/src/com/fourisland/frigidearth/MapViewGameState.java
index 5e16219..65bfbe7 100644
--- a/src/com/fourisland/frigidearth/MapViewGameState.java
+++ b/src/com/fourisland/frigidearth/MapViewGameState.java
@@ -1,926 +1,926 @@
/*
* To change this template... | true | true | public MapViewGameState()
{
grid = new Tile[MAP_WIDTH][MAP_HEIGHT];
gridLighting = new boolean[MAP_WIDTH][MAP_HEIGHT];
for (int x=0; x<MAP_WIDTH; x++)
{
for (int y=0; y<MAP_HEIGHT; y++)
{
if ((x == 0) || (x == MAP_WIDTH-1) || (y ==... | public MapViewGameState()
{
grid = new Tile[MAP_WIDTH][MAP_HEIGHT];
gridLighting = new boolean[MAP_WIDTH][MAP_HEIGHT];
for (int x=0; x<MAP_WIDTH; x++)
{
for (int y=0; y<MAP_HEIGHT; y++)
{
if ((x == 0) || (x == MAP_WIDTH-1) || (y ==... |
diff --git a/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryService.java b/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryService.java
index 9e79910bf2..247f316122 100644
--- a/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryService.java
+++ b/core/src/main/... | true | true | private boolean createBootstrapEntries() throws NamingException
{
boolean firstStart = false;
// -------------------------------------------------------------------
// create admin entry
// -------------------------------------------------------------------
/*
... | private boolean createBootstrapEntries() throws NamingException
{
boolean firstStart = false;
// -------------------------------------------------------------------
// create admin entry
// -------------------------------------------------------------------
/*
... |
diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java
index 37a71b03..c669e339 100644
--- a/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java
+++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTas... | true | true | public void execute()
throws BuildException
{
// Check for no arguments
if ((mFileName == null) && (mFileSets.size() == 0)) {
throw new BuildException("Must specify atleast one of 'file' " +
"or nested 'fileset'.", location);
}
... | public void execute()
throws BuildException
{
// Check for no arguments
if ((mFileName == null) && (mFileSets.size() == 0)) {
throw new BuildException("Must specify atleast one of 'file' " +
"or nested 'fileset'.", location);
}
... |
diff --git a/web/src/sirius/web/http/MimeHelper.java b/web/src/sirius/web/http/MimeHelper.java
index c3c900e..c197ad6 100644
--- a/web/src/sirius/web/http/MimeHelper.java
+++ b/web/src/sirius/web/http/MimeHelper.java
@@ -1,282 +1,282 @@
/*
* Made with all the love in the world
* by scireum in Remshalden, Germany
... | true | true | public static String guessMimeType(String name) {
if (Strings.isEmpty(name)) {
return null;
}
// Fast lookup for common types....
if (name.charAt(name.length() - 4) == '.') {
String ending = name.substring(name.length() - 3).toLowerCase().intern();
... | public static String guessMimeType(String name) {
if (Strings.isEmpty(name)) {
return null;
}
// Fast lookup for common types....
if (name.length() >= 4 && name.charAt(name.length() - 4) == '.') {
String ending = name.substring(name.length() - 3).toLowerCase()... |
diff --git a/src/main/java/com/sk89q/worldguard/bukkit/FlagStateManager.java b/src/main/java/com/sk89q/worldguard/bukkit/FlagStateManager.java
index 1c47cc3e..f59793f4 100644
--- a/src/main/java/com/sk89q/worldguard/bukkit/FlagStateManager.java
+++ b/src/main/java/com/sk89q/worldguard/bukkit/FlagStateManager.java
@@ -1... | true | true | private void processHeal(ApplicableRegionSet applicable, Player player,
PlayerFlagState state) {
if (player.getHealth() <= 0) {
return;
}
long now = System.currentTimeMillis();
Integer healAmount = applicable.getFlag(DefaultFlag.HEAL_AMOUNT);
Intege... | private void processHeal(ApplicableRegionSet applicable, Player player,
PlayerFlagState state) {
if (player.getHealth() <= 0) {
return;
}
long now = System.currentTimeMillis();
Integer healAmount = applicable.getFlag(DefaultFlag.HEAL_AMOUNT);
Intege... |
diff --git a/src/main/java/com/adrguides/LoadActivity.java b/src/main/java/com/adrguides/LoadActivity.java
index 9981f24..ed83cd4 100644
--- a/src/main/java/com/adrguides/LoadActivity.java
+++ b/src/main/java/com/adrguides/LoadActivity.java
@@ -1,61 +1,61 @@
// Guidebook is an Android application that reads aud... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
FragmentManager fm = getFragmentManager();
LoadGuideFragment loadguide = (LoadGuideFragment) fm.findFragmentByTag(LoadGuideFragment.TAG);
if (loadguide == null) {
// Calculate rezize... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
FragmentManager fm = getFragmentManager();
LoadGuideFragment loadguide = (LoadGuideFragment) fm.findFragmentByTag(LoadGuideFragment.TAG);
if (loadguide == null) {
// Calculate rezize... |
diff --git a/processor-core/src/main/java/de/plushnikov/intellij/lombok/processor/SynchronizedProcessor.java b/processor-core/src/main/java/de/plushnikov/intellij/lombok/processor/SynchronizedProcessor.java
index e720fb7..eb97f73 100644
--- a/processor-core/src/main/java/de/plushnikov/intellij/lombok/processor/Synchron... | true | true | public Collection<LombokProblem> verifyAnnotation(@NotNull PsiAnnotation psiAnnotation) {
Collection<LombokProblem> result = new ArrayList<LombokProblem>(2);
final ProblemNewBuilder problemNewBuilder = new ProblemNewBuilder(result);
PsiMethod psiMethod = PsiTreeUtil.getParentOfType(psiAnnotation, PsiMet... | public Collection<LombokProblem> verifyAnnotation(@NotNull PsiAnnotation psiAnnotation) {
Collection<LombokProblem> result = new ArrayList<LombokProblem>(2);
final ProblemNewBuilder problemNewBuilder = new ProblemNewBuilder(result);
PsiMethod psiMethod = PsiTreeUtil.getParentOfType(psiAnnotation, PsiMet... |
diff --git a/freeplane/src/org/freeplane/core/resources/components/ComboProperty.java b/freeplane/src/org/freeplane/core/resources/components/ComboProperty.java
index 46cd87ae8..8a27d4080 100644
--- a/freeplane/src/org/freeplane/core/resources/components/ComboProperty.java
+++ b/freeplane/src/org/freeplane/core/resourc... | true | true | public void setValue(final String value) {
if (possibleValues.contains(value)) {
mComboBox.setSelectedIndex(possibleValues.indexOf(value));
}
else if(mComboBox.isEditable()){
mComboBox.setSelectedItem(value);
}
else{
LogUtils.severe("Can't set the value:" + value + " into the combo box " + getName()... | public void setValue(final String value) {
if (possibleValues.contains(value)) {
mComboBox.setSelectedIndex(possibleValues.indexOf(value));
}
else if(mComboBox.isEditable()){
mComboBox.setSelectedItem(value);
}
else{
LogUtils.info("Can't set the value:" + value + " into the combo box " + getName() +... |
diff --git a/src/test/java/com/greatmancode/tools/DatabaseTest.java b/src/test/java/com/greatmancode/tools/DatabaseTest.java
index 220fe54..a7e4f6f 100644
--- a/src/test/java/com/greatmancode/tools/DatabaseTest.java
+++ b/src/test/java/com/greatmancode/tools/DatabaseTest.java
@@ -1,51 +1,51 @@
/*
* This file is part... | true | true | public void test() throws URISyntaxException, InvalidDatabaseConstructor, TableRegistrationException, ConnectionException {
DatabaseManager dbManager = new DatabaseManager(DatabaseType.SQLite, "test_", new File(new File(ConfigurationTest.class.getProtectionDomain().getCodeSource().getLocation().toURI()), "testConfig... | public void test() throws URISyntaxException, InvalidDatabaseConstructor, TableRegistrationException, ConnectionException {
DatabaseManager dbManager = new DatabaseManager(DatabaseType.SQLITE, "test_", new File(new File(ConfigurationTest.class.getProtectionDomain().getCodeSource().getLocation().toURI()), "testConfig... |
diff --git a/src/org/dita/dost/util/Job.java b/src/org/dita/dost/util/Job.java
index 42d376e5f..ecda9e4c0 100644
--- a/src/org/dita/dost/util/Job.java
+++ b/src/org/dita/dost/util/Job.java
@@ -1,198 +1,198 @@
/*
* This file is part of the DITA Open Toolkit project hosted on
* Sourceforge.net. See the accompanying ... | false | true | public void write() throws IOException {
FileOutputStream propertiesOutputStream = null;
try {
propertiesOutputStream = new FileOutputStream(new File(tempDir, FILE_NAME_DITA_LIST));
prop.store(propertiesOutputStream, null);
propertiesOutputStream.flush();
... | public void write() throws IOException {
FileOutputStream propertiesOutputStream = null;
try {
propertiesOutputStream = new FileOutputStream(new File(tempDir, FILE_NAME_DITA_LIST));
prop.store(propertiesOutputStream, null);
propertiesOutputStream.flush();
... |
diff --git a/src/simpleserver/command/GameModeCommand.java b/src/simpleserver/command/GameModeCommand.java
index fe1e765..f785baf 100644
--- a/src/simpleserver/command/GameModeCommand.java
+++ b/src/simpleserver/command/GameModeCommand.java
@@ -1,59 +1,64 @@
/*
* Copyright (c) 2010 SimpleServer authors (see CONTRIBU... | false | true | public void execute(Player player, String message) {
String[] args = extractArguments(message);
Player target;
Integer gameMode;
if (args.length == 1) {
target = player;
gameMode = Integer.parseInt(args[0]);
} else if (args.length == 2) {
target = player.getServer().findPlayer(a... | public void execute(Player player, String message) {
String[] args = extractArguments(message);
Player target;
Integer gameMode;
try {
if (args.length == 1) {
target = player;
gameMode = Integer.parseInt(args[0]);
} else if (args.length == 2) {
target = player.getS... |
diff --git a/src/java/se/idega/idegaweb/commune/accounting/presentation/AccountingBlock.java b/src/java/se/idega/idegaweb/commune/accounting/presentation/AccountingBlock.java
index 0f315441..90166787 100644
--- a/src/java/se/idega/idegaweb/commune/accounting/presentation/AccountingBlock.java
+++ b/src/java/se/idega/ide... | true | true | protected Date parseDate(String dateString) {
if (dateString == null) {
return null;
}
SimpleDateFormat formatter = null;
ParsePosition pos = null;
java.util.Date d = null;
String s = dateString.trim();
Date date = null;
if ((d == null) && (s.length() == 4)) {
pos = new ParsePosition(0);
... | protected Date parseDate(String dateString) {
if (dateString == null) {
return null;
}
SimpleDateFormat formatter = null;
ParsePosition pos = null;
java.util.Date d = null;
String s = dateString.trim();
Date date = null;
if ((d == null) && (s.length() == 4)) {
s = "20" + s;
// pos = new P... |
diff --git a/WordWrap/src/com/WordWrap/WordWrapTests.java b/WordWrap/src/com/WordWrap/WordWrapTests.java
index f145301..fb072ee 100644
--- a/WordWrap/src/com/WordWrap/WordWrapTests.java
+++ b/WordWrap/src/com/WordWrap/WordWrapTests.java
@@ -1,14 +1,14 @@
package com.WordWrap;
import static org.junit.Assert.*;
im... | true | true | public void Test(){
assertTrue(false);
}
| public void Test(){
assertTrue(true);
}
|
diff --git a/src/com/android/mms/transaction/SmsSingleRecipientSender.java b/src/com/android/mms/transaction/SmsSingleRecipientSender.java
index 42d8ad6b..40866d8a 100644
--- a/src/com/android/mms/transaction/SmsSingleRecipientSender.java
+++ b/src/com/android/mms/transaction/SmsSingleRecipientSender.java
@@ -1,128 +1,... | false | true | public boolean sendMessage(long token) throws MmsException {
if (LogTag.DEBUG_SEND) {
Log.v(TAG, "sendMessage token: " + token);
}
if (mMessageText == null) {
// Don't try to send an empty message, and destination should be just
// one.
throw n... | public boolean sendMessage(long token) throws MmsException {
if (LogTag.DEBUG_SEND) {
Log.v(TAG, "sendMessage token: " + token);
}
if (mMessageText == null) {
// Don't try to send an empty message, and destination should be just
// one.
throw n... |
diff --git a/kai2/src/edu/hawaii/ihale/housesimulator/aquaponics/AquaponicsData.java b/kai2/src/edu/hawaii/ihale/housesimulator/aquaponics/AquaponicsData.java
index e3454db..16b1157 100644
--- a/kai2/src/edu/hawaii/ihale/housesimulator/aquaponics/AquaponicsData.java
+++ b/kai2/src/edu/hawaii/ihale/housesimulator/aquapo... | false | true | public static void modifySystemState() {
// Print system state values.
final String desired = " (Desired: "; // PMD pickiness
final String required = " (Required: "; // PMD pickiness
System.out.println("----------------------");
System.out.println("System: Aquaponics");
System.out.println("Al... | public static void modifySystemState() {
// Print system state values.
final String desired = " (Desired: "; // PMD pickiness
final String required = " (Required: "; // PMD pickiness
System.out.println("----------------------");
System.out.println("System: Aquaponics");
System.out.println("Al... |
diff --git a/stratosphere-addons/hadoop-compatibility/src/main/java/eu/stratosphere/hadoopcompat/datatypes/WritableWrapper.java b/stratosphere-addons/hadoop-compatibility/src/main/java/eu/stratosphere/hadoopcompat/datatypes/WritableWrapper.java
index 61011d097..1de44ceda 100644
--- a/stratosphere-addons/hadoop-compatib... | true | true | public void read(DataInput in) throws IOException {
wrappedType = in.readUTF();
try {
Class wrClass = Class.forName(wrappedType);
wrapped = InstantiationUtil.instantiate(wrClass, Writable.class);
} catch (ClassNotFoundException e) {
throw new RuntimeException("Error cerating the WritableWrapper");
}
... | public void read(DataInput in) throws IOException {
wrappedType = in.readUTF();
try {
Class wrClass = Class.forName(wrappedType);
wrapped = (Writable) InstantiationUtil.instantiate(wrClass, Writable.class);
} catch (ClassNotFoundException e) {
throw new RuntimeException("Error cerating the WritableWrapp... |
diff --git a/BLCMiner/src/net/mohatu/bloocoin/miner/MinerClass.java b/BLCMiner/src/net/mohatu/bloocoin/miner/MinerClass.java
index 1cf9a59..133c8d3 100644
--- a/BLCMiner/src/net/mohatu/bloocoin/miner/MinerClass.java
+++ b/BLCMiner/src/net/mohatu/bloocoin/miner/MinerClass.java
@@ -1,97 +1,97 @@
/*
* Copyright (C) 2013... | false | true | public void mine() throws NoSuchAlgorithmException {
String startString = randomString();
String currentString;
MessageDigest md = MessageDigest.getInstance("SHA-512");
StringBuffer sb;
for (int counter = 0; counter < 999999999; counter++) {
while (MainView.getStatus()) {
MainView.updateCounter();
... | public void mine() throws NoSuchAlgorithmException {
String startString = randomString();
String currentString;
MessageDigest md = MessageDigest.getInstance("SHA-512");
StringBuffer sb;
while (MainView.getStatus()) {
for (int counter = 0; counter < 999999999; counter++) {
MainView.updateCounter();
... |
diff --git a/src/com/orangeleap/tangerine/web/common/TangerineCustomDateEditor.java b/src/com/orangeleap/tangerine/web/common/TangerineCustomDateEditor.java
index f7b5f106..9dead8ef 100644
--- a/src/com/orangeleap/tangerine/web/common/TangerineCustomDateEditor.java
+++ b/src/com/orangeleap/tangerine/web/common/Tangerin... | true | true | public void setAsText(String text) throws IllegalArgumentException {
try {
super.setAsText(text);
} catch(IllegalArgumentException ex) {
try {
// need to add a year component if
Date d = this.alternateDateFormat.parse(text);
Calendar now =... | public void setAsText(String text) throws IllegalArgumentException {
try {
super.setAsText(text);
} catch(IllegalArgumentException ex) {
try {
// need to add a year component if
Date d = this.alternateDateFormat.parse(text);
Calendar now =... |
diff --git a/src/android2iphone/android/view/LayoutInflater.java b/src/android2iphone/android/view/LayoutInflater.java
index eff556ec..7c0d9cc2 100644
--- a/src/android2iphone/android/view/LayoutInflater.java
+++ b/src/android2iphone/android/view/LayoutInflater.java
@@ -1,62 +1,64 @@
/*
* Copyright (c) 2004-2009 XML... | false | true | public View inflate(int resource, ViewGroup root, boolean attachToRoot)
throws InflateException {
View v = LayoutManager.getLayout(context, resource);
if (v == null) {
throw new InflateException("Unable to inflate layout: " + resource);
}
if (root != null) {
... | public View inflate(int resource, ViewGroup root, boolean attachToRoot)
throws InflateException {
View v = LayoutManager.getLayout(context, resource);
if (v == null) {
throw new InflateException("Unable to inflate layout: " + resource);
}
if (root != null) {
... |
diff --git a/src/KingPiece.java b/src/KingPiece.java
index f01ea40..171959f 100644
--- a/src/KingPiece.java
+++ b/src/KingPiece.java
@@ -1,66 +1,66 @@
public class KingPiece extends Piece{
public KingPiece(Board board,boolean white, int xCord, int yCord, Piece[][] pieceBoard, boolean[][]whiteMoves, boolean[]... | true | true | public void setMoves()
{
int cVal = getColorValueKing();
for(int y=-1; y<2; y++)
{
for(int x=-1; x<2; x++)
{
if(isValid(xCord+x,yCord+y)&&(!sameColor(xCord+x, yCord+y)||isEmpty(xCord+x,yCord+y)))
{
if((white && !blackMoves[xCord+x][yCord+y]) || (!white && !whiteMoves[xCord+x][yCord+y]))... | public void setMoves()
{
int cVal = getColorValueKing();
for(int y=-1; y<2; y++)
{
for(int x=-1; x<2; x++)
{
if(isValid(xCord+x,yCord+y)&&(!sameColor(xCord+x, yCord+y)||isEmpty(xCord+x,yCord+y)))
{
if((white && !blackMoves[xCord+x][yCord+y]) || (!white && !whiteMoves[xCord+x][yCord+y]))... |
diff --git a/query/src/test/java/org/infinispan/query/blackbox/LocalCacheTest.java b/query/src/test/java/org/infinispan/query/blackbox/LocalCacheTest.java
index 9a346a4403..95541ecb7b 100644
--- a/query/src/test/java/org/infinispan/query/blackbox/LocalCacheTest.java
+++ b/query/src/test/java/org/infinispan/query/blackb... | true | true | public void setUp() throws Exception {
cache = createCacheManager().getCache();
qh = TestQueryHelperFactory.createTestQueryHelperInstance(cache, Person.class);
person1 = new Person();
person1.setName("Navin Surtani");
person1.setBlurb("Likes playing WoW");
person2 = new Person(... | public void setUp() throws Exception {
cache = cacheManager.getCache();
qh = TestQueryHelperFactory.createTestQueryHelperInstance(cache, Person.class);
person1 = new Person();
person1.setName("Navin Surtani");
person1.setBlurb("Likes playing WoW");
person2 = new Person();
... |
diff --git a/Poker/src/poker/arturka/Game.java b/Poker/src/poker/arturka/Game.java
index 1b989f4..10a0bfd 100644
--- a/Poker/src/poker/arturka/Game.java
+++ b/Poker/src/poker/arturka/Game.java
@@ -1,300 +1,300 @@
package poker.arturka;
import commands.*;
import message.data.*;
import poker.server.Room;
import po... | true | true | public void run() {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
System.out.println("Game thread started");
// for(int id: Room.getUsers()){
// players.addPlayer(id);
// }
players.getDeale... | public void run() {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
System.out.println("Game thread started");
// for(int id: Room.getUsers()){
// players.addPlayer(id);
// }
players.getDeale... |
diff --git a/gxt3-miglayout/src/main/java/net/miginfocom/layout/gxt3/GxtContainerWrapper.java b/gxt3-miglayout/src/main/java/net/miginfocom/layout/gxt3/GxtContainerWrapper.java
index d2c7db5..9596600 100644
--- a/gxt3-miglayout/src/main/java/net/miginfocom/layout/gxt3/GxtContainerWrapper.java
+++ b/gxt3-miglayout/src/m... | true | true | void paintDebug(int x, int y, int width, int height, String color) {
XElement overlay = XElement.createElement("div");
Style style = overlay.getStyle();
style.setPosition(Position.ABSOLUTE);
style.setBorderColor(color);
style.setBorderStyle(BorderStyle.DASHED);
style.setBorderWidth(1, Unit.PX);
style.set... | void paintDebug(int x, int y, int width, int height, String color) {
XElement overlay = XElement.createElement("div");
Style style = overlay.getStyle();
style.setPosition(Position.ABSOLUTE);
style.setBorderColor(color);
style.setBorderStyle(BorderStyle.DASHED);
style.setBorderWidth(1, Unit.PX);
style.set... |
diff --git a/src/main/java/com/twobytes/util/DocRunningUtil.java b/src/main/java/com/twobytes/util/DocRunningUtil.java
index 989e421..afffee5 100644
--- a/src/main/java/com/twobytes/util/DocRunningUtil.java
+++ b/src/main/java/com/twobytes/util/DocRunningUtil.java
@@ -1,113 +1,113 @@
package com.twobytes.util;
impo... | true | true | public String genDoc(String document){
if(document.equals("SO")){
Calendar now = Calendar.getInstance(new Locale ( "US" ));
String docNo = "";
Integer nMonth = now.get(Calendar.MONTH) + 1;
Integer nYear = now.get(Calendar.YEAR);
Integer nDate = now.get(Calendar.DATE);
DocRunning docRunning = docRun... | public String genDoc(String document){
if(document.equals("SO")){
Calendar now = Calendar.getInstance(new Locale ( "US" ));
String docNo = "";
Integer nMonth = now.get(Calendar.MONTH) + 1;
Integer nYear = now.get(Calendar.YEAR);
Integer nDate = now.get(Calendar.DATE);
DocRunning docRunning = docRun... |
diff --git a/webmacro/src/org/webmacro/resource/DelegatingTemplateProvider.java b/webmacro/src/org/webmacro/resource/DelegatingTemplateProvider.java
index 09b9fefc..a34601af 100755
--- a/webmacro/src/org/webmacro/resource/DelegatingTemplateProvider.java
+++ b/webmacro/src/org/webmacro/resource/DelegatingTemplateProvide... | true | true | public void init(Broker broker,Settings config) throws InitException {
super.init(broker,config);
this.broker = broker;
log = broker.getLog("resource","DelegatingTemplateProvider");
String factoryClass = config.getSetting("TemplateLoaderFactory","");
log.info("DelegatingTemp... | public void init(Broker broker,Settings config) throws InitException {
super.init(broker,config);
this.broker = broker;
log = broker.getLog("resource","DelegatingTemplateProvider");
String factoryClass = config.getSetting("TemplateLoaderFactory","");
log.info("DelegatingTemp... |
diff --git a/src/main/java/ru/tehkode/permissions/backends/FileBackend.java b/src/main/java/ru/tehkode/permissions/backends/FileBackend.java
index 261858a..c81d10c 100644
--- a/src/main/java/ru/tehkode/permissions/backends/FileBackend.java
+++ b/src/main/java/ru/tehkode/permissions/backends/FileBackend.java
@@ -1,431 +... | true | true | public void dumpData(OutputStreamWriter writer) throws IOException {
DumperOptions options = new DumperOptions();
options.setIndent(4);
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
Yaml yaml = new Yaml(new SafeConstructor(), new Representer(), options);
Confi... | public void dumpData(OutputStreamWriter writer) throws IOException {
DumperOptions options = new DumperOptions();
options.setIndent(4);
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
Yaml yaml = new Yaml(new SafeConstructor(), new Representer(), options);
Confi... |
diff --git a/bgBanking/src/eu/masconsult/bgbanking/activity/HomeActivity.java b/bgBanking/src/eu/masconsult/bgbanking/activity/HomeActivity.java
index f43bee7..429103c 100644
--- a/bgBanking/src/eu/masconsult/bgbanking/activity/HomeActivity.java
+++ b/bgBanking/src/eu/masconsult/bgbanking/activity/HomeActivity.java
@@ ... | true | true | public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
MenuItem addAccountItem = menu.add("Add account");
addAccountItem.setIcon(R.drawable.ic_menu_add);
addAccountItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
addAccountItem.setOnMenuItemClic... | public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
MenuItem addAccountItem = menu.add("Add account");
addAccountItem.setIcon(R.drawable.ic_menu_add);
addAccountItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
addAccountItem.setOnMenuItemCl... |
diff --git a/com.hilotec.elexis.kgview/src/com/hilotec/elexis/kgview/medikarte/MedikarteHelpers.java b/com.hilotec.elexis.kgview/src/com/hilotec/elexis/kgview/medikarte/MedikarteHelpers.java
index 2e71076..9c81289 100644
--- a/com.hilotec.elexis.kgview/src/com/hilotec/elexis/kgview/medikarte/MedikarteHelpers.java
+++ b... | false | true | public static List<Prescription> medikarteMedikation(
Patient patient, boolean alle, boolean geloescht)
{
Query<Prescription> qbe = new Query<Prescription>(Prescription.class);
// FIXME: sollte mit executed with deleted gehen
if (geloescht) {
boolean sd = PersistentObject.isShowDeleted();
PersistentOb... | public static List<Prescription> medikarteMedikation(
Patient patient, boolean alle, boolean geloescht)
{
Query<Prescription> qbe = new Query<Prescription>(Prescription.class);
// FIXME: sollte mit executed with deleted gehen
if (geloescht) {
qbe.clear();
}
qbe.add(Prescription.PATIENT_ID, Query.EQU... |
diff --git a/wallet/src/de/schildbach/wallet/litecoin/service/BlockchainServiceImpl.java b/wallet/src/de/schildbach/wallet/litecoin/service/BlockchainServiceImpl.java
index c38f4af..5ab7668 100644
--- a/wallet/src/de/schildbach/wallet/litecoin/service/BlockchainServiceImpl.java
+++ b/wallet/src/de/schildbach/wallet/lit... | true | true | private void check()
{
final Wallet wallet = application.getWallet();
final boolean hasEverything = hasConnectivity && hasPower && hasStorage;
if (hasEverything && peerGroup == null)
{
Log.d(TAG, "acquiring wakelock");
wakeLock.acquire();
Log.i(TAG, "starting peergroup");
peerGroup = n... | private void check()
{
final Wallet wallet = application.getWallet();
final boolean hasEverything = hasConnectivity && hasPower && hasStorage;
if (hasEverything && peerGroup == null)
{
Log.d(TAG, "acquiring wakelock");
wakeLock.acquire();
Log.i(TAG, "starting peergroup");
peerGroup = n... |
diff --git a/user/test/com/google/gwt/user/cellview/client/AbstractHasDataTestBase.java b/user/test/com/google/gwt/user/cellview/client/AbstractHasDataTestBase.java
index ea33ea75c..31b9c33e8 100644
--- a/user/test/com/google/gwt/user/cellview/client/AbstractHasDataTestBase.java
+++ b/user/test/com/google/gwt/user/cell... | true | true | public void testSetTabIndex() {
// Skip this test on Safari 3 because it does not support focusable divs.
String userAgent = Window.Navigator.getUserAgent();
if (userAgent.contains("Safari")) {
RegExp versionRegExp = RegExp.compile("Version/[0-3]", "ig");
MatchResult result = versionRegExp.exe... | public void testSetTabIndex() {
// Skip this test on Safari 3 because it does not support focusable divs.
String userAgent = Window.Navigator.getUserAgent();
if (userAgent.contains("Safari")) {
RegExp versionRegExp = RegExp.compile("Version/[0-3]", "ig");
MatchResult result = versionRegExp.exe... |
diff --git a/src/main/java/com/atlassian/example/reviewcreator/CommitListener.java b/src/main/java/com/atlassian/example/reviewcreator/CommitListener.java
index 678ef6f..9ec3356 100644
--- a/src/main/java/com/atlassian/example/reviewcreator/CommitListener.java
+++ b/src/main/java/com/atlassian/example/reviewcreator/Com... | false | true | public void handleEvent(Event event) {
final CommitEvent commit = (CommitEvent) event;
if (isPluginEnabled()) {
try {
// switch to admin user so we can access all projects and API services:
impersonator.doAsUser(null, config.loadRunAsUser(),
... | public void handleEvent(Event event) {
final CommitEvent commit = (CommitEvent) event;
if (isPluginEnabled()) {
try {
// switch to admin user so we can access all projects and API services:
impersonator.doAsUser(null, config.loadRunAsUser(),
... |
diff --git a/myForg/src/com/example/myforg/MainActivity.java b/myForg/src/com/example/myforg/MainActivity.java
index ffe5baa..c08cb43 100644
--- a/myForg/src/com/example/myforg/MainActivity.java
+++ b/myForg/src/com/example/myforg/MainActivity.java
@@ -1,207 +1,208 @@
package com.example.myforg;
import java.util.Ha... | false | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
sp = new SoundPool(2, AudioManager.STREAM_SYSTEM, 0);
spMap = new HashMap<Integer, Integer>();
spMap.put(1, sp.load(this, R.raw.clap, 1));
totalCount = (TextView) findViewById(R.... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
sp = new SoundPool(2, AudioManager.STREAM_SYSTEM, 0);
spMap = new HashMap<Integer, Integer>();
spMap.put(1, sp.load(this, R.raw.clap, 1));
totalCount = (TextView) findViewById(R.... |
diff --git a/benchmark/src/com/sun/sgs/benchmark/client/BenchmarkClient.java b/benchmark/src/com/sun/sgs/benchmark/client/BenchmarkClient.java
index 9c489a750..210c73bb9 100644
--- a/benchmark/src/com/sun/sgs/benchmark/client/BenchmarkClient.java
+++ b/benchmark/src/com/sun/sgs/benchmark/client/BenchmarkClient.java
@@ ... | true | true | private void executeCommand(ScriptingCommand cmd) {
try {
System.out.println("# Executing: " + cmd.getType());
for (int i=0; i < cmd.getCount(); i++) {
switch (cmd.getType()) {
case CPU:
sendServerMessage(new MethodRequ... | private void executeCommand(ScriptingCommand cmd) {
try {
System.out.println("# Executing: " + cmd.getType());
for (int i=0; i < cmd.getCount(); i++) {
switch (cmd.getType()) {
case CPU:
sendServerMessage(new MethodRequ... |
diff --git a/temp2/CA/src/Datapath.java b/temp2/CA/src/Datapath.java
index 391ac1a..0399153 100644
--- a/temp2/CA/src/Datapath.java
+++ b/temp2/CA/src/Datapath.java
@@ -1,307 +1,307 @@
public class Datapath {
long pc = 0;
Adder adder = new Adder();
Control control = new Control();
IM im = new IM();
Re... | true | true | public void performInstruction(String ins) {
// String Instruction = im.getInstruction(pc);
pc = adder.add(pc, 4);
String[] z = ins.split(" ");
String in = z[0];
if (z.length == 2) {
control.set_controler("000010");
if (z[0].equals("000011")) {
long y = pc + 4;
String... | public void performInstruction(String ins) {
// String Instruction = im.getInstruction(pc);
pc = adder.add(pc, 4);
String[] z = ins.split(" ");
String in = z[0];
if (z.length == 2) {
control.set_controler("000010");
if (z[0].equals("000011")) {
long y = pc + 4;
String... |
diff --git a/src/enderdom/eddie/tools/bio/Tools_Panther.java b/src/enderdom/eddie/tools/bio/Tools_Panther.java
index 539360c..90959d5 100644
--- a/src/enderdom/eddie/tools/bio/Tools_Panther.java
+++ b/src/enderdom/eddie/tools/bio/Tools_Panther.java
@@ -1,110 +1,110 @@
package enderdom.eddie.tools.bio;
import java.i... | true | true | public static PantherGene[] getGeneList(String pantherterm) throws EddieException, URISyntaxException, IOException{
//Check actually a panther acc
if(!pantherterm.startsWith("PTHR")){
Logger.getRootLogger().warn("Panther term does not start with PTHR, adding");
if(Tools_String.parseString2Int(pantherterm) ==... | public static PantherGene[] getGeneList(String pantherterm) throws EddieException, URISyntaxException, IOException{
//Check actually a panther acc
if(!pantherterm.startsWith("PTHR")){
Logger.getRootLogger().warn("Panther term does not start with PTHR, adding");
if(Tools_String.parseString2Int(pantherterm) ==... |
diff --git a/src-plugins/FFMPEG_IO/plugin/src/main/java/fiji/ffmpeg/IO.java b/src-plugins/FFMPEG_IO/plugin/src/main/java/fiji/ffmpeg/IO.java
index 35570c4..f143627 100644
--- a/src-plugins/FFMPEG_IO/plugin/src/main/java/fiji/ffmpeg/IO.java
+++ b/src-plugins/FFMPEG_IO/plugin/src/main/java/fiji/ffmpeg/IO.java
@@ -1,661 +... | true | true | public ImagePlus readMovie(String path, boolean useVirtualStack, final int first, final int last) throws IOException {
/* Need to do this because we already extend ImagePlus */
if (!loadFFMPEG())
throw new IOException("Could not load the FFMPEG library!");
if (AVCODEC.avcodec_version() != AVCODEC.LIBAVCODEC_... | public ImagePlus readMovie(String path, boolean useVirtualStack, final int first, final int last) throws IOException {
/* Need to do this because we already extend ImagePlus */
if (!loadFFMPEG())
throw new IOException("Could not load the FFMPEG library!");
if (AVCODEC.avcodec_version() != AVCODEC.LIBAVCODEC_... |
diff --git a/src/main/java/org/gestern/gringotts/Commands.java b/src/main/java/org/gestern/gringotts/Commands.java
index 89c9023..47ce08e 100644
--- a/src/main/java/org/gestern/gringotts/Commands.java
+++ b/src/main/java/org/gestern/gringotts/Commands.java
@@ -1,234 +1,234 @@
package org.gestern.gringotts;
import j... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Accounting accounting = plugin.accounting;
Player player;
if (sender instanceof Player) {
player = (Player)sender;
} else {
sender.sendMessage("Thi... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Accounting accounting = plugin.accounting;
Player player;
if (sender instanceof Player) {
player = (Player)sender;
} else {
sender.sendMessage("Thi... |
diff --git a/src/org/jcp/xml/dsig/internal/dom/DOMURIDereferencer.java b/src/org/jcp/xml/dsig/internal/dom/DOMURIDereferencer.java
index b0667dd7..ee9aec1d 100644
--- a/src/org/jcp/xml/dsig/internal/dom/DOMURIDereferencer.java
+++ b/src/org/jcp/xml/dsig/internal/dom/DOMURIDereferencer.java
@@ -1,103 +1,101 @@
/*
* C... | true | true | public Data dereference(URIReference uriRef, XMLCryptoContext context)
throws URIReferenceException {
if (uriRef == null) {
throw new NullPointerException("uriRef cannot be null");
}
if (context == null) {
throw new NullPointerException("context cannot be null");
}
DOMURIReference domRef = (DOMURI... | public Data dereference(URIReference uriRef, XMLCryptoContext context)
throws URIReferenceException {
if (uriRef == null) {
throw new NullPointerException("uriRef cannot be null");
}
if (context == null) {
throw new NullPointerException("context cannot be null");
}
DOMURIReference domRef = (DOMURI... |
diff --git a/chronicle/src/main/java/com/higherfrequencytrading/chronicle/tcp/InProcessChronicleSource.java b/chronicle/src/main/java/com/higherfrequencytrading/chronicle/tcp/InProcessChronicleSource.java
index 0b01979..af86ddb 100644
--- a/chronicle/src/main/java/com/higherfrequencytrading/chronicle/tcp/InProcessChron... | true | true | public void run() {
try {
long index = readIndex(socket);
Excerpt excerpt = chronicle.createExcerpt();
ByteBuffer bb = TcpUtil.createBuffer(1, chronicle); // minimum size
long sendInSync = 0;
boolean first = true;
... | public void run() {
try {
long index = readIndex(socket);
Excerpt excerpt = chronicle.createExcerpt();
ByteBuffer bb = TcpUtil.createBuffer(1, chronicle); // minimum size
long sendInSync = 0;
boolean first = true;
... |
diff --git a/src/java/DatabaseConnector.java b/src/java/DatabaseConnector.java
index 98cb3c5..10e70e9 100644
--- a/src/java/DatabaseConnector.java
+++ b/src/java/DatabaseConnector.java
@@ -1,340 +1,340 @@
import java.sql.*;
import javax.sql.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.ut... | true | true | public int createFilterEntry(int filterID, int operator, String infoName, String[] operands) throws SQLException {
String sql = null;
try {
if (operands.length == 1) {
sql = String.format("INSERT INTO `vcf_analyzer`.`FilterEntry` VALUES (NULL, '%s', '%s', '%d', '%s');",
filter... | public int createFilterEntry(int filterID, int operator, String infoName, String[] operands) throws SQLException {
String sql = null;
try {
if (operands.length == 1) {
sql = String.format("INSERT INTO `vcf_analyzer`.`FilterEntry` VALUES (NULL, '%s', '%s', '%d', '%s', NULL);",
... |
diff --git a/net.mysocio.packs/net.mysocio.rss-pack/src/main/java/net/mysocio/utils/rss/RssUtils.java b/net.mysocio.packs/net.mysocio.rss-pack/src/main/java/net/mysocio/utils/rss/RssUtils.java
index 12a372c..d78112f 100644
--- a/net.mysocio.packs/net.mysocio.rss-pack/src/main/java/net/mysocio/utils/rss/RssUtils.java
++... | false | true | private static void importOpml(String userId, Document document) throws Exception {
OPML20Parser parser = new OPML20Parser();
Opml feed = (Opml) parser.parse(document, true);
List<Outline> outlines = (List<Outline>) feed.getOutlines();
IDataManager dataManager = DataManagerFactory.getDataManager();
UserTags ... | private static void importOpml(String userId, Document document) throws Exception {
OPML20Parser parser = new OPML20Parser();
Opml feed = (Opml) parser.parse(document, true);
List<Outline> outlines = (List<Outline>) feed.getOutlines();
IDataManager dataManager = DataManagerFactory.getDataManager();
UserTags ... |
diff --git a/src/net/java/sip/communicator/util/xml/DOMElementWriter.java b/src/net/java/sip/communicator/util/xml/DOMElementWriter.java
index 22955b250..1bd86eaa5 100644
--- a/src/net/java/sip/communicator/util/xml/DOMElementWriter.java
+++ b/src/net/java/sip/communicator/util/xml/DOMElementWriter.java
@@ -1,330 +1,33... | true | true | public void write(Element element, Writer out, int indent,
String indentWith)
throws IOException {
// Write indent characters
for (int i = 0; i < indent; i++) {
out.write(indentWith);
}
// Write element
out.write("<");
out.w... | public void write(Element element, Writer out, int indent,
String indentWith)
throws IOException {
// Write indent characters
for (int i = 0; i < indent; i++) {
out.write(indentWith);
}
// Write element
out.write("<");
out.w... |
diff --git a/discovery/src/main/java/com/proofpoint/discovery/client/CachingServiceSelector.java b/discovery/src/main/java/com/proofpoint/discovery/client/CachingServiceSelector.java
index a702c5c9c..fc8de67bd 100644
--- a/discovery/src/main/java/com/proofpoint/discovery/client/CachingServiceSelector.java
+++ b/discove... | true | true | private CheckedFuture<ServiceDescriptors, DiscoveryException> refresh()
{
final ServiceDescriptors oldDescriptors = this.serviceDescriptors.get();
final CheckedFuture<ServiceDescriptors, DiscoveryException> future;
if (oldDescriptors == null) {
future = lookupClient.getServi... | private CheckedFuture<ServiceDescriptors, DiscoveryException> refresh()
{
final ServiceDescriptors oldDescriptors = this.serviceDescriptors.get();
final CheckedFuture<ServiceDescriptors, DiscoveryException> future;
if (oldDescriptors == null) {
future = lookupClient.getServi... |
diff --git a/src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java b/src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
index 84fde91..989d656 100644
--- a/src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
+++ b/src/main/java/hudson/plugins/msbuild/MsBuildBuilder.java
@@ -1,178 +1,178 @@
package hudson... | true | true | public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
ArgumentListBuilder args = new ArgumentListBuilder();
String execName = "msbuild.exe";
MsBuildInstallation ai = getMsBuild();
if (ai == null) {
... | public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
ArgumentListBuilder args = new ArgumentListBuilder();
String execName = "msbuild.exe";
MsBuildInstallation ai = getMsBuild();
if (ai == null) {
... |
diff --git a/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java b/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java
index ff73b456c..b920f0949 100644
--- a/jetty-spdy/spdy-core/src/test/java/org/eclipse/jetty/spdy/StandardStreamTest.java
+++ b/jetty-spdy/sp... | true | true | public void testSynOnClosedStream(){
IStream stream = new StandardStream(synStreamFrame,session,0,null);
stream.updateCloseState(true,true);
stream.updateCloseState(true,false);
assertThat("stream expected to be closed",stream.isClosed(),is(true));
final CountDownLatch failed... | public void testSynOnClosedStream(){
IStream stream = new StandardStream(synStreamFrame,session,0,null);
stream.updateCloseState(true,true);
stream.updateCloseState(true,false);
assertThat("stream expected to be closed",stream.isClosed(),is(true));
final CountDownLatch failed... |
diff --git a/ide/eclipse/esb/org.wso2.developerstudio.eclipse.esb.project/src/org/wso2/developerstudio/eclipse/esb/project/utils/ESBProjectUtils.java b/ide/eclipse/esb/org.wso2.developerstudio.eclipse.esb.project/src/org/wso2/developerstudio/eclipse/esb/project/utils/ESBProjectUtils.java
index dea59a26a..449fac278 1006... | true | true | public static void createESBArtifacts(List<OMElement> selectedElementsList,IProject project,File pomfile,Map<File,String> fileList,
String groupId) throws FactoryConfigurationError, Exception {
if (selectedElementsList != null) {
for (OMElement element : selectedElementsList) {
String localName = element... | public static void createESBArtifacts(List<OMElement> selectedElementsList,IProject project,File pomfile,Map<File,String> fileList,
String groupId) throws FactoryConfigurationError, Exception {
if (selectedElementsList != null) {
for (OMElement element : selectedElementsList) {
String localName = element... |
diff --git a/test/Arrays.java b/test/Arrays.java
index e00bbf56..42e95806 100644
--- a/test/Arrays.java
+++ b/test/Arrays.java
@@ -1,98 +1,98 @@
public class Arrays {
private static void expect(boolean v) {
if (! v) throw new RuntimeException();
}
public static void main(String[] args) {
{ int[] a... | false | true | public static void main(String[] args) {
{ int[] array = new int[0];
Exception exception = null;
try {
int x = array[0];
} catch (ArrayIndexOutOfBoundsException e) {
exception = e;
}
expect(exception != null);
}
{ int[] array = new int[0];
Exception ex... | public static void main(String[] args) {
{ int[] array = new int[0];
Exception exception = null;
try {
int x = array[0];
} catch (ArrayIndexOutOfBoundsException e) {
exception = e;
}
expect(exception != null);
}
{ int[] array = new int[0];
Exception ex... |
diff --git a/src/main/java/hudson/plugins/jira/JiraIssueUpdater.java b/src/main/java/hudson/plugins/jira/JiraIssueUpdater.java
index 038e484..f9d5de3 100644
--- a/src/main/java/hudson/plugins/jira/JiraIssueUpdater.java
+++ b/src/main/java/hudson/plugins/jira/JiraIssueUpdater.java
@@ -1,140 +1,140 @@
package hudson.plu... | true | true | public boolean perform(Build build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
PrintStream logger = listener.getLogger();
JiraSite site = JiraSite.get(build.getProject());
if(site==null) {
logger.println("No jira site is configured for ... | public boolean perform(Build build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
PrintStream logger = listener.getLogger();
JiraSite site = JiraSite.get(build.getProject());
if(site==null) {
logger.println("No jira site is configured for ... |
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/AllTests.java
index 83371f839..6d914f8bb 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources... | true | true | public static Test suite() {
TestSuite suite = new TestSuite(AllTests.class.getName());
suite.addTest(BenchWorkspace.suite());
suite.addTest(BenchMiscWorkspace.suite());
suite.addTest(MarkerPerformanceTest.suite());
suite.addTest(LocalHistoryPerformanceTest.suite());
suite.addTest(WorkspacePerformanceTest.... | public static Test suite() {
TestSuite suite = new TestSuite(AllTests.class.getName());
suite.addTest(BenchWorkspace.suite());
suite.addTest(BenchMiscWorkspace.suite());
suite.addTest(MarkerPerformanceTest.suite());
suite.addTest(LocalHistoryPerformanceTest.suite());
suite.addTest(WorkspacePerformanceTest.... |
diff --git a/src/com/danielmessias/particleplayground/GoffParticle.java b/src/com/danielmessias/particleplayground/GoffParticle.java
index e081b20..de82112 100644
--- a/src/com/danielmessias/particleplayground/GoffParticle.java
+++ b/src/com/danielmessias/particleplayground/GoffParticle.java
@@ -1,64 +1,64 @@
package ... | true | true | public void update() {
super.update();
prevx = x;
prevy = y;
y+=velocityY;
if(y < ParticleWorld.winHeight && velocityY <= 60) {
velocityY++;
}
if(y >= ParticleWorld.winHeight) {
velocityY = -0.8 * velocityY;
dx = (float) (-0.9*dx);
bounces++;
}
dx = (float) (dx * 0.95);
... | public void update() {
super.update();
prevx = x;
prevy = y;
y+=velocityY;
if(y < ParticleWorld.winHeight && velocityY <= 60) {
velocityY++;
}
if(y >= ParticleWorld.winHeight) {
velocityY = -0.8 * velocityY;
dx = (float) (0.9*dx);
bounces++;
}
dx = (float) (dx * 0.95);
x... |
diff --git a/src/com/infomancers/collections/yield/asm/delayed/DelayedMethodVisitor.java b/src/com/infomancers/collections/yield/asm/delayed/DelayedMethodVisitor.java
index 877b8da..71be71c 100644
--- a/src/com/infomancers/collections/yield/asm/delayed/DelayedMethodVisitor.java
+++ b/src/com/infomancers/collections/yie... | true | true | private void delayInsn(int opcode, DelayedInstructionEmitter emitter) {
currentMiniFrame.workQueue.offer(emitter);
if (poppingCodes.contains(opcode)) {
if (currentMiniFrame.stackSize == 0) {
throw new IllegalStateException("Popping from stack when the stack is empty? " +... | private void delayInsn(int opcode, DelayedInstructionEmitter emitter) {
currentMiniFrame.workQueue.offer(emitter);
if (poppingCodes.contains(opcode)) {
if (currentMiniFrame.stackSize == 0) {
throw new IllegalStateException("Popping from stack when the stack is empty? " +... |
diff --git a/src/main/java/com/in6k/twitter/LoginPageServlet.java b/src/main/java/com/in6k/twitter/LoginPageServlet.java
index 31627ad..f754754 100644
--- a/src/main/java/com/in6k/twitter/LoginPageServlet.java
+++ b/src/main/java/com/in6k/twitter/LoginPageServlet.java
@@ -1,31 +1,31 @@
package com.in6k.twitter;
imp... | true | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String login = request.getParameter("login");
String password = request.getParameter("password");
if (AccountManager.isValid(login, password)) {
request.getSess... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String login = request.getParameter("login");
String password = request.getParameter("password");
if (AccountManager.isValid(login, password)) {
request.getSess... |
diff --git a/src/main/java/com/jayway/maven/plugins/android/phase04processclasses/ProguardMojo.java b/src/main/java/com/jayway/maven/plugins/android/phase04processclasses/ProguardMojo.java
index 1d6a2ce4..086eace3 100644
--- a/src/main/java/com/jayway/maven/plugins/android/phase04processclasses/ProguardMojo.java
+++ b/... | false | true | private void executeProguard() throws MojoExecutionException
{
final File proguardDir = new File( project.getBuild().getDirectory(), parsedOutputDirectory );
if ( ! proguardDir.exists() && ! proguardDir.mkdir() )
{
throw new MojoExecutionException( "Cannot create p... | private void executeProguard() throws MojoExecutionException
{
final File proguardDir = new File( project.getBuild().getDirectory(), parsedOutputDirectory );
if ( ! proguardDir.exists() && ! proguardDir.mkdir() )
{
throw new MojoExecutionException( "Cannot create p... |
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java
index 999844d1..44b18ffe 100644
--- a/src/com/android/launcher2/AllAppsView.java
+++ b/src/com/android/launcher2/AllAppsView.java
@@ -1,1478 +1,1482 @@
/*
* Copyright (C) 2008 The Android Open Source Project
*
* ... | false | true | public boolean onKeyDown(int keyCode, KeyEvent event) {
boolean handled = false;
if (!isVisible()) {
return false;
}
final int iconCount = mRollo.mState.iconCount;
if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
i... | public boolean onKeyDown(int keyCode, KeyEvent event) {
boolean handled = false;
if (!isVisible()) {
return false;
}
final int iconCount = mRollo.mState.iconCount;
if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
i... |
diff --git a/src/xmlvm/org/xmlvm/proc/out/CppOutputProcess.java b/src/xmlvm/org/xmlvm/proc/out/CppOutputProcess.java
index b97993ed..c57b9bfb 100755
--- a/src/xmlvm/org/xmlvm/proc/out/CppOutputProcess.java
+++ b/src/xmlvm/org/xmlvm/proc/out/CppOutputProcess.java
@@ -1,180 +1,180 @@
/*
* Copyright (c) 2004-2009 XMLVM... | true | true | private List<String> getTypesForHeader(Document doc) {
HashSet<String> seen = new HashSet<String>();
@SuppressWarnings("unchecked")
Iterator<Object> i = doc.getDescendants();
while (i.hasNext()) {
Object cur = i.next();
if (cur instanceof Element) {
... | private List<String> getTypesForHeader(Document doc) {
HashSet<String> seen = new HashSet<String>();
@SuppressWarnings("unchecked")
Iterator<Object> i = doc.getDescendants();
while (i.hasNext()) {
Object cur = i.next();
if (cur instanceof Element) {
... |
diff --git a/src/main/java/org/diyefi/openlogviewer/graphing/InfoPanel.java b/src/main/java/org/diyefi/openlogviewer/graphing/InfoPanel.java
index 2cae41b..74e272d 100644
--- a/src/main/java/org/diyefi/openlogviewer/graphing/InfoPanel.java
+++ b/src/main/java/org/diyefi/openlogviewer/graphing/InfoPanel.java
@@ -1,155 +... | false | true | public void paint(Graphics g) { // override paint because there will be no components in this pane
builtTime += System.currentTimeMillis() - currentTime;
currentTime = System.currentTimeMillis();
if (builtTime <= 1000) {
FPScounter++;
} else {
FPS = FPScounter... | public void paint(Graphics g) { // override paint because there will be no components in this pane
builtTime += System.currentTimeMillis() - currentTime;
currentTime = System.currentTimeMillis();
if (builtTime <= 1000) {
FPScounter++;
} else {
FPS = FPScounter... |
diff --git a/exact-binding/src/main/java/com/thoratou/exact/bom/XmlExtensionReader.java b/exact-binding/src/main/java/com/thoratou/exact/bom/XmlExtensionReader.java
index fd76239..2a6d424 100644
--- a/exact-binding/src/main/java/com/thoratou/exact/bom/XmlExtensionReader.java
+++ b/exact-binding/src/main/java/com/thorat... | true | true | public void read(Element rootElement, FieldExtensionList<T> extensionList) throws ExactReadException {
readFilter(rootElement);
if(!filterField.isEmpty()){
InnerExtension<T> extension = allocateFromFilter(extensionList, filterField);
if(extension != null)
{
... | public void read(FieldExtensionList<T> extensionList, Element rootElement) throws ExactReadException {
readFilter(rootElement);
if(!filterField.isEmpty()){
InnerExtension<T> extension = allocateFromFilter(extensionList, filterField);
if(extension != null)
{
... |
diff --git a/work-swing-api/src/main/java/org/cytoscape/work/swing/AbstractGUITunableHandler.java b/work-swing-api/src/main/java/org/cytoscape/work/swing/AbstractGUITunableHandler.java
index 9ec966ae..b01f7d4f 100644
--- a/work-swing-api/src/main/java/org/cytoscape/work/swing/AbstractGUITunableHandler.java
+++ b/work-s... | true | true | private void init() {
final String alignment = getParams().getProperty("alignments", "vertical");
horizontal = false;
if (alignment.equalsIgnoreCase("horizontal"))
horizontal = true;
else if (!alignment.equalsIgnoreCase("vertical"))
... | private void init() {
final String alignment = getParams().getProperty("alignments", "vertical");
horizontal = false;
if (alignment.equalsIgnoreCase("horizontal"))
horizontal = true;
else if (!alignment.equalsIgnoreCase("vertical"))
... |
diff --git a/src/org/apache/xerces/validators/dtd/DTDValidator.java b/src/org/apache/xerces/validators/dtd/DTDValidator.java
index 6fcb2585..9eff6027 100644
--- a/src/org/apache/xerces/validators/dtd/DTDValidator.java
+++ b/src/org/apache/xerces/validators/dtd/DTDValidator.java
@@ -1,2988 +1,2992 @@
/*
* The Apache ... | true | true | public boolean startElement(int elementType, XMLAttrList attrList) throws Exception {
int attrIndex = fAttrIndex;
fAttrIndex = -1;
if (fElementDeclCount == 0 && fAttlistDeclCount == 0 && !fValidating && !fNamespacesEnabled) {
return false;
}
int elementIndex = fSt... | public boolean startElement(int elementType, XMLAttrList attrList) throws Exception {
int attrIndex = fAttrIndex;
fAttrIndex = -1;
if (fElementDeclCount == 0 && fAttlistDeclCount == 0 && !fValidating && !fNamespacesEnabled) {
return false;
}
int elementIndex = fSt... |
diff --git a/src/bt.java b/src/bt.java
index dc5877d..fb2acaf 100644
--- a/src/bt.java
+++ b/src/bt.java
@@ -1,89 +1,89 @@
public class bt extends fu {
private int a;
public bt(int paramInt) {
super(paramInt);
this.a = (paramInt + 256);
a(ga.m[(paramInt + 256)].a(2));
}
... | true | true | public boolean a(hl paramhl, fx paramfx, eo parameo, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
// hMod: Bail if we have nothing of the items in hand
if (paramhl.a == 0) {
return false;
}
// hMod: Store blockInfo of the one we clicked
i... | public boolean a(hl paramhl, fx paramfx, eo parameo, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
// hMod: Bail if we have nothing of the items in hand
if (paramhl.a == 0) {
return false;
}
// hMod: Store blockInfo of the one we clicked
i... |
diff --git a/Exomizer/junit/src/exomizer/tests/UCSCKGParserTest.java b/Exomizer/junit/src/exomizer/tests/UCSCKGParserTest.java
index 477521ea..f4841f07 100644
--- a/Exomizer/junit/src/exomizer/tests/UCSCKGParserTest.java
+++ b/Exomizer/junit/src/exomizer/tests/UCSCKGParserTest.java
@@ -1,78 +1,78 @@
package exomizer.t... | true | true | @BeforeClass public static void setUp() throws IOException {
System.out.println("ABout");
File tmp = File.createTempFile("ucsckg-test","ucsckg-test");
PrintStream ps = new PrintStream(new FileOutputStream(tmp));
ps.append("uc009vis.3 chr1 - 14361 16765 14361 14361 4 14361,14969,15795,16606, 14829,15038,15942,16... | @BeforeClass public static void setUp() throws IOException {
System.out.println("ABout");
File tmp = File.createTempFile("ucsckg-test","ucsckg-test");
PrintStream ps = new PrintStream(new FileOutputStream(tmp));
ps.append("uc009vis.3 chr1 - 14361 16765 14361 14361 4 14361,14969,15795,16606, 14829,15038,15942,16... |
diff --git a/owsproxyserver/src/org/deegree/ogcwebservices/wms/operation/GetFeatureInfo.java b/owsproxyserver/src/org/deegree/ogcwebservices/wms/operation/GetFeatureInfo.java
index 88271f9..5904e5f 100644
--- a/owsproxyserver/src/org/deegree/ogcwebservices/wms/operation/GetFeatureInfo.java
+++ b/owsproxyserver/src/org/... | true | true | public static GetFeatureInfo create( Map<String, String> model )
throws OGCWebServiceException {
LOGGER.entering();
// VERSION
String version = model.get( "VERSION" );
if ( version == null ) {
version = model.get( "WMTVER" );
}
... | public static GetFeatureInfo create( Map<String, String> model )
throws OGCWebServiceException {
LOGGER.entering();
// VERSION
String version = model.get( "VERSION" );
if ( version == null ) {
version = model.get( "WMTVER" );
}
... |
diff --git a/asi/src/asi/val/widget_receiver.java b/asi/src/asi/val/widget_receiver.java
index 54287e0..eb51cb7 100644
--- a/asi/src/asi/val/widget_receiver.java
+++ b/asi/src/asi/val/widget_receiver.java
@@ -1,321 +1,321 @@
package asi.val;
import java.util.Vector;
import android.app.PendingIntent;
import andr... | false | true | public void onReceive(Context context, Intent intent) {
// v1.5 fix that doesn't call onDelete Action
final String action = intent.getAction();
Log.d("ASI", "Action=" + action);
if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) {
final int appWidgetId = intent.getExtras().getInt(
AppWidget... | public void onReceive(Context context, Intent intent) {
// v1.5 fix that doesn't call onDelete Action
final String action = intent.getAction();
Log.d("ASI", "Action=" + action);
if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) {
final int appWidgetId = intent.getExtras().getInt(
AppWidget... |
diff --git a/depot/source/main/apper/src/com/pjab/apper/AppFetcher.java b/depot/source/main/apper/src/com/pjab/apper/AppFetcher.java
index e7e8d3a..795d7cf 100644
--- a/depot/source/main/apper/src/com/pjab/apper/AppFetcher.java
+++ b/depot/source/main/apper/src/com/pjab/apper/AppFetcher.java
@@ -1,90 +1,90 @@
package ... | true | true | public boolean fetchApp(String appUrl)
{
ConcurrentLinkedQueue<URLInfo>processQueue = new ConcurrentLinkedQueue<URLInfo>();
ConcurrentHashMap<String, Boolean> seenURLs = new ConcurrentHashMap<String, Boolean>();
Connection conn = DatabaseConfig.getInstance().getConnection();
URLInfo newURLInfo = new URL... | public boolean fetchApp(String appUrl)
{
ConcurrentLinkedQueue<URLInfo>processQueue = new ConcurrentLinkedQueue<URLInfo>();
ConcurrentHashMap<String, Boolean> seenURLs = new ConcurrentHashMap<String, Boolean>();
Connection conn = DatabaseConfig.getInstance().getConnection();
URLInfo newURLInfo = new URL... |
diff --git a/src/main/java/net/krinsoft/privileges/commands/GroupSetCommand.java b/src/main/java/net/krinsoft/privileges/commands/GroupSetCommand.java
index f6502fe..fab5da7 100644
--- a/src/main/java/net/krinsoft/privileges/commands/GroupSetCommand.java
+++ b/src/main/java/net/krinsoft/privileges/commands/GroupSetComm... | true | true | public void runCommand(CommandSender sender, List<String> args) {
OfflinePlayer target = plugin.getServer().getOfflinePlayer(args.get(0));
if (target == null) {
sender.sendMessage("No player with the name '" + args.get(0) + "' could be found.");
return;
}
if (... | public void runCommand(CommandSender sender, List<String> args) {
OfflinePlayer target = plugin.getServer().getOfflinePlayer(args.get(0));
if (target == null) {
sender.sendMessage("No player with the name '" + args.get(0) + "' could be found.");
return;
}
if (... |
diff --git a/offbudget/src/main/java/edu/unlv/kilo/domain/ItemEntity.java b/offbudget/src/main/java/edu/unlv/kilo/domain/ItemEntity.java
index d7f84f2..1cf3386 100644
--- a/offbudget/src/main/java/edu/unlv/kilo/domain/ItemEntity.java
+++ b/offbudget/src/main/java/edu/unlv/kilo/domain/ItemEntity.java
@@ -1,81 +1,81 @@
... | true | true | public int getBaseRecurrenceInterval() {
if (!recurrenceIsAutomatic) {
return recurrenceManualInterval;
}
// Find the average interval from recurring transactions
if (transactions.size() <= 1) {
return 0;
}
boolean first = true;
Date firstDate = null;
Date ... | public int getBaseRecurrenceInterval() {
if (!recurrenceIsAutomatic) {
return recurrenceManualInterval;
}
// Find the average interval from recurring transactions
if (transactions.size() <= 1) {
return 0;
}
boolean first = true;
Date firstDate = null;
Date ... |
diff --git a/servers/media/core/controllers/mgcp/src/main/java/org/mobicents/media/server/ctrl/mgcp/DeleteConnectionAction.java b/servers/media/core/controllers/mgcp/src/main/java/org/mobicents/media/server/ctrl/mgcp/DeleteConnectionAction.java
index 1272029d0..876274e66 100644
--- a/servers/media/core/controllers/mgcp... | true | true | public JainMgcpResponseEvent call() throws Exception {
int txID = req.getTransactionHandle();
CallIdentifier callID = req.getCallIdentifier();
EndpointIdentifier endpointID = req.getEndpointIdentifier();
ConnectionIdentifier connectionID = req.getConnectionIdentifier();
... | public JainMgcpResponseEvent call() throws Exception {
int txID = req.getTransactionHandle();
CallIdentifier callID = req.getCallIdentifier();
EndpointIdentifier endpointID = req.getEndpointIdentifier();
ConnectionIdentifier connectionID = req.getConnectionIdentifier();
... |
diff --git a/libraries/javalib/javax/swing/JFormattedTextField.java b/libraries/javalib/javax/swing/JFormattedTextField.java
index eaf53555b..fdc9ffee3 100644
--- a/libraries/javalib/javax/swing/JFormattedTextField.java
+++ b/libraries/javalib/javax/swing/JFormattedTextField.java
@@ -1,248 +1,247 @@
/* JFormattedTextF... | false | true | public void setDocument(Document newdoc)
{
Document document = getDocument();
if (document == newdoc)
return;
setDocument(newdoc);
firePropertyChange("document", document, newdoc);
}
| public void setDocument(Document newdoc)
{
Document olddoc = getDocument();
if (olddoc == newdoc)
return;
super.setDocument(newdoc);
}
|
diff --git a/drools-planner-core/src/main/java/org/drools/planner/config/heuristic/selector/move/MoveSelectorConfig.java b/drools-planner-core/src/main/java/org/drools/planner/config/heuristic/selector/move/MoveSelectorConfig.java
index 75a14451..8d1306ae 100644
--- a/drools-planner-core/src/main/java/org/drools/planne... | true | true | public MoveSelector buildMoveSelector(EnvironmentMode environmentMode, SolutionDescriptor solutionDescriptor,
SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) {
SelectionCacheType resolvedCacheType = SelectionCacheType.resolve(cacheType, minimumCacheType);
min... | public MoveSelector buildMoveSelector(EnvironmentMode environmentMode, SolutionDescriptor solutionDescriptor,
SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) {
SelectionCacheType resolvedCacheType = SelectionCacheType.resolve(cacheType, minimumCacheType);
min... |
diff --git a/src/net/sf/freecol/client/gui/panel/ReportLabourPanel.java b/src/net/sf/freecol/client/gui/panel/ReportLabourPanel.java
index a5ab8f8e2..a6818df90 100644
--- a/src/net/sf/freecol/client/gui/panel/ReportLabourPanel.java
+++ b/src/net/sf/freecol/client/gui/panel/ReportLabourPanel.java
@@ -1,359 +1,360 @@
pa... | true | true | public void initialize() {
// Count Units
unitCount = new int[Unit.UNIT_COUNT];
unitLocations = new HashMap[Unit.UNIT_COUNT];
for (int index = 0; index < Unit.UNIT_COUNT; index++) {
unitLocations[index] = new HashMap();
}
Player player = parent.getClient()... | public void initialize() {
// Count Units
unitCount = new int[Unit.UNIT_COUNT];
unitLocations = new HashMap[Unit.UNIT_COUNT];
for (int index = 0; index < Unit.UNIT_COUNT; index++) {
unitLocations[index] = new HashMap();
}
Player player = parent.getClient()... |
diff --git a/src/main/java/net/sacredlabyrinth/Phaed/PreciousStones/managers/CommandManager.java b/src/main/java/net/sacredlabyrinth/Phaed/PreciousStones/managers/CommandManager.java
index c4c02ee..354774a 100644
--- a/src/main/java/net/sacredlabyrinth/Phaed/PreciousStones/managers/CommandManager.java
+++ b/src/main/ja... | true | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
{
try
{
if (command.getName().equals("ps"))
{
Player player = null;
if (sender instanceof Player)
{
player = (... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args)
{
try
{
if (command.getName().equals("ps"))
{
Player player = null;
if (sender instanceof Player)
{
player = (... |
diff --git a/trunk/java/src/com/tightvnc/rfbplayer/RfbPlayer.java b/trunk/java/src/com/tightvnc/rfbplayer/RfbPlayer.java
index 0a7838c1..7d643484 100644
--- a/trunk/java/src/com/tightvnc/rfbplayer/RfbPlayer.java
+++ b/trunk/java/src/com/tightvnc/rfbplayer/RfbPlayer.java
@@ -1,382 +1,383 @@
//
// Copyright (C) 2001,2... | true | true | public void run() {
gridbag = new GridBagLayout();
vncContainer.setLayout(gridbag);
GridBagConstraints gbc = new GridBagConstraints();
gbc.gridwidth = GridBagConstraints.REMAINDER;
gbc.anchor = GridBagConstraints.NORTHWEST;
if (showControls) {
buttonPanel = new ButtonPanel(this);
... | public void run() {
gridbag = new GridBagLayout();
vncContainer.setLayout(gridbag);
GridBagConstraints gbc = new GridBagConstraints();
gbc.gridwidth = GridBagConstraints.REMAINDER;
gbc.anchor = GridBagConstraints.NORTHWEST;
if (showControls) {
buttonPanel = new ButtonPanel(this);
... |
diff --git a/src/kg/apc/jmeter/charting/GraphPanelChart.java b/src/kg/apc/jmeter/charting/GraphPanelChart.java
index 7170ea66..c584d70f 100644
--- a/src/kg/apc/jmeter/charting/GraphPanelChart.java
+++ b/src/kg/apc/jmeter/charting/GraphPanelChart.java
@@ -1,1357 +1,1361 @@
package kg.apc.jmeter.charting;
import java... | true | true | private void paintRow(Graphics g, AbstractGraphRow row, String rowLabel, Color color)
{
FontMetrics fm = g.getFontMetrics(g.getFont());
Iterator<Entry<Long, AbstractGraphPanelChartElement>> it = row.iterator();
Entry<Long, AbstractGraphPanelChartElement> element;
int radius = row.getMarker... | private void paintRow(Graphics g, AbstractGraphRow row, String rowLabel, Color color)
{
FontMetrics fm = g.getFontMetrics(g.getFont());
Iterator<Entry<Long, AbstractGraphPanelChartElement>> it = row.iterator();
Entry<Long, AbstractGraphPanelChartElement> element;
int radius = row.getMarker... |
Subsets and Splits
Megadiff Train Samples Analysis
Counts the number of changed lines in a patch file, distinguishing additions and deletions but ignoring those marked with more than two '+' or '-', providing insights into significant modifications in patches.