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/EmeraldEconomy/src/net/illusiononline/EmeraldEconomy/PlayerListener.java b/EmeraldEconomy/src/net/illusiononline/EmeraldEconomy/PlayerListener.java
index efe6dd5..ebd8bf9 100644
--- a/EmeraldEconomy/src/net/illusiononline/EmeraldEconomy/PlayerListener.java
+++ b/EmeraldEconomy/src/net/illusiononline/Emeral... | true | true | public void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
if (player == null) return;
Integer money = EmeraldEconomy.getSQLManager().getBalance(player.getName());
if (money == null) {
Boolean _w = EmeraldEconomy.getSQLManager().newUnit(player.getName(), false);
if (_w)
log.... | public void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
if (player == null) return;
Integer money = EmeraldEconomy.getSQLManager().getBalance(player.getName());
if (money == null) {
Boolean _w = EmeraldEconomy.getSQLManager().newUnit(player.getName());
if (_w)
log.info("C... |
diff --git a/src/Main.java b/src/Main.java
index c012ddd..66cfd19 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -1,199 +1,196 @@
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
i... | false | true | public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
BufferedReader br = null;
String filepath;
int count = 0; //counter
int option; //Specifies the option that the user selects from the menu
String x; //general purpose variable for user input/loading
String c... | public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
BufferedReader br = null;
String filepath;
int count = 0; //counter
int option; //Specifies the option that the user selects from the menu
String x; //general purpose variable for user input/loading
String c... |
diff --git a/android/src/org/coolreader/crengine/BaseListView.java b/android/src/org/coolreader/crengine/BaseListView.java
index 859ebbde..8478457e 100644
--- a/android/src/org/coolreader/crengine/BaseListView.java
+++ b/android/src/org/coolreader/crengine/BaseListView.java
@@ -1,59 +1,59 @@
package org.coolreader.cre... | true | true | public boolean onKeyDown(int keyCode, KeyEvent event) {
int dir = 0;
if (keyCode == 0)
keyCode = event.getScanCode();
if (DeviceInfo.SONY_NAVIGATION_KEYS) {
if (keyCode == ReaderView.SONY_DPAD_RIGHT_SCANCODE || keyCode == ReaderView.SONY_DPAD_DOWN_SCANCODE || keyCode=... | public boolean onKeyDown(int keyCode, KeyEvent event) {
int dir = 0;
if (keyCode == 0)
keyCode = event.getScanCode();
if (DeviceInfo.SONY_NAVIGATION_KEYS) {
if (keyCode == ReaderView.SONY_DPAD_RIGHT_SCANCODE || keyCode == ReaderView.SONY_DPAD_DOWN_SCANCODE || keyCode=... |
diff --git a/source/core/src/test/java/org/marketcetera/core/HttpDatabaseIDFactoryTest.java b/source/core/src/test/java/org/marketcetera/core/HttpDatabaseIDFactoryTest.java
index ca476b33d..bf619252c 100644
--- a/source/core/src/test/java/org/marketcetera/core/HttpDatabaseIDFactoryTest.java
+++ b/source/core/src/test/j... | true | true | public void testInvalidURL() throws Exception
{
URL url = new URL("http://www.bogus.example.com/no/such/url");
final HttpDatabaseIDFactory factory = new HttpDatabaseIDFactory(url);
new ExpectedTestFailure(NoMoreIDsException.class, "bogus.example") {
protected void execute() t... | public void testInvalidURL() throws Exception
{
URL url = new URL("http://www.bogus.example.com/no/such/url");
final HttpDatabaseIDFactory factory = new HttpDatabaseIDFactory(url);
new ExpectedTestFailure(NoMoreIDsException.class) {
protected void execute() throws Throwable {... |
diff --git a/cyklotron-ui/src/main/java/net/cyklotron/cms/modules/views/security/GroupMembers.java b/cyklotron-ui/src/main/java/net/cyklotron/cms/modules/views/security/GroupMembers.java
index e3c5c258a..c5318fb62 100644
--- a/cyklotron-ui/src/main/java/net/cyklotron/cms/modules/views/security/GroupMembers.java
+++ b/c... | false | true | public void process(Parameters parameters, MVCContext mvcContext,
TemplatingContext templatingContext, HttpContext httpContext, I18nContext i18nContext,
CoralSession coralSession)
throws ProcessingException
{
try
{
long groupId = parameters.getLong("group_id")... | public void process(Parameters parameters, MVCContext mvcContext,
TemplatingContext templatingContext, HttpContext httpContext, I18nContext i18nContext,
CoralSession coralSession)
throws ProcessingException
{
try
{
long groupId = parameters.getLong("group_id")... |
diff --git a/src/test/java/test/thread/ThreadPoolSizeBase.java b/src/test/java/test/thread/ThreadPoolSizeBase.java
index 517f6fa5..0822fdbb 100644
--- a/src/test/java/test/thread/ThreadPoolSizeBase.java
+++ b/src/test/java/test/thread/ThreadPoolSizeBase.java
@@ -1,18 +1,18 @@
package test.thread;
import org.testng.... | true | true | protected void logThread() {
long n = Thread.currentThread().getId();
log(getClass().getName(), "threadPoolSize:3");
logThread(n);
}
| protected void logThread() {
long n = Thread.currentThread().getId();
log(getClass().getName(), "");
logThread(n);
}
|
diff --git a/src/edu/jas/ufd/FactorAbstract.java b/src/edu/jas/ufd/FactorAbstract.java
index 41b74a44..31b2842f 100644
--- a/src/edu/jas/ufd/FactorAbstract.java
+++ b/src/edu/jas/ufd/FactorAbstract.java
@@ -1,621 +1,631 @@
/*
* $Id$
*/
package edu.jas.ufd;
import java.util.ArrayList;
import java.util.List... | false | true | public List<GenPolynomial<C>> factorsSquarefree(GenPolynomial<C> P) {
if (P == null) {
throw new RuntimeException(this.getClass().getName() + " P != null");
}
GenPolynomialRing<C> pfac = P.ring;
if (pfac.nvar == 1) {
return baseFactorsSquarefree(P);
}
... | public List<GenPolynomial<C>> factorsSquarefree(GenPolynomial<C> P) {
if (P == null) {
throw new RuntimeException(this.getClass().getName() + " P != null");
}
GenPolynomialRing<C> pfac = P.ring;
if (pfac.nvar == 1) {
return baseFactorsSquarefree(P);
}
... |
diff --git a/src/com/vesalaakso/rbb/states/GameState.java b/src/com/vesalaakso/rbb/states/GameState.java
index 0b81535..49ac6c3 100644
--- a/src/com/vesalaakso/rbb/states/GameState.java
+++ b/src/com/vesalaakso/rbb/states/GameState.java
@@ -1,354 +1,355 @@
package com.vesalaakso.rbb.states;
import java.util.LinkedL... | true | true | public void init(GameContainer container, StateBasedGame game)
throws SlickException {
// Remove this as the input handler, as input handling is done via
// InputMaster class and not this.
container.getInput().removeListener(this);
// Load the background image
background = new Background();
// Constru... | public void init(GameContainer container, StateBasedGame game)
throws SlickException {
// Remove this as the input handler, as input handling is done via
// InputMaster class and not this.
container.getInput().removeListener(this);
// Load the background image
background = new Background();
// Constru... |
diff --git a/plugins/org.eclipse.acceleo.parser/src-ant/org/eclipse/acceleo/parser/compiler/AcceleoCompiler.java b/plugins/org.eclipse.acceleo.parser/src-ant/org/eclipse/acceleo/parser/compiler/AcceleoCompiler.java
index 4883d3fc..b4a52c04 100644
--- a/plugins/org.eclipse.acceleo.parser/src-ant/org/eclipse/acceleo/pars... | true | true | public void execute() throws BuildException {
StringBuffer message = new StringBuffer();
List<MTLFileInfo> fileInfos = new ArrayList<MTLFileInfo>();
for (File sourceFolder : sourceFolders) {
if (sourceFolder != null && sourceFolder.exists() && sourceFolder.isDirectory()) {
fileInfos.addAll(computeFileInfo... | public void execute() throws BuildException {
StringBuffer message = new StringBuffer();
List<MTLFileInfo> fileInfos = new ArrayList<MTLFileInfo>();
for (File sourceFolder : sourceFolders) {
if (sourceFolder != null && sourceFolder.exists() && sourceFolder.isDirectory()) {
fileInfos.addAll(computeFileInfo... |
diff --git a/core/src/main/java/hudson/tasks/CommandInterpreter.java b/core/src/main/java/hudson/tasks/CommandInterpreter.java
index c70ddd8a7..438f9a965 100644
--- a/core/src/main/java/hudson/tasks/CommandInterpreter.java
+++ b/core/src/main/java/hudson/tasks/CommandInterpreter.java
@@ -1,71 +1,71 @@
package hudson.t... | true | true | public boolean perform(Build build, Launcher launcher, BuildListener listener) throws InterruptedException {
Project proj = build.getProject();
FilePath ws = proj.getWorkspace();
FilePath script=null;
try {
try {
script = ws.createTextTempFile("hudson", ge... | public boolean perform(Build build, Launcher launcher, BuildListener listener) throws InterruptedException {
Project proj = build.getProject();
FilePath ws = proj.getWorkspace();
FilePath script=null;
try {
try {
script = ws.createTextTempFile("hudson", ge... |
diff --git a/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java b/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java
index 28650fcae..7e1db0d9d 100644
--- a/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java
+++ b/src/java/com/android/interna... | true | true | protected void pollStateDone() {
// Some older CDMA/LTE RILs only report VoiceRadioTechnology which results in network
// Unknown. In these cases return RilVoiceRadioTechnology for RilDataRadioTechnology.
boolean oldRil = mCi.needsOldRilFeature("usevoicetechfordata");
if (mNewSS.getD... | protected void pollStateDone() {
// Some older CDMA/LTE RILs only report VoiceRadioTechnology which results in network
// Unknown. In these cases return RilVoiceRadioTechnology for RilDataRadioTechnology.
boolean oldRil = mCi.needsOldRilFeature("usevoicetechfordata");
if (mNewSS.getD... |
diff --git a/src/migration/java/org/infoscoop/batch/migration/v200to210/WidgetConfConvertTask.java b/src/migration/java/org/infoscoop/batch/migration/v200to210/WidgetConfConvertTask.java
index ae040b1d..ec97bcd3 100644
--- a/src/migration/java/org/infoscoop/batch/migration/v200to210/WidgetConfConvertTask.java
+++ b/src... | true | true | public void execute(Project project, Object object) throws BuildException {
WidgetConf bean = (WidgetConf) object;
try {
if("FragmentMiniBrowser".equals(bean.getType())){
Document doc = (Document) XmlUtil.string2Dom(bean.getData());
Element newUserPref = doc.createElement("UserPref");
newUserPr... | public void execute(Project project, Object object) throws BuildException {
WidgetConf bean = (WidgetConf) object;
try {
if("FragmentMiniBrowser".equals(bean.getType())){
Document doc = (Document) XmlUtil.string2Dom(bean.getData());
Element newUserPref = doc.createElement("UserPref");
newUserPr... |
diff --git a/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java b/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
index 1dd4118b..48f92cab 100644
--- a/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
+++ b/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
@@ -1,763 +1,768 @@
/* -*- 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 instanceof Undefined) {
value = "undefined";
... | 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 instanceof Undefined) {
value = "undefined";
... |
diff --git a/spoon-runner/src/main/java/com/squareup/spoon/html/HtmlUtils.java b/spoon-runner/src/main/java/com/squareup/spoon/html/HtmlUtils.java
index 879ebf9..9259ab5 100644
--- a/spoon-runner/src/main/java/com/squareup/spoon/html/HtmlUtils.java
+++ b/spoon-runner/src/main/java/com/squareup/spoon/html/HtmlUtils.java... | true | true | static String prettifyMethodName(String methodName) {
if (!methodName.startsWith("test")) {
throw new IllegalArgumentException("Method name does not start with 'test'.");
}
StringBuilder pretty = new StringBuilder();
String[] parts = methodName.substring(4).split("_");
for (String part : par... | static String prettifyMethodName(String methodName) {
if (!methodName.startsWith("test")) {
throw new IllegalArgumentException("Method name '" + methodName + "' does not start with 'test'.");
}
StringBuilder pretty = new StringBuilder();
String[] parts = methodName.substring(4).split("_");
f... |
diff --git a/src/com/othersonline/kv/distributed/AbstractRefreshingNodeStore.java b/src/com/othersonline/kv/distributed/AbstractRefreshingNodeStore.java
index f48d4f5..47a0c16 100644
--- a/src/com/othersonline/kv/distributed/AbstractRefreshingNodeStore.java
+++ b/src/com/othersonline/kv/distributed/AbstractRefreshingNo... | true | true | private boolean changed(List<Node> active, List<Node> updated) {
if (active.size() != updated.size())
return true;
for (int i = 0; i < active.size(); ++i) {
Node currentNode = active.get(i);
Node updatedNode = updated.get(i);
// compare
if ((currentNode.getId() != updatedNode.getId())
|| (!curr... | private boolean changed(List<Node> active, List<Node> updated) {
if (active.size() != updated.size())
return true;
for (int i = 0; i < active.size(); ++i) {
Node currentNode = active.get(i);
Node updatedNode = updated.get(i);
// compare
if ((currentNode.getId() != updatedNode.getId())
|| (!curr... |
diff --git a/src/org/ebookdroid/core/events/EventDispatcher.java b/src/org/ebookdroid/core/events/EventDispatcher.java
index 3a4c91b1..5eec4029 100644
--- a/src/org/ebookdroid/core/events/EventDispatcher.java
+++ b/src/org/ebookdroid/core/events/EventDispatcher.java
@@ -1,22 +1,22 @@
package org.ebookdroid.core.events... | true | true | public void dispatch(final Event event) {
for (final Object listener : listeners) {
event.dispatchOn(listener);
}
}
| public void dispatch(final Event<?> event) {
for (final Object listener : listeners) {
event.dispatchOn(listener);
}
}
|
diff --git a/tools/runner/java/dalvik/runner/Dx.java b/tools/runner/java/dalvik/runner/Dx.java
index 83f126552..d36a99d28 100644
--- a/tools/runner/java/dalvik/runner/Dx.java
+++ b/tools/runner/java/dalvik/runner/Dx.java
@@ -1,32 +1,37 @@
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under... | false | true | public void dex(String output, Classpath classpath) {
new Command.Builder()
.args("dx")
.args("--dex")
.args("--output=" + output)
.args(Strings.objectsToStrings(classpath.getElements()))
.execute();
}
| public void dex(String output, Classpath classpath) {
// We pass --core-library so that we can write tests in the same package they're testing,
// even when that's a core library package. If you're actually just using this tool to
// execute arbitrary code, this has the unfortunate side-effe... |
diff --git a/luaj-vm/src/core/org/luaj/vm2/lib/BaseLib.java b/luaj-vm/src/core/org/luaj/vm2/lib/BaseLib.java
index f5b639f..fabc868 100644
--- a/luaj-vm/src/core/org/luaj/vm2/lib/BaseLib.java
+++ b/luaj-vm/src/core/org/luaj/vm2/lib/BaseLib.java
@@ -1,396 +1,397 @@
/*****************************************************... | true | true | public Varargs invoke(Varargs args) {
switch ( opcode ) {
case 0: // "assert", // ( v [,message] ) -> v, message | ERR
if ( !args.arg1().toboolean() ) error("assertion failed!");
return args;
case 1: // "dofile", // ( filename ) -> result1, ...
{
LuaValue chunk;
try {
String filename ... | public Varargs invoke(Varargs args) {
switch ( opcode ) {
case 0: // "assert", // ( v [,message] ) -> v, message | ERR
if ( !args.arg1().toboolean() )
error( args.narg()>1? args.checkjstring(2): "assertion failed!" );
return args;
case 1: // "dofile", // ( filename ) -> result1, ...
{
Lu... |
diff --git a/src/com/matejdro/pebbledialer/PebbleUtil.java b/src/com/matejdro/pebbledialer/PebbleUtil.java
index f8377c4..5ffe250 100644
--- a/src/com/matejdro/pebbledialer/PebbleUtil.java
+++ b/src/com/matejdro/pebbledialer/PebbleUtil.java
@@ -1,47 +1,47 @@
package com.matejdro.pebbledialer;
public class PebbleUti... | true | true | public static String prepareString(String text, int length)
{
if (text == null)
return null;
int targetLength = length - 3;
text = text.trim();
if (text.getBytes().length > length)
{
if (text.length() > targetLength)
text = text.substring(0, targetLength).trim();
while (text.getBytes()... | public static String prepareString(String text, int length)
{
if (text == null)
return null;
int targetLength = length - 3;
text = text.trim();
if (text.getBytes().length > length)
{
if (text.length() > targetLength)
text = text.substring(0, targetLength).trim();
while (text.getBytes()... |
diff --git a/src/org/eclipse/core/internal/resources/ResourceTree.java b/src/org/eclipse/core/internal/resources/ResourceTree.java
index eff05753..c147ee15 100644
--- a/src/org/eclipse/core/internal/resources/ResourceTree.java
+++ b/src/org/eclipse/core/internal/resources/ResourceTree.java
@@ -1,1041 +1,1041 @@
/*****... | true | true | public boolean movedProjectSubtree(IProject project, IProjectDescription destDescription) {
Assert.isLegal(isValid);
// Do nothing if the source resource doesn't exist.
if (!project.exists())
return true;
Project source = (Project) project;
Project destination = (Project) source.getWorkspace().getRoot().getProj... | public boolean movedProjectSubtree(IProject project, IProjectDescription destDescription) {
Assert.isLegal(isValid);
// Do nothing if the source resource doesn't exist.
if (!project.exists())
return true;
Project source = (Project) project;
Project destination = (Project) source.getWorkspace().getRoot().getProj... |
diff --git a/cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/misc/WebReset.java b/cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/misc/WebReset.java
index cd6bf939..6ffb33e6 100644
--- a/cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/misc/WebReset.java
+++ b/cspi-webui/src/main/j... | true | true | private void reset(Storage storage,UIRequest request) throws UIException {
//remember to log into the fornt end before trying to run this
// Temporary hack to reset db
try {
TTYOutputter tty=request.getTTYOutputter();
// Delete existing records
JSONObject data = storage.getPathsJSON("/",null);
Strin... | private void reset(Storage storage,UIRequest request) throws UIException {
//remember to log into the fornt end before trying to run this
// Temporary hack to reset db
try {
TTYOutputter tty=request.getTTYOutputter();
// Delete existing records
JSONObject data = storage.getPathsJSON("/",null);
Strin... |
diff --git a/otp-rest-api/src/main/java/org/opentripplanner/api/ws/PlanGenerator.java b/otp-rest-api/src/main/java/org/opentripplanner/api/ws/PlanGenerator.java
index ccda549a0..d457b6be9 100644
--- a/otp-rest-api/src/main/java/org/opentripplanner/api/ws/PlanGenerator.java
+++ b/otp-rest-api/src/main/java/org/opentripp... | true | true | private Itinerary generateItinerary(GraphPath path, boolean showIntermediateStops) {
Graph graph = path.getRoutingContext().graph;
TransitIndexService transitIndex = graph.getService(TransitIndexService.class);
Itinerary itinerary = makeEmptyItinerary(path);
Set<Alert> postponedAler... | private Itinerary generateItinerary(GraphPath path, boolean showIntermediateStops) {
Graph graph = path.getRoutingContext().graph;
TransitIndexService transitIndex = graph.getService(TransitIndexService.class);
Itinerary itinerary = makeEmptyItinerary(path);
Set<Alert> postponedAler... |
diff --git a/glob-fire-reader/src/main/java/org/esa/glob/reader/worldfire/WorldFireReaderPlugIn.java b/glob-fire-reader/src/main/java/org/esa/glob/reader/worldfire/WorldFireReaderPlugIn.java
index af75029..e2030a4 100644
--- a/glob-fire-reader/src/main/java/org/esa/glob/reader/worldfire/WorldFireReaderPlugIn.java
+++ b... | true | true | public DecodeQualification getDecodeQualification(Object input) {
File inputFile = new File(input.toString());
if(!inputFile.getName().toUpperCase().endsWith(FIRE_FILE_EXTENSION)) {
return DecodeQualification.UNABLE;
}
InputStream inputStream = null;
try {
... | public DecodeQualification getDecodeQualification(Object input) {
File inputFile = new File(String.valueOf(input));
if(!inputFile.getName().toUpperCase().endsWith(FIRE_FILE_EXTENSION)) {
return DecodeQualification.UNABLE;
}
InputStream inputStream = null;
try {
... |
diff --git a/src/PrimerDesign/src/view/FinalTemperaturePanel.java b/src/PrimerDesign/src/view/FinalTemperaturePanel.java
index ca4aaea..20509fd 100644
--- a/src/PrimerDesign/src/view/FinalTemperaturePanel.java
+++ b/src/PrimerDesign/src/view/FinalTemperaturePanel.java
@@ -1,222 +1,223 @@
/*
* To change this template... | false | true | private void initComponents() {
titleLabel = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator(SwingConstants.VERTICAL);
reversePrimerNameLabel = new javax.swing.JLabel();
forwardPrimerNameLabel1 = new javax.swing.JLabel();
meltTempNameLabelL = new javax.swi... | private void initComponents() {
titleLabel = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator(SwingConstants.VERTICAL);
reversePrimerNameLabel = new javax.swing.JLabel();
forwardPrimerNameLabel1 = new javax.swing.JLabel();
meltTempNameLabelL = new javax.swi... |
diff --git a/src/main/java/net/pms/configuration/FormatConfiguration.java b/src/main/java/net/pms/configuration/FormatConfiguration.java
index 6d57a35b4..4078e6c8a 100644
--- a/src/main/java/net/pms/configuration/FormatConfiguration.java
+++ b/src/main/java/net/pms/configuration/FormatConfiguration.java
@@ -1,536 +1,53... | true | true | public boolean match(
String format,
String videoCodec,
String audioCodec,
int nbAudioChannels,
int frequency,
int bitrate,
int videoWidth,
int videoHeight,
Map<String, String> extras
) {
// Satisfy a minimum threshold
if (format == null && videoCodec == null && audioCodec == null)... | public boolean match(
String format,
String videoCodec,
String audioCodec,
int nbAudioChannels,
int frequency,
int bitrate,
int videoWidth,
int videoHeight,
Map<String, String> extras
) {
// Satisfy a minimum threshold
if (format == null && videoCodec == null && audioCodec == null)... |
diff --git a/astCreator/src/main/java/com/lausdahl/ast/creator/methods/RemoveChildMethod.java b/astCreator/src/main/java/com/lausdahl/ast/creator/methods/RemoveChildMethod.java
index 621013f..39fd409 100644
--- a/astCreator/src/main/java/com/lausdahl/ast/creator/methods/RemoveChildMethod.java
+++ b/astCreator/src/main/... | true | true | protected void prepare()
{
fields.clear();
fields.addAll(classDefinition.getInheritedFields());
fields.addAll(classDefinition.getFields());
javaDoc = "\t/**\n";
javaDoc += "\t * Removes the {@link " + env.iNode.getName().getName()
+ "} {@code child} as a child of this {@link "
+ classDefinition.get... | protected void prepare()
{
fields.clear();
fields.addAll(classDefinition.getInheritedFields());
fields.addAll(classDefinition.getFields());
javaDoc = "\t/**\n";
javaDoc += "\t * Removes the {@link " + env.iNode.getName().getName()
+ "} {@code child} as a child of this {@link "
+ classDefinition.get... |
diff --git a/source/de/anomic/data/WorkTables.java b/source/de/anomic/data/WorkTables.java
index 4420ea2bc..a1280f811 100644
--- a/source/de/anomic/data/WorkTables.java
+++ b/source/de/anomic/data/WorkTables.java
@@ -1,71 +1,73 @@
// Work.java
// (C) 2010 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germa... | true | true | public void recordAPICall(final serverObjects post, final String servletName, String type, String comment) {
String apiurl = /*"http://localhost:" + getConfig("port", "8080") +*/ "/" + servletName + "?" + post.toString();
try {
super.insert(
TABLE_API_NAME,
... | public void recordAPICall(final serverObjects post, final String servletName, String type, String comment) {
String apiurl = /*"http://localhost:" + getConfig("port", "8080") +*/ "/" + servletName + "?" + post.toString();
try {
super.insert(
TABLE_API_NAME,
... |
diff --git a/javafx.fxd/src/org/netbeans/modules/javafx/fxd/composer/editor/SyntaxErrorsHighlightingTask.java b/javafx.fxd/src/org/netbeans/modules/javafx/fxd/composer/editor/SyntaxErrorsHighlightingTask.java
index bc3e0a80..358107ff 100644
--- a/javafx.fxd/src/org/netbeans/modules/javafx/fxd/composer/editor/SyntaxErro... | false | true | public void run(Result result, SchedulerEvent event) {
try {
FXDParserResult fxdResult = (FXDParserResult) result;
List<FXDSyntaxErrorException> syntaxErrors = fxdResult.getSyntaxErrors();
Document document = result.getSnapshot().getSource().getDocument(false);
... | public void run(Result result, SchedulerEvent event) {
try {
Document document = result.getSnapshot().getSource().getDocument(false);
if(document == null){
return;
}
FXDParserResult fxdResult = (FXDParserResult) result;
List<FXDSynt... |
diff --git a/luni/src/main/java/java/math/Multiplication.java b/luni/src/main/java/java/math/Multiplication.java
index 25fd31c55..b932704f0 100644
--- a/luni/src/main/java/java/math/Multiplication.java
+++ b/luni/src/main/java/java/math/Multiplication.java
@@ -1,194 +1,194 @@
/*
* Licensed to the Apache Software Fo... | true | true | static BigInteger powerOf10(long exp) {
// PRE: exp >= 0
int intExp = (int)exp;
// "SMALL POWERS"
if (exp < bigTenPows.length) {
// The largest power that fit in 'long' type
return bigTenPows[intExp];
} else if (exp <= 50) {
// To calculate... | static BigInteger powerOf10(long exp) {
// PRE: exp >= 0
int intExp = (int)exp;
// "SMALL POWERS"
if (exp < bigTenPows.length) {
// The largest power that fit in 'long' type
return bigTenPows[intExp];
} else if (exp <= 50) {
// To calculate... |
diff --git a/SimpleAndroidApp/src/org/ivan/simple/game/hero/Hero.java b/SimpleAndroidApp/src/org/ivan/simple/game/hero/Hero.java
index d90a404..f4c622d 100644
--- a/SimpleAndroidApp/src/org/ivan/simple/game/hero/Hero.java
+++ b/SimpleAndroidApp/src/org/ivan/simple/game/hero/Hero.java
@@ -1,565 +1,565 @@
package org.iv... | false | true | public void switchToCurrentMotion() {
pickActiveSprite(model.currentMotion.getType());
MotionType mt = model.currentMotion.getType();
int curStage = model.currentMotion.getStage();
MotionType prevMt = model.finishingMotion.getChildMotion().getType();
// if(prevMt == MotionType.TP_LEFT || prevMt == MotionType.... | public void switchToCurrentMotion() {
pickActiveSprite(model.currentMotion.getType());
MotionType mt = model.currentMotion.getType();
int curStage = model.currentMotion.getStage();
MotionType prevMt = model.finishingMotion.getChildMotion().getType();
// if(prevMt == MotionType.TP_LEFT || prevMt == MotionType.... |
diff --git a/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources/navigation/DataRepoSitetreeResource.java b/src/contributions/resources/data-repo-sitetree/src/java/org/wyona/yanel/impl/resources/navigation/DataRepoSitetreeResource.java
index 87171543d..6c938172a 100644
--- a/src/contr... | false | true | private void getNodeAsXML(String path, Document doc, Element root) {
// Should we show all subnodes?
boolean showAllSubnodes = true;
try {
if(getResourceConfigProperty("show-all-subnodes") != null) {
showAllSubnodes = Boolean.valueOf(getResourceConfigProperty("sh... | private void getNodeAsXML(String path, Document doc, Element root) {
// Should we show all subnodes?
boolean showAllSubnodes = true;
try {
if(getResourceConfigProperty("show-all-subnodes") != null) {
showAllSubnodes = Boolean.valueOf(getResourceConfigProperty("sh... |
diff --git a/org.eclipse.m2e.launching/src/org/eclipse/m2e/ui/internal/launch/MavenLaunchMainTab.java b/org.eclipse.m2e.launching/src/org/eclipse/m2e/ui/internal/launch/MavenLaunchMainTab.java
index 669e04e..69852eb 100644
--- a/org.eclipse.m2e.launching/src/org/eclipse/m2e/ui/internal/launch/MavenLaunchMainTab.java
++... | true | true | public void createControl(Composite parent) {
Composite mainComposite = new Composite(parent, SWT.NONE);
setControl(mainComposite);
//PlatformUI.getWorkbench().getHelpSystem().setHelp(mainComposite, IAntUIHelpContextIds.ANT_MAIN_TAB);
GridLayout layout = new GridLayout();
layout.numColumns = 5;
... | public void createControl(Composite parent) {
Composite mainComposite = new Composite(parent, SWT.NONE);
setControl(mainComposite);
//PlatformUI.getWorkbench().getHelpSystem().setHelp(mainComposite, IAntUIHelpContextIds.ANT_MAIN_TAB);
GridLayout layout = new GridLayout();
layout.numColumns = 5;
... |
diff --git a/src/main/java/org/flowdev/base/data/PrettyPrinter.java b/src/main/java/org/flowdev/base/data/PrettyPrinter.java
index 890a951..0f9249f 100644
--- a/src/main/java/org/flowdev/base/data/PrettyPrinter.java
+++ b/src/main/java/org/flowdev/base/data/PrettyPrinter.java
@@ -1,167 +1,167 @@
package org.flowdev.ba... | false | true | public static StringBuilder prettyPrintEntry(String indentation,
StringBuilder buf, String name, String relation, Object value) {
String type = (value == null) ? "" : value.getClass().getName();
buf.append(indentation).append(name).append(relation);
if (value == null) {
buf.append(NULL);
} else if ... | public static StringBuilder prettyPrintEntry(String indentation,
StringBuilder buf, String name, String relation, Object value) {
String type = (value == null) ? "" : value.getClass().getName();
buf.append(indentation).append(name).append(relation);
if (value == null) {
buf.append(NULL);
} else if ... |
diff --git a/src/com/voc4u/activity/DialogInfo.java b/src/com/voc4u/activity/DialogInfo.java
index 8ce93ac..71f1bf6 100644
--- a/src/com/voc4u/activity/DialogInfo.java
+++ b/src/com/voc4u/activity/DialogInfo.java
@@ -1,119 +1,119 @@
package com.voc4u.activity;
import android.app.Dialog;
import android.content.Cont... | true | true | public static void setup(final Context context, final String type, final Dialog dialog)
{
Resources r = context.getResources();
int titleid = r.getIdentifier("info_title_" + type, "string", context.getPackageName());
int textid = r.getIdentifier("info_text_" + type, "string", context.getPackageName());
dia... | public static void setup(final Context context, final String type, final Dialog dialog)
{
Resources r = context.getResources();
int titleid = r.getIdentifier("form_" + type, "string", context.getPackageName());
int textid = r.getIdentifier("information_" + type, "string", context.getPackageName());
dialog.... |
diff --git a/src/com/webkonsept/bukkit/simplechestlock/listener/SCLPlayerListener.java b/src/com/webkonsept/bukkit/simplechestlock/listener/SCLPlayerListener.java
index 35895d9..cf46c5f 100644
--- a/src/com/webkonsept/bukkit/simplechestlock/listener/SCLPlayerListener.java
+++ b/src/com/webkonsept/bukkit/simplechestlock... | false | true | public void onPlayerInteract (final PlayerInteractEvent event){
if (! plugin.isEnabled() ) return;
if ( event.isCancelled() ) return;
Block block = event.getClickedBlock();
ItemStack toolUsed = null;
if (event.getItem() != null){
toolUsed = event.getItem().clone();
toolUsed.setAmount(1);
}
... | public void onPlayerInteract (final PlayerInteractEvent event){
if (! plugin.isEnabled() ) return;
if ( event.isCancelled() ) return;
Block block = event.getClickedBlock();
ItemStack toolUsed = null;
if (event.getItem() != null){
toolUsed = event.getItem().clone();
toolUsed.setAmount(1);
}
... |
diff --git a/src/net/kiwz/ThePlugin/commands/PlaceCommand.java b/src/net/kiwz/ThePlugin/commands/PlaceCommand.java
index 2a82fd7..37dc68b 100644
--- a/src/net/kiwz/ThePlugin/commands/PlaceCommand.java
+++ b/src/net/kiwz/ThePlugin/commands/PlaceCommand.java
@@ -1,303 +1,303 @@
package net.kiwz.ThePlugin.commands;
im... | false | true | public boolean place(CommandSender sender, Command cmd, String[] args) {
HandlePlaces hPlaces = new HandlePlaces();
HelpCommand help = new HelpCommand();
Player player = Bukkit.getPlayer(sender.getName());
int id;
if (!(sender instanceof Player)) {
int check = 0;
if (args.length == 0) {
check = ... | public boolean place(CommandSender sender, Command cmd, String[] args) {
HandlePlaces hPlaces = new HandlePlaces();
HelpCommand help = new HelpCommand();
Player player = Bukkit.getPlayer(sender.getName());
int id;
if (!(sender instanceof Player)) {
int check = 0;
if (args.length == 0) {
check = ... |
diff --git a/source/de/anomic/crawler/retrieval/HTTPLoader.java b/source/de/anomic/crawler/retrieval/HTTPLoader.java
index b49244cca..1d42f6f0e 100644
--- a/source/de/anomic/crawler/retrieval/HTTPLoader.java
+++ b/source/de/anomic/crawler/retrieval/HTTPLoader.java
@@ -1,222 +1,223 @@
//plasmaCrawlWorker.java
//-----... | true | true | private Response load(final Request request, boolean acceptOnlyParseable, final int retryCount) throws IOException {
if (retryCount < 0) {
sb.crawlQueues.errorURL.newEntry(request, sb.peers.mySeed().hash, new Date(), 1, "redirection counter exceeded").store();
throw new IOException(... | private Response load(final Request request, boolean acceptOnlyParseable, final int retryCount) throws IOException {
if (retryCount < 0) {
sb.crawlQueues.errorURL.newEntry(request, sb.peers.mySeed().hash, new Date(), 1, "redirection counter exceeded").store();
throw new IOException(... |
diff --git a/src/main/java/net/sf/testium/plugins/SeleniumPlugin.java b/src/main/java/net/sf/testium/plugins/SeleniumPlugin.java
index 8030e0e..0e5ce5d 100644
--- a/src/main/java/net/sf/testium/plugins/SeleniumPlugin.java
+++ b/src/main/java/net/sf/testium/plugins/SeleniumPlugin.java
@@ -1,298 +1,298 @@
package net.sf... | true | true | private void createInterface(RunTimeData anRtData,
SupportedInterfaceList anInterfaceList,
TestStepMetaExecutor aTestStepMetaExecutor,
SeleniumConfiguration aConfig, String anInterfaceName)
throws ConfigurationException {
File configDir = (File) anRtData.getValue(Testium.CONFIGDIR);
File interfaceDefi... | private void createInterface(RunTimeData anRtData,
SupportedInterfaceList anInterfaceList,
TestStepMetaExecutor aTestStepMetaExecutor,
SeleniumConfiguration aConfig, String anInterfaceName)
throws ConfigurationException {
File configDir = (File) anRtData.getValue(Testium.CONFIGDIR);
File interfaceDefi... |
diff --git a/app/query/QueryHelper.java b/app/query/QueryHelper.java
index eaa55e9..6fe4239 100644
--- a/app/query/QueryHelper.java
+++ b/app/query/QueryHelper.java
@@ -1,356 +1,356 @@
package query;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
impor... | true | true | public static GridResult findUsageGridData( UsageFilter filter, int page, int size, String sortfield, String sortorder, String qvalue, String qfield ) {
int skip = (page>0 && size>0 ) ? (page-1) * size : -1;
QueryBuilder where = new QueryBuilder(UsageLog.class);
/*
* 1. counting
*/
/* apply... | public static GridResult findUsageGridData( UsageFilter filter, int page, int size, String sortfield, String sortorder, String qvalue, String qfield ) {
int skip = (page>0 && size>0 ) ? (page-1) * size : -1;
QueryBuilder where = new QueryBuilder(UsageLog.class);
/*
* 1. counting
*/
/* apply... |
diff --git a/src/com/timvisee/manager/Manager.java b/src/com/timvisee/manager/Manager.java
index 8d6763e..f73a217 100644
--- a/src/com/timvisee/manager/Manager.java
+++ b/src/com/timvisee/manager/Manager.java
@@ -1,118 +1,118 @@
package com.timvisee.manager;
import java.util.logging.Logger;
import org.bukkit.Buk... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
// Commands to test whether or not Manager is able to properly communicate with the permission/economy system currently running
if (sender instanceof Player){
if (cmd.getName().equalsIgnoreCase("manager")){
if ... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
// Commands to test whether or not Manager is able to properly communicate with the permission/economy system currently running
if (sender instanceof Player){
if (cmd.getName().equalsIgnoreCase("manager")){
if ... |
diff --git a/src/gwt/src/org/rstudio/studio/client/workbench/prefs/views/PaneLayoutPreferencesPane.java b/src/gwt/src/org/rstudio/studio/client/workbench/prefs/views/PaneLayoutPreferencesPane.java
index 5309690993..1e0c610bbb 100644
--- a/src/gwt/src/org/rstudio/studio/client/workbench/prefs/views/PaneLayoutPreferences... | true | true | public PaneLayoutPreferencesPane(PreferencesDialogResources res,
UIPrefs uiPrefs)
{
res_ = res;
uiPrefs_ = uiPrefs;
add(new Label("Choose the layout of the panes in RStudio by selecting from the controls in each quadrant.", true));
String[] allPanes = ... | public PaneLayoutPreferencesPane(PreferencesDialogResources res,
UIPrefs uiPrefs)
{
res_ = res;
uiPrefs_ = uiPrefs;
add(new Label("Choose the layout of the panes in RStudio by selecting from the controls in each quadrant.", true));
String[] allPanes = ... |
diff --git a/hale/eu.esdihumboldt.hale.schemaprovider/src/test/eu/esdihumboldt/hale/schemaprovider/provider/ShapeSchemaProviderTest.java b/hale/eu.esdihumboldt.hale.schemaprovider/src/test/eu/esdihumboldt/hale/schemaprovider/provider/ShapeSchemaProviderTest.java
index 5935a16da..32229a6f8 100644
--- a/hale/eu.esdihumbo... | true | true | public void testLoadSchema() {
log.setLevel(Level.INFO);
ShapeSchemaProvider ssp = new ShapeSchemaProvider();
Schema result = null;
try {
URI uri = ShapeSchemaProviderTest.class.getResource("DEPARTEMENT.SHP").toURI();
result = ssp.loadSchema(uri, new LogProgressIndicator());
} catch (Exception e)... | public void testLoadSchema() {
log.setLevel(Level.INFO);
ShapeSchemaProvider ssp = new ShapeSchemaProvider();
Schema result = null;
try {
URI uri = ShapeSchemaProviderTest.class.getResource("DEPARTEMENT.SHP").toURI();
result = ssp.loadSchema(uri, new LogProgressIndicator());
} catch (Exception e)... |
diff --git a/solr/core/src/java/org/apache/solr/search/grouping/endresulttransformer/GroupedEndResultTransformer.java b/solr/core/src/java/org/apache/solr/search/grouping/endresulttransformer/GroupedEndResultTransformer.java
index 026cc4f572..0414affc82 100644
--- a/solr/core/src/java/org/apache/solr/search/grouping/en... | true | true | public void transform(Map<String, ?> result, ResponseBuilder rb, SolrDocumentSource solrDocumentSource) {
NamedList<Object> commands = new NamedList<Object>();
for (Map.Entry<String, ?> entry : result.entrySet()) {
Object value = entry.getValue();
if (TopGroups.class.isInstance(value)) {
@... | public void transform(Map<String, ?> result, ResponseBuilder rb, SolrDocumentSource solrDocumentSource) {
NamedList<Object> commands = new SimpleOrderedMap<Object>();
for (Map.Entry<String, ?> entry : result.entrySet()) {
Object value = entry.getValue();
if (TopGroups.class.isInstance(value)) {
... |
diff --git a/mod/jodd-joy/src/jodd/joy/core/DefaultAppCore.java b/mod/jodd-joy/src/jodd/joy/core/DefaultAppCore.java
index bfc3db4b7..8ae587fd2 100644
--- a/mod/jodd-joy/src/jodd/joy/core/DefaultAppCore.java
+++ b/mod/jodd-joy/src/jodd/joy/core/DefaultAppCore.java
@@ -1,362 +1,364 @@
// Copyright (c) 2003-2011, Jodd T... | true | true | protected void initDb() {
log.info("database initialization");
// connection pool
petite.registerBean(PETITE_DBPOOL, CoreConnectionPool.class);
connectionProvider = (ConnectionProvider) petite.getBean(PETITE_DBPOOL);
connectionProvider.init();
// transactions manager
jtxManager = createJtxTransactionMa... | protected void initDb() {
log.info("database initialization");
// connection pool
petite.registerBean(PETITE_DBPOOL, CoreConnectionPool.class);
connectionProvider = (ConnectionProvider) petite.getBean(PETITE_DBPOOL);
connectionProvider.init();
// transactions manager
jtxManager = createJtxTransactionMa... |
diff --git a/src/prop/hex/presentacio/auxiliars/VistaDialeg.java b/src/prop/hex/presentacio/auxiliars/VistaDialeg.java
index 9a05348..fb1d7e5 100644
--- a/src/prop/hex/presentacio/auxiliars/VistaDialeg.java
+++ b/src/prop/hex/presentacio/auxiliars/VistaDialeg.java
@@ -1,34 +1,34 @@
package prop.hex.presentacio.auxilia... | true | true | public String setDialeg( String titol, String text, String[] botons, int tipus_joptionpane )
{
JOptionPane opcions = new JOptionPane( text, tipus_joptionpane );
opcions.setOptions( botons );
JDialog dialeg = opcions.createDialog( new JFrame(), titol );
dialeg.setDefaultCloseOperation( JDialog.DISPOSE_ON_CLOS... | public String setDialeg( String titol, String text, String[] botons, int tipus_joptionpane )
{
JOptionPane opcions = new JOptionPane( text, tipus_joptionpane );
opcions.setOptions( botons );
JDialog dialeg = opcions.createDialog( new JFrame(), titol );
dialeg.setDefaultCloseOperation( JDialog.DO_NOTHING_ON_C... |
diff --git a/src/main/java/com/moac/android/soundmap/SoundMapApplication.java b/src/main/java/com/moac/android/soundmap/SoundMapApplication.java
index 95fa2d9..9006604 100644
--- a/src/main/java/com/moac/android/soundmap/SoundMapApplication.java
+++ b/src/main/java/com/moac/android/soundmap/SoundMapApplication.java
@@ ... | false | true | private ApiClient initApiClient(RequestQueue _requestQueue, Gson _gson) {
Log.i(TAG, "initApiWrapper() - start");
InputStream inputStream = null;
try {
inputStream = getAssets().open("soundcloud.properties");
Properties properties = new Properties();
prop... | private ApiClient initApiClient(RequestQueue _requestQueue, Gson _gson) {
Log.i(TAG, "initApiClient() - start");
InputStream inputStream = null;
try {
inputStream = getAssets().open("soundcloud.properties");
Properties properties = new Properties();
prope... |
diff --git a/src/com/axelby/podax/SubscriptionUpdater.java b/src/com/axelby/podax/SubscriptionUpdater.java
index 50dc9b7..7d956c3 100644
--- a/src/com/axelby/podax/SubscriptionUpdater.java
+++ b/src/com/axelby/podax/SubscriptionUpdater.java
@@ -1,283 +1,283 @@
package com.axelby.podax;
import java.io.File;
import ... | false | true | public void update(final long subscriptionId) {
Cursor cursor = null;
try {
if (!Helper.ensureWifi(_context))
return;
Uri subscriptionUri = ContentUris.withAppendedId(SubscriptionProvider.URI, subscriptionId);
String[] projection = new String[] {
SubscriptionProvider.COLUMN_ID,
Subscription... | public void update(final long subscriptionId) {
Cursor cursor = null;
try {
if (!Helper.ensureWifi(_context))
return;
Uri subscriptionUri = ContentUris.withAppendedId(SubscriptionProvider.URI, subscriptionId);
String[] projection = new String[] {
SubscriptionProvider.COLUMN_ID,
Subscription... |
diff --git a/db/src/main/java/com/psddev/dari/db/Application.java b/db/src/main/java/com/psddev/dari/db/Application.java
index 60c19241..b4b987ee 100644
--- a/db/src/main/java/com/psddev/dari/db/Application.java
+++ b/db/src/main/java/com/psddev/dari/db/Application.java
@@ -1,151 +1,153 @@
package com.psddev.dari.db;
... | false | true | public static <T extends Application> T getInstanceUsing(
Class<T> applicationClass,
Database database) {
ObjectType type = database.getEnvironment().getTypeByClass(applicationClass);
T app = Query.from(applicationClass).using(database).first();
... | public static <T extends Application> T getInstanceUsing(
Class<T> applicationClass,
Database database) {
ObjectType type = database.getEnvironment().getTypeByClass(applicationClass);
Query<T> query = Query.from(applicationClass).where("_type = ?", type.g... |
diff --git a/src/TestForestSize.java b/src/TestForestSize.java
index 50949b3..b604a47 100644
--- a/src/TestForestSize.java
+++ b/src/TestForestSize.java
@@ -1,27 +1,29 @@
import java.io.FileNotFoundException;
import java.io.IOException;
public class TestForestSize {
public static void main(String[] argv) throw... | false | true | public static void main(String[] argv) throws FileNotFoundException, IOException {
if (argv.length < 4) {
System.err.println("argument: filestem forestMin forestMax numTrials");
return;
}
// data set from filestem
DataSet d = new DiscreteDataSet(argv[0]);
// min and max sizes... | public static void main(String[] argv) throws FileNotFoundException, IOException {
if (argv.length < 4) {
System.err.println("argument: filestem forestMin forestMax numTrials");
return;
}
// data set from filestem
DataSet d = new DiscreteDataSet(argv[0]);
// min and max sizes... |
diff --git a/sphinx4/src/sphinx4/edu/cmu/sphinx/util/props/PropertySheet.java b/sphinx4/src/sphinx4/edu/cmu/sphinx/util/props/PropertySheet.java
index ab708975d..caa33bef3 100644
--- a/sphinx4/src/sphinx4/edu/cmu/sphinx/util/props/PropertySheet.java
+++ b/sphinx4/src/sphinx4/edu/cmu/sphinx/util/props/PropertySheet.java... | true | true | public Configurable getComponent(String name) throws PropertyException {
S4PropWrapper s4PropWrapper = getProperty(name, S4Component.class);
S4Component s4Component = (S4Component) s4PropWrapper.getAnnotation();
Class expectedType = s4Component.type();
Object propVal = propValues.g... | public Configurable getComponent(String name) throws PropertyException {
S4PropWrapper s4PropWrapper = getProperty(name, S4Component.class);
S4Component s4Component = (S4Component) s4PropWrapper.getAnnotation();
Class expectedType = s4Component.type();
Object propVal = propValues.g... |
diff --git a/src/main/java/water/api/GLMProgressPage.java b/src/main/java/water/api/GLMProgressPage.java
index dfed67fa6..9407b34c0 100644
--- a/src/main/java/water/api/GLMProgressPage.java
+++ b/src/main/java/water/api/GLMProgressPage.java
@@ -1,543 +1,543 @@
package water.api;
import hex.*;
import hex.DGLM.CaseM... | true | true | public static void ROCplot(GLMValidation xval, StringBuilder sb ) {
sb.append("<script type=\"text/javascript\" src='/h2o/js/d3.v3.min.js'></script>");
sb.append("<div id=\"ROC\">");
sb.append("<style type=\"text/css\">");
sb.append(".axis path," +
".axis ... | public static void ROCplot(GLMValidation xval, StringBuilder sb ) {
sb.append("<script type=\"text/javascript\" src='/h2o/js/d3.v3.min.js'></script>");
sb.append("<div id=\"ROC\">");
sb.append("<style type=\"text/css\">");
sb.append(".axis path," +
".axis ... |
diff --git a/src/edu/uvm/nesc/SyntaxViewer.java b/src/edu/uvm/nesc/SyntaxViewer.java
index 82180dd..ef48077 100644
--- a/src/edu/uvm/nesc/SyntaxViewer.java
+++ b/src/edu/uvm/nesc/SyntaxViewer.java
@@ -1,876 +1,876 @@
//-----------------------------------------------------------------------
// FILE : SyntaxViewer.j... | true | true | private void rewrite(Tree t)
{
int value;
int currentChild; // Used when processing structure or enumeration declarations.
switch (t.getType()) {
// Putting a space after all occurrences of RAW_IDENTIFIER is overkill. However it is important to include a
// spac... | private void rewrite(Tree t)
{
int value;
int currentChild; // Used when processing structure or enumeration declarations.
switch (t.getType()) {
// Putting a space after all occurrences of RAW_IDENTIFIER is overkill. However it is important to include a
// spac... |
diff --git a/src/controller/Controller.java b/src/controller/Controller.java
index 7fd1778..fc12b98 100755
--- a/src/controller/Controller.java
+++ b/src/controller/Controller.java
@@ -1,167 +1,167 @@
/*
* The thing that controls everything....
*/
package controller;
import importing.Parser;
import importing.... | true | true | public void loadLevel() throws Exception{
Entity ent;
Camera cam;
//Physics.getInstance().getDynamicsWorld().setGravity(new Vector3f(0.0f,-10.0f,0.0f));
Parser p = new XGL_Parser();
try{
//p.readFile("./lib/legoman.xgl");
//p.readFile("./lib/10010260.xgl");
p.readFile("./lib/box2.xgl");
//p.r... | public void loadLevel() throws Exception{
Entity ent;
Camera cam;
//Physics.getInstance().getDynamicsWorld().setGravity(new Vector3f(0.0f,-10.0f,0.0f));
Parser p = new XGL_Parser();
try{
//p.readFile("./lib/legoman.xgl");
p.readFile("./lib/10010260.xgl");
//p.readFile("./lib/box2.xgl");
//p.r... |
diff --git a/java/AP2DX/src/AP2DX/coordinator/UsarMessageParser.java b/java/AP2DX/src/AP2DX/coordinator/UsarMessageParser.java
index a5167b1..4381381 100644
--- a/java/AP2DX/src/AP2DX/coordinator/UsarMessageParser.java
+++ b/java/AP2DX/src/AP2DX/coordinator/UsarMessageParser.java
@@ -1,139 +1,139 @@
package AP2DX.coor... | false | true | public void run()
{
while (true)
{
Message messageIn = null;
try
{
System.out.println("Reading message");
messageIn = in.readMessage();
System.out.println(messageIn.toString());
} catch (Exception e... | public void run()
{
while (true)
{
Message messageIn = null;
try
{
System.out.println("Reading message");
messageIn = in.readMessage();
System.out.println(messageIn.toString());
} catch (Exception e... |
diff --git a/src/minecraft/net/minecraft/src/GuiIngame.java b/src/minecraft/net/minecraft/src/GuiIngame.java
index 0af2e44b..136813f8 100644
--- a/src/minecraft/net/minecraft/src/GuiIngame.java
+++ b/src/minecraft/net/minecraft/src/GuiIngame.java
@@ -1,640 +1,640 @@
package net.minecraft.src;
import java.util.Array... | false | true | public void renderGameOverlay(float f, boolean flag, int i, int j)
{
SpoutClient.getInstance().onTick();
InGameHUD mainScreen = SpoutClient.getInstance().getActivePlayer().getMainScreen();
ScaledResolution scaledRes = new ScaledResolution(this.mc.gameSettings, this.mc.displayWidth, this.mc.displayHeight);
in... | public void renderGameOverlay(float f, boolean flag, int i, int j)
{
SpoutClient.getInstance().onTick();
InGameHUD mainScreen = SpoutClient.getInstance().getActivePlayer().getMainScreen();
ScaledResolution scaledRes = new ScaledResolution(this.mc.gameSettings, this.mc.displayWidth, this.mc.displayHeight);
in... |
diff --git a/src/webservice/AplicacionWeb.java b/src/webservice/AplicacionWeb.java
index 88bee6f..dd3aa20 100644
--- a/src/webservice/AplicacionWeb.java
+++ b/src/webservice/AplicacionWeb.java
@@ -1,77 +1,77 @@
package webservice;
import java.io.IOException;
import org.apache.http.client.ClientProtocolException;
im... | false | true | public String loginUsuario(String usuario, String password) throws AppWebException {
// PRIMERO: Enviar el POST y obtener el string de retorno
String str = "nada...";
try {
str = coneccion.GET_generico(urlLogin);
//Log.i("INTERNET", "logeando con usuario:"+usuario+" y password:"+password);
//Lo... | public String loginUsuario(String usuario, String password) throws AppWebException {
// PRIMERO: Enviar el POST y obtener el string de retorno
String str = "nada...";
try {
str = coneccion.GET_generico(urlLogin);
//Log.i("INTERNET", "logeando con usuario:"+usuario+" y password:"+password);
Log.... |
diff --git a/dvn-app/trunk/src/DVN-web/src/edu/harvard/iq/dvn/core/web/site/DeleteDataversePage.java b/dvn-app/trunk/src/DVN-web/src/edu/harvard/iq/dvn/core/web/site/DeleteDataversePage.java
index af46be474..1d6db2359 100644
--- a/dvn-app/trunk/src/DVN-web/src/edu/harvard/iq/dvn/core/web/site/DeleteDataversePage.java
+... | false | true | public void init() {
super.init();
if ("manageDataverses".equals(from)) {
from = "/networkAdmin/NetworkOptionsPage.xhtml?faces-redirect=true";
} else if ("manageHarvesting".equals(from)){
from = "/site/HarvestSitesPage?faces-redirect=true";
} else {
... | public void init() {
super.init();
if ("manageDataverses".equals(from)) {
from = "/networkAdmin/NetworkOptionsPage?faces-redirect=true&tab=harvesting";
} else if ("manageHarvesting".equals(from)){
from = "/networkAdmin/NetworkOptionsPage?faces-redirect=true&tab=harve... |
diff --git a/src/beans/CompleteProductListBean.java b/src/beans/CompleteProductListBean.java
index dabfd7c..e042a2d 100644
--- a/src/beans/CompleteProductListBean.java
+++ b/src/beans/CompleteProductListBean.java
@@ -1,349 +1,348 @@
package beans;
import java.sql.Connection;
import java.sql.DriverManager;
import ... | true | true | private void initList(String _url) throws Exception{
this.productList = new ArrayList<CompleteProductBean>();
try {
Class.forName("com.mysql.jdbc.Driver");
this.conn = DriverManager.getConnection(this.url);
this.stmt = this.conn.createStatement();
String sql = "SELECT B.BOOK_ID, B.TITLE, B.DE... | private void initList(String _url) throws Exception{
this.productList = new ArrayList<CompleteProductBean>();
try {
Class.forName("com.mysql.jdbc.Driver");
this.conn = DriverManager.getConnection(this.url);
this.stmt = this.conn.createStatement();
String sql = "SELECT B.BOOK_ID, B.TITLE, B.DE... |
diff --git a/redelm-column/src/main/java/redelm/column/primitive/SimplePrimitiveColumnReader.java b/redelm-column/src/main/java/redelm/column/primitive/SimplePrimitiveColumnReader.java
index c43803c..500b50f 100644
--- a/redelm-column/src/main/java/redelm/column/primitive/SimplePrimitiveColumnReader.java
+++ b/redelm-c... | true | true | public String readString() {
try {
int size = in.readInt();
byte[] bytes = new byte[size];
int i = 0;
do {
int n = in.read(bytes, i, bytes.length - i);
if (n == -1) {
throw new RuntimeException("Reached end of stream");
}
i = i + n;
} while (... | public String readString() {
try {
int size = in.readInt();
if (size == 0) {
return "";
} else {
byte[] bytes = new byte[size];
int i = 0;
do {
int n = in.read(bytes, i, bytes.length - i);
if (n == -1) {
throw new RuntimeException("... |
diff --git a/src/com/android/settings/fuelgauge/BatteryHistoryChart.java b/src/com/android/settings/fuelgauge/BatteryHistoryChart.java
index 25d86098f..acd9ee447 100644
--- a/src/com/android/settings/fuelgauge/BatteryHistoryChart.java
+++ b/src/com/android/settings/fuelgauge/BatteryHistoryChart.java
@@ -1,672 +1,672 @@... | true | true | protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
int textHeight = mTextDescent - mTextAscent;
mThinLineWidth = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
2, getResources().getDisplayMetrics());
... | protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
int textHeight = mTextDescent - mTextAscent;
mThinLineWidth = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
2, getResources().getDisplayMetrics());
... |
diff --git a/src/com/android/Oasis/diary/OldDiary.java b/src/com/android/Oasis/diary/OldDiary.java
index ee99b84..fec8a5e 100644
--- a/src/com/android/Oasis/diary/OldDiary.java
+++ b/src/com/android/Oasis/diary/OldDiary.java
@@ -1,579 +1,580 @@
package com.android.Oasis.diary;
import java.io.File;
import java.io.F... | true | true | public Object instantiateItem(View collection, int position) {
DisplayMetrics displaymetrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
// int height = displaymetrics.heightPixels;
int width = displaymetrics.widthPixels;
ScrollView sv = new ScrollView(c... | public Object instantiateItem(View collection, int position) {
DisplayMetrics displaymetrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
// int height = displaymetrics.heightPixels;
int width = displaymetrics.widthPixels;
ScrollView sv = new ScrollView(c... |
diff --git a/src/main/java/com/bergerkiller/bukkit/common/internal/CommonPlayerConnection.java b/src/main/java/com/bergerkiller/bukkit/common/internal/CommonPlayerConnection.java
index c6dac18..c7e9581 100644
--- a/src/main/java/com/bergerkiller/bukkit/common/internal/CommonPlayerConnection.java
+++ b/src/main/java/com... | false | true | private static void setPlayerConnection(final EntityPlayer ep, final PlayerConnection connection) {
final boolean hasCommon = CommonPlugin.getInstance() != null;
if (isReplaceable(ep.playerConnection)) {
// Set it
ep.playerConnection = connection;
// Perform a little check-up in 10 ticks
if (CommonPlug... | private static void setPlayerConnection(final EntityPlayer ep, final PlayerConnection connection) {
final boolean hasCommon = CommonPlugin.hasInstance();
if (isReplaceable(ep.playerConnection)) {
// Set it
ep.playerConnection = connection;
// Perform a little check-up in 10 ticks
if (CommonPlugin.hasIn... |
diff --git a/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/server/polling/TwiddlePoller.java b/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/runtime/server/polling/TwiddlePoller.java
index 50d8c5d45..88533bcce 100755
--- a/as/plugins/org.jbos... | true | true | public void run() {
ClassLoader currentLoader = Thread.currentThread().getContextClassLoader();
ClassLoader twiddleLoader = getClassLoader();
if( twiddleLoader != null ) {
String serverConfDir = ServerConverter.getJBossServer(server).getConfigDirectory(false);
ServerDescriptorModel descriptorModel = ... | public void run() {
ClassLoader currentLoader = Thread.currentThread().getContextClassLoader();
ClassLoader twiddleLoader = getClassLoader();
if( twiddleLoader != null ) {
String serverConfDir = ServerConverter.getJBossServer(server).getConfigDirectory(false);
ServerDescriptorModel descriptorModel = ... |
diff --git a/framework/src/net/sf/tapestry/engine/ExternalService.java b/framework/src/net/sf/tapestry/engine/ExternalService.java
index e3bd4499f..3392f2093 100644
--- a/framework/src/net/sf/tapestry/engine/ExternalService.java
+++ b/framework/src/net/sf/tapestry/engine/ExternalService.java
@@ -1,175 +1,175 @@
//
//... | true | true | public boolean service(IEngineServiceView engine, IRequestCycle cycle, ResponseOutputStream output)
throws RequestCycleException, ServletException, IOException
{
IExternalPage page = null;
String[] context = getServiceContext(cycle.getRequestContext());
if (context == null || c... | public boolean service(IEngineServiceView engine, IRequestCycle cycle, ResponseOutputStream output)
throws RequestCycleException, ServletException, IOException
{
IExternalPage page = null;
String[] context = getServiceContext(cycle.getRequestContext());
if (context == null || c... |
diff --git a/easyb/src/java/org/disco/easyb/core/delegates/EnsuringDelegate.java b/easyb/src/java/org/disco/easyb/core/delegates/EnsuringDelegate.java
index e7df4d1..db1fac7 100644
--- a/easyb/src/java/org/disco/easyb/core/delegates/EnsuringDelegate.java
+++ b/easyb/src/java/org/disco/easyb/core/delegates/EnsuringDeleg... | false | true | public void ensureThrows(final Class<?> clzz, final Closure closure) throws Exception {
boolean expectedExceptionCaught = false;
try {
closure.call();
} catch (Throwable e) {
if (!clzz.isAssignableFrom(e.getClass()) && (e.getCause() != null)
&& !(e.getCause().getClass() == clzz)) {
throw new Verif... | public void ensureThrows(final Class<?> clzz, final Closure closure) throws Exception {
try {
closure.call();
} catch (Throwable e) {
if (!clzz.isAssignableFrom(e.getClass()) && (e.getCause() != null)
&& !(e.getCause().getClass() == clzz)) {
throw new VerificationException(
"exception caught (... |
diff --git a/src/main/java/net/dtl/citizens/trader/parts/TraderStockPart.java b/src/main/java/net/dtl/citizens/trader/parts/TraderStockPart.java
index ab725cb..b7fde16 100644
--- a/src/main/java/net/dtl/citizens/trader/parts/TraderStockPart.java
+++ b/src/main/java/net/dtl/citizens/trader/parts/TraderStockPart.java
@@ ... | true | true | public StockItem getItem(ItemStack itemStack, TraderStatus status, boolean dura, boolean amount) {
boolean equal = false;
for ( StockItem item : stock.get(status.toString()) )
{
equal = false;
if ( itemStack.getType().equals(item.getItemStack().getType()) )
{
equal = true;
if ( dura )
... | public StockItem getItem(ItemStack itemStack, TraderStatus status, boolean dura, boolean amount) {
boolean equal = false;
for ( StockItem item : stock.get(status.toString()) )
{
equal = false;
if ( itemStack.getType().equals(item.getItemStack().getType()) )
{
equal = true;
if ( dura )
... |
diff --git a/HabitRPGJavaAPI/src/com/magicmicky/habitrpglibrary/onlineapi/helper/ParserHelper.java b/HabitRPGJavaAPI/src/com/magicmicky/habitrpglibrary/onlineapi/helper/ParserHelper.java
index 8b92352..56c2781 100644
--- a/HabitRPGJavaAPI/src/com/magicmicky/habitrpglibrary/onlineapi/helper/ParserHelper.java
+++ b/Habit... | false | true | private static void parseUserInventory(JSONObject obj, User user) {
List<String> pets, mounts, eggs, hatchingPotions, food;
//Pets:
try {
JSONObject pets_json = obj.getJSONObject(TAG_ITEMS_PETS);
JSONArray pets_array = pets_json.names();
pets = new ArrayList<String>();
for(int i = 0;i<pets_array.len... | private static void parseUserInventory(JSONObject obj, User user) {
List<String> pets, mounts, eggs, hatchingPotions, food;
//Pets:
try {
JSONObject pets_json = obj.getJSONObject(TAG_ITEMS_PETS);
JSONArray pets_array = pets_json.names();
pets = new ArrayList<String>();
if(pets_array != null && pets_... |
diff --git a/src/main/javassist/bytecode/analysis/Executor.java b/src/main/javassist/bytecode/analysis/Executor.java
index 7cf9a67..4ee5584 100644
--- a/src/main/javassist/bytecode/analysis/Executor.java
+++ b/src/main/javassist/bytecode/analysis/Executor.java
@@ -1,1012 +1,1012 @@
/*
* Javassist, a Java-bytecode tr... | true | true | public void execute(MethodInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subroutine) throws BadBytecode {
this.lastPos = pos;
int opcode = iter.byteAt(pos);
// Declared opcode in order
switch (opcode) {
case NOP:
break;
case... | public void execute(MethodInfo method, int pos, CodeIterator iter, Frame frame, Subroutine subroutine) throws BadBytecode {
this.lastPos = pos;
int opcode = iter.byteAt(pos);
// Declared opcode in order
switch (opcode) {
case NOP:
break;
case... |
diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/expressions/TestEntityTypeExpression.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jpql/expressions/TestEntityTypeExpression.java
index 8a336ff96..ceba5c665 100644
--- a/openjpa-persistence-jdbc/src/te... | false | true | public void testTypeExpression() {
EntityManager em = currentEntityManager();
String query = null;
List<CompUser> rs = null;
CompUser user = null;
// test collection-valued input parameters in in-expressions
Collection params = new ArrayList(2);
params.add(F... | public void testTypeExpression() {
EntityManager em = currentEntityManager();
String query = null;
List<CompUser> rs = null;
CompUser user = null;
// test collection-valued input parameters in in-expressions
Collection params = new ArrayList(2);
params.add(F... |
diff --git a/src/main/java/org/waarp/openr66/context/task/TransferTask.java b/src/main/java/org/waarp/openr66/context/task/TransferTask.java
index 1abef42a..acf9dde9 100644
--- a/src/main/java/org/waarp/openr66/context/task/TransferTask.java
+++ b/src/main/java/org/waarp/openr66/context/task/TransferTask.java
@@ -1,171... | true | true | public void run() {
logger.info("Transfer with " + argRule + ":" + argTransfer + " and {}",
session);
String finalname = argRule;
finalname = getReplacedValue(finalname, argTransfer.split(" "));
String[] args = finalname.split(" ");
if (args.length < 6) {
futureCompletion.setFailure(
new OpenR66R... | public void run() {
logger.info("Transfer with " + argRule + ":" + argTransfer + " and {}",
session);
String finalname = argRule;
finalname = getReplacedValue(finalname, argTransfer.split(" "));
String[] args = finalname.split(" ");
if (args.length < 6) {
futureCompletion.setFailure(
new OpenR66R... |
diff --git a/src/test/java/org/openmrs/contrib/databaseexporter/DatabaseExporterTest.java b/src/test/java/org/openmrs/contrib/databaseexporter/DatabaseExporterTest.java
index 7a0c3c1..4bcfda6 100644
--- a/src/test/java/org/openmrs/contrib/databaseexporter/DatabaseExporterTest.java
+++ b/src/test/java/org/openmrs/contri... | false | true | public void shouldTest() throws Exception {
List<String> config = new ArrayList<String>();
config.add("rwanda/deidentifyPatients");
config.add("rwanda/deidentifyProviders");
config.add("rwanda/deidentifyUsers");
config.add("rwanda/removeSyncData");
config.add("rwanda/trimArchiveData");
config.add("rwand... | public void shouldTest() throws Exception {
List<String> config = new ArrayList<String>();
config.add("rwanda/deidentifyPatients");
config.add("rwanda/deidentifyProviders");
config.add("rwanda/deidentifyUsers");
config.add("removeSyncData");
config.add("rwanda/trimArchiveData");
config.add("removeAllPat... |
diff --git a/src/fr/enseirb/odroidx/movieselector/ContainerData.java b/src/fr/enseirb/odroidx/movieselector/ContainerData.java
index e1e6a32..a56d62c 100644
--- a/src/fr/enseirb/odroidx/movieselector/ContainerData.java
+++ b/src/fr/enseirb/odroidx/movieselector/ContainerData.java
@@ -1,61 +1,61 @@
package fr.enseirb.o... | false | true | public static ArrayList<Movie> getMovies(String ip, Context context){
SAXParserFactory fabrique = SAXParserFactory.newInstance();
SAXParser parser = null;
ArrayList<Movie> movies = null;
try {
parser = fabrique.newSAXParser();
} catch (ParserConfigurationException e) {
e.printStackTrace();
} catch (S... | public static ArrayList<Movie> getMovies(String ip, Context context){
SAXParserFactory fabrique = SAXParserFactory.newInstance();
SAXParser parser = null;
ArrayList<Movie> movies = null;
try {
parser = fabrique.newSAXParser();
} catch (ParserConfigurationException e) {
e.printStackTrace();
} catch (S... |
diff --git a/ActiveObjects/src/net/java/ao/EntityProxy.java b/ActiveObjects/src/net/java/ao/EntityProxy.java
index e082091..b96c87c 100644
--- a/ActiveObjects/src/net/java/ao/EntityProxy.java
+++ b/ActiveObjects/src/net/java/ao/EntityProxy.java
@@ -1,610 +1,610 @@
/*
* Copyright 2007 Daniel Spiewak
*
* Licensed... | false | true | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if (method.getName().equals("getEntityType")) {
return type;
}
if (implementation == null) {
implementation = new ImplementationWrapper<T>((T) proxy);
}
MethodImplWrapper methodImpl = implementation.getMethod(method.g... | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if (method.getName().equals("getEntityType")) {
return type;
}
if (implementation == null) {
implementation = new ImplementationWrapper<T>((T) proxy);
}
MethodImplWrapper methodImpl = implementation.getMethod(method.g... |
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Workspace.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Workspace.java
index b4ce25d63..82045483c 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/Workspace.... | false | true | public IStatus validateLinkLocation(IResource resource, IPath unresolvedLocation) {
//check that the resource has a project as its parent
String message;
IContainer parent = resource.getParent();
if (parent == null || parent.getType() != IResource.PROJECT) {
message = Policy.bind("links.parentNotProject", resourc... | public IStatus validateLinkLocation(IResource resource, IPath unresolvedLocation) {
//check that the resource has a project as its parent
String message;
IContainer parent = resource.getParent();
if (parent == null || parent.getType() != IResource.PROJECT) {
message = Policy.bind("links.parentNotProject", resourc... |
diff --git a/errai-bus/src/main/java/org/jboss/errai/bus/server/io/JSONEncoder.java b/errai-bus/src/main/java/org/jboss/errai/bus/server/io/JSONEncoder.java
index 753ddf235..f902558ed 100644
--- a/errai-bus/src/main/java/org/jboss/errai/bus/server/io/JSONEncoder.java
+++ b/errai-bus/src/main/java/org/jboss/errai/bus/se... | false | true | private static String encodeObject(Object o, EncodingContext ctx) {
if (o == null) return "null";
Class cls = o.getClass();
if (java.util.Date.class.isAssignableFrom(cls)) {
return "{\"__EncodedType\":\"java.util.Date\", \"__ObjectID\":\"" + o.hashCode() + "\", \"Value\":" + ((java.util.Date) o).g... | private static String encodeObject(Object o, EncodingContext ctx) {
if (o == null) return "null";
Class cls = o.getClass();
if (java.util.Date.class.isAssignableFrom(cls)) {
return "{\"__EncodedType\":\"java.util.Date\", \"__ObjectID\":\"" + o.hashCode() + "\", \"Value\":"
+ ((java.u... |
diff --git a/src/main/java/org/basex/build/xml/SAXWrapper.java b/src/main/java/org/basex/build/xml/SAXWrapper.java
index 9c448a55e..e5f23a4d8 100644
--- a/src/main/java/org/basex/build/xml/SAXWrapper.java
+++ b/src/main/java/org/basex/build/xml/SAXWrapper.java
@@ -1,169 +1,169 @@
package org.basex.build.xml;
import... | true | true | public void parse() throws IOException {
final InputSource is = wrap(src.getInputSource());
final String input = src.getSystemId() == null ? "..." : src.getSystemId();
try {
XMLReader r = src.getXMLReader();
if(r == null) {
final SAXParserFactory f = SAXParserFactory.newInstance();
... | public void parse() throws IOException {
final InputSource is = wrap(src.getInputSource());
final String input = src.getSystemId() == null ? "..." : src.getSystemId();
try {
XMLReader r = src.getXMLReader();
if(r == null) {
final SAXParserFactory f = SAXParserFactory.newInstance();
... |
diff --git a/src/main/java/jline/ConsoleReader.java b/src/main/java/jline/ConsoleReader.java
index 687f03e..27ace1c 100644
--- a/src/main/java/jline/ConsoleReader.java
+++ b/src/main/java/jline/ConsoleReader.java
@@ -1,1390 +1,1390 @@
/*
* Copyright (c) 2002-2006, Marc Prud'hommeaux. All rights reserved.
*
* Thi... | false | true | public String readLine(final String prompt, final Character mask)
throws IOException {
this.mask = mask;
if (prompt != null)
this.prompt = prompt;
try {
terminal.beforeReadLine(this, prompt, mask);
if ((prompt != null) && (prompt.length() > 0)) {... | public String readLine(final String prompt, final Character mask)
throws IOException {
this.mask = mask;
if (prompt != null)
this.prompt = prompt;
try {
terminal.beforeReadLine(this, this.prompt, mask);
if ((this.prompt != null) && (this.prompt.l... |
diff --git a/moskito-core/java/net/java/dev/moskito/core/timing/UpdateableWrapper.java b/moskito-core/java/net/java/dev/moskito/core/timing/UpdateableWrapper.java
index 10db6c10..644da150 100644
--- a/moskito-core/java/net/java/dev/moskito/core/timing/UpdateableWrapper.java
+++ b/moskito-core/java/net/java/dev/moskito/... | true | true | @Override public void run() {
try{
delegate.update();
}catch(Exception e){
log.warn("Delegate update failed on "+delegate, e);
}
}
| @Override public void run() {
try{
delegate.update();
}catch(Exception e){
if (log!=null)
log.warn("Delegate update failed on "+delegate, e);
}
}
|
diff --git a/src/play/modules/chronostamp/ChronostampEnhancer.java b/src/play/modules/chronostamp/ChronostampEnhancer.java
index 82d85d8..78586bb 100644
--- a/src/play/modules/chronostamp/ChronostampEnhancer.java
+++ b/src/play/modules/chronostamp/ChronostampEnhancer.java
@@ -1,182 +1,182 @@
package play.modules.chron... | true | true | public void enhanceThisClass(ApplicationClass appClass) throws Exception {
CtClass ctClass = makeClass(appClass);
ConstPool constpool = ctClass.getClassFile().getConstPool();
AnnotationsAttribute attr = new AnnotationsAttribute(constpool, AnnotationsAttribute.visibleTag);
Annotation annot = null;
St... | public void enhanceThisClass(ApplicationClass appClass) throws Exception {
CtClass ctClass = makeClass(appClass);
ConstPool constpool = ctClass.getClassFile().getConstPool();
AnnotationsAttribute attr = new AnnotationsAttribute(constpool, AnnotationsAttribute.visibleTag);
Annotation annot = null;
St... |
diff --git a/src/cs437/som/network/BasicPlanarSOM.java b/src/cs437/som/network/BasicPlanarSOM.java
index 1f34b84..f525038 100644
--- a/src/cs437/som/network/BasicPlanarSOM.java
+++ b/src/cs437/som/network/BasicPlanarSOM.java
@@ -1,101 +1,101 @@
package cs437.som.network;
import cs437.som.Dimension;
import cs437.so... | false | true | public static BasicPlanarSOM read(BufferedReader input) throws IOException {
SOMFileReader sfr = new SOMFileReader();
sfr.parse(input);
BasicPlanarSOM bhgsom = new BasicPlanarSOM(
sfr.dimension.x, sfr.inputVectorSize, sfr.iterations);
bhgsom.weightMatrix = readWeight... | public static BasicPlanarSOM read(BufferedReader input) throws IOException {
SOMFileReader sfr = new SOMFileReader();
sfr.parse(input);
BasicPlanarSOM bpsom = new BasicPlanarSOM(
sfr.dimension.x, sfr.inputVectorSize, sfr.iterations);
bpsom.weightMatrix = readWeightMa... |
diff --git a/webapp/WEB-INF/classes/org/makumba/parade/access/DatabaseLogServlet.java b/webapp/WEB-INF/classes/org/makumba/parade/access/DatabaseLogServlet.java
index bcac08b..8274a05 100644
--- a/webapp/WEB-INF/classes/org/makumba/parade/access/DatabaseLogServlet.java
+++ b/webapp/WEB-INF/classes/org/makumba/parade/ac... | true | true | private void filterLog(ActionLogDTO log, Session s) {
String queryString = log.getQueryString();
String uri = log.getUrl();
if (uri == null)
uri = "";
if (queryString == null)
queryString = "";
if (log.getAction() == null)
log.setAction... | private void filterLog(ActionLogDTO log, Session s) {
String queryString = log.getQueryString();
String uri = log.getUrl();
if (uri == null)
uri = "";
if (queryString == null)
queryString = "";
if (log.getAction() == null)
log.setAction... |
diff --git a/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java b/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
index 19b1a508c..7cfc44bd7 100644
--- a/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
+++ b/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
@@ -1,4603 +1,4604 @@
/*
* Licensed to t... | false | true | Augmentations handleStartElement(QName element, XMLAttributes attributes, Augmentations augs) {
if (DEBUG) {
System.out.println("==>handleStartElement: " + element);
}
// root element
if (fElementDepth == -1 && fValidationManager.isGrammarFound()) {
if (fSch... | Augmentations handleStartElement(QName element, XMLAttributes attributes, Augmentations augs) {
if (DEBUG) {
System.out.println("==>handleStartElement: " + element);
}
// root element
if (fElementDepth == -1 && fValidationManager.isGrammarFound()) {
if (fSch... |
diff --git a/example/src/com/slidingmenu/example/BaseActivity.java b/example/src/com/slidingmenu/example/BaseActivity.java
index 999407d..4e1f7c4 100644
--- a/example/src/com/slidingmenu/example/BaseActivity.java
+++ b/example/src/com/slidingmenu/example/BaseActivity.java
@@ -1,70 +1,74 @@
package com.slidingmenu.exam... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(mTitleRes);
// set the Behind View
setBehindContentView(R.layout.menu_frame);
FragmentTransaction t = this.getSupportFragmentManager().beginTransaction();
mFrag = new SampleListFragment();
t.replace(R.id.menu... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(mTitleRes);
// set the Behind View
setBehindContentView(R.layout.menu_frame);
if (savedInstanceState == null) {
FragmentTransaction t = this.getSupportFragmentManager().beginTransaction();
mFrag = new Sampl... |
diff --git a/CubicTestPlugin/src/main/java/org/cubictest/export/utils/exported/XPathBuilder.java b/CubicTestPlugin/src/main/java/org/cubictest/export/utils/exported/XPathBuilder.java
index 3ee12b29..82942538 100644
--- a/CubicTestPlugin/src/main/java/org/cubictest/export/utils/exported/XPathBuilder.java
+++ b/CubicTest... | false | true | private static String getElementType(PageElement pe) {
if (pe instanceof Select)
return "select";
if (pe instanceof Option)
return "option";
if (pe instanceof Button)
return "input[@type='button' or @type='submit' or @type='image' or @type='reset']";
if (pe instanceof TextField)
return "input" + TE... | private static String getElementType(PageElement pe) {
if (pe instanceof Select)
return "select";
if (pe instanceof Option)
return "option";
if (pe instanceof Button)
return "input[@type='button' or @type='submit' or @type='image' or @type='reset']";
if (pe instanceof TextField)
return "input" + TE... |
diff --git a/ffxieq/src/com/github/kanata3249/ffxieq/EquipmentSet.java b/ffxieq/src/com/github/kanata3249/ffxieq/EquipmentSet.java
index 7a2b821..3bdd37e 100644
--- a/ffxieq/src/com/github/kanata3249/ffxieq/EquipmentSet.java
+++ b/ffxieq/src/com/github/kanata3249/ffxieq/EquipmentSet.java
@@ -1,378 +1,381 @@
/*
Cop... | true | true | private void parseDescriptions() {
boolean updated;
int notequiped;
if (mNotModified)
return;
mNotModified = false;
updated = false;
notequiped = 0;
for (int i = 0; i < mEquipments.length; i++) {
if (mEquipments[i] != null) {
updated = mEquipments[i].parseDescription() || updated;
mEquipme... | private void parseDescriptions() {
boolean updated;
int notequiped;
if (mNotModified)
return;
mNotModified = false;
updated = false;
notequiped = 0;
for (int i = 0; i < mEquipments.length; i++) {
if (mEquipments[i] != null) {
updated = mEquipments[i].parseDescription() || updated;
mEquipme... |
diff --git a/plugins/org.bonitasoft.studio.engine/src/org/bonitasoft/studio/engine/export/switcher/FlowElementSwitch.java b/plugins/org.bonitasoft.studio.engine/src/org/bonitasoft/studio/engine/export/switcher/FlowElementSwitch.java
index 7ccf9ff2a3..9047d05f57 100644
--- a/plugins/org.bonitasoft.studio.engine/src/org/... | true | true | public Element caseSendTask(SendTask senTask) {
org.bonitasoft.engine.expression.Expression targetProcess = null;
String messageName = null;
Message message = null;
if(senTask.getEvents().isEmpty()){
message = senTask.getEvents().get(0);
targetProcess = EngineExpressionUtil.createExpression((AbstractExpr... | public Element caseSendTask(SendTask senTask) {
org.bonitasoft.engine.expression.Expression targetProcess = null;
String messageName = null;
Message message = null;
if(!senTask.getEvents().isEmpty()){
message = senTask.getEvents().get(0);
targetProcess = EngineExpressionUtil.createExpression((AbstractExp... |
diff --git a/patch/patch-core/src/test/java/org/fusesource/patch/impl/ServiceImplTest.java b/patch/patch-core/src/test/java/org/fusesource/patch/impl/ServiceImplTest.java
index 42070f255..d965760eb 100644
--- a/patch/patch-core/src/test/java/org/fusesource/patch/impl/ServiceImplTest.java
+++ b/patch/patch-core/src/test... | false | true | public void testPatch() throws Exception {
BundleContext bundleContext = createMock(BundleContext.class);
Bundle sysBundle = createMock(Bundle.class);
BundleContext sysBundleContext = createMock(BundleContext.class);
Bundle bundle = createMock(Bundle.class);
Bundle bundle2 =... | public void testPatch() throws Exception {
BundleContext bundleContext = createMock(BundleContext.class);
Bundle sysBundle = createMock(Bundle.class);
BundleContext sysBundleContext = createMock(BundleContext.class);
Bundle bundle = createMock(Bundle.class);
Bundle bundle2 =... |
diff --git a/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderSurrealIslands.java b/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderSurrealIslands.java
index 261ce01..af2a315 100644
--- a/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderSurrealIslands.java
+++ b/src/main/ja... | true | true | public void generateChunk(Object world, int X, int Z, byte[] abyte, Biome[] biomes,
double[] temperature) {
final double SCALE=0.01;
final double THRESHOLD=-0.3;
for (int x = 0; x < 16; x+=1) {
for (int z = 0; z < 16; z+=1) {
for (int y = 0; y < 128; y+=1) {
double a = terrainNoiseA.noise((double)... | public void generateChunk(Object world, int X, int Z, byte[] abyte, Biome[] biomes,
double[] temperature) {
final double SCALE=0.01;
final double THRESHOLD=-0.3;
for (int x = 0; x < 16; x+=1) {
for (int z = 0; z < 16; z+=1) {
for (int y = 0; y < 128; y+=1) {
double a = terrainNoiseA.noise((double)... |
diff --git a/src/main/java/org/todoke/countstream/Main.java b/src/main/java/org/todoke/countstream/Main.java
index 69e680e..e2b7cee 100644
--- a/src/main/java/org/todoke/countstream/Main.java
+++ b/src/main/java/org/todoke/countstream/Main.java
@@ -1,54 +1,54 @@
/*
* Copyright 2011 Yusuke Yamamoto
*
* Licensed u... | false | true | public static void main(String[] args) {
if(args.length != 1){
System.out.println("usage: java org.todoke.hashcount.Main [comma separated terms to track]");
System.exit(-1);
}
logger.info("terms to track: " + args[0]);
String[] terms = args[0].split(",");
... | public static void main(String[] args) {
if (args.length != 1) {
System.out.println("usage: java org.todoke.hashcount.Main [comma separated terms to track]");
System.exit(-1);
}
logger.info("terms to track: " + args[0]);
String[] terms = args[0].split(",");
... |
diff --git a/src/main/java/org/tal/basiccircuits/receiver.java b/src/main/java/org/tal/basiccircuits/receiver.java
index c7e3f34..bfe6962 100644
--- a/src/main/java/org/tal/basiccircuits/receiver.java
+++ b/src/main/java/org/tal/basiccircuits/receiver.java
@@ -1,61 +1,61 @@
package org.tal.basiccircuits;
import o... | false | true | protected boolean init(CommandSender sender, String[] args) {
if (outputs.length==0) {
error(sender, "Expecting at least 1 output pin.");
return false;
}
if (args.length>0) {
try {
this.initWireless(sender, args[0]);
... | protected boolean init(CommandSender sender, String[] args) {
if (outputs.length==0) {
error(sender, "Expecting at least 1 output pin.");
return false;
}
if (args.length>0) {
try {
dataPin = (outputs.length==1?0:1); ... |
diff --git a/src/ecologylab/generic/DomTools.java b/src/ecologylab/generic/DomTools.java
index d2662581..e63113b2 100644
--- a/src/ecologylab/generic/DomTools.java
+++ b/src/ecologylab/generic/DomTools.java
@@ -1,106 +1,116 @@
/**
*
*/
package ecologylab.generic;
import org.w3c.dom.NamedNodeMap;
import org.w... | true | true | private static void prettyPrint(Node node, int level)
{
try
{
if ("#document".equals(node.getNodeName()))
{
prettyPrint(node.getFirstChild(), level);
return;
}
for (int i=0; i< level; i++)
printTab();
System.out.print("<" + node.getNodeName());
Named... | private static void prettyPrint(Node node, int level)
{
try
{
if ("#document".equals(node.getNodeName()))
{
Node nextChild = node.getFirstChild();
prettyPrint(nextChild, level);
if (nextChild.getNextSibling() != null)
{
warning(node, "multiple root element!");
... |
diff --git a/src/main/java/com/philihp/weblabora/action/BaseAction.java b/src/main/java/com/philihp/weblabora/action/BaseAction.java
index 77e1ca3..30ed01b 100644
--- a/src/main/java/com/philihp/weblabora/action/BaseAction.java
+++ b/src/main/java/com/philihp/weblabora/action/BaseAction.java
@@ -1,59 +1,62 @@
package ... | true | true | public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
System.out.println("Action: "+this.getClass().getCanonicalName());
EntityManager em = (EntityManager)request.getAttribute("em");
User user = (User)requ... | public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
System.out.println("Action: "+this.getClass().getCanonicalName());
EntityManager em = (EntityManager)request.getAttribute("em");
User user = (User)requ... |
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/internal/editor/Editor.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/internal/editor/Editor.java
index e89d2f29f..f01246b0b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.t... | false | true | protected void addPages() {
// Read extension point and add the contributed pages.
IEditorInput input = getEditorInput();
// Get all applicable editor page bindings
EditorPageBinding[] bindings = EditorPageBindingExtensionPointManager.getInstance().getApplicableEditorPageBindings(input);
for (EditorPageBindi... | protected void addPages() {
// Read extension point and add the contributed pages.
IEditorInput input = getEditorInput();
// Get all applicable editor page bindings
EditorPageBinding[] bindings = EditorPageBindingExtensionPointManager.getInstance().getApplicableEditorPageBindings(input);
for (EditorPageBindi... |
diff --git a/org/python/core/Options.java b/org/python/core/Options.java
index b6f0b1d3..02bfef63 100644
--- a/org/python/core/Options.java
+++ b/org/python/core/Options.java
@@ -1,162 +1,162 @@
// Copyright (c) Corporation for National Research Initiatives
package org.python.core;
/**
* A class with static fiel... | true | true | */
public static void setFromRegistry() {
// Set the more unusual options
Options.showJavaExceptions =
getBooleanOption("options.showJavaExceptions",
Options.showJavaExceptions);
Options.showPythonProxyExceptions =
getBooleanOption("... | */
public static void setFromRegistry() {
// Set the more unusual options
Options.showJavaExceptions =
getBooleanOption("options.showJavaExceptions",
Options.showJavaExceptions);
Options.showPythonProxyExceptions =
getBooleanOption("... |
diff --git a/src/edu/rpi/sss/util/jsp/UtilAbstractAction.java b/src/edu/rpi/sss/util/jsp/UtilAbstractAction.java
index fedb8db..9facd22 100644
--- a/src/edu/rpi/sss/util/jsp/UtilAbstractAction.java
+++ b/src/edu/rpi/sss/util/jsp/UtilAbstractAction.java
@@ -1,1550 +1,1550 @@
/* *****************************************... | true | true | public ActionForward execute(ActionMapping mapping,
ActionForm frm,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
ErrorEmitSvlt err = null;... | public ActionForward execute(ActionMapping mapping,
ActionForm frm,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
ErrorEmitSvlt err = null;... |
diff --git a/src/web/org/codehaus/groovy/grails/web/mapping/filter/UrlMappingsFilter.java b/src/web/org/codehaus/groovy/grails/web/mapping/filter/UrlMappingsFilter.java
index 65662fb9b..c5a6c08ff 100644
--- a/src/web/org/codehaus/groovy/grails/web/mapping/filter/UrlMappingsFilter.java
+++ b/src/web/org/codehaus/groovy/... | false | true | protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
UrlMappingsHolder holder = lookupUrlMappings();
GrailsApplication application = lookupApplication();
GrailsWebRequest webRequest = (Grails... | protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
UrlMappingsHolder holder = lookupUrlMappings();
GrailsApplication application = lookupApplication();
GrailsWebRequest webRequest = (Grails... |
diff --git a/src/main/java/org/apache/bcel/classfile/ClassParser.java b/src/main/java/org/apache/bcel/classfile/ClassParser.java
index 69514477..0cb7751e 100644
--- a/src/main/java/org/apache/bcel/classfile/ClassParser.java
+++ b/src/main/java/org/apache/bcel/classfile/ClassParser.java
@@ -1,295 +1,297 @@
/*
* Copyr... | true | true | public JavaClass parse() throws IOException, ClassFormatException {
ZipFile zip = null;
try {
if (fileOwned) {
if (is_zip) {
zip = new ZipFile(zip_file);
ZipEntry entry = zip.getEntry(file_name);
file = new DataI... | public JavaClass parse() throws IOException, ClassFormatException {
ZipFile zip = null;
try {
if (fileOwned) {
if (is_zip) {
zip = new ZipFile(zip_file);
ZipEntry entry = zip.getEntry(file_name);
file = new DataI... |
diff --git a/src/main/java/com/github/kpacha/jkata/potter/Potter.java b/src/main/java/com/github/kpacha/jkata/potter/Potter.java
index 1f2490e..4ab12f4 100644
--- a/src/main/java/com/github/kpacha/jkata/potter/Potter.java
+++ b/src/main/java/com/github/kpacha/jkata/potter/Potter.java
@@ -1,29 +1,30 @@
package com.gith... | true | true | public static double priceFor(int... items) {
double total = 8 * items[0] * getDiscountFor(items[0]);
if (items.length == 2)
total += 8 * items[1] * getDiscountFor(items[1]);
return total;
}
| public static double priceFor(int... items) {
double total = 0.0;
for (int quantity : items) {
total += 8 * quantity * getDiscountFor(quantity);
}
return total;
}
|
diff --git a/demoapp/src/main/java/org/esbhive/demoapp/ResponseDataCalculator.java b/demoapp/src/main/java/org/esbhive/demoapp/ResponseDataCalculator.java
index b689755..30669d9 100644
--- a/demoapp/src/main/java/org/esbhive/demoapp/ResponseDataCalculator.java
+++ b/demoapp/src/main/java/org/esbhive/demoapp/ResponseDat... | false | true | public ResponseDataCalculator(File file) throws InvalidDataException {
if (!file.isDirectory()) {
throw new InvalidDataException("The " + file.getAbsolutePath() + " is not a directory.");
} else {
String fileName = file.getName();
String[] parts = fileName.split("\\.");
numESBs = Integ... | public ResponseDataCalculator(File file) throws InvalidDataException {
if (!file.isDirectory()) {
throw new InvalidDataException("The " + file.getAbsolutePath() + " is not a directory.");
} else {
String fileName = file.getName();
String[] parts = fileName.split("\\.");
numESBs = Integ... |
diff --git a/src/org/apache/xalan/templates/ElemApplyTemplates.java b/src/org/apache/xalan/templates/ElemApplyTemplates.java
index af000951..a3689c86 100644
--- a/src/org/apache/xalan/templates/ElemApplyTemplates.java
+++ b/src/org/apache/xalan/templates/ElemApplyTemplates.java
@@ -1,461 +1,484 @@
/*
* The Apache So... | false | true | public void transformSelectedNodes(TransformerImpl transformer)
throws TransformerException
{
final XPathContext xctxt = transformer.getXPathContext();
final int sourceNode = xctxt.getCurrentNode();
DTMIterator sourceNodes = m_selectExpression.asIterator(xctxt, sourceNode);
VariableStac... | public void transformSelectedNodes(TransformerImpl transformer)
throws TransformerException
{
final XPathContext xctxt = transformer.getXPathContext();
final int sourceNode = xctxt.getCurrentNode();
DTMIterator sourceNodes = m_selectExpression.asIterator(xctxt, sourceNode);
VariableStac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.