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/framework/src/play/classloading/enhancers/ControllersEnhancer.java b/framework/src/play/classloading/enhancers/ControllersEnhancer.java
index 522f6398..48d4103c 100644
--- a/framework/src/play/classloading/enhancers/ControllersEnhancer.java
+++ b/framework/src/play/classloading/enhancers/ControllersEnhance... | true | true | public void enhanceThisClass(final ApplicationClass applicationClass) throws Exception {
CtClass ctClass = makeClass(applicationClass);
if(!ctClass.subtypeOf(classPool.get(Controller.class.getName()))) {
return;
}
for (final CtMethod ctMethod : ctClass.g... | public void enhanceThisClass(final ApplicationClass applicationClass) throws Exception {
CtClass ctClass = makeClass(applicationClass);
if(!ctClass.subtypeOf(classPool.get(Controller.class.getName()))) {
return;
}
for (final CtMethod ctMethod : ctClass.g... |
diff --git a/src/org/geworkbench/parsers/SOFTSeriesParser.java b/src/org/geworkbench/parsers/SOFTSeriesParser.java
index d9b9be9f..1dc203c3 100644
--- a/src/org/geworkbench/parsers/SOFTSeriesParser.java
+++ b/src/org/geworkbench/parsers/SOFTSeriesParser.java
@@ -1,386 +1,386 @@
package org.geworkbench.parsers;
impo... | true | true | public DSMicroarraySet parseSOFTSeriesFile(File file)
throws InputFileFormatException, InterruptedIOException {
String platformChosen = choosePlatform(file);
if (platformChosen == null) {
throw new InputFileFormatException(errorMessage);
}
BufferedReader in = null;
final int extSeperater = '.';
Str... | public DSMicroarraySet parseSOFTSeriesFile(File file)
throws InputFileFormatException, InterruptedIOException {
String platformChosen = choosePlatform(file);
if (platformChosen == null) {
throw new InputFileFormatException(errorMessage);
}
BufferedReader in = null;
final int extSeperater = '.';
Str... |
diff --git a/src/main/java/eu/trentorise/smartcampus/mediation/model/MessageToMediationService.java b/src/main/java/eu/trentorise/smartcampus/mediation/model/MessageToMediationService.java
index 9589687..2a88c5e 100644
--- a/src/main/java/eu/trentorise/smartcampus/mediation/model/MessageToMediationService.java
+++ b/sr... | true | true | public static MessageToMediationService valueOf(String json) {
try {
JSONObject o = new JSONObject(json);
String webapp =o.getString("webappname");
String entityTesto =o.getString("entityTesto");
int entityId =o.getInt("entityId");
MessageToMediationService messageToMediationService = new MessageT... | public static MessageToMediationService valueOf(String json) {
try {
JSONObject o = new JSONObject(json);
String webapp =o.getString("webappname");
String entityTesto =o.getString("entityTesto");
int entityId =o.getInt("entityId");
MessageToMediationService messageToMediationService = new MessageT... |
diff --git a/src/jgpfun/PopulationManager.java b/src/jgpfun/PopulationManager.java
index bd72664..f632fee 100644
--- a/src/jgpfun/PopulationManager.java
+++ b/src/jgpfun/PopulationManager.java
@@ -1,108 +1,108 @@
package jgpfun;
import jgpfun.jgp.OpCode;
import java.util.ArrayList;
import java.util.Arrays;
impor... | true | true | public int newGeneration() {
int totalFit = calculateFitness();
OpCode[] parent1, parent2;
double mutador;
List<Organism> newAnts = new ArrayList<Organism>(ants.size());
//choose crossover operator
CrossoverOperator crossOp = new OnePointCrossover();
//creat... | public int newGeneration() {
int totalFit = calculateFitness();
OpCode[] parent1, parent2;
double mutador;
List<Organism> newAnts = new ArrayList<Organism>(ants.size());
//choose crossover operator
CrossoverOperator crossOp = new OnePointCrossover();
//creat... |
diff --git a/src/com/android/launcher2/CustomizeTrayTabHost.java b/src/com/android/launcher2/CustomizeTrayTabHost.java
index b6c55f8b..e1ba700a 100644
--- a/src/com/android/launcher2/CustomizeTrayTabHost.java
+++ b/src/com/android/launcher2/CustomizeTrayTabHost.java
@@ -1,196 +1,201 @@
/*
* Copyright (C) 2011 The An... | false | true | protected void onFinishInflate() {
final Resources res = getResources();
setup();
mCustomizePagedView =
(CustomizePagedView) findViewById(R.id.customization_drawer_tab_contents);
// Configure tabs
TabContentFactory contentFactory = new TabContentFactory() {
... | protected void onFinishInflate() {
final Resources res = getResources();
setup();
mCustomizePagedView =
(CustomizePagedView) findViewById(R.id.customization_drawer_tab_contents);
// Configure tabs
TabContentFactory contentFactory = new TabContentFactory() {
... |
diff --git a/src/com/android/launcher2/AppsCustomizePagedView.java b/src/com/android/launcher2/AppsCustomizePagedView.java
index 924349da..8ef758d5 100644
--- a/src/com/android/launcher2/AppsCustomizePagedView.java
+++ b/src/com/android/launcher2/AppsCustomizePagedView.java
@@ -1,1488 +1,1489 @@
/*
* Copyright (C) 2... | true | true | private Bitmap getWidgetPreview(AppWidgetProviderInfo info,
int cellHSpan, int cellVSpan, int cellWidth, int cellHeight) {
// Load the preview image if possible
String packageName = info.provider.getPackageName();
Drawable drawable = null;
Bitmap preview = null;
... | private Bitmap getWidgetPreview(AppWidgetProviderInfo info,
int cellHSpan, int cellVSpan, int cellWidth, int cellHeight) {
// Load the preview image if possible
String packageName = info.provider.getPackageName();
Drawable drawable = null;
Bitmap preview = null;
... |
diff --git a/src/main/java/me/limebyte/battlenight/core/battle/SimpleLobby.java b/src/main/java/me/limebyte/battlenight/core/battle/SimpleLobby.java
index af36173..79f6386 100644
--- a/src/main/java/me/limebyte/battlenight/core/battle/SimpleLobby.java
+++ b/src/main/java/me/limebyte/battlenight/core/battle/SimpleLobby.... | true | true | public void addPlayer(Player player) {
Messenger messenger = api.getMessenger();
Battle battle = api.getBattleManager().getBattle();
if (players.contains(player.getName())) {
messenger.tell(player, Message.ALREADY_IN_LOBBY);
return;
}
if (battle.cont... | public void addPlayer(Player player) {
Messenger messenger = api.getMessenger();
Battle battle = api.getBattleManager().getBattle();
if (players.contains(player.getName())) {
messenger.tell(player, Message.ALREADY_IN_LOBBY);
return;
}
if (battle.cont... |
diff --git a/src/com/kamosoft/happycontacts/DayMatcherService.java b/src/com/kamosoft/happycontacts/DayMatcherService.java
index 37c8aca..4b3883d 100755
--- a/src/com/kamosoft/happycontacts/DayMatcherService.java
+++ b/src/com/kamosoft/happycontacts/DayMatcherService.java
@@ -1,222 +1,221 @@
/**
*
*/
package com... | true | true | public static ContactFeasts testDayMatch( Context context, String day, String fullDate )
{
if ( Log.DEBUG )
{
Log.v( "DayMatcher: start testDayMatch()" );
}
/*
* init and open database
*/
DbAdapter mDb = new DbAdapter( context );
mDb... | public static ContactFeasts testDayMatch( Context context, String day, String fullDate )
{
if ( Log.DEBUG )
{
Log.v( "DayMatcher: start testDayMatch()" );
}
/*
* init and open database
*/
DbAdapter mDb = new DbAdapter( context );
mDb... |
diff --git a/alvis/compiler/src/main/java/de/uni_siegen/informatik/bs/alvic/AbstractTLexer.java b/alvis/compiler/src/main/java/de/uni_siegen/informatik/bs/alvic/AbstractTLexer.java
index dbddd6e..625dd5a 100644
--- a/alvis/compiler/src/main/java/de/uni_siegen/informatik/bs/alvic/AbstractTLexer.java
+++ b/alvis/compiler... | true | true | public Token getTokenByNumbers(int line, int position) {
List<Token> t = new ArrayList<Token>(tokens);
if (t.size() == 0)
return null;
t.remove(t.size()-1); // remove the EOF-token
Collections.reverse(t);
for (Token act : t) {
if (act.getLine() < line || act.getLine() == line
&& act.getCharPositi... | public Token getTokenByNumbers(int line, int position) {
List<Token> t = new ArrayList<Token>(tokens);
if (t.size()<=1)
return null;
t.remove(t.size()-1); // remove the EOF-token
Collections.reverse(t);
for (Token act : t) {
if (act.getLine() < line || act.getLine() == line
&& act.getCharPosition... |
diff --git a/src/edu/berkeley/cs162/SlaveServer.java b/src/edu/berkeley/cs162/SlaveServer.java
index 7066ebe..97b1158 100644
--- a/src/edu/berkeley/cs162/SlaveServer.java
+++ b/src/edu/berkeley/cs162/SlaveServer.java
@@ -1,90 +1,90 @@
/**
* Sample instantiation of the slave server
*
* @author Mosharaf Chowdhury... | false | true | public static void main(String[] args) throws Exception {
if (args.length != 3) {
System.err.println("USAGE: SlaveServer <slaveID> <masterHostName> <masterPort> [masterListenPort]");
System.exit(1);
}
// Read Master info from command line
slaveID = UUID.fromString(args[0]);
masterHostName = args[1];... | public static void main(String[] args) throws Exception {
if (args.length < 3) {
System.err.println("USAGE: SlaveServer <slaveID> <masterHostName> <masterPort> [masterListenPort]");
System.exit(1);
}
// Read Master info from command line
slaveID = UUID.fromString(args[0]);
masterHostName = args[1];
... |
diff --git a/components/bio-formats/src/loci/formats/ChannelSeparator.java b/components/bio-formats/src/loci/formats/ChannelSeparator.java
index 58107ea46..1fc314d82 100644
--- a/components/bio-formats/src/loci/formats/ChannelSeparator.java
+++ b/components/bio-formats/src/loci/formats/ChannelSeparator.java
@@ -1,250 +... | true | true | public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h)
throws FormatException, IOException
{
FormatTools.assertId(getCurrentFile(), true, 2);
FormatTools.checkPlaneNumber(this, no);
if (reader.isRGB() && !reader.isIndexed()) {
int c = getSizeC() / reader.getEffectiveSizeC();
... | public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h)
throws FormatException, IOException
{
FormatTools.assertId(getCurrentFile(), true, 2);
FormatTools.checkPlaneNumber(this, no);
if (reader.isRGB() && !reader.isIndexed()) {
int c = getSizeC() / reader.getEffectiveSizeC();
... |
diff --git a/build/source/org/zotero/integration/ooo/comp/SaveEventListener.java b/build/source/org/zotero/integration/ooo/comp/SaveEventListener.java
index 923d5ff..2c44bf0 100644
--- a/build/source/org/zotero/integration/ooo/comp/SaveEventListener.java
+++ b/build/source/org/zotero/integration/ooo/comp/SaveEventListe... | true | true | public void notifyEvent(EventObject event) {
if(event.EventName.equals("OnSaveAsDone") || event.EventName.equals("OnSaveDone")) {
// check if document is saved in OpenDocument format
XModel component = (XModel) UnoRuntime.queryInterface(XModel.class, event.Source);
String docURL = component.getURL();
if(... | public void notifyEvent(EventObject event) {
if(event.EventName.equals("OnSaveAsDone") || event.EventName.equals("OnSaveDone")) {
// check if document is saved in OpenDocument format
XModel component = (XModel) UnoRuntime.queryInterface(XModel.class, event.Source);
String docURL = component.getURL();
if(... |
diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/config/ChannelAdapterParser.java b/org.springframework.integration/src/main/java/org/springframework/integration/config/ChannelAdapterParser.java
index 737aae1773..f6429d424a 100644
--- a/org.springframework.integration/src/main/... | true | true | protected AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext) {
String source = element.getAttribute("source");
String target = element.getAttribute("target");
String channelName = element.getAttribute("channel");
Element pollerElement = DomUtils.getChildElementByTagName(element,... | protected AbstractBeanDefinition parseInternal(Element element, ParserContext parserContext) {
String source = element.getAttribute("source");
String target = element.getAttribute("target");
String channelName = element.getAttribute("channel");
Element pollerElement = DomUtils.getChildElementByTagName(element,... |
diff --git a/src/com/jidesoft/plaf/basic/BasicJideTabbedPaneUI.java b/src/com/jidesoft/plaf/basic/BasicJideTabbedPaneUI.java
index 73d7a136..845dbe3d 100644
--- a/src/com/jidesoft/plaf/basic/BasicJideTabbedPaneUI.java
+++ b/src/com/jidesoft/plaf/basic/BasicJideTabbedPaneUI.java
@@ -1,9565 +1,9565 @@
/* @(#)BasicJideTa... | true | true | protected boolean requestFocusForVisibleComponent() {
Component visibleComponent = getVisibleComponent();
Component lastFocused = _tabPane.getLastFocusedComponent(visibleComponent);
if (lastFocused != null && lastFocused.requestFocusInWindow()) {
return true;
}
el... | protected boolean requestFocusForVisibleComponent() {
Component visibleComponent = getVisibleComponent();
Component lastFocused = _tabPane.getLastFocusedComponent(visibleComponent);
if (lastFocused != null && lastFocused.requestFocusInWindow()) {
return true;
}
el... |
diff --git a/src/test/java/ch/tutteli/tsphp/translators/php54/test/testutils/ExpressionHelper.java b/src/test/java/ch/tutteli/tsphp/translators/php54/test/testutils/ExpressionHelper.java
index dd53b07..c58f28e 100644
--- a/src/test/java/ch/tutteli/tsphp/translators/php54/test/testutils/ExpressionHelper.java
+++ b/src/t... | true | true | public static String[][] getExpressionsWihtoutAssignment() {
return new String[][]{
{"$a or $b","($a or $b)"},
{"$a or $b or $c","(($a or $b) or $c)"},
{"$a xor $b","($a xor $b)"},
{"$a xor $b xor $c","(($a xor $b) xor $c)"},
... | public static String[][] getExpressionsWihtoutAssignment() {
return new String[][]{
{"$a or $b","($a or $b)"},
{"$a or $b or $c","(($a or $b) or $c)"},
{"$a xor $b","($a xor $b)"},
{"$a xor $b xor $c","(($a xor $b) xor $c)"},
... |
diff --git a/3rdPartyServices/StudentServices/RFID/RFIDClient3pApp/src/main/java/ac/hw/rfid/client/RfidClient.java b/3rdPartyServices/StudentServices/RFID/RFIDClient3pApp/src/main/java/ac/hw/rfid/client/RfidClient.java
index 647e8373..3bcb496e 100644
--- a/3rdPartyServices/StudentServices/RFID/RFIDClient3pApp/src/main/... | false | true | public void sendUpdate(String symLoc, String tagNumber) {
if (this.timer!=null){
this.timer.cancel();
}
this.clientGUI.sendSymLocUpdate(tagNumber, symLoc);
this.logging.debug("updated gui");
if (!this.currentSymLoc.equalsIgnoreCase(symLoc)){
this.logging.debug("New value for symbolic location receive... | public void sendUpdate(String symLoc, String tagNumber) {
if (this.timer!=null){
try{
this.timer.cancel();
}catch(Exception e){
this.logging.debug("Error canceling timer. Timer already cancelled.");
e.printStackTrace();
}
}
this.clientGUI.sendSymLocUpdate(tagNumber, symLoc);
this.logging.... |
diff --git a/org.iucn.sis.shared.conversions/src/org/iucn/sis/shared/conversions/TaxonConverter.java b/org.iucn.sis.shared.conversions/src/org/iucn/sis/shared/conversions/TaxonConverter.java
index 2446cf78..908f10cf 100644
--- a/org.iucn.sis.shared.conversions/src/org/iucn/sis/shared/conversions/TaxonConverter.java
+++... | true | true | public Taxon convertTaxonNode(TaxonNode taxon, Date lastModified, User user) throws PersistentException {
Taxon newTaxon = new Taxon();
newTaxon.state = Taxon.ACTIVE;
newTaxon.setId((int) taxon.getId());
if (!taxon.getParentId().equals("")) {
newTaxon.setParentId(Integer.valueOf(taxon.getParentId()));
/... | public Taxon convertTaxonNode(TaxonNode taxon, Date lastModified, User user) throws PersistentException {
Taxon newTaxon = new Taxon();
newTaxon.state = Taxon.ACTIVE;
newTaxon.setId((int) taxon.getId());
if (!taxon.getParentId().equals("")) {
newTaxon.setParentId(Integer.valueOf(taxon.getParentId()));
/... |
diff --git a/440-HW1/src/SlaveListener.java b/440-HW1/src/SlaveListener.java
index 940cc83..1bfaa4d 100644
--- a/440-HW1/src/SlaveListener.java
+++ b/440-HW1/src/SlaveListener.java
@@ -1,97 +1,98 @@
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.ObjectInp... | false | true | public synchronized void start() throws Exception {
if (thread != null) {
throw new Exception("Slave Listener already started.");
}
thread = new Thread(new Runnable() {
/** run()
*
* Accepts connections and adds it to the managed list
*/
@Override
public void run() {
running = ... | public synchronized void start() throws Exception {
if (thread != null) {
throw new Exception("Slave Listener already started.");
}
thread = new Thread(new Runnable() {
/** run()
*
* Accepts connections and adds it to the managed list
*/
@Override
public void run() {
running = ... |
diff --git a/h2/src/main/org/h2/command/Command.java b/h2/src/main/org/h2/command/Command.java
index e7b6f2695..f2fffaf3e 100644
--- a/h2/src/main/org/h2/command/Command.java
+++ b/h2/src/main/org/h2/command/Command.java
@@ -1,275 +1,275 @@
/*
* Copyright 2004-2009 H2 Group. Multiple-Licensed under the H2 License,
... | true | true | public int executeUpdate() throws SQLException {
long start = startTime = System.currentTimeMillis();
Database database = session.getDatabase();
MemoryUtils.allocateReserveMemory();
Object sync = database.isMultiThreaded() ? (Object) session : (Object) database;
session.waitI... | public int executeUpdate() throws SQLException {
long start = startTime = System.currentTimeMillis();
Database database = session.getDatabase();
MemoryUtils.allocateReserveMemory();
Object sync = database.isMultiThreaded() ? (Object) session : (Object) database;
session.waitI... |
diff --git a/src/org/pharmgkb/Subject.java b/src/org/pharmgkb/Subject.java
index 4d75484..a5f1a12 100644
--- a/src/org/pharmgkb/Subject.java
+++ b/src/org/pharmgkb/Subject.java
@@ -1,432 +1,442 @@
package org.pharmgkb;
import com.google.common.base.Splitter;
import com.google.common.collect.Lists;
import com.goog... | true | true | public void addProperties(Map<String, String> properties) throws Exception {
if (m_properties == null) {
m_properties = Maps.newHashMap();
}
m_properties.putAll(properties);
// pick out all properties that we want to strongly persist for analysis
setSubjectId(getProperties().get(Property.SU... | public void addProperties(Map<String, String> properties) throws Exception {
if (m_properties == null) {
m_properties = Maps.newHashMap();
}
m_properties.putAll(properties);
// pick out all properties that we want to strongly persist for analysis
setSubjectId(getProperties().get(Property.SU... |
diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.java
index a0971fe1f..d00b9e871 100644
--- a/source/de/anomic/http/httpdFileHandler.java
+++ b/source/de/anomic/http/httpdFileHandler.java
@@ -1,1074 +1,1074 @@
// httpdFileHandler.java
// -----------------------
// (C)... | true | true | public void doResponse(Properties conProp, httpHeader requestHeader, OutputStream out, InputStream body) {
this.connectionProperties = conProp;
String path = null;
try {
// getting some connection properties
String method = conProp.getPro... | public void doResponse(Properties conProp, httpHeader requestHeader, OutputStream out, InputStream body) {
this.connectionProperties = conProp;
String path = null;
try {
// getting some connection properties
String method = conProp.getPro... |
diff --git a/apvs-ptu/src/main/java/ch/cern/atlas/apvs/ptu/server/PtuChannelInitializer.java b/apvs-ptu/src/main/java/ch/cern/atlas/apvs/ptu/server/PtuChannelInitializer.java
index f7a04ae3..8ad6bcc7 100644
--- a/apvs-ptu/src/main/java/ch/cern/atlas/apvs/ptu/server/PtuChannelInitializer.java
+++ b/apvs-ptu/src/main/jav... | true | true | protected void initChannel(SocketChannel ch) throws Exception {
ch.pipeline().addLast(
new IdleStateHandler(60, 30, 0),
new DelimiterBasedFrameDecoder(8192, Unpooled
.wrappedBuffer(new byte[] { 0x13 })),
new StringDecoder(CharsetUtil.UTF_8),
new StringEncoder(BufType.BYTE, CharsetUtil.UTF_8),
... | protected void initChannel(SocketChannel ch) throws Exception {
ch.pipeline().addLast(
new IdleStateHandler(60, 30, 0),
new DelimiterBasedFrameDecoder(8192, Unpooled
.wrappedBuffer(new byte[] { 0x13 })),
new StringDecoder(CharsetUtil.UTF_8),
new StringEncoder(CharsetUtil.UTF_8),
handler);
... |
diff --git a/src/org/lispin/jlispin/format/IndentedFormatter.java b/src/org/lispin/jlispin/format/IndentedFormatter.java
index 09bff7b..f471cc4 100644
--- a/src/org/lispin/jlispin/format/IndentedFormatter.java
+++ b/src/org/lispin/jlispin/format/IndentedFormatter.java
@@ -1,157 +1,158 @@
package org.lispin.jlispin.for... | true | true | public void printLcons(Lcons cons) throws IOException {
// TODO - Yuck!
_consDepth +=1;
Exp head = cons;
int countOfRight = 0;
boolean colon = cons.isTaggedWith(BuiltinClasses.PRINTWITHCOLON);
if(colon) {
printSpaces(_consDepth);
_output.write(cons.car().toString()... | public void printLcons(Lcons cons) throws IOException {
// TODO - Yuck!
_consDepth +=1;
Exp head = cons;
int countOfRight = 0;
boolean colon = cons.isTaggedWith(BuiltinClasses.PRINTWITHCOLON);
if(colon) {
printSpaces(_consDepth);
_output.write(cons.car().toString()... |
diff --git a/src/net/gicode/android/autoresetblocker/AutoResetBlockerActivity.java b/src/net/gicode/android/autoresetblocker/AutoResetBlockerActivity.java
index 9eda7b0..d861ddc 100644
--- a/src/net/gicode/android/autoresetblocker/AutoResetBlockerActivity.java
+++ b/src/net/gicode/android/autoresetblocker/AutoResetBloc... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.blocker_activity);
CheckBox autoDialOption = (CheckBox) findViewById(R.id.auto_dial);
autoDialOption.setOnCheckedChangeListener(new AutoDialListener());
SP = PreferenceManager.getDefaultSharedPref... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.blocker_activity);
CheckBox autoDialOption = (CheckBox) findViewById(R.id.auto_dial);
autoDialOption.setOnCheckedChangeListener(new AutoDialListener());
SP = PreferenceManager.getDefaultSharedPref... |
diff --git a/client/src/es/deusto/weblab/client/lab/ui/themes/es/deusto/weblab/defaultweb/ExperimentWindow.java b/client/src/es/deusto/weblab/client/lab/ui/themes/es/deusto/weblab/defaultweb/ExperimentWindow.java
index 4a51ac0ce..731fbfa33 100644
--- a/client/src/es/deusto/weblab/client/lab/ui/themes/es/deusto/weblab/d... | true | true | private void updateInfolinkField() {
IConfigurationRetriever retriever = null;
try {
retriever = ExperimentFactory.getExperimentConfigurationRetriever(this.experimentAllowed.getExperiment().getExperimentUniqueName());
// Retrieve the address of the experiment info page
final String infolink = r... | private void updateInfolinkField() {
IConfigurationRetriever retriever = null;
try {
retriever = ExperimentFactory.getExperimentConfigurationRetriever(this.experimentAllowed.getExperiment().getExperimentUniqueName());
// Retrieve the address of the experiment info page
final String infolink = r... |
diff --git a/library/src/com/google/maps/android/quadtree/PointQuadTree.java b/library/src/com/google/maps/android/quadtree/PointQuadTree.java
index d85335a..b3fe12a 100644
--- a/library/src/com/google/maps/android/quadtree/PointQuadTree.java
+++ b/library/src/com/google/maps/android/quadtree/PointQuadTree.java
@@ -1,2... | true | true | private void insert(double x, double y, T item) {
if (this.mChildren != null) {
if (y < mBounds.midY) {
if (x < mBounds.midX) { // top left
mChildren[0].insert(x, y, item);
} else { // top right
mChildren[1].insert(x, y, ite... | private void insert(double x, double y, T item) {
if (this.mChildren != null) {
if (y < mBounds.midY) {
if (x < mBounds.midX) { // top left
mChildren[0].insert(x, y, item);
} else { // top right
mChildren[1].insert(x, y, ite... |
diff --git a/servlet/src/main/java/io/undertow/servlet/spec/ServletOutputStreamImpl.java b/servlet/src/main/java/io/undertow/servlet/spec/ServletOutputStreamImpl.java
index 8427d58fc..66956ef6d 100644
--- a/servlet/src/main/java/io/undertow/servlet/spec/ServletOutputStreamImpl.java
+++ b/servlet/src/main/java/io/undert... | false | true | public void handleEvent(final StreamSinkChannel theConnectionChannel) {
theConnectionChannel.suspendWrites();
//we run this whole thing as a async task, to avoid threading issues
asyncContext.addAsyncTask(new Runnable() {
@Override
public void ... | public void handleEvent(final StreamSinkChannel theConnectionChannel) {
theConnectionChannel.suspendWrites();
//we run this whole thing as a async task, to avoid threading issues
asyncContext.addAsyncTask(new Runnable() {
@Override
public void ... |
diff --git a/ue3/src/main/java/formel0api/beans/RegistrationRequest.java b/ue3/src/main/java/formel0api/beans/RegistrationRequest.java
index 9dc1f6d..7b50dfc 100644
--- a/ue3/src/main/java/formel0api/beans/RegistrationRequest.java
+++ b/ue3/src/main/java/formel0api/beans/RegistrationRequest.java
@@ -1,54 +1,55 @@
pack... | true | true | public String register(){
if(registrar.getPlayer(tempPlayer.getName())==null){
registrar.addPlayer(tempPlayer);
return "/index.xhtml";
}else{
FacesContext.getCurrentInstance().addMessage("form:submit",new FacesMessage(FacesMessage.SEVERITY_ERROR, "User already exists", null));
return "/register.xhtml"... | public String register(){
if(registrar.getPlayer(tempPlayer.getName())==null){
registrar.addPlayer(tempPlayer);
FacesContext.getCurrentInstance().getExternalContext().invalidateSession();
return "/index.xhtml";
}else{
FacesContext.getCurrentInstance().addMessage("form:submit",new FacesMessage(FacesMes... |
diff --git a/core/src/com/clarkparsia/common/iterations/Iterations.java b/core/src/com/clarkparsia/common/iterations/Iterations.java
index 28ef280..28c172d 100644
--- a/core/src/com/clarkparsia/common/iterations/Iterations.java
+++ b/core/src/com/clarkparsia/common/iterations/Iterations.java
@@ -1,538 +1,541 @@
/*
*... | false | true | public static <T, E extends Throwable> Iterator<T> toIterator(final Iteration<T, E> theIteration) {
return new Iterator<T>() {
public boolean hasNext() {
try {
return theIteration.hasNext();
}
catch (Throwable e) {
throw new RuntimeException(e);
}
}
public T next() {
try {
... | public static <T, E extends Throwable> Iterator<T> toIterator(final Iteration<T, E> theIteration) {
return new Iterator<T>() {
@Override
public boolean hasNext() {
try {
return theIteration.hasNext();
}
catch (Throwable e) {
throw new RuntimeException(e);
}
}
... |
diff --git a/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java b/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java
index c0644ac..9d80fac 100644
--- a/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java
+++ b/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java
@@ -1,1... | true | true | private StringBuffer printSymbolTree(int linebreakpos, boolean preserveAllSemiColons)
throws IOException {
offset = 0;
braceNesting = 0;
scopes.clear();
String symbol;
JavaScriptToken token;
ScriptOrFnScope currentScope;
JavaScriptIdentifier iden... | private StringBuffer printSymbolTree(int linebreakpos, boolean preserveAllSemiColons)
throws IOException {
offset = 0;
braceNesting = 0;
scopes.clear();
String symbol;
JavaScriptToken token;
ScriptOrFnScope currentScope;
JavaScriptIdentifier iden... |
diff --git a/src/main/java/tconstruct/smeltery/model/CastingBlockRender.java b/src/main/java/tconstruct/smeltery/model/CastingBlockRender.java
index ef8e327ae..e5d17669e 100644
--- a/src/main/java/tconstruct/smeltery/model/CastingBlockRender.java
+++ b/src/main/java/tconstruct/smeltery/model/CastingBlockRender.java
@@ ... | false | true | public boolean renderWorldBlock (IBlockAccess world, int x, int y, int z, Block block, int modelID, RenderBlocks renderer)
{
if (modelID == searedModel)
{
int metadata = world.getBlockMetadata(x, y, z);
if (metadata == 0)
{
// Top
... | public boolean renderWorldBlock (IBlockAccess world, int x, int y, int z, Block block, int modelID, RenderBlocks renderer)
{
if (modelID == searedModel)
{
int metadata = world.getBlockMetadata(x, y, z);
if (metadata == 0)
{
// Top
... |
diff --git a/src/org/apache/fop/fo/FObjMixed.java b/src/org/apache/fop/fo/FObjMixed.java
index b3c99d8a8..32eb46651 100644
--- a/src/org/apache/fop/fo/FObjMixed.java
+++ b/src/org/apache/fop/fo/FObjMixed.java
@@ -1,98 +1,99 @@
/*
* $Id$
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* ... | true | true | protected void addCharacters(char data[], int start, int length) {
if(textInfo == null) {
String fontFamily =
getProperty("font-family").getString();
String fontStyle =
getProperty("font-style").getString();
String fontWeight =
... | protected void addCharacters(char data[], int start, int length) {
if(textInfo == null) {
textInfo = new FOText.TextInfo();
String fontFamily =
getProperty("font-family").getString();
String fontStyle =
getProperty("font-style").getString();
... |
diff --git a/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/TakeSnapshotIfNotAlreadyAttached.java b/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/TakeSnapshotIfNotAlreadyAttached.java
index decc6c825b..d2608e8fca 100644
--- a/sandbox-apis/virtualbox/src/main/java/org/jcl... | false | true | public ISnapshot apply(@Nullable IMachine machine) {
// Snapshot a machine
ISession session = null;
if(machine.getCurrentSnapshot() == null ) {
try {
session = manager.openMachineSession(machine);
IProgress progress = session.getConsole().takeSnapshot(snapshotName, ... | public ISnapshot apply(@Nullable IMachine machine) {
// Snapshot a machine
ISession session = null;
if(machine.getCurrentSnapshot() == null ) {
try {
session = manager.openMachineSession(machine);
IProgress progress = session.getConsole().takeSnapshot(snapshotName, ... |
diff --git a/srcj/com/sun/electric/tool/user/ErrorLogger.java b/srcj/com/sun/electric/tool/user/ErrorLogger.java
index 86b6525b1..f76548a3f 100644
--- a/srcj/com/sun/electric/tool/user/ErrorLogger.java
+++ b/srcj/com/sun/electric/tool/user/ErrorLogger.java
@@ -1,1014 +1,1017 @@
/* -*- tab-width: 4 -*-
*
* Electric... | true | true | public void startElement (String uri, String localName, String qName, Attributes attributes)
{
boolean loggerBody = qName.equals("ErrorLogger");
boolean errorLogBody = qName.equals("MessageLog");
boolean warnLogBody = qName.equals("WarningLog");
... | public void startElement (String uri, String localName, String qName, Attributes attributes)
{
boolean loggerBody = qName.equals("ErrorLogger");
boolean errorLogBody = qName.equals("MessageLog");
boolean warnLogBody = qName.equals("WarningLog");
... |
diff --git a/us7928/sapisync/src/main/java/com/funambol/sapisync/SapiSyncManager.java b/us7928/sapisync/src/main/java/com/funambol/sapisync/SapiSyncManager.java
index 7066a272..3ad1af89 100755
--- a/us7928/sapisync/src/main/java/com/funambol/sapisync/SapiSyncManager.java
+++ b/us7928/sapisync/src/main/java/com/funambol... | false | true | private void performUploadPhase(SyncSource src, int syncMode, boolean resume, MappingTable mapping) {
if (Log.isLoggable(Log.INFO)) {
Log.info(TAG_LOG, "Starting upload phase with mode: " + syncMode);
}
Vector sourceStatus = new Vector();
boolean incremental = i... | private void performUploadPhase(SyncSource src, int syncMode, boolean resume, MappingTable mapping) {
if (Log.isLoggable(Log.INFO)) {
Log.info(TAG_LOG, "Starting upload phase with mode: " + syncMode);
}
Vector sourceStatus = new Vector();
boolean incremental = i... |
diff --git a/aweb-server/src/main/java/com/janx57/aweb/server/handler/HeadHandler.java b/aweb-server/src/main/java/com/janx57/aweb/server/handler/HeadHandler.java
index d9a2191..807ce99 100644
--- a/aweb-server/src/main/java/com/janx57/aweb/server/handler/HeadHandler.java
+++ b/aweb-server/src/main/java/com/janx57/aweb... | true | true | public void handle(HttpRequest request, HttpResponse response) {
Status status = null;
try {
body = getContent(request.getUri());
status = Status.OK;
} catch (IOException e) {
body = new byte[] {};
status = Status.NOT_FOUND;
}
response.setReasonPhrase(status.phrase);
r... | public void handle(HttpRequest request, HttpResponse response) {
Status status = null;
try {
body = getContent(request.getUri());
status = Status.OK;
} catch (IOException e) {
body = new byte[] {};
status = Status.NOT_FOUND;
}
response.setReasonPhrase(status.phrase);
r... |
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/newt/TestGearsNEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/newt/TestGearsNEWT.java
index 5433a5ba2..0f7d77f82 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/newt/TestGearsNEWT.java
+++ b/src/test/c... | false | true | protected void runTestGL(GLCapabilities caps) throws InterruptedException {
GLWindow glWindow = GLWindow.create(caps);
Assert.assertNotNull(glWindow);
glWindow.setTitle("Gears NEWT Test");
glWindow.addGLEventListener(new Gears());
Animator animator = new Animator(glWindow);... | protected void runTestGL(GLCapabilities caps) throws InterruptedException {
GLWindow glWindow = GLWindow.create(caps);
Assert.assertNotNull(glWindow);
glWindow.setTitle("Gears NEWT Test");
glWindow.addGLEventListener(new Gears());
Animator animator = new Animator(glWindow);... |
diff --git a/src/main/java/org/atlasapi/feeds/radioplayer/outputting/RadioPlayerUpdatedClipOutputter.java b/src/main/java/org/atlasapi/feeds/radioplayer/outputting/RadioPlayerUpdatedClipOutputter.java
index 54d5d426..0636e193 100644
--- a/src/main/java/org/atlasapi/feeds/radioplayer/outputting/RadioPlayerUpdatedClipOut... | true | true | private Iterable<Element> createClipElements(RadioPlayerBroadcastItem broadcastItem, RadioPlayerService id, Optional<DateTime> since) {
Iterable<Clip> clips = filter(broadcastItem.getItem().getClips(), availableAndUpdatedSince(since));
Builder<Element> elements = ImmutableList.buil... | private Iterable<Element> createClipElements(RadioPlayerBroadcastItem broadcastItem, RadioPlayerService id, Optional<DateTime> since) {
Iterable<Clip> clips = filter(broadcastItem.getItem().getClips(), availableAndUpdatedSince(since));
Builder<Element> elements = ImmutableList.buil... |
diff --git a/TFC_Shared/src/TFC/GUI/GuiAnvil.java b/TFC_Shared/src/TFC/GUI/GuiAnvil.java
index 43ef216be..5a3e3f73b 100644
--- a/TFC_Shared/src/TFC/GUI/GuiAnvil.java
+++ b/TFC_Shared/src/TFC/GUI/GuiAnvil.java
@@ -1,291 +1,291 @@
package TFC.GUI;
import java.util.ArrayList;
import java.util.List;
import net.mine... | false | true | public void drawRulesImages(int w, int h)
{
if(AnvilEntity.workRecipe != null)
{
CraftingRuleEnum[] Rules = AnvilEntity.workRecipe.getRules();
int[] ItemRules = AnvilEntity.getItemRules();
this.mc.func_110434_K().func_110577_a(TextureMap.field_110575_b);
this.drawTexturedModelRectFromIcon(w + 80, h... | public void drawRulesImages(int w, int h)
{
if(AnvilEntity.workRecipe != null)
{
CraftingRuleEnum[] Rules = AnvilEntity.workRecipe.getRules();
int[] ItemRules = AnvilEntity.getItemRules();
this.mc.func_110434_K().func_110577_a(TextureMap.field_110575_b);
this.drawTexturedModelRectFromIcon(w + 80, h... |
diff --git a/src/ac/robinson/mediatablet/provider/MediaItem.java b/src/ac/robinson/mediatablet/provider/MediaItem.java
index 22068eb..a8023bd 100644
--- a/src/ac/robinson/mediatablet/provider/MediaItem.java
+++ b/src/ac/robinson/mediatablet/provider/MediaItem.java
@@ -1,522 +1,522 @@
/*
* Copyright (C) 2012 Simon R... | true | true | public Bitmap loadIcon(Resources resources, CacheTypeContainer cacheTypeContainer, ContentResolver contentResolver,
String parentOverlayId) {
int iconWidth = resources.getDimensionPixelSize(R.dimen.media_icon_width);
int iconHeight = resources.getDimensionPixelSize(R.dimen.media_icon_height);
Bitmap iconBitm... | public Bitmap loadIcon(Resources resources, CacheTypeContainer cacheTypeContainer, ContentResolver contentResolver,
String parentOverlayId) {
int iconWidth = resources.getDimensionPixelSize(R.dimen.media_icon_width);
int iconHeight = resources.getDimensionPixelSize(R.dimen.media_icon_height);
Bitmap iconBitm... |
diff --git a/src/java/me/shenfeng/http/ws/WSDecoder.java b/src/java/me/shenfeng/http/ws/WSDecoder.java
index aad9638..794cac5 100644
--- a/src/java/me/shenfeng/http/ws/WSDecoder.java
+++ b/src/java/me/shenfeng/http/ws/WSDecoder.java
@@ -1,85 +1,88 @@
package me.shenfeng.http.ws;
import java.nio.ByteBuffer;
impor... | true | true | public WSFrame decode(ByteBuffer buffer) throws ProtocolException {
while (buffer.hasRemaining()) {
switch (state) {
case FRAME_START:
byte b = buffer.get(); // FIN, RSV, OPCODE
finalFlag = (b & 0x80) != 0;
opcode = b & 0x0F;
... | public WSFrame decode(ByteBuffer buffer) throws ProtocolException {
while (buffer.hasRemaining()) {
switch (state) {
case FRAME_START:
byte b = buffer.get(); // FIN, RSV, OPCODE
finalFlag = (b & 0x80) != 0;
opcode = b & 0x0F;
... |
diff --git a/Client/src/mygame/Game.java b/Client/src/mygame/Game.java
index 09a6b2f..fe906de 100644
--- a/Client/src/mygame/Game.java
+++ b/Client/src/mygame/Game.java
@@ -1,87 +1,88 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mygame;
import co... | true | true | public void update(com.jme3.system.Timer timer, Team currentTeam) {
if (isCountdownStarted()) {
if (timer.getTimeInSeconds() >= 5) {
currentTeam.getCurrentPlayer().setCanShoot(true);
map.shootTarget();
setTimerText("");
timer.reset(... | public void update(com.jme3.system.Timer timer, Team currentTeam) {
if (isCountdownStarted()) {
if (timer.getTimeInSeconds() >= 5) {
currentTeam.getCurrentPlayer().setCanShoot(true);
map.shootTarget();
setTimerText("");
timer.reset(... |
diff --git a/src/com/orange/groupbuy/addressparser/GaopengAddressParser.java b/src/com/orange/groupbuy/addressparser/GaopengAddressParser.java
index fb6a8a2..87eb991 100644
--- a/src/com/orange/groupbuy/addressparser/GaopengAddressParser.java
+++ b/src/com/orange/groupbuy/addressparser/GaopengAddressParser.java
@@ -1,7... | true | true | public List<String> doParseAddress(String url) {
try {
super.addList.clear();
long fetchTime = System.currentTimeMillis();
Connection connection = Jsoup.connect(url).timeout(20 * 1000);
Document doc = connection.get();
String urlString = null;
if (doc != null) {
String content = doc.html();
... | public List<String> doParseAddress(String url) {
try {
super.addList.clear();
long fetchTime = System.currentTimeMillis();
Connection connection = Jsoup.connect(url).timeout(20 * 1000);
Document doc = connection.get();
String urlString = null;
if (doc != null) {
String content = doc.html();
... |
diff --git a/src/main/java/org/blitzortung/android/app/view/AlarmView.java b/src/main/java/org/blitzortung/android/app/view/AlarmView.java
index 62e2d26..1651363 100644
--- a/src/main/java/org/blitzortung/android/app/view/AlarmView.java
+++ b/src/main/java/org/blitzortung/android/app/view/AlarmView.java
@@ -1,186 +1,18... | true | true | protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
int size = Math.max(getWidth(), getHeight());
int pad = 4;
float center = size / 2.0f;
float radius = center - pad;
arcArea.set(pad, pad, size - pad, size - pad);
background.setColor(0xffc0c0c0);... | protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
int size = Math.max(getWidth(), getHeight());
int pad = 4;
float center = size / 2.0f;
float radius = center - pad;
arcArea.set(pad, pad, size - pad, size - pad);
background.setColor(0xffc0c0c0);... |
diff --git a/portal/src/main/java/com/googlecode/fascinator/portal/api/impl/PublishedRecordsByTypeAPICallHandlerImpl.java b/portal/src/main/java/com/googlecode/fascinator/portal/api/impl/PublishedRecordsByTypeAPICallHandlerImpl.java
index 5650c36..4101941 100644
--- a/portal/src/main/java/com/googlecode/fascinator/port... | true | true | public String handleRequest(Request request) throws Exception {
// DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
String dateFromString = request.getParameter("dateFrom");
String dateToString = request.getParameter("dateTo");
Indexer indexer = scriptingServices.getIndexe... | public String handleRequest(Request request) throws Exception {
// DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
String dateFromString = request.getParameter("dateFrom");
String dateToString = request.getParameter("dateTo");
Indexer indexer = scriptingServices.getIndexe... |
diff --git a/scribe/pen/src/main/java/org/smallmind/scribe/pen/MessageTranslator.java b/scribe/pen/src/main/java/org/smallmind/scribe/pen/MessageTranslator.java
index 09cc29a03..93c4c6a1f 100644
--- a/scribe/pen/src/main/java/org/smallmind/scribe/pen/MessageTranslator.java
+++ b/scribe/pen/src/main/java/org/smallmind/s... | false | true | public static String translateMessage (String message, Object... args) {
if (message == null) {
if (args.length > 0) {
StringBuilder errorBuilder = new StringBuilder();
errorBuilder.append("A null format can't apply to arguments ");
errorBuilder.append(Arrays.toS... | public static String translateMessage (String message, Object... args) {
if (message == null) {
if ((args != null) && (args.length > 0)) {
StringBuilder errorBuilder = new StringBuilder();
errorBuilder.append("A null format can't apply to arguments ");
errorBuild... |
diff --git a/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java b/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE788Test.java
index 60f2216d6..1a0e5c26f 100644
--- a/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/... | false | true | private ICompletionProposal[] checkOfCAByStartString(String caName, String testPagePath,
String partOfString, int lineIndex, int linePosition,boolean isCheck) throws CoreException {
// get test page path
IFile file = (IFile) TestUtil.getComponentPath(testPagePath,
JsfAllTests.IMPO... | private ICompletionProposal[] checkOfCAByStartString(String caName, String testPagePath,
String partOfString, int lineIndex, int linePosition,boolean isCheck) throws CoreException {
// get test page path
IFile file = (IFile) TestUtil.getComponentPath(testPagePath,
JsfAllTests.IMPO... |
diff --git a/src/solaris/classes/sun/awt/X11/XWindow.java b/src/solaris/classes/sun/awt/X11/XWindow.java
index 77ae9c522..c7626c3d4 100644
--- a/src/solaris/classes/sun/awt/X11/XWindow.java
+++ b/src/solaris/classes/sun/awt/X11/XWindow.java
@@ -1,1533 +1,1533 @@
/*
* Copyright (c) 2002, 2009, Oracle and/or its affil... | true | true | public void handleButtonPressRelease(XEvent xev) {
super.handleButtonPressRelease(xev);
XButtonEvent xbe = xev.get_xbutton();
if (isEventDisabled(xev)) {
return;
}
if (eventLog.isLoggable(PlatformLogger.FINE)) eventLog.fine(xbe.toString());
long when;
... | public void handleButtonPressRelease(XEvent xev) {
super.handleButtonPressRelease(xev);
XButtonEvent xbe = xev.get_xbutton();
if (isEventDisabled(xev)) {
return;
}
if (eventLog.isLoggable(PlatformLogger.FINE)) eventLog.fine(xbe.toString());
long when;
... |
diff --git a/src/main/java/com/ning/metrics/collector/realtime/EventFormatter.java b/src/main/java/com/ning/metrics/collector/realtime/EventFormatter.java
index 8f43613..942624b 100644
--- a/src/main/java/com/ning/metrics/collector/realtime/EventFormatter.java
+++ b/src/main/java/com/ning/metrics/collector/realtime/Eve... | true | true | private String eventToJson(final Event event, final GoodwillSchema schema)
{
if (event.getData() instanceof JsonNode) {
// Probably a Smile event, nothing to do
try {
return jsonMapper.writeValueAsString(event.getData());
}
catch (IOExcepti... | private String eventToJson(final Event event, final GoodwillSchema schema)
{
if (event.getData() instanceof JsonNode) {
// Probably a Smile event, nothing to do
try {
return jsonMapper.writeValueAsString(event.getData());
}
catch (IOExcepti... |
diff --git a/fog/src/de/tuilmenau/ics/fog/packets/PleaseCloseConnection.java b/fog/src/de/tuilmenau/ics/fog/packets/PleaseCloseConnection.java
index 14406a8b..3fdbe37b 100644
--- a/fog/src/de/tuilmenau/ics/fog/packets/PleaseCloseConnection.java
+++ b/fog/src/de/tuilmenau/ics/fog/packets/PleaseCloseConnection.java
@@ -1... | true | true | public boolean execute(ForwardingNode fn, Packet packet, Identity requester)
{
if(fn instanceof ClientFN) {
ClientFN tClientFN = (ClientFN)fn;
try {
fn.getEntity().getLogger().log(this, "Sending close connection message back to sender");
//TODO: check if the following can be improved by a better sign... | public boolean execute(ForwardingNode fn, Packet packet, Identity requester)
{
if(fn instanceof ClientFN) {
ClientFN tClientFN = (ClientFN)fn;
try {
fn.getEntity().getLogger().log(this, "Sending close connection message back to sender");
//TODO: check if the following can be improved by a better sign... |
diff --git a/src/main/java/se/ranzdo/bukkit/methodcommand/WildcardArgument.java b/src/main/java/se/ranzdo/bukkit/methodcommand/WildcardArgument.java
index e9f9177..3dc4e14 100644
--- a/src/main/java/se/ranzdo/bukkit/methodcommand/WildcardArgument.java
+++ b/src/main/java/se/ranzdo/bukkit/methodcommand/WildcardArgument.... | false | true | public Object execute(CommandSender sender, Arguments args) throws CommandError {
if(!args.hasNext()) {
Object o = getHandler().handle(sender, this, getDefault().equals(" ") ? "" : getDefault());
if(join)
return o;
else {
Object array = Array.newInstance(getArgumentClass(), 1);
Array.set(array, ... | public Object execute(CommandSender sender, Arguments args) throws CommandError {
if(!args.hasNext()) {
Object o = getHandler().handle(sender, this, getDefault().equals(" ") ? "" : getDefault());
if(join)
return o;
else {
Object array = Array.newInstance(getArgumentClass(), 1);
Array.set(array, ... |
diff --git a/Disasteroids/trunk/src/disasteroids/networking/Client.java b/Disasteroids/trunk/src/disasteroids/networking/Client.java
index a11203d..c786365 100644
--- a/Disasteroids/trunk/src/disasteroids/networking/Client.java
+++ b/Disasteroids/trunk/src/disasteroids/networking/Client.java
@@ -1,333 +1,333 @@
/*
*... | false | true | void parseReceived( DatagramPacket p )
{
try
{
// Ignore anything that isn't from the server.
if ( server != null && new Machine( p.getAddress(), p.getPort() ).equals( server ) )
server.see();
else
return;
ByteInput... | void parseReceived( DatagramPacket p )
{
try
{
// Ignore anything that isn't from the server.
if ( server != null && new Machine( p.getAddress(), p.getPort() ).equals( server ) )
server.see();
else
return;
ByteInput... |
diff --git a/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderSurrealIslands.java b/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderSurrealIslands.java
index 5abcc2c..95c49a1 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((d... | 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((d... |
diff --git a/Xponents/XCoord/src/main/java/org/mitre/xcoord/XCoord.java b/Xponents/XCoord/src/main/java/org/mitre/xcoord/XCoord.java
index 31e4e7d..a79bfb1 100644
--- a/Xponents/XCoord/src/main/java/org/mitre/xcoord/XCoord.java
+++ b/Xponents/XCoord/src/main/java/org/mitre/xcoord/XCoord.java
@@ -1,444 +1,444 @@
/**
... | false | true | public TextMatchResultSet extract_coordinates(String text, String text_id, int family) {
if (text == null) {
return null;
}
int bufsize = text.length();
TextMatchResultSet results = new TextMatchResultSet();
results.result_id = text_id;
results.matches ... | public TextMatchResultSet extract_coordinates(String text, String text_id, int family) {
if (text == null) {
return null;
}
int bufsize = text.length();
TextMatchResultSet results = new TextMatchResultSet();
results.result_id = text_id;
results.matches ... |
diff --git a/src/com/jgaap/classifiers/MarkovChainAnalysis.java b/src/com/jgaap/classifiers/MarkovChainAnalysis.java
index f7830d3..a369add 100644
--- a/src/com/jgaap/classifiers/MarkovChainAnalysis.java
+++ b/src/com/jgaap/classifiers/MarkovChainAnalysis.java
@@ -1,185 +1,186 @@
/**
*
*/
package com.jgaap.class... | false | true | public List<Pair<String, Double>> analyze(EventSet unknown, List<EventSet> known) {
List<Pair<String, Double>> results = new ArrayList<Pair<String, Double>>();
Iterator<EventSet> setIt = known.iterator();
//loop throught the known and assign a probability to the unknown set using
//a transition pro... | public List<Pair<String, Double>> analyze(EventSet unknown, List<EventSet> known) {
List<Pair<String, Double>> results = new ArrayList<Pair<String, Double>>();
Iterator<EventSet> setIt = known.iterator();
//loop throught the known and assign a probability to the unknown set using
//a transition pro... |
diff --git a/src/haven/PView.java b/src/haven/PView.java
index a708ee16..6241b6ae 100644
--- a/src/haven/PView.java
+++ b/src/haven/PView.java
@@ -1,209 +1,209 @@
/*
* This file is part of the Haven & Hearth game client.
* Copyright (C) 2009 Fredrik Tolf <fredrik@dolda2000.com>, and
* Björn... | false | true | public void draw(GOut g) {
if((g.sz.x < 1) || (g.sz.y < 1))
return;
if((rls == null) || (rls.cfg != g.gc))
rls = new RenderList(g.gc);
Profile.Frame curf = null;
if(Config.profile)
curf = prof.new Frame();
GLState.Buffer bk = g.st.copy();
GLState.Buffer def = basic(g);
if(g.gc.pref.fsaa.val)
... | public void draw(GOut g) {
if((g.sz.x < 1) || (g.sz.y < 1))
return;
if((rls == null) || (rls.cfg != g.gc))
rls = new RenderList(g.gc);
Profile.Frame curf = null;
if(Config.profile)
curf = prof.new Frame();
GLState.Buffer bk = g.st.copy();
GLState.Buffer def = basic(g);
if(g.gc.pref.fsaa.val)
... |
diff --git a/processor/src/org/gwtmpv/processor/DispatchGenerator.java b/processor/src/org/gwtmpv/processor/DispatchGenerator.java
index c6c8f99..3194348 100644
--- a/processor/src/org/gwtmpv/processor/DispatchGenerator.java
+++ b/processor/src/org/gwtmpv/processor/DispatchGenerator.java
@@ -1,102 +1,102 @@
package or... | true | true | public DispatchGenerator(ProcessingEnvironment env, TypeElement element) throws InvalidTypeElementException {
if (!element.toString().endsWith("Spec")) {
env.getMessager().printMessage(Kind.ERROR, "GenDispatch targets must end with a Spec suffix");
throw new InvalidTypeElementException();
}
String dispatc... | public DispatchGenerator(ProcessingEnvironment env, TypeElement element) throws InvalidTypeElementException {
if (!element.toString().endsWith("Spec")) {
env.getMessager().printMessage(Kind.ERROR, "GenDispatch targets must end with a Spec suffix", element);
throw new InvalidTypeElementException();
}
Strin... |
diff --git a/src/com/soupcan/aquapulse/state/GameplayState.java b/src/com/soupcan/aquapulse/state/GameplayState.java
index 2587674..926008e 100644
--- a/src/com/soupcan/aquapulse/state/GameplayState.java
+++ b/src/com/soupcan/aquapulse/state/GameplayState.java
@@ -1,177 +1,177 @@
package com.soupcan.aquapulse.state;
... | false | true | public void update(GameContainer gameContainer, StateBasedGame stateBasedGame, int delta) throws SlickException
{
deltaCount += delta;
if (!music.playing()) music.loop();
// Check collision from map scrolling
for(int i = 0; i < levels.size(); i++)
{
for(int... | public void update(GameContainer gameContainer, StateBasedGame stateBasedGame, int delta) throws SlickException
{
deltaCount += delta;
if (!music.playing()) music.loop();
// Check collision from map scrolling
for(int i = 0; i < levels.size(); i++)
{
for(int... |
diff --git a/src/run/Application.java b/src/run/Application.java
index d7e449a..149826a 100644
--- a/src/run/Application.java
+++ b/src/run/Application.java
@@ -1,194 +1,202 @@
package run;
import entity.EstimationProjects;
import gui.GUI;
import gui.tree.TreeArea;
import gui.tree.contextMenu.NewProjectAction;
... | false | true | protected Control createContents(Composite parent) {
Composite mainComposite = (Composite) super.createContents(parent);
mainComposite.setLayout(new FormLayout());// 改为FormLayout hezhimin 11-20
// 分栏条(左右)
final Sash sash1 = new Sash(mainComposite, SWT.VERTICAL);
FormData fd = new FormData();
fd.top = new ... | protected Control createContents(Composite parent) {
Composite mainComposite = (Composite) super.createContents(parent);
mainComposite.setLayout(new FormLayout());// 改为FormLayout hezhimin 11-20
// 分栏条(左右)
final Sash sash1 = new Sash(mainComposite, SWT.VERTICAL);
FormData fd = new FormData();
fd.top = new ... |
diff --git a/src/java/org/jivesoftware/sparkimpl/plugin/alerts/BroadcastDialog.java b/src/java/org/jivesoftware/sparkimpl/plugin/alerts/BroadcastDialog.java
index d203da77..cb85a6a8 100644
--- a/src/java/org/jivesoftware/sparkimpl/plugin/alerts/BroadcastDialog.java
+++ b/src/java/org/jivesoftware/sparkimpl/plugin/alert... | false | true | public BroadcastDialog() {
setLayout(new GridBagLayout());
rosterNode = new CheckNode("Roster");
checkTree = new CheckTree(rosterNode);
// Build out from Roster
final ContactList contactList = SparkManager.getWorkspace().getContactList();
for (ContactGroup group : c... | public BroadcastDialog() {
setLayout(new GridBagLayout());
rosterNode = new CheckNode("Roster");
checkTree = new CheckTree(rosterNode);
// Build out from Roster
final ContactList contactList = SparkManager.getWorkspace().getContactList();
for (ContactGroup group : c... |
diff --git a/org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/client/model/impl/WorkspaceBase.java b/org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/client/model/impl/WorkspaceBase.java
index a7c81e061..32a9a37f4 100644
--- a/org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/client/m... | true | true | public ProjectSpace checkout(final Usersession usersession, final ProjectInfo projectInfo,
PrimaryVersionSpec targetSpec, IProgressMonitor progressMonitor) throws EmfStoreException {
SubMonitor parent = SubMonitor.convert(progressMonitor, "Checkout", 100);
// FIXME: MK: hack: set head version manually because ... | public ProjectSpace checkout(final Usersession usersession, final ProjectInfo projectInfo,
PrimaryVersionSpec targetSpec, IProgressMonitor progressMonitor) throws EmfStoreException {
SubMonitor parent = SubMonitor.convert(progressMonitor, "Checkout", 100);
// FIXME: MK: hack: set head version manually because ... |
diff --git a/src/net/sf/gogui/gogui/GoGui.java b/src/net/sf/gogui/gogui/GoGui.java
index c4b69db2..e12ed2cc 100644
--- a/src/net/sf/gogui/gogui/GoGui.java
+++ b/src/net/sf/gogui/gogui/GoGui.java
@@ -1,4104 +1,4104 @@
//----------------------------------------------------------------------------
// $Id$
//-----------... | true | true | private boolean attachProgram(String programCommand, Program program)
{
programCommand = programCommand.trim();
if (programCommand.equals(""))
return false;
m_program = program;
m_programCommand = programCommand;
if (m_shell != null)
{
m_sh... | private boolean attachProgram(String programCommand, Program program)
{
programCommand = programCommand.trim();
if (programCommand.equals(""))
return false;
m_program = program;
m_programCommand = programCommand;
if (m_shell != null)
{
m_sh... |
diff --git a/src/org/apache/xerces/validators/common/XMLValidator.java b/src/org/apache/xerces/validators/common/XMLValidator.java
index b7dae22b..0546456c 100644
--- a/src/org/apache/xerces/validators/common/XMLValidator.java
+++ b/src/org/apache/xerces/validators/common/XMLValidator.java
@@ -1,3547 +1,3548 @@
/*
*... | false | true | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if (fGrammar == null &&
!fValidating && !fNamespacesEnabled) {
fCurrentElementIndex = -1;
fCurrentContentSpecType = ... | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if (fGrammar == null &&
!fValidating && !fNamespacesEnabled) {
fCurrentElementIndex = -1;
fCurrentContentSpecType = ... |
diff --git a/src/quill/ui/StylesheetEditorWidget.java b/src/quill/ui/StylesheetEditorWidget.java
index 052dac8..aff82a1 100644
--- a/src/quill/ui/StylesheetEditorWidget.java
+++ b/src/quill/ui/StylesheetEditorWidget.java
@@ -1,938 +1,938 @@
/*
* Quill and Parchment, a WYSIWYN document editor and rendering engine.
... | true | true | private void setupPaperAndMargins() {
final HBox sides;
final VBox left;
Label heading, label;
final Table table;
HBox box;
sides = new HBox(false, 0);
left = new VBox(false, 3);
heading = new Label("<b>" + _("Paper") + "</b>");
heading.setUs... | private void setupPaperAndMargins() {
final HBox sides;
final VBox left;
Label heading, label;
final Table table;
HBox box;
sides = new HBox(false, 0);
left = new VBox(false, 3);
heading = new Label("<b>" + _("Paper") + "</b>");
heading.setUs... |
diff --git a/src/uk/me/parabola/mkgmap/main/Main.java b/src/uk/me/parabola/mkgmap/main/Main.java
index 9fe41df1..ebf654bc 100644
--- a/src/uk/me/parabola/mkgmap/main/Main.java
+++ b/src/uk/me/parabola/mkgmap/main/Main.java
@@ -1,357 +1,360 @@
/*
* Copyright (C) 2007 Steve Ratcliffe
*
* This program is free sof... | true | true | public void endOptions(CommandArgs args) {
List<String> filenames = new ArrayList<String>();
if(threadPool != null) {
threadPool.shutdown();
while(!futures.isEmpty()) {
try {
// don't call get() until a job has finished
if(futures.get(0).isDone())
filenames.add(futures.remove(0).get());... | public void endOptions(CommandArgs args) {
List<String> filenames = new ArrayList<String>();
if(threadPool != null) {
threadPool.shutdown();
while(!futures.isEmpty()) {
try {
// don't call get() until a job has finished
if(futures.get(0).isDone())
filenames.add(futures.remove(0).get());... |
diff --git a/Quizicle/src/quiz/CreateQuizServlet.java b/Quizicle/src/quiz/CreateQuizServlet.java
index 8abc9a5..365a7c6 100644
--- a/Quizicle/src/quiz/CreateQuizServlet.java
+++ b/Quizicle/src/quiz/CreateQuizServlet.java
@@ -1,77 +1,77 @@
package quiz;
import java.io.IOException;
import java.util.Date;
import j... | true | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// unicode support
if (request.getCharacterEncoding() == null) {
request.setCharacterEncoding("UTF8");
}
// get access to front end java classes
Servle... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// unicode support
if (request.getCharacterEncoding() == null) {
request.setCharacterEncoding("UTF8");
}
// get access to front end java classes
Servle... |
diff --git a/components/bio-formats/src/loci/formats/in/LIFReader.java b/components/bio-formats/src/loci/formats/in/LIFReader.java
index b0461d725..0544fd747 100644
--- a/components/bio-formats/src/loci/formats/in/LIFReader.java
+++ b/components/bio-formats/src/loci/formats/in/LIFReader.java
@@ -1,1701 +1,1701 @@
//
... | true | true | private void initMetadata(String xml) throws FormatException, IOException {
IMetadata omexml = null;
try {
ServiceFactory factory = new ServiceFactory();
OMEXMLService service = factory.getInstance(OMEXMLService.class);
omexml = service.createOMEXMLMetadata();
}
catch (DependencyExce... | private void initMetadata(String xml) throws FormatException, IOException {
IMetadata omexml = null;
try {
ServiceFactory factory = new ServiceFactory();
OMEXMLService service = factory.getInstance(OMEXMLService.class);
omexml = service.createOMEXMLMetadata();
}
catch (DependencyExce... |
diff --git a/maven-mboot2/src/main/java/MBoot.java b/maven-mboot2/src/main/java/MBoot.java
index 2543ed075..3b8067908 100644
--- a/maven-mboot2/src/main/java/MBoot.java
+++ b/maven-mboot2/src/main/java/MBoot.java
@@ -1,1210 +1,1210 @@
import compile.CompilerConfiguration;
import compile.JavacCompiler;
import downl... | true | true | public void run( String[] args )
throws Exception
{
String mavenRepoLocal = System.getProperty( "maven.repo.local" );
SettingsReader userModelReader = new SettingsReader();
if ( mavenRepoLocal == null )
{
try
{
String userHome = S... | public void run( String[] args )
throws Exception
{
String mavenRepoLocal = System.getProperty( "maven.repo.local" );
SettingsReader userModelReader = new SettingsReader();
if ( mavenRepoLocal == null )
{
try
{
String userHome = S... |
diff --git a/src/java/org/infoglue/deliver/taglib/common/ImportTag.java b/src/java/org/infoglue/deliver/taglib/common/ImportTag.java
index a78d21f23..014ae49c0 100755
--- a/src/java/org/infoglue/deliver/taglib/common/ImportTag.java
+++ b/src/java/org/infoglue/deliver/taglib/common/ImportTag.java
@@ -1,282 +1,282 @@
/*... | false | true | public int doEndTag() throws JspException
{
String forceImportTagFileCaching = CmsPropertyHandler.getProperty("forceImportTagFileCaching");
if(forceImportTagFileCaching != null && forceImportTagFileCaching.equals("true"))
{
useCache = true;
useFileCacheFallback = true;
fileCacheCharEncoding = "iso-8... | public int doEndTag() throws JspException
{
String forceImportTagFileCaching = CmsPropertyHandler.getProperty("forceImportTagFileCaching");
if(forceImportTagFileCaching != null && forceImportTagFileCaching.equals("true"))
{
useCache = true;
useFileCacheFallback = true;
fileCacheCharEncoding = "iso-8... |
diff --git a/src/main/java/tk/kirlian/util/provider/PriorityProviderComparator.java b/src/main/java/tk/kirlian/util/provider/PriorityProviderComparator.java
index 0e5c589..520a9ec 100644
--- a/src/main/java/tk/kirlian/util/provider/PriorityProviderComparator.java
+++ b/src/main/java/tk/kirlian/util/provider/PriorityPro... | false | true | public int compare(Provider o1, Provider o2) {
if(!o1.isAvailable() && o2.isAvailable()) {
return -1;
} else if(o1.isAvailable() && !o2.isAvailable()) {
return 1;
} else {
return o1.getPriority() - o2.getPriority();
}
}
| public int compare(Provider o1, Provider o2) {
if(o1.isAvailable() && !o2.isAvailable()) {
return -1;
} else if(!o1.isAvailable() && o2.isAvailable()) {
return 1;
} else {
return o1.getPriority() - o2.getPriority();
}
}
|
diff --git a/test-sources/test-classname.java b/test-sources/test-classname.java
index 0831a3432..6fb5f320b 100644
--- a/test-sources/test-classname.java
+++ b/test-sources/test-classname.java
@@ -1,21 +1,21 @@
/* $Id$
*
* The result of this source depends on the specific java compile
* script which is used. The... | true | true | public static void main(String[] args) {
System.out.println("Hello!");
}
| public static void main(String[] args) {
System.out.println("Hello world!");
}
|
diff --git a/src/hunternif/mc/dota2items/item/ForceStaff.java b/src/hunternif/mc/dota2items/item/ForceStaff.java
index d55f17e..565d3b0 100644
--- a/src/hunternif/mc/dota2items/item/ForceStaff.java
+++ b/src/hunternif/mc/dota2items/item/ForceStaff.java
@@ -1,165 +1,165 @@
package hunternif.mc.dota2items.item;
impor... | true | true | public static void processForceMovement(Entity entity, float yaw) {
Entity forced = entity;
if (entity.ridingEntity != null) {
entity = entity.ridingEntity;
}
float sinYaw = MathHelper.sin(yaw * (float)Math.PI / 180.0F);
float cosYaw = MathHelper.cos(yaw * (float)Math.PI / 180.0F);
AxisAlignedBB star... | public static void processForceMovement(Entity entity, float yaw) {
Entity forced = entity;
if (entity.ridingEntity != null) {
forced = entity.ridingEntity;
}
float sinYaw = MathHelper.sin(yaw * (float)Math.PI / 180.0F);
float cosYaw = MathHelper.cos(yaw * (float)Math.PI / 180.0F);
AxisAlignedBB star... |
diff --git a/TFC_Shared/src/TFC/Items/ItemAlcohol.java b/TFC_Shared/src/TFC/Items/ItemAlcohol.java
index 544976cf4..fda9c7fa0 100644
--- a/TFC_Shared/src/TFC/Items/ItemAlcohol.java
+++ b/TFC_Shared/src/TFC/Items/ItemAlcohol.java
@@ -1,156 +1,161 @@
package TFC.Items;
import java.util.Random;
import net.minecraft... | true | true | public ItemStack onEaten(ItemStack par1ItemStack, World par2World, EntityPlayer player)
{
if (!player.capabilities.isCreativeMode)
{
--par1ItemStack.stackSize;
}
if (!par2World.isRemote)
{
Random rand = new Random();
... | public ItemStack onEaten(ItemStack par1ItemStack, World par2World, EntityPlayer player)
{
if (!player.capabilities.isCreativeMode)
{
--par1ItemStack.stackSize;
}
if (!par2World.isRemote)
{
Random rand = new Random();
... |
diff --git a/dma-network-client/src/main/java/dk/dma/navnet/client/JSonUtil.java b/dma-network-client/src/main/java/dk/dma/navnet/client/JSonUtil.java
index ba3d580..13df8aa 100644
--- a/dma-network-client/src/main/java/dk/dma/navnet/client/JSonUtil.java
+++ b/dma-network-client/src/main/java/dk/dma/navnet/client/JSonU... | true | true | public static String persist(Object o) {
ObjectMapper om = new ObjectMapper();
om.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
try {
return om.writeValueAsString(o);
} catch (JsonProcessingException e) {
throw new IllegalArgumentException("Could not be p... | public static String persist(Object o) {
ObjectMapper om = new ObjectMapper();
om.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
try {
return om.writeValueAsString(o);
} catch (JsonProcessingException e) {
throw new IllegalArgumentException("Could not be p... |
diff --git a/sphinx4/src/sphinx4/edu/cmu/sphinx/frontend/feature/LiveCMN.java b/sphinx4/src/sphinx4/edu/cmu/sphinx/frontend/feature/LiveCMN.java
index a423675db..ebc3dec10 100644
--- a/sphinx4/src/sphinx4/edu/cmu/sphinx/frontend/feature/LiveCMN.java
+++ b/sphinx4/src/sphinx4/edu/cmu/sphinx/frontend/feature/LiveCMN.java... | false | true | public Data getData() throws DataProcessingException {
Data input = getPredecessor().getData();
if (input instanceof DataStartSignal)
sum = null;
getTimer().start();
if (input != null) {
if (input instanceof DoubleData) {
DoubleData data = ... | public Data getData() throws DataProcessingException {
Data input = getPredecessor().getData();
if (input instanceof DataStartSignal) {
sum = null;
numberFrame = 0;
}
getTimer().start();
if (input != null) {
if (input instanceof DoubleD... |
diff --git a/src/com/flobi/floAuction/Auction.java b/src/com/flobi/floAuction/Auction.java
index 765d48f..7e5242b 100644
--- a/src/com/flobi/floAuction/Auction.java
+++ b/src/com/flobi/floAuction/Auction.java
@@ -1,725 +1,725 @@
package com.flobi.floAuction;
import java.util.ArrayList;
import java.util.List;
impo... | true | true | public void Bid(Player bidder, String[] inputArgs) {
// BuyNow
if (floAuction.allowBuyNow && inputArgs.length > 0) {
if (inputArgs[0].equalsIgnoreCase("buy")) {
if (buyNow == 0 || (currentBid != null && currentBid.getBidAmount() >= buyNow)) {
floAuction.sendMessage("bid-fail-buynow-expired", bidder, ... | public void Bid(Player bidder, String[] inputArgs) {
// BuyNow
if (floAuction.allowBuyNow && inputArgs.length > 0) {
if (inputArgs[0].equalsIgnoreCase("buy")) {
if (buyNow == 0 || (currentBid != null && currentBid.getBidAmount() >= buyNow)) {
floAuction.sendMessage("bid-fail-buynow-expired", bidder, ... |
diff --git a/pdfbox/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java b/pdfbox/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java
index a48e7e4..1231e0f 100644
--- a/pdfbox/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java
+++ b/pdfbox/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java
@@ ... | true | true | protected void writePage() throws IOException
{
float maxYForLine = -1;
float minYTopForLine = Float.MAX_VALUE;
float endOfLastTextX = -1;
float lastWordSpacing = -1;
float maxHeightForLine = -1;
TextPosition lastPosition = null;
for( int i = 0; i < c... | protected void writePage() throws IOException
{
float maxYForLine = -1;
float minYTopForLine = Float.MAX_VALUE;
float endOfLastTextX = -1;
float lastWordSpacing = -1;
float maxHeightForLine = -1;
TextPosition lastPosition = null;
for( int i = 0; i < c... |
diff --git a/CSipSimple/src/com/csipsimple/service/DeviceStateReceiver.java b/CSipSimple/src/com/csipsimple/service/DeviceStateReceiver.java
index 1d0e2e14..122a5f7a 100644
--- a/CSipSimple/src/com/csipsimple/service/DeviceStateReceiver.java
+++ b/CSipSimple/src/com/csipsimple/service/DeviceStateReceiver.java
@@ -1,116... | true | true | public void onReceive(Context context, Intent intent) {
PreferencesProviderWrapper prefWrapper = new PreferencesProviderWrapper(context);
String intentAction = intent.getAction();
//
// ACTION_DATA_STATE_CHANGED
// Data state change is used to detect changes in the mobile
... | public void onReceive(Context context, Intent intent) {
PreferencesProviderWrapper prefWrapper = new PreferencesProviderWrapper(context);
String intentAction = intent.getAction();
//
// ACTION_DATA_STATE_CHANGED
// Data state change is used to detect changes in the mobile
... |
diff --git a/eol-globi-rest/src/test/java/org/eol/globi/server/ImageServiceIT.java b/eol-globi-rest/src/test/java/org/eol/globi/server/ImageServiceIT.java
index 6cd11df0..24ad5ca3 100644
--- a/eol-globi-rest/src/test/java/org/eol/globi/server/ImageServiceIT.java
+++ b/eol-globi-rest/src/test/java/org/eol/globi/server/I... | true | true | public void findImagesForExternalId() throws IOException {
String uri = getURLPrefix() + "images/EOL:276287";
String response = HttpClient.httpGet(uri);
assertThat(response, is("{\"\"thumbnailURL\":\"http://media.eol.org/content/2011/12/13/21/66989_98_68.jpg\",\"imageURL\":\"http://media.eol... | public void findImagesForExternalId() throws IOException {
String uri = getURLPrefix() + "images/EOL:276287";
String response = HttpClient.httpGet(uri);
assertThat(response, is("{\"thumbnailURL\":\"http://media.eol.org/content/2011/12/13/21/66989_98_68.jpg\",\"imageURL\":\"http://media.eol.o... |
diff --git a/core/cc.warlock.rcp/src/cc/warlock/rcp/actions/OpenStreamWindowAction.java b/core/cc.warlock.rcp/src/cc/warlock/rcp/actions/OpenStreamWindowAction.java
index 3ecd4b71..dea05b9f 100644
--- a/core/cc.warlock.rcp/src/cc/warlock/rcp/actions/OpenStreamWindowAction.java
+++ b/core/cc.warlock.rcp/src/cc/warlock/r... | true | true | public void run() {
StreamView streamView = StreamView.getViewForStream(streamName);
streamView.setViewTitle(title);
streamView.setAppendNewlines(true);
GameView inFocus = GameView.getViewInFocus();
if (inFocus != null) {
streamView.setClient(inFocus.getStormFrontClient());
}
setChecked(true)... | public void run() {
StreamView streamView = StreamView.getViewForStream(streamName);
streamView.setViewTitle(title);
streamView.setAppendNewlines(false);
GameView inFocus = GameView.getViewInFocus();
if (inFocus != null) {
streamView.setClient(inFocus.getStormFrontClient());
}
setChecked(true... |
diff --git a/cruisecontrol/main/src/net/sourceforge/cruisecontrol/builders/ExecBuilder.java b/cruisecontrol/main/src/net/sourceforge/cruisecontrol/builders/ExecBuilder.java
index 7f8b3284..84dddcb2 100644
--- a/cruisecontrol/main/src/net/sourceforge/cruisecontrol/builders/ExecBuilder.java
+++ b/cruisecontrol/main/src/n... | false | true | public Element build(final Map buildProperties, final Progress progressIn) throws CruiseControlException {
final Progress progress = getShowProgress() ? progressIn : null;
// time the command started
final long startTime = System.currentTimeMillis();
buildLogElement = new Element(... | public Element build(final Map buildProperties, final Progress progressIn) throws CruiseControlException {
final Progress progress = getShowProgress() ? progressIn : null;
// time the command started
final long startTime = System.currentTimeMillis();
buildLogElement = new Element(... |
diff --git a/oopsc/src/ReadStatement.java b/oopsc/src/ReadStatement.java
index b68b4e9..d0d9099 100644
--- a/oopsc/src/ReadStatement.java
+++ b/oopsc/src/ReadStatement.java
@@ -1,72 +1,75 @@
import java.util.LinkedList;
/**
* Die Klasse repräsentiert die Anweisung READ im Syntaxbaum.
*/
class ReadStatement ext... | false | true | void generateCode(CodeStream code) {
code.println("; READ lvalue ablegen");
operand.generateCode(code);
code.println("; READ Speicher allokieren");
newInt.generateCode(code);
code.println("; READ");
code.println("MRM R5, (R2)"); // R2 zeigt auf ein boxed Integer
/**... | void generateCode(CodeStream code) {
code.println("; READ lvalue ablegen");
operand.generateCode(code);
code.println("; READ Speicher allokieren");
newInt.generateCode(code);
code.println("; READ");
code.println("MRM R5, (R2)"); // R2 zeigt auf ein boxed Integer
/**... |
diff --git a/src/xtremweb/api/transman/TransferManager.java b/src/xtremweb/api/transman/TransferManager.java
index 0f100e7..89f86e5 100644
--- a/src/xtremweb/api/transman/TransferManager.java
+++ b/src/xtremweb/api/transman/TransferManager.java
@@ -1,809 +1,809 @@
package xtremweb.api.transman;
/**
* TransferMana... | false | true | private void checkTransfer() {
long start = System.currentTimeMillis();
try {
daocheck.beginTransaction();
/* begin nouveau */
Collection results = (Collection) daocheck
.getTransfersDifferentStatus(TransferStatus.TODELETE);
if (results == null) {
log.debug("nothing to check");
re... | private void checkTransfer() {
long start = System.currentTimeMillis();
try {
daocheck.beginTransaction();
/* begin nouveau */
Collection results = (Collection) daocheck
.getTransfersDifferentStatus(TransferStatus.TODELETE);
if (results == null) {
log.debug("nothing to check");
re... |
diff --git a/Project/src/se/chalmers/krogkollen/map/MarkerOptionsFactory.java b/Project/src/se/chalmers/krogkollen/map/MarkerOptionsFactory.java
index fbcea24..1e489a2 100644
--- a/Project/src/se/chalmers/krogkollen/map/MarkerOptionsFactory.java
+++ b/Project/src/se/chalmers/krogkollen/map/MarkerOptionsFactory.java
@@ ... | true | true | public static MarkerOptions createMarkerOptions(final DisplayMetrics displayMetrics, final Resources resources, final IPub pub) {
// Make the bitmap mutable, since an object retrieved from resources is set to immutable by
// default.
Bitmap bitmap = getBackgroundPicture(pub.getQueueTime(), ... | public static MarkerOptions createMarkerOptions(final DisplayMetrics displayMetrics, final Resources resources, final IPub pub) {
// Make the bitmap mutable, since an object retrieved from resources is set to immutable by
// default.
Bitmap bitmap = getBackgroundPicture(pub.getQueueTime(), ... |
diff --git a/ProtocolLib/test/com/comphenix/protocol/reflect/StructureModifierTest.java b/ProtocolLib/test/com/comphenix/protocol/reflect/StructureModifierTest.java
index 82996a3b..eec8b71b 100644
--- a/ProtocolLib/test/com/comphenix/protocol/reflect/StructureModifierTest.java
+++ b/ProtocolLib/test/com/comphenix/proto... | true | true | public void test() throws IllegalAccessException {
Packet103SetSlot move = new Packet103SetSlot();
StructureModifier<Object> modifier = new StructureModifier<Object>(
Packet103SetSlot.class, Packet.class, true);
move.a = 1;
int value = (Integer) modifier.withTarget(move).withType(int.class).read(0);
... | public void test() throws FieldAccessException {
Packet103SetSlot move = new Packet103SetSlot();
StructureModifier<Object> modifier = new StructureModifier<Object>(
Packet103SetSlot.class, Packet.class, true);
move.a = 1;
int value = (Integer) modifier.withTarget(move).withType(int.class).read(0);
a... |
diff --git a/src/org/jruby/demo/IRBConsole.java b/src/org/jruby/demo/IRBConsole.java
index 12d1613e3..817b670ae 100644
--- a/src/org/jruby/demo/IRBConsole.java
+++ b/src/org/jruby/demo/IRBConsole.java
@@ -1,103 +1,103 @@
package org.jruby.demo;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.... | false | true | public static void main(String[] args) {
final IRBConsole console = new IRBConsole("JRuby IRB Console");
PipedInputStream pipeIn = new PipedInputStream();
console.setLayout(new BorderLayout());
console.setSize(700, 600);
JEditorPane text = new JTextPane();
... | public static void main(String[] args) {
final IRBConsole console = new IRBConsole("JRuby IRB Console");
PipedInputStream pipeIn = new PipedInputStream();
console.getContentPane().setLayout(new BorderLayout());
console.setSize(700, 600);
JEditorPane text = n... |
diff --git a/src/me/greatman/Craftconomy/commands/money/PayCommand.java b/src/me/greatman/Craftconomy/commands/money/PayCommand.java
index ae29f69..cd805a2 100644
--- a/src/me/greatman/Craftconomy/commands/money/PayCommand.java
+++ b/src/me/greatman/Craftconomy/commands/money/PayCommand.java
@@ -1,72 +1,72 @@
package ... | true | true | public void perform()
{
double amount;
Currency currency = CurrencyHandler.getCurrency(Config.currencyDefault, true);
if (AccountHandler.exists(this.parameters.get(0)))
{
Account senderAccount = AccountHandler.getAccount((Player) sender);
Account receiverAccount = AccountHandler.getAccount(this.paramete... | public void perform()
{
double amount;
Currency currency = CurrencyHandler.getCurrency(Config.currencyDefault, true);
if (AccountHandler.exists(this.parameters.get(0)))
{
Account senderAccount = AccountHandler.getAccount((Player) sender);
Account receiverAccount = AccountHandler.getAccount(this.paramete... |
diff --git a/src/main/java/org/jasig/ssp/factory/reference/impl/TemplateCourseTOFactoryImpl.java b/src/main/java/org/jasig/ssp/factory/reference/impl/TemplateCourseTOFactoryImpl.java
index 075e9c43d..3146c6f3b 100644
--- a/src/main/java/org/jasig/ssp/factory/reference/impl/TemplateCourseTOFactoryImpl.java
+++ b/src/mai... | true | true | public TemplateCourse from(TemplateCourseTO tObject) throws ObjectNotFoundException {
TemplateCourse model = super.from(tObject);
model.setCourseCode(tObject.getCourseCode());
model.setCourseDescription(tObject.getCourseDescription());
model.setCourseTitle(tObject.getCourseTitle());
model.setContactNotes(tOb... | public TemplateCourse from(TemplateCourseTO tObject) throws ObjectNotFoundException {
TemplateCourse model = super.from(tObject);
model.setCourseCode(tObject.getCourseCode());
model.setCourseDescription(tObject.getCourseDescription());
model.setCourseTitle(tObject.getCourseTitle());
model.setContactNotes(tOb... |
diff --git a/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java b/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java
index 1ee1289..d716816 100644
--- a/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java
+++ b/src/com/bekvon/bukkit/residence/listeners/Residenc... | true | true | public void onPlayerInteract(PlayerInteractEvent event) {
if(event.isCancelled())
return;
Player player = event.getPlayer();
Material heldItem = player.getItemInHand().getType();
Block block = event.getClickedBlock();
Material mat = block.getType();
ILog.... | public void onPlayerInteract(PlayerInteractEvent event) {
if(event.isCancelled())
return;
Player player = event.getPlayer();
Material heldItem = player.getItemInHand().getType();
Block block = event.getClickedBlock();
Material mat = block.getType();
ILog.... |
diff --git a/src/test/org/apache/nutch/parse/TestParserFactory.java b/src/test/org/apache/nutch/parse/TestParserFactory.java
index 08c96e53..cf944e29 100644
--- a/src/test/org/apache/nutch/parse/TestParserFactory.java
+++ b/src/test/org/apache/nutch/parse/TestParserFactory.java
@@ -1,102 +1,102 @@
/**
* Licensed to ... | true | true | public void testGetParsers() throws Exception {
Parser [] parsers = parserFactory.getParsers("text/html", "http://foo.com");
assertNotNull(parsers);
assertEquals(1, parsers.length);
assertEquals("org.apache.nutch.parse.tika.TikaParser",
parsers[0].getClass().getName());
parsers =... | public void testGetParsers() throws Exception {
Parser [] parsers = parserFactory.getParsers("text/html", "http://foo.com");
assertNotNull(parsers);
assertEquals(1, parsers.length);
assertEquals("org.apache.nutch.parse.tika.TikaParser",
parsers[0].getClass().getName());
parsers =... |
diff --git a/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.java b/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.java
index 0579f4d3..eaea6e3e 100644
--- a/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.java
+++ b/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.ja... | false | true | public void runAutomated(AutomatedInstallData idata, IXMLElement panelRoot)
{
final class PInfo
{
private boolean _selected;
private int _index;
private String _name = "";
PInfo(boolean selected, String index, String name)
{
... | public void runAutomated(AutomatedInstallData idata, IXMLElement panelRoot)
{
final class PInfo
{
private boolean _selected;
private int _index;
private String _name = "";
PInfo(boolean selected, String index, String name)
{
... |
diff --git a/src/com/edinarobotics/zed/Controls.java b/src/com/edinarobotics/zed/Controls.java
index 424d49f..a3fc728 100644
--- a/src/com/edinarobotics/zed/Controls.java
+++ b/src/com/edinarobotics/zed/Controls.java
@@ -1,89 +1,88 @@
package com.edinarobotics.zed;
import com.edinarobotics.utils.gamepad.Gamepad;
i... | true | true | private Controls(){
gamepad1 = new Gamepad(1);
//Drivetrain Direction Toggle
gamepad1.DIAMOND_LEFT.whenPressed(new ToggleDrivetrainDirectionCommand());
//Conveyor
gamepad1.LEFT_TRIGGER.whenPressed(new SetConveyorCommand(Conveyor.CONVEYOR_COLLECT_IN));
gamepad1.LEFT_TR... | private Controls(){
gamepad1 = new Gamepad(1);
//Drivetrain Direction Toggle
gamepad1.DIAMOND_LEFT.whenPressed(new ToggleDrivetrainDirectionCommand());
//Conveyor
gamepad1.LEFT_TRIGGER.whenPressed(new SetConveyorCommand(Conveyor.CONVEYOR_COLLECT_IN));
gamepad1.LEFT_TR... |
diff --git a/wheelmap/wheelmap/src/main/java/org/wheelmap/android/utils/MultiResultReceiver.java b/wheelmap/wheelmap/src/main/java/org/wheelmap/android/utils/MultiResultReceiver.java
index 4390933d..1e76845e 100644
--- a/wheelmap/wheelmap/src/main/java/org/wheelmap/android/utils/MultiResultReceiver.java
+++ b/wheelmap/... | false | true | public boolean addReceiver(ResultReceiver receiver, boolean resentLast) {
boolean isAdded = false;
if (receiver == null)
return false;
if (!mReceivers.contains(receiver)) {
mReceivers.add(receiver);
isAdded = true;
}
if (resentLast)
receiver.send(mResultCode, mResultData);
return isAdded;
}... | public boolean addReceiver(ResultReceiver receiver, boolean resendLast) {
boolean isAdded = false;
if (receiver == null)
return false;
if (!mReceivers.contains(receiver)) {
mReceivers.add(receiver);
isAdded = true;
}
if (resendLast)
receiver.send(mResultCode, mResultData);
return isAdded;
}... |
diff --git a/PolyFiveCorp/src/polyfive/ui/memberpages/PaymentDetails.java b/PolyFiveCorp/src/polyfive/ui/memberpages/PaymentDetails.java
index 0f254c1..cc1d0b4 100644
--- a/PolyFiveCorp/src/polyfive/ui/memberpages/PaymentDetails.java
+++ b/PolyFiveCorp/src/polyfive/ui/memberpages/PaymentDetails.java
@@ -1,115 +1,115 @@... | false | true | public PaymentDetails(MainFrame frame) {
f = frame;
setSize(new Dimension(1366, 768));
setLayout(null);
JButton button = new JButton("");
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
Member user = new Member();
user = f.getSession();
if(user.get... | public PaymentDetails(MainFrame frame) {
f = frame;
setSize(new Dimension(1366, 768));
setLayout(null);
JButton button = new JButton("");
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
Member user = new Member();
user = f.getSession();
if(user.get... |
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java
index ff5e6e894..941f31cd6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskHyperlink.java
+++ b/org.eclipse.mylyn.tasks.ui/s... | true | true | public TaskHyperlink(IRegion region, TaskRepository repository, String taskId) {
this.region = region;
this.repository = repository;
// remove leading blanks
while (taskId.startsWith("0")) {
taskId = taskId.substring(1);
}
this.taskId = taskId;
}
| public TaskHyperlink(IRegion region, TaskRepository repository, String taskId) {
this.region = region;
this.repository = repository;
// remove leading zeros
while (taskId.startsWith("0")) {
taskId = taskId.substring(1);
}
this.taskId = taskId;
}
|
diff --git a/src/main/ch/compass/gonzoproxy/controller/RelayController.java b/src/main/ch/compass/gonzoproxy/controller/RelayController.java
index 23b44f4..7e887bd 100644
--- a/src/main/ch/compass/gonzoproxy/controller/RelayController.java
+++ b/src/main/ch/compass/gonzoproxy/controller/RelayController.java
@@ -1,163 +... | true | true | private void loadPossibleRelayModes() {
ArrayList<String> inputModes = new ArrayList<>();
ResourceBundle bundle = ResourceBundle.getBundle("plugin");
Enumeration<String> keys = bundle.getKeys();
while (keys.hasMoreElements()) {
String element = keys.nextElement();
if (element.contains("name")) {
in... | private void loadPossibleRelayModes() {
ArrayList<String> inputModes = new ArrayList<>();
ResourceBundle bundle = ResourceBundle.getBundle("plugin");
Enumeration<String> keys = bundle.getKeys();
while (keys.hasMoreElements()) {
String element = keys.nextElement();
if (element.contains("name")) {
in... |
diff --git a/src/org/apache/xerces/validators/common/XMLValidator.java b/src/org/apache/xerces/validators/common/XMLValidator.java
index 82971bc8..b2452b64 100644
--- a/src/org/apache/xerces/validators/common/XMLValidator.java
+++ b/src/org/apache/xerces/validators/common/XMLValidator.java
@@ -1,5045 +1,5046 @@
/*
*... | false | true | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if ((fGrammarIsSchemaGrammar && fElementDepth >= 0 && fValidationFlagStack[fElementDepth] != 0 )||
(fGrammar == null && !fValidating && !fNamespacesEna... | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if ((fGrammarIsSchemaGrammar && fElementDepth >= 0 && fValidationFlagStack[fElementDepth] != 0 )||
(fGrammar == null && !fValidating && !fNamespacesEna... |
diff --git a/src/share/src/main/java/cz/filmtit/share/TranslationResult.java b/src/share/src/main/java/cz/filmtit/share/TranslationResult.java
index e60d9d86..b55e59a6 100644
--- a/src/share/src/main/java/cz/filmtit/share/TranslationResult.java
+++ b/src/share/src/main/java/cz/filmtit/share/TranslationResult.java
@@ -1... | true | true | public int compareTo(TranslationResult that) {
// TODO: compare differently for various subtitle formats, i.e.
// - lexicographically for srt
// - numerically for sub
// - ???
// this.startTime < that.startTime ?
int result = this.getSourceChunk().getStartTime().compareTo(that.getSourceChunk().getStartT... | public int compareTo(TranslationResult that) {
// TODO: compare differently for various subtitle formats, i.e.
// - lexicographically for srt
// - numerically for sub
// - ???
// this.startTime < that.startTime ?
int result = this.getSourceChunk().getStartTime().compareTo(that.getSourceChunk().getStartT... |
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/ui/basic/table/menus/CopyWidthsOfColumnsMenu.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/ui/basic/table/menus/CopyWidthsOfColumnsMenu.java
index 0fbf21ef39..483b6d323c 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse... | true | true | protected void execAction() {
try {
StringBuffer buf = new StringBuffer();
// Add an identifier for fast identification
buf.append(COLUMN_COPY_CLIPBOARD_IDENTIFIER);
buf.append("\n");
for (IColumn<?> column : getTable().getColumnSet().getColumns()) {
buf.append(column.getCl... | protected void execAction() {
try {
StringBuffer buf = new StringBuffer();
// Add an identifier for fast identification
buf.append(COLUMN_COPY_CLIPBOARD_IDENTIFIER);
buf.append("\n");
// only visible columns are of interest
for (IColumn<?> column : getTable().getColumnSet().g... |
diff --git a/org/xbill/DNS/Master.java b/org/xbill/DNS/Master.java
index 574ec85..c795a9c 100644
--- a/org/xbill/DNS/Master.java
+++ b/org/xbill/DNS/Master.java
@@ -1,427 +1,427 @@
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
import java.io.*;
import java.util.*;
/*... | false | true | public Record
_nextRecord() throws IOException {
Tokenizer.Token token;
String s;
if (included != null) {
Record rec = included.nextRecord();
if (rec != null)
return rec;
included = null;
}
if (generator != null) {
Record rec = nextGenerated();
if (rec != null)
return rec;
endGenerate();
}
whi... | public Record
_nextRecord() throws IOException {
Tokenizer.Token token;
String s;
if (included != null) {
Record rec = included.nextRecord();
if (rec != null)
return rec;
included = null;
}
if (generator != null) {
Record rec = nextGenerated();
if (rec != null)
return rec;
endGenerate();
}
whi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.