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/test.java b/test.java
index 93f85b3..46adbc9 100644
--- a/test.java
+++ b/test.java
@@ -1,11 +1,12 @@
class test
{
public static void main(String args[])
{
System.out.println("test");
System.out.println("test from jonathan's linuxbox");
System.out.println("More stuff");
System.out.println... | true | true | public static void main(String args[])
{
System.out.println("test");
System.out.println("test from jonathan's linuxbox");
System.out.println("More stuff");
System.out.println("I'm uber");
}
| public static void main(String args[])
{
System.out.println("test");
System.out.println("test from jonathan's linuxbox");
System.out.println("More stuff");
System.out.println("I'm uber");
System.out.println("Even more stuff");
}
|
diff --git a/src/main/java/com/sangupta/songs/SongsDownloader.java b/src/main/java/com/sangupta/songs/SongsDownloader.java
index 262eef3..84a2bd6 100644
--- a/src/main/java/com/sangupta/songs/SongsDownloader.java
+++ b/src/main/java/com/sangupta/songs/SongsDownloader.java
@@ -1,299 +1,299 @@
/**
*
* songs - Comman... | true | true | private static void downloadMovieSongs(String input) {
// find list of all titles with that letter
input = input.toLowerCase();
Element table;
WebResponse response;
Elements anchors;
Document document;
// letter cache check
final String lette... | private static void downloadMovieSongs(String input) {
// find list of all titles with that letter
input = input.toLowerCase();
Element table;
WebResponse response;
Elements anchors;
Document document;
// letter cache check
final String lette... |
diff --git a/motech-mobile-omp/src/main/java/com/dreamoval/motech/omp/manager/orserve/ORServeGatewayManagerImpl.java b/motech-mobile-omp/src/main/java/com/dreamoval/motech/omp/manager/orserve/ORServeGatewayManagerImpl.java
index c47b9ba3..0af41464 100644
--- a/motech-mobile-omp/src/main/java/com/dreamoval/motech/omp/ma... | false | true | public Set<GatewayResponse> sendMessage(GatewayRequest messageDetails, MotechContext context) {
String gatewayResponse;
if(messageDetails == null)
return null;
logger.info("Building ORServe message gateway webservice proxy class");
URL wsdlURL = null;
try {
... | public Set<GatewayResponse> sendMessage(GatewayRequest messageDetails, MotechContext context) {
String gatewayResponse;
if(messageDetails == null)
return null;
logger.info("Building ORServe message gateway webservice proxy class");
URL wsdlURL = null;
try {
... |
diff --git a/src/main/java/tconstruct/weaponry/WeaponryHandler.java b/src/main/java/tconstruct/weaponry/WeaponryHandler.java
index f6ed3db82..d4047fd6e 100644
--- a/src/main/java/tconstruct/weaponry/WeaponryHandler.java
+++ b/src/main/java/tconstruct/weaponry/WeaponryHandler.java
@@ -1,196 +1,196 @@
package tconstruct... | false | true | public void onAmmoCrafted(ToolCraftEvent.NormalTool event)
{
if(!(event.tool instanceof IAmmo))
return;
NBTTagCompound tags = event.toolTag.getCompoundTag("InfiTool");
// calculate its stats
if(event.tool instanceof ArrowAmmo)
{
// arrows work li... | public void onAmmoCrafted(ToolCraftEvent.NormalTool event)
{
if(!(event.tool instanceof IAmmo))
return;
NBTTagCompound tags = event.toolTag.getCompoundTag("InfiTool");
// calculate its stats
if(event.tool instanceof ArrowAmmo)
{
// arrows work li... |
diff --git a/src/edu/wpi/first/wpilibj/templates/SuperJoystick.java b/src/edu/wpi/first/wpilibj/templates/SuperJoystick.java
index 75d8e1a..418943e 100644
--- a/src/edu/wpi/first/wpilibj/templates/SuperJoystick.java
+++ b/src/edu/wpi/first/wpilibj/templates/SuperJoystick.java
@@ -1,222 +1,222 @@
/*
* To change this ... | false | true | public void clearButtons(){
if (!flagA && !getRawButton(1)) { //toggles
flagA = true;
} else if (!flagB && !getRawButton(2)){
flagB = true;
} else if (!flagX && !getRawButton(3)){
flagX = true;
} else if (!flagY && !getRawButton(4)){
fl... | public void clearButtons(){
if (!flagA && !getRawButton(1)) { //toggles
flagA = true;
} if (!flagB && !getRawButton(2)){
flagB = true;
} if (!flagX && !getRawButton(3)){
flagX = true;
} if (!flagY && !getRawButton(4)){
flagY = true;
... |
diff --git a/text/src/main/java/eu/interedition/text/xml/module/AbstractAnnotationXMLTransformerModule.java b/text/src/main/java/eu/interedition/text/xml/module/AbstractAnnotationXMLTransformerModule.java
index 9ee0ed60..4f5f7acb 100644
--- a/text/src/main/java/eu/interedition/text/xml/module/AbstractAnnotationXMLTrans... | true | true | protected void add(XMLTransformer transformer, Annotation annotation) {
final JsonNode data = annotation.getData();
if (!addNodePath && data.isObject()) {
((ObjectNode) data).remove(XML_NODE_ATTR);
}
annotationBatch.add(annotation);
if ((annotationBatch.size() % batchSize) == 0) {
em... | protected void add(XMLTransformer transformer, Annotation annotation) {
final JsonNode data = annotation.getData();
if (!addNodePath && data.isObject()) {
((ObjectNode) data).remove(XML_NODE_ATTR);
annotation.setData(data);
}
annotationBatch.add(annotation);
if ((annotationBatch.size... |
diff --git a/plugins/src/kg/apc/charting/plotters/AbstractRowPlotter.java b/plugins/src/kg/apc/charting/plotters/AbstractRowPlotter.java
index 83ccae2a..eb82b263 100644
--- a/plugins/src/kg/apc/charting/plotters/AbstractRowPlotter.java
+++ b/plugins/src/kg/apc/charting/plotters/AbstractRowPlotter.java
@@ -1,254 +1,254 ... | true | true | public synchronized void paintRow(Graphics2D g2d, AbstractGraphRow row, Color color, double zoomFactor, int limitPointFactor) {
Iterator<Entry<Long, AbstractGraphPanelChartElement>> it = row.iterator();
Entry<Long, AbstractGraphPanelChartElement> element;
Stroke olStroke = null;
prev... | public synchronized void paintRow(Graphics2D g2d, AbstractGraphRow row, Color color, double zoomFactor, int limitPointFactor) {
Iterator<Entry<Long, AbstractGraphPanelChartElement>> it = row.iterator();
Entry<Long, AbstractGraphPanelChartElement> element;
Stroke olStroke = null;
prev... |
diff --git a/src/main/java/nl/mindef/c2sc/nbs/olsr/pud/uplink/server/handlers/ClusterLeaderHandler.java b/src/main/java/nl/mindef/c2sc/nbs/olsr/pud/uplink/server/handlers/ClusterLeaderHandler.java
index ec27c46..d6a2f09 100644
--- a/src/main/java/nl/mindef/c2sc/nbs/olsr/pud/uplink/server/handlers/ClusterLeaderHandler.j... | true | true | public boolean handleClusterLeaderMessage(Gateway gateway, long timestamp, ClusterLeader clMsg);
| public boolean handleClusterLeaderMessage(Gateway gateway, long utcTimestamp, ClusterLeader clMsg);
|
diff --git a/ant-bundle/src/main/java/org/rhq/plugins/ant/AntBundlePluginComponent.java b/ant-bundle/src/main/java/org/rhq/plugins/ant/AntBundlePluginComponent.java
index b421ad1c01..2eb1d85883 100644
--- a/ant-bundle/src/main/java/org/rhq/plugins/ant/AntBundlePluginComponent.java
+++ b/ant-bundle/src/main/java/org/rhq... | true | true | public BundleDeployResult deployBundle(BundleDeployRequest request) {
BundleDeployResult result = new BundleDeployResult();
try {
BundleResourceDeployment resourceDeployment = request.getResourceDeployment();
BundleDeployment bundleDeployment = resourceDeployment.getBundleDep... | public BundleDeployResult deployBundle(BundleDeployRequest request) {
BundleDeployResult result = new BundleDeployResult();
try {
BundleResourceDeployment resourceDeployment = request.getResourceDeployment();
BundleDeployment bundleDeployment = resourceDeployment.getBundleDep... |
diff --git a/src/main/java/com/olo/initiator/WebDriverConfiguration.java b/src/main/java/com/olo/initiator/WebDriverConfiguration.java
index 02f1702..03a539e 100644
--- a/src/main/java/com/olo/initiator/WebDriverConfiguration.java
+++ b/src/main/java/com/olo/initiator/WebDriverConfiguration.java
@@ -1,179 +1,179 @@
pa... | true | true | protected WebDriver getDriver(String browser, DesiredCapabilities capabilities) throws Exception{
if(browser.equals("Firefox")){
return getFirefoxDriver(capabilities);
}else if(browser.equals("Explorer")){
System.setProperty("webdriver.ie.driver", System.getProperty("user.dir")+"/drivers/win+"+OSUtil.getJava... | protected WebDriver getDriver(String browser, DesiredCapabilities capabilities) throws Exception{
if(browser.equals("Firefox")){
return getFirefoxDriver(capabilities);
}else if(browser.equals("Explorer")){
System.setProperty("webdriver.ie.driver", System.getProperty("user.dir")+"/drivers/win"+OSUtil.getJavaB... |
diff --git a/editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/correction/CorrectionProposalTest.java b/editor/tools/plugins/com.google.dart.engine.services_test/src/com/google/dart/engine/services/correction/CorrectionProposalTest.java
index 7b73810a..6f46416a 100644
--- a/e... | true | true | public void test_linkedPositions() throws Exception {
CorrectionProposal proposal = new CorrectionProposal(
change,
CorrectionKind.QA_ADD_TYPE_ANNOTATION);
Map<String, List<SourceRange>> linkedPositions = Maps.newHashMap();
Map<String, List<LinkedPositionProposal>> linkedPositions2 = Maps.... | public void test_linkedPositions() throws Exception {
CorrectionProposal proposal = new CorrectionProposal(
change,
CorrectionKind.QA_ADD_TYPE_ANNOTATION);
Map<String, List<SourceRange>> linkedPositions = Maps.newHashMap();
Map<String, List<LinkedPositionProposal>> linkedPositions2 = Maps.... |
diff --git a/src/main/java/org/junit/contrib/truth/Subject.java b/src/main/java/org/junit/contrib/truth/Subject.java
index 47e2dad0..0761ed3f 100644
--- a/src/main/java/org/junit/contrib/truth/Subject.java
+++ b/src/main/java/org/junit/contrib/truth/Subject.java
@@ -1,31 +1,31 @@
package org.junit.contrib.truth;
pu... | true | true | protected void fail(String verb, Object... messageParts) {
String message = "Not true: ";
message += "<" + getSubject() + "> " + verb;
for (Object part : messageParts) {
message += " <" + part + ">";
}
failureStrategy.fail(message);
}
| protected void fail(String verb, Object... messageParts) {
String message = "Not true that ";
message += "<" + getSubject() + "> " + verb;
for (Object part : messageParts) {
message += " <" + part + ">";
}
failureStrategy.fail(message);
}
|
diff --git a/bundles/Core/src/main/java/org/paxle/core/filter/impl/ReferenceNormalizationFilter.java b/bundles/Core/src/main/java/org/paxle/core/filter/impl/ReferenceNormalizationFilter.java
index 4fac332a..68f129d8 100644
--- a/bundles/Core/src/main/java/org/paxle/core/filter/impl/ReferenceNormalizationFilter.java
+++... | true | true | public String parseBaseUrlString(final String url, final Charset charset) throws MalformedURLException, ParseException {
// init
protocol = null;
username = null;
password = null;
host = null;
port = -1;
path = "/";
if (query != null)
query.clear();
fragment = null;
// extract th... | public String parseBaseUrlString(final String url, final Charset charset) throws MalformedURLException, ParseException {
// init
protocol = null;
username = null;
password = null;
host = null;
port = -1;
path = "/";
if (query != null)
query.clear();
fragment = null;
// extract th... |
diff --git a/src/main/java/com/heeere/gsp/gstreamer/ImageSource.java b/src/main/java/com/heeere/gsp/gstreamer/ImageSource.java
index 39bcc2a..5d9f34a 100644
--- a/src/main/java/com/heeere/gsp/gstreamer/ImageSource.java
+++ b/src/main/java/com/heeere/gsp/gstreamer/ImageSource.java
@@ -1,134 +1,135 @@
/*
* To change t... | false | true | protected void initModule() {
this.remainToSkip = skipAtInit;
String name = "ImageSourceForGSP";
Gst.init(name, new String[]{});
pipe = new PlayBin2(name);
pipe.setInputFile(new File(uri));
FakeSink audio = (FakeSink) ElementFactory.make("fakesink", "audio-sink");
... | protected void initModule() {
this.remainToSkip = skipAtInit;
String name = "ImageSourceForGSP";
Gst.init(name, new String[]{});
pipe = new PlayBin2(name);
pipe.setInputFile(new File(uri));
FakeSink audio = (FakeSink) ElementFactory.make("fakesink", "audio-sink");
... |
diff --git a/src/org/mindinformatics/gwt/domeo/client/ui/annotation/actions/ActionDeleteAnnotation.java b/src/org/mindinformatics/gwt/domeo/client/ui/annotation/actions/ActionDeleteAnnotation.java
index b14c71f..09c6d2c 100644
--- a/src/org/mindinformatics/gwt/domeo/client/ui/annotation/actions/ActionDeleteAnnotation.j... | true | true | public static final ClickHandler getClickHandler(final IDomeo domeo, final Object clazz, final MAnnotation annotation) {
ClickHandler ch = new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
boolean deleteFlag = Window.confirm("Do you really want to delete the annotation?");
if(delet... | public static final ClickHandler getClickHandler(final IDomeo domeo, final Object clazz, final MAnnotation annotation) {
ClickHandler ch = new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
boolean deleteFlag = Window.confirm("Do you really want to delete the annotation?");
if(delet... |
diff --git a/Implementations/src/ObjectLoader.java b/Implementations/src/ObjectLoader.java
index 896af4a..1506ab0 100644
--- a/Implementations/src/ObjectLoader.java
+++ b/Implementations/src/ObjectLoader.java
@@ -1,45 +1,45 @@
/**
* Helper Class. Writes and reads objects for String filenames
*/
import java.io.*... | true | true | public static void backupFile(String filename, String backupFilename) throws IOException, FileNotFoundException, NullPointerException
{
File file1 = new File(filename);
File file2 = new File(backupFilename);
FileInputStream tweetIn = null;
FileOutputStream backupOut = null;
byte[] buf = new byte[1024];
f... | public static void backupFile(String filename, String backupFilename) throws IOException, FileNotFoundException, NullPointerException
{
File file1 = new File(filename);
File file2 = new File(backupFilename);
FileInputStream tweetIn = null;
FileOutputStream backupOut = null;
byte[] buf = new byte[1024];
f... |
diff --git a/src/openmap/com/bbn/openmap/omGraphics/util/ImageWarp.java b/src/openmap/com/bbn/openmap/omGraphics/util/ImageWarp.java
index 61a740ce..6ec1d235 100644
--- a/src/openmap/com/bbn/openmap/omGraphics/util/ImageWarp.java
+++ b/src/openmap/com/bbn/openmap/omGraphics/util/ImageWarp.java
@@ -1,542 +1,542 @@
//**... | true | true | public int[] getImagePixels(Projection p) {
if (pixels != null && p != null) {
projectedImageBounds = calculateProjectedImageBounds(p);
if (projectedImageBounds == null) {
// image isn't on the map.
return null;
}
int projHei... | public int[] getImagePixels(Projection p) {
if (pixels != null && p != null) {
projectedImageBounds = calculateProjectedImageBounds(p);
if (projectedImageBounds == null) {
// image isn't on the map.
return null;
}
int projHei... |
diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/GrapesCleaner.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/GrapesCleaner.java
index 30bb525328..52b6571458 100644
--- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/GrapesCleaner.java
+++ b/spring-boot-cli/src/tes... | true | true | public static void cleanIfNecessary() throws Exception {
File installedJar = new File(getMavenRepository(), String.format(
"org/springframework/boot/spring-boot-strap/%s/spring-boot-strap-%s.jar",
VERSION, VERSION));
File grapesJar = new File(
getGrapesCache(),
String.format(
"org.springframe... | public static void cleanIfNecessary() throws Exception {
File installedJar = new File(getMavenRepository(), String.format(
"org/springframework/boot/spring-boot/%s/spring-boot-%s.jar", VERSION,
VERSION));
File grapesJar = new File(getGrapesCache(), String.format(
"org.springframework.boot/spring-boot/j... |
diff --git a/src/test/java/com/salesforce/phoenix/end2end/QueryDatabaseMetaDataTest.java b/src/test/java/com/salesforce/phoenix/end2end/QueryDatabaseMetaDataTest.java
index 5dfca31a..f7d9a54b 100644
--- a/src/test/java/com/salesforce/phoenix/end2end/QueryDatabaseMetaDataTest.java
+++ b/src/test/java/com/salesforce/phoe... | false | true | public void testColumnMetadataScan() throws SQLException {
long ts = nextTimestamp();
ensureTableCreated(getUrl(), MDTEST_NAME, null, ts);
Properties props = new Properties();
props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts + 5));
Connection conn = Drive... | public void testColumnMetadataScan() throws SQLException {
long ts = nextTimestamp();
ensureTableCreated(getUrl(), MDTEST_NAME, null, ts);
Properties props = new Properties();
props.setProperty(PhoenixRuntime.CURRENT_SCN_ATTRIB, Long.toString(ts + 5));
Connection conn = Drive... |
diff --git a/src/jvm/backtype/storm/utils/ShellProcess.java b/src/jvm/backtype/storm/utils/ShellProcess.java
index 011b6069..49c428ae 100644
--- a/src/jvm/backtype/storm/utils/ShellProcess.java
+++ b/src/jvm/backtype/storm/utils/ShellProcess.java
@@ -1,130 +1,132 @@
package backtype.storm.utils;
import backtype.sto... | true | true | private String readString() throws IOException {
StringBuilder line = new StringBuilder();
//synchronized (processOut) {
while (true) {
String subline = processOut.readLine();
if(subline==null) {
StringBuilder errorMessage = new String... | private String readString() throws IOException {
StringBuilder line = new StringBuilder();
//synchronized (processOut) {
while (true) {
String subline = processOut.readLine();
if(subline==null) {
StringBuilder errorMessage = new String... |
diff --git a/FooBook/src/ca/ualberta/cmput301w13t11/FoodBook/model/DbManager.java b/FooBook/src/ca/ualberta/cmput301w13t11/FoodBook/model/DbManager.java
index b88b7fd..6c31573 100644
--- a/FooBook/src/ca/ualberta/cmput301w13t11/FoodBook/model/DbManager.java
+++ b/FooBook/src/ca/ualberta/cmput301w13t11/FoodBook/model/Db... | true | true | protected ArrayList<Recipe> CursorToRecipes(Cursor cursor) {
ArrayList<Recipe> recipes = new ArrayList<Recipe>();
while (!cursor.isAfterLast()) {
long uri = cursor.getLong(0);
User author = new User(cursor.getString(1));
String title = cursor.getString(2);
String instructions = cursor.getString(3);
... | protected ArrayList<Recipe> CursorToRecipes(Cursor cursor) {
ArrayList<Recipe> recipes = new ArrayList<Recipe>();
while (!cursor.isAfterLast()) {
long uri = cursor.getLong(0);
User author = new User(cursor.getString(2));
String title = cursor.getString(1);
String instructions = cursor.getString(3);
... |
diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java
index f3e5113c7..49c489859 100644
--- a/src/com/fsck/k9/activity/MessageCompose.java
+++ b/src/com/fsck/k9/activity/MessageCompose.java
@@ -1,3748 +1,3749 @@
package com.fsck.k9.activity;
import android.annota... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
finish();
return;
}
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
if (K9.getK9Comp... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (UpgradeDatabases.actionUpgradeDatabases(this, getIntent())) {
finish();
return;
}
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
if (K9.getK9Comp... |
diff --git a/xml/src/main/java/org/exolab/castor/xml/UnmarshalHandler.java b/xml/src/main/java/org/exolab/castor/xml/UnmarshalHandler.java
index a5ca859b..982a2b13 100644
--- a/xml/src/main/java/org/exolab/castor/xml/UnmarshalHandler.java
+++ b/xml/src/main/java/org/exolab/castor/xml/UnmarshalHandler.java
@@ -1,3955 +1... | true | true | private void startElement
(String name, String namespace, AttributeSet atts)
throws SAXException
{
UnmarshalState state = null;
String xmlSpace = null;
//-- handle special atts
if (atts != null) {
//-- xml:space
xmlSpace = atts.getValue... | private void startElement
(String name, String namespace, AttributeSet atts)
throws SAXException
{
UnmarshalState state = null;
String xmlSpace = null;
//-- handle special atts
if (atts != null) {
//-- xml:space
xmlSpace = atts.getValue... |
diff --git a/src/nl/esciencecenter/esalsa/tools/TopographyViewer.java b/src/nl/esciencecenter/esalsa/tools/TopographyViewer.java
index 8a113ef..273507e 100644
--- a/src/nl/esciencecenter/esalsa/tools/TopographyViewer.java
+++ b/src/nl/esciencecenter/esalsa/tools/TopographyViewer.java
@@ -1,159 +1,159 @@
/*
* Copyrig... | false | true | public static void main(String [] args) {
if (args.length < 3) {
System.out.println("Usage: TopographyViewer topography_file topography_width topography_height " +
"block_width block_height [--showGUI] [--image image.png]\n" +
"\n" +
"Read a topography file of topography_width x topography_he... | public static void main(String [] args) {
if (args.length < 3) {
System.out.println("Usage: TopographyViewer topography_file topography_width topography_height " +
"block_width block_height [--showGUI] [--image image.png]\n" +
"\n" +
"Read a topography file of topography_width x topography_he... |
diff --git a/ccw.core/src/ccw/editors/antlrbased/OutwardExpandingSelectionAction.java b/ccw.core/src/ccw/editors/antlrbased/OutwardExpandingSelectionAction.java
index 9270638b..7952848d 100644
--- a/ccw.core/src/ccw/editors/antlrbased/OutwardExpandingSelectionAction.java
+++ b/ccw.core/src/ccw/editors/antlrbased/Outwar... | true | true | private void select() {
ISourceViewer sourceViewer = editor.sourceViewer();
IRegion selection = editor.getUnSignedSelection(sourceViewer);
boolean previousSelectionExists = Math.abs(selection.getLength()) > 0;
int caretOffset = selection.getOffset();
if (previousSelectionExis... | private void select() {
ISourceViewer sourceViewer = editor.sourceViewer();
IRegion selection = editor.getUnSignedSelection(sourceViewer);
boolean previousSelectionExists = Math.abs(selection.getLength()) > 0;
int caretOffset = selection.getOffset();
if (previousSelectionExis... |
diff --git a/flexodesktop/GUI/flexographicalengine/src/main/java/org/openflexo/fge/view/LabelView.java b/flexodesktop/GUI/flexographicalengine/src/main/java/org/openflexo/fge/view/LabelView.java
index 1f15b349a..80bb44375 100644
--- a/flexodesktop/GUI/flexographicalengine/src/main/java/org/openflexo/fge/view/LabelView.... | true | true | public void startEdition()
{
if(!getGraphicalRepresentation().getIsLabelEditable())return;
logger.info("Start edition of "+getGraphicalRepresentation());
if (logger.isLoggable(Level.FINE)) logger.fine("Start edition of "+getGraphicalRepresentation());
isEditing = true;
//disableMouseListeners();
Affin... | public void startEdition()
{
if(!getGraphicalRepresentation().getIsLabelEditable())return;
logger.info("Start edition of "+getGraphicalRepresentation());
if (logger.isLoggable(Level.FINE)) logger.fine("Start edition of "+getGraphicalRepresentation());
isEditing = true;
//disableMouseListeners();
Affin... |
diff --git a/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/AllW3CCoreTests.java b/tests/org.eclipse.wst.xml.xpath2.processor.tests/src/org/eclipse/wst/xml/xpath2/processor/test/AllW3CCoreTests.java
index 699284ad..4dc9d130 100644
--- a/tests/org.eclipse.wst.xml.xpath2.pr... | false | true | public static Test suite() {
TestSuite suite = new TestSuite("Test for W3C XPath 2.0 test suite.");
//$JUnit-BEGIN$
suite.addTestSuite(QNameEQTest.class);
suite.addTestSuite(SeqUnionTest.class);
suite.addTestSuite(LogicExprTest.class);
suite.addTestSuite(ForExprWithoutTest.class);
suite.addTestSuite(Node... | public static Test suite() {
TestSuite suite = new TestSuite("Test for W3C XPath 2.0 test suite.");
//$JUnit-BEGIN$
suite.addTestSuite(QNameEQTest.class);
suite.addTestSuite(SeqUnionTest.class);
suite.addTestSuite(LogicExprTest.class);
suite.addTestSuite(ForExprWithoutTest.class);
suite.addTestSuite(Node... |
diff --git a/src/main/java/org/candlepin/pinsetter/core/PinsetterKernel.java b/src/main/java/org/candlepin/pinsetter/core/PinsetterKernel.java
index e10a6faa2..4104d041d 100644
--- a/src/main/java/org/candlepin/pinsetter/core/PinsetterKernel.java
+++ b/src/main/java/org/candlepin/pinsetter/core/PinsetterKernel.java
@@ ... | true | true | private void configure() {
if (log.isDebugEnabled()) {
log.debug("Scheduling tasks");
}
List<JobEntry> pendingJobs = new ArrayList<JobEntry>();
// use a set to remove potential duplicate jobs from config
Set<String> jobImpls = new HashSet<String>();
try ... | private void configure() {
if (log.isDebugEnabled()) {
log.debug("Scheduling tasks");
}
List<JobEntry> pendingJobs = new ArrayList<JobEntry>();
// use a set to remove potential duplicate jobs from config
Set<String> jobImpls = new HashSet<String>();
try ... |
diff --git a/src/java/com/splunk/shuttl/archiver/thaw/BucketThawer.java b/src/java/com/splunk/shuttl/archiver/thaw/BucketThawer.java
index 51544928..236b1485 100644
--- a/src/java/com/splunk/shuttl/archiver/thaw/BucketThawer.java
+++ b/src/java/com/splunk/shuttl/archiver/thaw/BucketThawer.java
@@ -1,158 +1,158 @@
// C... | true | true | private ThawInfo thawBucket(Bucket bucket) {
logger.info(will("Attempting to thaw bucket", "bucket", bucket));
ThawInfo thawInfo = null;
try {
thawBucketTransferer.transferBucketToThaw(bucket);
Bucket thawedBucket = bucketRestorer
.restoreToSplunkBucketFormat(bucket);
logger.info(done("Thawe... | private ThawInfo thawBucket(Bucket bucket) {
logger.info(will("Attempting to thaw bucket", "bucket", bucket));
ThawInfo thawInfo = null;
try {
thawBucketTransferer.transferBucketToThaw(bucket);
// Bucket thawedBucket = bucketRestorer
// .restoreToSplunkBucketFormat(bucket);
logger.info(done("... |
diff --git a/javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java b/javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java
index c90389ff6..ea83b2f3b 100644
--- a/javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java
+++ b/javaee-impl/src/test/java/org/jboss/f... | true | true | public void testCreateEndpoint() throws Exception
{
Project project = getProject();
JavaClass entity = generateEntity(project, null, "User");
assertFalse(entity.hasAnnotation(XmlRootElement.class));
setupRest();
queueInputLines("");
getShell().execute("rest endpoint-from-enti... | public void testCreateEndpoint() throws Exception
{
Project project = getProject();
JavaClass entity = generateEntity(project, null, "User");
assertFalse(entity.hasAnnotation(XmlRootElement.class));
setupRest();
queueInputLines("");
getShell().execute("rest endpoint-from-enti... |
diff --git a/ini/trakem2/persistence/Loader.java b/ini/trakem2/persistence/Loader.java
index 80707590..358ae07f 100644
--- a/ini/trakem2/persistence/Loader.java
+++ b/ini/trakem2/persistence/Loader.java
@@ -1,4697 +1,4701 @@
/**
TrakEM2 plugin for ImageJ(C).
Copyright (C) 2005, 2006 Albert Cardona and Rodney Dougl... | false | true | public void adjustChannels(final Patch p, final int old_channels) {
/*
if (0xffffffff == old_channels) {
// reuse any loaded mipmaps
Hashtable<Integer,Image> ht = null;
synchronized (db_lock) {
lock();
ht = mawts.getAll(p.getId());
unlock();
}
for (Map.Entry<Integer,Image> entry : ht.ent... | public void adjustChannels(final Patch p, final int old_channels) {
/*
if (0xffffffff == old_channels) {
// reuse any loaded mipmaps
Hashtable<Integer,Image> ht = null;
synchronized (db_lock) {
lock();
ht = mawts.getAll(p.getId());
unlock();
}
for (Map.Entry<Integer,Image> entry : ht.ent... |
diff --git a/src/test/java/org/neo4j/neode/test/ExampleDataset.java b/src/test/java/org/neo4j/neode/test/ExampleDataset.java
index e3da8e3..23bf2f1 100644
--- a/src/test/java/org/neo4j/neode/test/ExampleDataset.java
+++ b/src/test/java/org/neo4j/neode/test/ExampleDataset.java
@@ -1,110 +1,110 @@
package org.neo4j.neod... | true | true | public void buildSocialNetwork() throws Exception
{
GraphDatabaseService db = Db.tempDb();
DatasetManager datasetManager = new DatasetManager( db, SysOutLog.INSTANCE );
TraversalDescription findCompanyProjects = Traversal.description()
.depthFirst()
.rela... | public void buildSocialNetwork() throws Exception
{
GraphDatabaseService db = Db.tempDb();
DatasetManager datasetManager = new DatasetManager( db, SysOutLog.INSTANCE );
TraversalDescription findCompanyProjects = Traversal.description()
.depthFirst()
.rela... |
diff --git a/src/uk/co/ryanharrison/mathengine/unitconversion/units/SimpleUnitGroup.java b/src/uk/co/ryanharrison/mathengine/unitconversion/units/SimpleUnitGroup.java
index 71bce97..5cd9c75 100644
--- a/src/uk/co/ryanharrison/mathengine/unitconversion/units/SimpleUnitGroup.java
+++ b/src/uk/co/ryanharrison/mathengine/u... | true | true | protected BigRational doConversion(Conversion params)
{
SimpleSubUnit from, to;
if ((from = (SimpleSubUnit) params.getFrom()) != null
&& (to = (SimpleSubUnit) params.getTo()) != null)
{
return params.getValue().multiply(to.getConversion()).divide(from.getConversion());
}
throw new IllegalArgumentEx... | protected BigRational doConversion(Conversion params)
{
SimpleSubUnit from, to;
if ((from = (SimpleSubUnit) params.getFrom()) != null
&& (to = (SimpleSubUnit) params.getTo()) != null)
{
return params.getValue().divide(to.getConversion()).multiply(from.getConversion());
}
throw new IllegalArgumentEx... |
diff --git a/src/de/ueller/midlet/gps/tile/SearchNames.java b/src/de/ueller/midlet/gps/tile/SearchNames.java
index f1daeb58..9da166a4 100644
--- a/src/de/ueller/midlet/gps/tile/SearchNames.java
+++ b/src/de/ueller/midlet/gps/tile/SearchNames.java
@@ -1,347 +1,345 @@
package de.ueller.midlet.gps.tile;
/*
* GpsMid - ... | false | true | private void doSearch(String search) throws IOException {
try {
synchronized(this) {
stopSearch = false;
if (newSearch) {
if (!appendRes) {
gui.clearList();
}
newSearch = false;
}
}
if (search.length() < 2) {
synchronized (this) {
//#debug
logger.info("Coll... | private void doSearch(String search) throws IOException {
try {
synchronized(this) {
stopSearch = false;
if (newSearch) {
if (!appendRes) {
gui.clearList();
}
newSearch = false;
}
}
if (search.length() < 2) {
synchronized (this) {
//#debug
logger.info("Coll... |
diff --git a/app/controllers/PasswordResetApp.java b/app/controllers/PasswordResetApp.java
index 29ac324b..70b7d7d3 100755
--- a/app/controllers/PasswordResetApp.java
+++ b/app/controllers/PasswordResetApp.java
@@ -1,151 +1,151 @@
package controllers;
import info.schleichardt.play2.mailplugin.Mailer;
import utils.... | true | true | private static boolean sendPasswordResetMail(User user, String hashString) {
//ToDo SiteApp.sendMail()과 통합할 것
//ToDo site email setting check 하는 부분이 빠져 있음
Configuration config = play.Play.application().configuration();
String sender = config.getString("smtp.user") + "@" + config.getS... | private static boolean sendPasswordResetMail(User user, String hashString) {
//ToDo SiteApp.sendMail()과 통합할 것
//ToDo site email setting check 하는 부분이 빠져 있음
Configuration config = play.Play.application().configuration();
String sender = config.getString("smtp.user") + "@" + config.getS... |
diff --git a/shop/catalog/src/main/java/org/mayocat/shop/catalog/front/builder/CollectionContextBuilder.java b/shop/catalog/src/main/java/org/mayocat/shop/catalog/front/builder/CollectionContextBuilder.java
index 78dbd516..06c80734 100644
--- a/shop/catalog/src/main/java/org/mayocat/shop/catalog/front/builder/Collectio... | false | true | public Map<String, Object> build(final Collection collection, List<Image> images)
{
Map<String, Object> collectionContext = Maps.newHashMap();
collectionContext.put("title", collection.getTitle());
collectionContext.put("description", collection.getDescription());
collectionConte... | public Map<String, Object> build(final Collection collection, List<Image> images)
{
Map<String, Object> collectionContext = Maps.newHashMap();
collectionContext.put("title", collection.getTitle());
collectionContext.put("description", collection.getDescription());
collectionConte... |
diff --git a/src/hdfs/org/apache/hadoop/hdfs/HftpFileSystem.java b/src/hdfs/org/apache/hadoop/hdfs/HftpFileSystem.java
index 4a5bf0c4d..bb0293296 100644
--- a/src/hdfs/org/apache/hadoop/hdfs/HftpFileSystem.java
+++ b/src/hdfs/org/apache/hadoop/hdfs/HftpFileSystem.java
@@ -1,283 +1,286 @@
/**
* Licensed to the Apache... | true | true | public void startElement(String ns, String localname, String qname,
Attributes attrs) throws SAXException {
if ("listing".equals(qname)) return;
if (!"file".equals(qname) && !"directory".equals(qname)) {
if (RemoteException.class.getSimpleName().equals(qname)) {
throw n... | public void startElement(String ns, String localname, String qname,
Attributes attrs) throws SAXException {
if ("listing".equals(qname)) return;
if (!"file".equals(qname) && !"directory".equals(qname)) {
if (RemoteException.class.getSimpleName().equals(qname)) {
throw n... |
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java
index d9c39cab..936a88c6 100644
--- a/src/de/blinkt/openvpn/VpnProfile.java
+++ b/src/de/blinkt/openvpn/VpnProfile.java
@@ -1,643 +1,645 @@
package de.blinkt.openvpn;
import java.io.File;
import java.io.FileNotFoundException... | false | true | public String getConfigFile(File cacheDir)
{
String cfg="";
// Enable managment interface
cfg += "# Enables connection to GUI\n";
cfg += "management ";
cfg +=cacheDir.getAbsolutePath() + "/" + "mgmtsocket";
cfg += " unix\n";
cfg+= "management-query-passwords\n";
cfg += "management-hold\n\n";
cf... | public String getConfigFile(File cacheDir)
{
String cfg="";
// Enable managment interface
cfg += "# Enables connection to GUI\n";
cfg += "management ";
cfg +=cacheDir.getAbsolutePath() + "/" + "mgmtsocket";
cfg += " unix\n";
cfg+= "management-query-passwords\n";
cfg += "management-hold\n\n";
cf... |
diff --git a/NextWebClient/src/com/perfecxus/simple/HelloWorld.java b/NextWebClient/src/com/perfecxus/simple/HelloWorld.java
index d46585a..737fe68 100644
--- a/NextWebClient/src/com/perfecxus/simple/HelloWorld.java
+++ b/NextWebClient/src/com/perfecxus/simple/HelloWorld.java
@@ -1,38 +1,38 @@
/*Copyright (c) 2013 Per... | true | true | public static void main(String[] args) {
Session session = Nextweb.createSession();
Query hello = session.seed().append("Hello, Java!");
System.out.println("Created:\n"+hello.get());
session.close().get();
}
| public static void main(String[] args) {
Session session = Nextweb.createSession();
Query hello = session.seed().append("Hello World");
System.out.println("Created:\n"+hello.get());
session.close().get();
}
|
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/code/AbstractCodeType.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/code/AbstractCodeType.java
index 68389a9dbb..b7f63c07a1 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shar... | false | true | private void loadCodes() throws ProcessingException {
m_rootCodeMap = new HashMap<Object, ICode>();
m_rootCodeList = new ArrayList<ICode>();
//
// 1a create unconnected codes and assign to type
ArrayList<ICode> allCodesOrdered = new ArrayList<ICode>();
HashMap<ICode, ICode> codeToParentCodeMap... | private void loadCodes() throws ProcessingException {
m_rootCodeMap = new HashMap<Object, ICode>();
m_rootCodeList = new ArrayList<ICode>();
//
// 1a create unconnected codes and assign to type
ArrayList<ICode> allCodesOrdered = new ArrayList<ICode>();
HashMap<ICode, ICode> codeToParentCodeMap... |
diff --git a/test/unit/org/apache/cassandra/hadoop/fs/CassandraFileSystemTest.java b/test/unit/org/apache/cassandra/hadoop/fs/CassandraFileSystemTest.java
index 2fe4fcf..ee563c1 100644
--- a/test/unit/org/apache/cassandra/hadoop/fs/CassandraFileSystemTest.java
+++ b/test/unit/org/apache/cassandra/hadoop/fs/CassandraFil... | true | true | public void testFileSystem() throws Exception
{
CassandraFileSystem fs = new CassandraFileSystem();
fs.initialize(URI.create("cassandra://localhost:"+DatabaseDescriptor.getRpcPort()+"/"), new Configuration());
//
fs.mkdirs(new Path("/mytestdir")... | public void testFileSystem() throws Exception
{
CassandraFileSystem fs = new CassandraFileSystem();
fs.initialize(URI.create("cassandra://localhost:"+DatabaseDescriptor.getRpcPort()+"/"), new Configuration());
//
fs.mkdirs(new Path("/mytestdir")... |
diff --git a/logreg-pact/src/main/java/de/tuberlin/dima/ml/pact/logreg/ensemble/EnsembleJob.java b/logreg-pact/src/main/java/de/tuberlin/dima/ml/pact/logreg/ensemble/EnsembleJob.java
index dae521a..dd52429 100644
--- a/logreg-pact/src/main/java/de/tuberlin/dima/ml/pact/logreg/ensemble/EnsembleJob.java
+++ b/logreg-pact... | true | true | public Plan getPlan(String... args) {
// parse job parameters
if (args.length < 6) return null;
int numPartitions = Integer.parseInt(args[0]);
String inputPathTrain = args[1];
String inputPathTest = args[2];
String outputPath = args[3];
int numFeatures = Integer.parseInt(args[4]);
... | public Plan getPlan(String... args) {
// parse job parameters
if (args.length < 6) return null;
int numPartitions = Integer.parseInt(args[0]);
String inputPathTrain = args[1];
String inputPathTest = args[2];
String outputPath = args[3];
int numFeatures = Integer.parseInt(args[4]);
... |
diff --git a/crypto/src/org/bouncycastle/cms/SignerInformation.java b/crypto/src/org/bouncycastle/cms/SignerInformation.java
index 2fe34e49..0239b04c 100644
--- a/crypto/src/org/bouncycastle/cms/SignerInformation.java
+++ b/crypto/src/org/bouncycastle/cms/SignerInformation.java
@@ -1,534 +1,534 @@
package org.bouncyca... | true | true | private boolean doVerify(
PublicKey key,
AttributeTable signedAttrTable,
String sigProvider)
throws CMSException, NoSuchAlgorithmException, NoSuchProviderException
{
String digestName = CMSSignedHelper.INSTANCE.getDigestAlgName(this.getDigestAlgOI... | private boolean doVerify(
PublicKey key,
AttributeTable signedAttrTable,
String sigProvider)
throws CMSException, NoSuchAlgorithmException, NoSuchProviderException
{
String digestName = CMSSignedHelper.INSTANCE.getDigestAlgName(this.getDigestAlgOI... |
diff --git a/RequirementManager/test/edu/wpi/cs/wpisuitetng/modules/RequirementManager/models/RequirementModelTest.java b/RequirementManager/test/edu/wpi/cs/wpisuitetng/modules/RequirementManager/models/RequirementModelTest.java
index 9c7fd6ee..ffebb784 100644
--- a/RequirementManager/test/edu/wpi/cs/wpisuitetng/module... | true | true | public void addRequirementListTest() {
RequirementModel model2 = RequirementModel.getInstance();
Requirement req1 = new Requirement(3, "Req1", "Tester");
Requirement req2 = new Requirement(4, "Req2", "Another tester");
Requirement req3 = new Requirement(5, "Req3", "Last tester requirement");
Requirement reqL... | public void addRequirementListTest() {
RequirementModel model2 = RequirementModel.getInstance();
Requirement req1 = new Requirement(3, "Req1", "Tester");
Requirement req2 = new Requirement(4, "Req2", "Another tester");
Requirement req3 = new Requirement(5, "Req3", "Last tester requirement");
Requirement reqL... |
diff --git a/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java b/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java
index 04b172e..86c17c0 100644
--- a/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java
+++ b/src/main/java/hudson/plugins/bazaar/BazaarChangeLogParser.java
@@ -1,157 +... | true | true | public BazaarChangeSetList parse(AbstractBuild build, File changelogFile) throws IOException {
ArrayList<BazaarChangeSet> entries = new ArrayList<BazaarChangeSet>();
BufferedReader in = new BufferedReader(new FileReader(changelogFile));
StringBuilder message = new StringBuilder();
S... | public BazaarChangeSetList parse(AbstractBuild build, File changelogFile) throws IOException {
ArrayList<BazaarChangeSet> entries = new ArrayList<BazaarChangeSet>();
BufferedReader in = new BufferedReader(new FileReader(changelogFile));
StringBuilder message = new StringBuilder();
S... |
diff --git a/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddProjectGroupAction.java b/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddProjectGroupAction.java
index 420fc1c50..358e9575a 100644
--- a/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddP... | true | true | public void validate()
{
clearErrorsAndMessages();
if ( name != null && name.equals( "" ) )
{
addActionError( "projectGroup.error.name.required" );
}
else if ( name != null && name.trim().equals( "" ) )
{
addActionError( "projectGroup.error... | public void validate()
{
clearErrorsAndMessages();
if ( name != null && name.equals( "" ) )
{
addActionError( "projectGroup.error.name.required" );
}
else if ( name != null && name.trim().equals( "" ) )
{
addActionError( "projectGroup.error... |
diff --git a/2011_WiSe/HA/project/src/mergesort/MergeTest.java b/2011_WiSe/HA/project/src/mergesort/MergeTest.java
index a061e27..3b14851 100644
--- a/2011_WiSe/HA/project/src/mergesort/MergeTest.java
+++ b/2011_WiSe/HA/project/src/mergesort/MergeTest.java
@@ -1,41 +1,41 @@
package mergesort;
import java.util.Rando... | true | true | public static void main(String[] args) {
System.out.println("Test f�r M = 10, 100, 1000 und n = 10, 100, 1000, 100000 soweit sinnvoll.");
int[] ns = {10, 100, 1000};
int[] ms = {10, 100, 1000, 100000};
Random gen = new Random(System.currentTimeMillis());
Mergesort<Integer> merge = new Mergesort<Inte... | public static void main(String[] args) {
System.out.println("Test f�r M = 10, 100, 1000 und n = 10, 100, 1000, 100000 soweit sinnvoll.");
int[] ms = {10, 100, 1000};
int[] ns = {10, 100, 1000, 100000};
Random gen = new Random(System.currentTimeMillis());
Mergesort<Integer> merge = new Mergesort<Inte... |
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java b/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
index 1367ca1e0..f3909ed35 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
+++ b/maven-core/sr... | false | true | private void executeTaskSegments( List taskSegments, ReactorManager rm, MavenSession session,
MavenProject rootProject, EventDispatcher dispatcher,
MavenExecutionResponse response )
throws ArtifactNotFoundException, MojoExecutionExc... | private void executeTaskSegments( List taskSegments, ReactorManager rm, MavenSession session,
MavenProject rootProject, EventDispatcher dispatcher,
MavenExecutionResponse response )
throws ArtifactNotFoundException, MojoExecutionExc... |
diff --git a/modules/dCache/org/dcache/pool/movers/GFtpProtocol_2_nio.java b/modules/dCache/org/dcache/pool/movers/GFtpProtocol_2_nio.java
index ffe35276fa..2466fd0165 100644
--- a/modules/dCache/org/dcache/pool/movers/GFtpProtocol_2_nio.java
+++ b/modules/dCache/org/dcache/pool/movers/GFtpProtocol_2_nio.java
@@ -1,854... | false | true | public void runIO(RandomAccessFile file,
ProtocolInfo protocol,
StorageInfo storage,
PnfsId pnfsId,
Allocator allocator,
int access)
throws Exception
{
if (!(protocol instanceof GFtpProtocolInfo)) {
throw new CacheException(44, "Pro... | public void runIO(RandomAccessFile file,
ProtocolInfo protocol,
StorageInfo storage,
PnfsId pnfsId,
Allocator allocator,
int access)
throws Exception
{
if (!(protocol instanceof GFtpProtocolInfo)) {
throw new CacheException(44, "Pro... |
diff --git a/src/common/pickitup/FakeWorld.java b/src/common/pickitup/FakeWorld.java
index 525f812..66d2d76 100644
--- a/src/common/pickitup/FakeWorld.java
+++ b/src/common/pickitup/FakeWorld.java
@@ -1,218 +1,221 @@
package pickitup;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.relauncher.Side;
import cpw... | true | true | public void doRender(float partialTick) {
NBTTagCompound block_tag = PickItUp.getMyBlockHeld();
// Do nothing if we're not holding a block.
if (block_tag == null) {
old_block = null;
return;
}
// If the block we're holding changed, grab its details.
... | public void doRender(float partialTick) {
NBTTagCompound block_tag = PickItUp.getMyBlockHeld();
// Do nothing if we're not holding a block.
if (block_tag == null) {
old_block = null;
return;
}
// If the block we're holding changed, grab its details.
... |
diff --git a/modules/resin/src/com/caucho/amber/query/QueryParser.java b/modules/resin/src/com/caucho/amber/query/QueryParser.java
index 2aed6de95..67d8a3149 100644
--- a/modules/resin/src/com/caucho/amber/query/QueryParser.java
+++ b/modules/resin/src/com/caucho/amber/query/QueryParser.java
@@ -1,1839 +1,1839 @@
/*
... | true | true | private SelectQuery parseSelect(boolean innerSelect)
throws QueryParseException
{
int oldParseIndex = _parseIndex;
int oldToken = _token;
boolean oldIsOuterJoin = _isOuterJoin;
boolean oldIsJoinFetch = _isJoinFetch;
SelectQuery query = new SelectQuery(_sql);
query.setParentQuery(_query)... | private SelectQuery parseSelect(boolean innerSelect)
throws QueryParseException
{
int oldParseIndex = _parseIndex;
int oldToken = _token;
boolean oldIsOuterJoin = _isOuterJoin;
boolean oldIsJoinFetch = _isJoinFetch;
SelectQuery query = new SelectQuery(_sql);
query.setParentQuery(_query)... |
diff --git a/src/com/sparkedia/valrix/BackToBody/BackToBody.java b/src/com/sparkedia/valrix/BackToBody/BackToBody.java
index 750b692..bdfb435 100644
--- a/src/com/sparkedia/valrix/BackToBody/BackToBody.java
+++ b/src/com/sparkedia/valrix/BackToBody/BackToBody.java
@@ -1,164 +1,169 @@
package com.sparkedia.valrix.BackT... | false | true | public void onEnable() {
PluginDescriptionFile pdf = getDescription();
pName = pdf.getName();
log = getServer().getLogger();
// Set up Permissions support
if (getServer().getPluginManager().getPlugin("Permissions") != null) {
permission = ((Permissions)getServer().getPluginManager().getPlugin("Permission... | public void onEnable() {
PluginDescriptionFile pdf = getDescription();
pName = pdf.getName();
log = getServer().getLogger();
// Set up Permissions support
if (getServer().getPluginManager().getPlugin("Permissions") != null) {
permission = ((Permissions)getServer().getPluginManager().getPlugin("Permission... |
diff --git a/src/bunnyEmu/main/net/packets/server/SMSG_NAME_CACHE.java b/src/bunnyEmu/main/net/packets/server/SMSG_NAME_CACHE.java
index f3d1aed..3477efc 100644
--- a/src/bunnyEmu/main/net/packets/server/SMSG_NAME_CACHE.java
+++ b/src/bunnyEmu/main/net/packets/server/SMSG_NAME_CACHE.java
@@ -1,64 +1,64 @@
package bunn... | true | true | public boolean writeMoP(){
BitPack bitPack = new BitPack(this);
bitPack.write(0);
bitPack.writeGuidMask(new byte[] {1, 3, 2});
bitPack.write(character.getName().length(), 6);
bitPack.writeGuidMask(new byte[] {6, 4, 0});
bitPack.write(0);
bitPack.writeGuidMask(new byte[] {5, 7});
bitPack.flush();
... | public boolean writeMoP(){
BitPack bitPack = new BitPack(this);
bitPack.write(0);
bitPack.writeGuidMask(new byte[] {1, 3, 2});
bitPack.write(character.getName().length(), 6);
bitPack.writeGuidMask(new byte[] {6, 4, 0});
bitPack.write(0);
bitPack.writeGuidMask(new byte[] {5, 7});
bitPack.flush();
... |
diff --git a/src/com/android/calendar/AlertActivity.java b/src/com/android/calendar/AlertActivity.java
index dcf91862..2a041bf9 100644
--- a/src/com/android/calendar/AlertActivity.java
+++ b/src/com/android/calendar/AlertActivity.java
@@ -1,328 +1,327 @@
/*
* Copyright (C) 2007 The Android Open Source Project
*
... | true | true | protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.alert_activity);
setTitle(R.string.alert_title);
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.width = ViewGroup.LayoutParams.FILL_PARENT;
lp.height = ViewGrou... | protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.alert_activity);
setTitle(R.string.alert_title);
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.width = ViewGroup.LayoutParams.FILL_PARENT;
lp.height = ViewGrou... |
diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java
index 39526065..e9f688d9 100644
--- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java
+++ b/src/main/java/com/sk89q/worldguard/bukkit/Wor... | true | true | private void onEntityDamageByEntity(EntityDamageByEntityEvent event) {
if (event.getDamager() instanceof Projectile) {
onEntityDamageByProjectile(event);
return;
}
Entity attacker = event.getDamager();
Entity defender = event.getEntity();
if (attack... | private void onEntityDamageByEntity(EntityDamageByEntityEvent event) {
if (event.getDamager() instanceof Projectile) {
onEntityDamageByProjectile(event);
return;
}
Entity attacker = event.getDamager();
Entity defender = event.getEntity();
if (attack... |
diff --git a/core/src/qa/qcri/nadeef/core/datamodel/SQLTable.java b/core/src/qa/qcri/nadeef/core/datamodel/SQLTable.java
index 0c0498e..cf1e974 100644
--- a/core/src/qa/qcri/nadeef/core/datamodel/SQLTable.java
+++ b/core/src/qa/qcri/nadeef/core/datamodel/SQLTable.java
@@ -1,441 +1,439 @@
/*
* QCRI, NADEEF LICENSE
... | true | true | public Collection<Table> groupOn(Column column) {
Collection<Table> result = Lists.newArrayList();
Connection conn = null;
Statement stat = null;
ResultSet distinctResult = null;
String indexName = null;
try {
conn = connectionFactory.getSourceConnection(... | public Collection<Table> groupOn(Column column) {
Collection<Table> result = Lists.newArrayList();
Connection conn = null;
Statement stat = null;
ResultSet distinctResult = null;
String indexName = null;
try {
conn = connectionFactory.getSourceConnection(... |
diff --git a/components/common/src/loci/common/DataTools.java b/components/common/src/loci/common/DataTools.java
index 9e25657e7..c4afae16e 100644
--- a/components/common/src/loci/common/DataTools.java
+++ b/components/common/src/loci/common/DataTools.java
@@ -1,875 +1,875 @@
//
// DataTools.java
//
/*
LOCI Comm... | false | true | public static Object makeDataArray2D(byte[] b,
int bpp, boolean fp, boolean little, int height)
{
if (b.length % (bpp * height) != 0) {
throw new IllegalArgumentException("Array length mismatch: " +
"b.length=" + b.length + "; bpp=" + bpp + "; height=" + height);
}
final int width = b.... | public static Object makeDataArray2D(byte[] b,
int bpp, boolean fp, boolean little, int height)
{
if (b.length % (bpp * height) != 0) {
throw new IllegalArgumentException("Array length mismatch: " +
"b.length=" + b.length + "; bpp=" + bpp + "; height=" + height);
}
final int width = b.... |
diff --git a/src/com/android/phone/NotificationMgr.java b/src/com/android/phone/NotificationMgr.java
index fc7cc87b..a52dcc4a 100644
--- a/src/com/android/phone/NotificationMgr.java
+++ b/src/com/android/phone/NotificationMgr.java
@@ -1,1312 +1,1305 @@
/*
* Copyright (C) 2006 The Android Open Source Project
*
* ... | false | true | private void updateInCallNotification(boolean allowFullScreenIntent) {
int resId;
if (DBG) log("updateInCallNotification(allowFullScreenIntent = "
+ allowFullScreenIntent + ")...");
// Never display the "ongoing call" notification on
// non-voice-capable devices... | private void updateInCallNotification(boolean allowFullScreenIntent) {
int resId;
if (DBG) log("updateInCallNotification(allowFullScreenIntent = "
+ allowFullScreenIntent + ")...");
// Never display the "ongoing call" notification on
// non-voice-capable devices... |
diff --git a/src/minecraft/java/org/darkstorm/darkbot/minecraftbot/ai/BlockBreakActivity.java b/src/minecraft/java/org/darkstorm/darkbot/minecraftbot/ai/BlockBreakActivity.java
index 90b7d1e..d29bae5 100644
--- a/src/minecraft/java/org/darkstorm/darkbot/minecraftbot/ai/BlockBreakActivity.java
+++ b/src/minecraft/java/o... | false | true | public BlockBreakActivity(MinecraftBot bot, BlockLocation location,
int timeout) {
this.location = location;
lastId = bot.getWorld().getBlockIdAt(location);
this.bot = bot;
int x = location.getX(), y = location.getY(), z = location.getZ();
MainPlayerEntity player = bot.getPlayer();
World world = bot.get... | public BlockBreakActivity(MinecraftBot bot, BlockLocation location, int timeout) {
this.location = location;
lastId = bot.getWorld().getBlockIdAt(location);
this.bot = bot;
int x = location.getX(), y = location.getY(), z = location.getZ();
MainPlayerEntity player = bot.getPlayer();
World world = bot.getWor... |
diff --git a/src/com/sonyericsson/chkbugreport/plugins/SurfaceFlingerPlugin.java b/src/com/sonyericsson/chkbugreport/plugins/SurfaceFlingerPlugin.java
index a71bd5d..ca585ed 100644
--- a/src/com/sonyericsson/chkbugreport/plugins/SurfaceFlingerPlugin.java
+++ b/src/com/sonyericsson/chkbugreport/plugins/SurfaceFlingerPlu... | false | true | private boolean scan(BugReport br, Section sec) {
int count = 0;
int expectedCount = 0;
int line = 0;
// Read the number of layers
String buff = sec.getLine(0);
if (buff.startsWith("Visible layers")) {
int idx0 = buff.indexOf('=');
int idx1 = ... | private boolean scan(BugReport br, Section sec) {
int count = 0;
int expectedCount = 0;
int line = 0;
// Read the number of layers
String buff = sec.getLine(0);
if (buff.startsWith("Visible layers")) {
int idx0 = buff.indexOf('=');
int idx1 = ... |
diff --git a/assignment-impl/impl/src/java/org/sakaiproject/assignment/impl/BaseAssignmentService.java b/assignment-impl/impl/src/java/org/sakaiproject/assignment/impl/BaseAssignmentService.java
index 7b413508..488e35d8 100644
--- a/assignment-impl/impl/src/java/org/sakaiproject/assignment/impl/BaseAssignmentService.ja... | true | true | public byte[] getGradesSpreadsheet(String ref) throws IdUnusedException, PermissionException
{
String typeGradesString = new String(REF_TYPE_GRADES + Entity.SEPARATOR);
String context = ref.substring(ref.indexOf(typeGradesString) + typeGradesString.length());
// get site title for display purpose
String site... | public byte[] getGradesSpreadsheet(String ref) throws IdUnusedException, PermissionException
{
String typeGradesString = new String(REF_TYPE_GRADES + Entity.SEPARATOR);
String context = ref.substring(ref.indexOf(typeGradesString) + typeGradesString.length());
// get site title for display purpose
String site... |
diff --git a/podsalinan/src/com/mimpidev/podsalinan/cli/options/podcast/SelectPodcast.java b/podsalinan/src/com/mimpidev/podsalinan/cli/options/podcast/SelectPodcast.java
index 79083f5..a7ef50b 100644
--- a/podsalinan/src/com/mimpidev/podsalinan/cli/options/podcast/SelectPodcast.java
+++ b/podsalinan/src/com/mimpidev/p... | false | true | public ReturnObject execute(String command) {
debug=true;
if (debug) Podsalinan.debugLog.logInfo(this,"Line:41, Command :"+command);
/* Only go through this code, if the podcast being passed in is different to the podcast stored in
* global selection
*/
/*TODO: Working here to correct menu t... | public ReturnObject execute(String command) {
debug=true;
if (debug) Podsalinan.debugLog.logInfo(this,"Line:41, Command :"+command);
/* Only go through this code, if the podcast being passed in is different to the podcast stored in
* global selection
*/
/*TODO: Working here to correct menu t... |
diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InstallVdsCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InstallVdsCommand.java
index 3aea0d00..00a08ad4 100644
--- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InstallVdsCommand... | true | true | protected void executeCommand() {
if (getVds() != null) {
if (getVds().getvds_type() == VDSType.VDS) {
_vdsInstaller =
new VdsInstaller(getVds(),
getParameters().getRootPassword(),
getParamete... | protected void executeCommand() {
if (getVds() != null) {
if (getVds().getvds_type() == VDSType.VDS) {
_vdsInstaller =
new VdsInstaller(getVds(),
getParameters().getRootPassword(),
getParamete... |
diff --git a/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java b/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java
index 55fb05144..602a93f8d 100644
--- a/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/R... | false | true | public static String resolveIdGetterName(JavaClass<?> entity)
{
String result = null;
for (Member<?> member : entity.getMembers())
{
if (member.hasAnnotation(Id.class))
{
String name = member.getName();
String type = null;
if (member instanc... | public static String resolveIdGetterName(JavaClass<?> entity)
{
String result = null;
for (Member<?> member : entity.getMembers())
{
if (member.hasAnnotation(Id.class))
{
String name = member.getName();
String type = null;
if (member instanc... |
diff --git a/src/main/java/edu/berkeley/sparrow/daemon/nodemonitor/TaskLauncherService.java b/src/main/java/edu/berkeley/sparrow/daemon/nodemonitor/TaskLauncherService.java
index a755803..c0fa750 100644
--- a/src/main/java/edu/berkeley/sparrow/daemon/nodemonitor/TaskLauncherService.java
+++ b/src/main/java/edu/berkeley... | true | true | private List<TTaskLaunchSpec> executeGetTaskRpc(TaskSpec task) {
String schedulerAddress = task.schedulerAddress.getAddress().getHostAddress();
if (!schedulerClients.containsKey(schedulerAddress)) {
try {
schedulerClients.put(schedulerAddress,
TClients.createBlockingGetTa... | private List<TTaskLaunchSpec> executeGetTaskRpc(TaskSpec task) {
String schedulerAddress = task.schedulerAddress.getAddress().getHostAddress();
if (!schedulerClients.containsKey(schedulerAddress)) {
try {
schedulerClients.put(schedulerAddress,
TClients.createBlockingGetTa... |
diff --git a/troll-android/src/com/xmedic/troll/TrucknrollAndroidActivity.java b/troll-android/src/com/xmedic/troll/TrucknrollAndroidActivity.java
index 1293c0d..3ab35f0 100644
--- a/troll-android/src/com/xmedic/troll/TrucknrollAndroidActivity.java
+++ b/troll-android/src/com/xmedic/troll/TrucknrollAndroidActivity.java... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main);
se... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main);
se... |
diff --git a/src/jspeak/JSpeak.java b/src/jspeak/JSpeak.java
index 37185de..0b5d9b6 100644
--- a/src/jspeak/JSpeak.java
+++ b/src/jspeak/JSpeak.java
@@ -1,355 +1,357 @@
/*
* Copyright (C) 2012 Christopher Lemire <christopher.lemire@gmail.com>
*
* This program is free software; you can redistribute it and/or mod... | false | true | public JSpeak() {
defaultvc = "Default"; // Used for default espeak voice
voices = new MbrolaVoices();
if(voices != null) {
voiceComBox = new JComboBox(voices.getVoices());
}
voiceComBox.addItem(defaultvc);
voiceComBox.setSelectedItem(defaultvc);
voiceComBox.addActionListener(this);
... | public JSpeak() {
defaultvc = "Default"; // Used for default espeak voice
voices = new MbrolaVoices();
if(voices.getVoices() != null) {
voiceComBox = new JComboBox(voices.getVoices());
} else {
voiceComBox = new JComboBox();
}
voiceComBox.addItem(defaultvc);
voiceComBox.setSele... |
diff --git a/src/java/net/sf/samtools/SAMRecord.java b/src/java/net/sf/samtools/SAMRecord.java
index d5f873f6..801cd015 100644
--- a/src/java/net/sf/samtools/SAMRecord.java
+++ b/src/java/net/sf/samtools/SAMRecord.java
@@ -1,1757 +1,1757 @@
/*
* The MIT License
*
* Copyright (c) 2009 The Broad Institute
*
* ... | true | true | public List<SAMValidationError> isValid() {
// ret is only instantiate if there are errors to report, in order to reduce GC in the typical case
// in which everything is valid. It's ugly, but more efficient.
ArrayList<SAMValidationError> ret = null;
if (!getReadPairedFlag()) {
... | public List<SAMValidationError> isValid() {
// ret is only instantiate if there are errors to report, in order to reduce GC in the typical case
// in which everything is valid. It's ugly, but more efficient.
ArrayList<SAMValidationError> ret = null;
if (!getReadPairedFlag()) {
... |
diff --git a/src/xtremweb/core/db/DBInterfaceFactory.java b/src/xtremweb/core/db/DBInterfaceFactory.java
index d830c98..4ba48c2 100644
--- a/src/xtremweb/core/db/DBInterfaceFactory.java
+++ b/src/xtremweb/core/db/DBInterfaceFactory.java
@@ -1,80 +1,82 @@
package xtremweb.core.db;
/**
* DBInterfaceFactory.java
*... | true | true | public DBInterfaceFactory( ) {
Properties mainprop;
try {
mainprop = ConfigurationProperties.getProperties();
} catch (ConfigurationException ce) {
log.debug("No Database configuratioin found for DBInterfaceFactory : " + ce);
mainprop = new Properties();
}
Properties properties = new Pr... | public DBInterfaceFactory( ) {
Properties mainprop;
try {
mainprop = ConfigurationProperties.getProperties();
} catch (ConfigurationException ce) {
log.debug("No Database configuratioin found for DBInterfaceFactory : " + ce);
mainprop = new Properties();
}
Properties properties = new Pr... |
diff --git a/svnkit/src/org/tmatesoft/svn/core/wc/DefaultSVNDiffGenerator.java b/svnkit/src/org/tmatesoft/svn/core/wc/DefaultSVNDiffGenerator.java
index ad9504e4c..841b22a56 100644
--- a/svnkit/src/org/tmatesoft/svn/core/wc/DefaultSVNDiffGenerator.java
+++ b/svnkit/src/org/tmatesoft/svn/core/wc/DefaultSVNDiffGenerator.... | true | true | public void displayFileDiff(String path, File file1, File file2,
String rev1, String rev2, String mimeType1, String mimeType2, OutputStream result) throws SVNException {
SVNDebugLog.getDefaultLog().log(SVNLogType.DEFAULT, "Diff: display diff to stream " + result, Level.FINEST);
path = ge... | public void displayFileDiff(String path, File file1, File file2,
String rev1, String rev2, String mimeType1, String mimeType2, OutputStream result) throws SVNException {
SVNDebugLog.getDefaultLog().log(SVNLogType.DEFAULT, "Diff: display diff to stream " + result, Level.FINEST);
path = ge... |
diff --git a/plugins/org.bonitasoft.studio.connectors/src/org/bonitasoft/studio/connectors/ui/preferences/DBConnectorsPreferencePage.java b/plugins/org.bonitasoft.studio.connectors/src/org/bonitasoft/studio/connectors/ui/preferences/DBConnectorsPreferencePage.java
index 64c4baf748..174d53873f 100644
--- a/plugins/org.b... | true | true | private void createDBConnectorsList(Composite parent){
final Composite connectorListComposite = new Composite(parent,SWT.NONE);
connectorListComposite.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).create());
connectorListComposite.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).hint(80,2... | private void createDBConnectorsList(Composite parent){
final Composite connectorListComposite = new Composite(parent,SWT.NONE);
connectorListComposite.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).create());
connectorListComposite.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).hint(80,2... |
diff --git a/src/test/java/org/apache/ibatis/submitted/includes/IncludeTest.java b/src/test/java/org/apache/ibatis/submitted/includes/IncludeTest.java
index 6f30ef59dc..3ef1946ce8 100644
--- a/src/test/java/org/apache/ibatis/submitted/includes/IncludeTest.java
+++ b/src/test/java/org/apache/ibatis/submitted/includes/In... | true | true | public void testIncludes() throws Exception {
String resource = "org/apache/ibatis/submitted/includes/MapperConfig.xml";
Reader reader = Resources.getResourceAsReader(resource);
SqlSessionFactoryBuilder builder = new SqlSessionFactoryBuilder();
SqlSessionFactory sqlMapper = builder.build(reader);
... | public void testIncludes() throws Exception {
String resource = "org/apache/ibatis/submitted/includes/MapperConfig.xml";
Reader reader = Resources.getResourceAsReader(resource);
SqlSessionFactoryBuilder builder = new SqlSessionFactoryBuilder();
SqlSessionFactory sqlMapper = builder.build(reader);
... |
diff --git a/plugins/chrome-bootstrap/src/android/ChromeExtensionURLs.java b/plugins/chrome-bootstrap/src/android/ChromeExtensionURLs.java
index 45514f9..588da1a 100644
--- a/plugins/chrome-bootstrap/src/android/ChromeExtensionURLs.java
+++ b/plugins/chrome-bootstrap/src/android/ChromeExtensionURLs.java
@@ -1,98 +1,98 ... | true | true | public UriResolver resolveUri(Uri uri) {
// Check the scheme to see if we need to handle.
// Also ensure we haven't intercepted it before
// If this check wasn't present, the content-loaded section would go into an infinite loop of data retrieval attempts
if (!uri.getScheme().equals... | public UriResolver resolveUri(Uri uri) {
// Check the scheme to see if we need to handle.
// Also ensure we haven't intercepted it before
// If this check wasn't present, the content-loaded section would go into an infinite loop of data retrieval attempts
if (!uri.getScheme().equals... |
diff --git a/railo-java/railo-core/src/railo/runtime/config/ConfigServerImpl.java b/railo-java/railo-core/src/railo/runtime/config/ConfigServerImpl.java
index 745042c9b..c856aad39 100644
--- a/railo-java/railo-core/src/railo/runtime/config/ConfigServerImpl.java
+++ b/railo-java/railo-core/src/railo/runtime/config/Confi... | true | true | public void checkPermGenSpace(boolean check) {
//print.e(Runtime.getRuntime().freeMemory());
// Runtime.getRuntime().freeMemory()<200000 ||
// long pgs=SystemUtil.getFreePermGenSpaceSize();
int promille=SystemUtil.getFreePermGenSpacePromille();
// Pen Gen Space info not available
if(... | public void checkPermGenSpace(boolean check) {
//print.e(Runtime.getRuntime().freeMemory());
// Runtime.getRuntime().freeMemory()<200000 ||
// long pgs=SystemUtil.getFreePermGenSpaceSize();
int promille=SystemUtil.getFreePermGenSpacePromille();
// Pen Gen Space info not available
if(... |
diff --git a/javafx.editor/src/org/netbeans/modules/javafx/editor/hints/OverrideVisitor.java b/javafx.editor/src/org/netbeans/modules/javafx/editor/hints/OverrideVisitor.java
index 23ab24a9..a49e11ca 100644
--- a/javafx.editor/src/org/netbeans/modules/javafx/editor/hints/OverrideVisitor.java
+++ b/javafx.editor/src/org... | true | true | public Void visitFunctionDefinition(FunctionDefinitionTree node, Void v) {
if (node.toString().contains(" overridefunction ") || node.toString().contains(" override ")) { //NOI18N
Element element = compilationInfo.getTrees().getElement(getCurrentPath());
if (element != null) {
... | public Void visitFunctionDefinition(FunctionDefinitionTree node, Void v) {
try {
node.toString();
} catch(NullPointerException ex) {
ex.printStackTrace();
return super.visitFunctionDefinition(node, v);
}
if (node.toString().contains(" overridefunct... |
diff --git a/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/DebugUtils.java b/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/DebugUtils.java
index 6a1e13de..20f13bd7 100644
--- a/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/DebugUtils.java
+++ b/tycho-core/src/main/java/org/eclipse/ty... | true | true | public static boolean isDebugEnabled(MavenSession session, MavenProject project) {
String config = session.getUserProperties().getProperty("tycho.debug.resolver");
return config != null && config.trim().equals(project.getArtifactId());
}
| public static boolean isDebugEnabled(MavenSession session, MavenProject project) {
String config = session.getUserProperties().getProperty("tycho.debug.resolver");
return config != null && (config.trim().equals(project.getArtifactId()) || "true".equals(config.trim()));
}
|
diff --git a/org.orbisgis.core/src/main/java/org/orbisgis/core/OrbisgisCore.java b/org.orbisgis.core/src/main/java/org/orbisgis/core/OrbisgisCore.java
index 2e0767d97..b775a8135 100644
--- a/org.orbisgis.core/src/main/java/org/orbisgis/core/OrbisgisCore.java
+++ b/org.orbisgis.core/src/main/java/org/orbisgis/core/Orbis... | false | true | public void start() throws Exception {
// Initialize data source factory
initialize();
// Install the error listener
PluginManager.addSystemListener(new SystemListener() {
public void warning(String userMsg, Throwable e) {
error(new ErrorMessage(userMsg, e, false));
}
private void error(ErrorMe... | public void start() throws Exception {
// Initialize data source factory
initialize();
// Install the error listener
PluginManager.addSystemListener(new SystemListener() {
public void warning(String userMsg, Throwable e) {
error(new ErrorMessage(userMsg, e, false));
}
private ErrorFrame error(E... |
diff --git a/com.piece_framework.makegood.ui/src/com/piece_framework/makegood/ui/EditorParser.java b/com.piece_framework.makegood.ui/src/com/piece_framework/makegood/ui/EditorParser.java
index 81b69b88..ba10f80e 100644
--- a/com.piece_framework.makegood.ui/src/com/piece_framework/makegood/ui/EditorParser.java
+++ b/com... | true | true | public IModelElement getModelElementOnSelection() {
Assert.isTrue(editor instanceof StructuredTextEditor);
ISourceViewer sourceViewer = ((StructuredTextEditor) editor).getTextViewer();
if (sourceViewer == null) return null;
StyledText styledText = sourceViewer.getTextWidget();
... | public IModelElement getModelElementOnSelection() {
Assert.isTrue(editor instanceof StructuredTextEditor);
ISourceViewer sourceViewer = ((StructuredTextEditor) editor).getTextViewer();
if (sourceViewer == null) return null;
StyledText styledText = sourceViewer.getTextWidget();
... |
diff --git a/src/gui/ParameterDialog.java b/src/gui/ParameterDialog.java
index a6cffaac..62dc0161 100644
--- a/src/gui/ParameterDialog.java
+++ b/src/gui/ParameterDialog.java
@@ -1,218 +1,218 @@
//----------------------------------------------------------------------------
// $Id$
// $Source$
//--------------------... | true | true | private static Vector parseResponse(String response)
{
Vector parameters = new Vector();
BufferedReader reader =
new BufferedReader(new StringReader(response));
while (true)
{
String line = null;
try
{
line = reader.... | private static Vector parseResponse(String response)
{
Vector parameters = new Vector();
BufferedReader reader =
new BufferedReader(new StringReader(response));
while (true)
{
String line = null;
try
{
line = reader.... |
diff --git a/AnDC/src/main/java/com/phinmadvader/andcpp/TestActivity.java b/AnDC/src/main/java/com/phinmadvader/andcpp/TestActivity.java
index 5c311ab..f98e2ec 100644
--- a/AnDC/src/main/java/com/phinmadvader/andcpp/TestActivity.java
+++ b/AnDC/src/main/java/com/phinmadvader/andcpp/TestActivity.java
@@ -1,233 +1,235 @@... | false | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
LinearLayout l = new LinearLayout(this);
Button start_service = new Button(this);
start_service.setText("Start Service");
start_service.setOnClickListener(new View.OnClickListener() {
... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
LinearLayout l = new LinearLayout(this);
Button start_service = new Button(this);
start_service.setText("Start Service");
start_service.setOnClickListener(new View.OnClickListener() {
... |
diff --git a/component/portal/src/main/java/org/gatein/portal/installer/PortalSetupServlet.java b/component/portal/src/main/java/org/gatein/portal/installer/PortalSetupServlet.java
index 04706c0db..68bc9159d 100644
--- a/component/portal/src/main/java/org/gatein/portal/installer/PortalSetupServlet.java
+++ b/component/... | false | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
if (PortalSetupService.isSetup()) {
response.sendRedirect(PORTAL);
} else {
String password = request.getParameter(PASSWORD);
String password2 = ... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
if (PortalSetupService.isSetup()) {
response.sendRedirect(PORTAL);
} else {
String password = request.getParameter(PASSWORD);
String password2 = ... |
diff --git a/src/gui/RuleMaker.java b/src/gui/RuleMaker.java
index b213aa2..11b987c 100644
--- a/src/gui/RuleMaker.java
+++ b/src/gui/RuleMaker.java
@@ -1,619 +1,621 @@
package gui;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import ... | false | true | public void initComponents(){
//Setting up the panel
setLayout(new GridBagLayout());
setSize(600, 600);
setBorder(BorderFactory.createLoweredBevelBorder());
GridBagConstraints c = new GridBagConstraints();
final Board[] boards = b.getBoards();
//Legal Destination Rules for White
final JPanel ... | public void initComponents(){
//Setting up the panel
setLayout(new GridBagLayout());
setSize(600, 600);
setBorder(BorderFactory.createLoweredBevelBorder());
GridBagConstraints c = new GridBagConstraints();
final Board[] boards = b.getBoards();
//Legal Destination Rules for White
final JPanel ... |
diff --git a/src/main/java/org/jenkinsci/plugins/beakerbuilder/BeakerBuilder.java b/src/main/java/org/jenkinsci/plugins/beakerbuilder/BeakerBuilder.java
index 79c9046..f9266b1 100644
--- a/src/main/java/org/jenkinsci/plugins/beakerbuilder/BeakerBuilder.java
+++ b/src/main/java/org/jenkinsci/plugins/beakerbuilder/Beaker... | true | true | public FormValidation doTestConnection(@QueryParameter("beakerURL") final String beakerURL,
@QueryParameter("login") final String login, @QueryParameter("password") final String password) {
System.out.println("Trying to get client for " + beakerURL);
BeakerClient bc = Bea... | public FormValidation doTestConnection(@QueryParameter("beakerURL") final String beakerURL,
@QueryParameter("login") final String login, @QueryParameter("password") final String password) {
System.out.println("Trying to get client for " + beakerURL);
BeakerClient bc = Bea... |
diff --git a/src/com/nickbp/viz/hider/SystemUiHiderHoneycomb.java b/src/com/nickbp/viz/hider/SystemUiHiderHoneycomb.java
index e5d1c04..cc3f5b4 100644
--- a/src/com/nickbp/viz/hider/SystemUiHiderHoneycomb.java
+++ b/src/com/nickbp/viz/hider/SystemUiHiderHoneycomb.java
@@ -1,140 +1,144 @@
/**
* A MESSAGE BY NICHOLAS ... | false | true | public void onSystemUiVisibilityChange(int vis) {
// Test against mTestFlags to see if the system UI is visible.
if ((vis & mTestFlags) != 0) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
// Pre-Jelly Bean, we must manually hide the a... | public void onSystemUiVisibilityChange(int vis) {
// Test against mTestFlags to see if the system UI is visible.
if ((vis & mTestFlags) != 0) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
// Pre-Jelly Bean, we must manually hide the a... |
diff --git a/software/ICeePotPC/src/iceepotpc/servergw/Server.java b/software/ICeePotPC/src/iceepotpc/servergw/Server.java
index b3a79ea..a2576d3 100644
--- a/software/ICeePotPC/src/iceepotpc/servergw/Server.java
+++ b/software/ICeePotPC/src/iceepotpc/servergw/Server.java
@@ -1,136 +1,138 @@
package iceepotpc.servergw... | true | true | public static ArrayList<Meauserement> GetMeasurements(Calendar c, int pot) throws Exception {
Context cntx = Context.getInstance();
ArrayList<Meauserement> measurements = new ArrayList<Meauserement>();
String excMessage = "";
//construct the request in a string
String request_str = Integer.toString... | public static ArrayList<Meauserement> GetMeasurements(Calendar c, int pot) throws Exception {
Context cntx = Context.getInstance();
ArrayList<Meauserement> measurements = new ArrayList<Meauserement>();
String excMessage = "";
//construct the request in a string
String request_str = Integer.toString... |
diff --git a/uk.ac.diamond.scisoft.analysis/src/uk/ac/diamond/scisoft/analysis/dataset/AggregateDataset.java b/uk.ac.diamond.scisoft.analysis/src/uk/ac/diamond/scisoft/analysis/dataset/AggregateDataset.java
index 9c6faf95d..596186693 100644
--- a/uk.ac.diamond.scisoft.analysis/src/uk/ac/diamond/scisoft/analysis/dataset... | true | true | public AggregateDataset(boolean extend, ILazyDataset... datasets) {
final int[][] shapes = calcShapes(extend, datasets);
// check for same (sub-)shape
final int[] s = shapes[0];
final int axis = extend ? -1 : 0;
for (int j = 1; j < shapes.length; j++) {
if (!AbstractDataset.areShapesCompatible(s, shapes... | public AggregateDataset(boolean extend, ILazyDataset... datasets) {
final int[][] shapes = calcShapes(extend, datasets);
// check for same (sub-)shape
final int[] s = shapes[0];
final int axis = extend ? -1 : 0;
for (int j = 1; j < shapes.length; j++) {
if (!AbstractDataset.areShapesCompatible(s, shapes... |
diff --git a/closure/closure-templates/java/src/com/google/template/soy/data/SoyData.java b/closure/closure-templates/java/src/com/google/template/soy/data/SoyData.java
index 35198e5f..f9021948 100644
--- a/closure/closure-templates/java/src/com/google/template/soy/data/SoyData.java
+++ b/closure/closure-templates/java... | false | true | public static SoyData createFromExistingData(Object obj) {
if (obj == null) {
return NullData.INSTANCE;
} else if (obj instanceof SoyData) {
return (SoyData) obj;
} else if (obj instanceof String) {
return new StringData((String) obj);
} else if (obj instanceof Boolean) {
retu... | public static SoyData createFromExistingData(Object obj) {
if (obj == null) {
return NullData.INSTANCE;
} else if (obj instanceof SoyData) {
return (SoyData) obj;
} else if (obj instanceof String) {
return new StringData((String) obj);
} else if (obj instanceof Boolean) {
retu... |
diff --git a/CornerstoneCommon/src/main/java/com/paxxis/cornerstone/service/BaseMessageProcessor.java b/CornerstoneCommon/src/main/java/com/paxxis/cornerstone/service/BaseMessageProcessor.java
index 3e5736b..18e494b 100644
--- a/CornerstoneCommon/src/main/java/com/paxxis/cornerstone/service/BaseMessageProcessor.java
++... | false | true | protected RESP process(boolean ignorePreviousChanges, Destination replyTo) {
this.ignorePreviousChanges = ignorePreviousChanges;
this.replyTo = replyTo;
REQ requestMessage = getMessagePayload();
requestMessage.setRequestReceivedOn(System.currentTimeMillis());
... | protected RESP process(boolean ignorePreviousChanges, Destination replyTo) {
this.ignorePreviousChanges = ignorePreviousChanges;
this.replyTo = replyTo;
REQ requestMessage = getMessagePayload();
requestMessage.setRequestReceivedOn(System.currentTimeMillis());
... |
diff --git a/src/main/java/hudson/ivy/AbstractIvyProject.java b/src/main/java/hudson/ivy/AbstractIvyProject.java
index a5341b6..89b2a2f 100644
--- a/src/main/java/hudson/ivy/AbstractIvyProject.java
+++ b/src/main/java/hudson/ivy/AbstractIvyProject.java
@@ -1,91 +1,91 @@
/*
* The MIT License
*
* Copyright (c) 200... | true | true | protected List<Action> createTransientActions() {
List<Action> r = super.createTransientActions();
// if we just pick up the project actions from the last build,
// and if the last build failed very early, then the reports that
// kick in later (like test results) won't be displayed... | protected List<Action> createTransientActions() {
List<Action> r = super.createTransientActions();
// if we just pick up the project actions from the last build,
// and if the last build failed very early, then the reports that
// kick in later (like test results) won't be displayed... |
diff --git a/common/src/main/java/org/apache/xmlrpc/XmlRpcException.java b/common/src/main/java/org/apache/xmlrpc/XmlRpcException.java
index f91d55a..5486e00 100644
--- a/common/src/main/java/org/apache/xmlrpc/XmlRpcException.java
+++ b/common/src/main/java/org/apache/xmlrpc/XmlRpcException.java
@@ -1,96 +1,96 @@
/*
... | false | true | public void printStackTrace(PrintStream pStream) {
super.printStackTrace(pStream);
if (linkedException != null) {
pStream.println("Caused by:");
}
linkedException.printStackTrace(pStream);
}
| public void printStackTrace(PrintStream pStream) {
super.printStackTrace(pStream);
if (linkedException != null) {
pStream.println("Caused by:");
linkedException.printStackTrace(pStream);
}
}
|
diff --git a/src/minecraft/org/getspout/spout/gui/GenericLabel.java b/src/minecraft/org/getspout/spout/gui/GenericLabel.java
index 6b664979..da8404fa 100644
--- a/src/minecraft/org/getspout/spout/gui/GenericLabel.java
+++ b/src/minecraft/org/getspout/spout/gui/GenericLabel.java
@@ -1,158 +1,158 @@
package org.getspout... | true | true | public void render() {
FontRenderer font = SpoutClient.getHandle().fontRenderer;
String lines[] = getText().split("\\n");
double swidth = 0;
for (int i = 0; i < lines.length; i++) {
swidth = font.getStringWidth(lines[i]) > swidth ? font.getStringWidth(lines[i]) : swidth;
}
double sheight = lines.leng... | public void render() {
FontRenderer font = SpoutClient.getHandle().fontRenderer;
String lines[] = getText().split("\\n");
double swidth = 0;
for (int i = 0; i < lines.length; i++) {
swidth = font.getStringWidth(lines[i]) > swidth ? font.getStringWidth(lines[i]) : swidth;
}
double sheight = lines.leng... |
diff --git a/src/main/java/org/whitesource/bamboo/agent/MavenParser.java b/src/main/java/org/whitesource/bamboo/agent/MavenParser.java
index 13f63d9..d20568b 100644
--- a/src/main/java/org/whitesource/bamboo/agent/MavenParser.java
+++ b/src/main/java/org/whitesource/bamboo/agent/MavenParser.java
@@ -1,100 +1,96 @@
pac... | false | true | protected Set<MavenProject> getModules(MavenProject mavenProject)
{
Set<MavenProject> modules = Sets.newHashSet();
final List<MavenProject> mavenModules = mavenProject.getModules();
if (mavenModules != null)
{
modules.addAll(mavenModules);
}
// recurs... | protected Set<MavenProject> getModules(MavenProject mavenProject)
{
Set<MavenProject> modules = Sets.newHashSet();
// recursively add child modules
for (Object module : mavenProject.getModules())
{
String name = (String) module;
File pom = new File(mavenP... |
diff --git a/CanaryGoblins/src/GoblinsListener.java b/CanaryGoblins/src/GoblinsListener.java
index ea0d3ad..59edb93 100644
--- a/CanaryGoblins/src/GoblinsListener.java
+++ b/CanaryGoblins/src/GoblinsListener.java
@@ -1,25 +1,25 @@
import java.util.Random;
import java.util.logging.Logger;
public class GoblinsLi... | true | true | public void onLogin(Player player) {
String[] goblins = { "Gmonur", "Nurezk","Gnutz", "Gkazor", "Snuz", "Rezuxk", "Drak", "Gexomd", "Zekr", "Regoms"};
String ret = GoblinsListener.get(goblins);
player.sendMessage("~" + ret + "greets you, 'Welcome master!'");
}
| public void onLogin(Player player) {
String[] goblins = { "Gmonur", "Nurezk","Gnutz", "Gkazor", "Snuz", "Rezuxk", "Drak", "Gexomd", "Zekr", "Regoms"};
String ret = GoblinsListener.get(goblins);
player.sendMessage(ret + " greets you, 'Welcome master!'");
}
|
diff --git a/src/main/java/org/jboss/ejb/client/remoting/RemotingConnectionProviderConfigurator.java b/src/main/java/org/jboss/ejb/client/remoting/RemotingConnectionProviderConfigurator.java
index a27ec67..604e7bc 100644
--- a/src/main/java/org/jboss/ejb/client/remoting/RemotingConnectionProviderConfigurator.java
+++ b... | false | true | RemotingConnectionProviderConfigurator from(final Properties properties) throws IOException {
// add a connection provider for the "remote" URI scheme
final OptionMap remoteConnectionProivderOptionsFromConfiguration = getOptionMapFromProperties(properties, REMOTE_CONNECTION_PROVIDER_CREATE_OPTIONS_P... | RemotingConnectionProviderConfigurator from(final Properties properties) throws IOException {
// add a connection provider for the "remote" URI scheme
final OptionMap remoteConnectionProviderOptionsFromConfiguration = getOptionMapFromProperties(properties, REMOTE_CONNECTION_PROVIDER_CREATE_OPTIONS_P... |
diff --git a/Source/TableWalker.java b/Source/TableWalker.java
index 578d6d2..4706bb9 100644
--- a/Source/TableWalker.java
+++ b/Source/TableWalker.java
@@ -1,276 +1,276 @@
package Source;
import java.util.ArrayList;
/**
* TableWalker is initialized with a DFATable. calling walkTable with an input
* char wil... | true | true | public ArrayList<Token> walkTable(char c) {
/*
* Ignore whitespace!
*/
boolean whiteSpace = false;
if((c==' ') || (c=='\t')||(c=='\n')||(c=='\r')){
//return null;
whiteSpace = true;
}
/*
* Start by clearing out the return list, we don't want any entries from
* previous runs sticking arou... | public ArrayList<Token> walkTable(char c) {
/*
* Ignore whitespace!
*/
boolean whiteSpace = false;
if((c==' ') || (c=='\t')||(c=='\n')||(c=='\r')){
//return null;
whiteSpace = true;
}
/*
* Start by clearing out the return list, we don't want any entries from
* previous runs sticking arou... |
diff --git a/src/haven/Skeleton.java b/src/haven/Skeleton.java
index 2eec4aef..ab1c51a9 100644
--- a/src/haven/Skeleton.java
+++ b/src/haven/Skeleton.java
@@ -1,600 +1,604 @@
/*
* This file is part of the Haven & Hearth game client.
* Copyright (C) 2009 Fredrik Tolf <fredrik@dolda2000.com>, and
* ... | true | true | public void aupdate(float time) {
if(time > len)
time = len;
reset();
for(int i = 0; i < tracks.length; i++) {
Track t = tracks[i];
if((t == null) || (t.frames.length == 0))
continue;
if(t.frames.length == 1) {
qset(lrot[i], t.frames[0].rot);
vset(lpos[i], t.frames[0].trans);
... | public void aupdate(float time) {
if(time > len)
time = len;
reset();
for(int i = 0; i < tracks.length; i++) {
Track t = tracks[i];
if((t == null) || (t.frames.length == 0))
continue;
if(t.frames.length == 1) {
qset(lrot[i], t.frames[0].rot);
vset(lpos[i], t.frames[0].trans);
... |
diff --git a/src/bukkitutil/util/Logging.java b/src/bukkitutil/util/Logging.java
index fe72cd8..a4e57be 100644
--- a/src/bukkitutil/util/Logging.java
+++ b/src/bukkitutil/util/Logging.java
@@ -1,74 +1,74 @@
/*
BukkitUtil
Copyright (C) 2011 Klezst
This program is free software: you can redistribute it and/or mo... | true | true | public static void prefixLog(final Level level, final String prefix, final String... messages) {
for (String message : messages) {
for (String line : message.split("\n")) {
log(level, prefix + line);
}
}
}
| public static void prefixLog(final Level level, final String prefix, final String... messages) {
for (String message : messages) {
for (String line : message.split("\n")) {
logger.log(level, prefix + line);
}
}
}
|
diff --git a/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/ComponentInitializerMojo.java b/plugins/maven-compile-plugin/src/main/java/org/apache/maven/dotnet/plugin/compile/ComponentInitializerMojo.java
index 673391d5..f0524275 100644
--- a/plugins/maven-compile-plugin/src/main/java/... | true | true | public void execute() throws MojoExecutionException {
try {
assemblyResolver.resolveTransitivelyFor(project, project.getArtifact(), project.getDependencies(), pomFile,
localRepository, true);
} catch (ArtifactResolutionException e) {
throw new MojoExecutio... | public void execute() throws MojoExecutionException {
try {
assemblyResolver.resolveTransitivelyFor(project, project.getArtifact(), project.getDependencies(), pomFile,
localRepository, true);
} catch (ArtifactResolutionException e) {
throw new MojoExecutio... |
diff --git a/src/test/java/com/wikia/webdriver/Trash/CreateAWiki_1.java b/src/test/java/com/wikia/webdriver/Trash/CreateAWiki_1.java
index c26a6cb..3bfeb37 100644
--- a/src/test/java/com/wikia/webdriver/Trash/CreateAWiki_1.java
+++ b/src/test/java/com/wikia/webdriver/Trash/CreateAWiki_1.java
@@ -1,65 +1,65 @@
package ... | true | true | public void CreateNewWiki()
{
HomePageObject home = new HomePageObject(driver);
home.openHomePage();
CommonFunctions.logIn();
CreateNewWikiPageObjectStep1 createNewWikistep1 = home.startAWiki();
String timeStamp = createNewWikistep1.getTimeStamp();
wikiName = "QaTest"+timeStamp;
createNewWikistep1.... | public void CreateNewWiki()
{
HomePageObject home = new HomePageObject(driver);
home.openHomePage();
// CommonFunctions.logIn();
CreateNewWikiPageObjectStep1 createNewWikistep1 = home.startAWiki();
String timeStamp = createNewWikistep1.getTimeStamp();
wikiName = "QaTest"+timeStamp;
createNewWikistep... |
diff --git a/plugins/org.eclipse.emf.compare.match/src/org/eclipse/emf/compare/match/engine/GenericMatchScope.java b/plugins/org.eclipse.emf.compare.match/src/org/eclipse/emf/compare/match/engine/GenericMatchScope.java
index 349ad580d..87d668614 100644
--- a/plugins/org.eclipse.emf.compare.match/src/org/eclipse/emf/com... | true | true | private static void resolveAll(ResourceSet resourceSet) {
final List<Resource> resources = resourceSet.getResources();
for (int i = 0; i < resources.size(); ++i) {
final Iterator<EObject> resourceContent = resources.get(i).getAllContents();
while (resourceContent.hasNext()) {
final EObject eObject = reso... | private static void resolveAll(ResourceSet resourceSet) {
if (resourceSet != null) {
final List<Resource> resources = resourceSet.getResources();
for (int i = 0; i < resources.size(); ++i) {
final Iterator<EObject> resourceContent = resources.get(i).getAllContents();
while (resourceContent.hasNext()) {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.