diff stringlengths 262 553k | is_single_chunk bool 2
classes | is_single_function bool 1
class | buggy_function stringlengths 20 391k | fixed_function stringlengths 0 392k |
|---|---|---|---|---|
diff --git a/test/com/facebook/buck/util/LicenseCheckTest.java b/test/com/facebook/buck/util/LicenseCheckTest.java
index 8bc82fd95e..fd0eb28162 100644
--- a/test/com/facebook/buck/util/LicenseCheckTest.java
+++ b/test/com/facebook/buck/util/LicenseCheckTest.java
@@ -1,69 +1,71 @@
/*
* Copyright 2013-present Facebook... | true | true | public void visit(File file, String relativePath) {
if (!"java".equals(Files.getFileExtension(relativePath)) ||
relativePath.startsWith("com/facebook/buck/cli/quickstart/android/")) {
return;
}
try {
String asString = Files.toString(file, Charsets.UTF_8);
assert... | public void visit(File file, String relativePath) {
if (!"java".equals(Files.getFileExtension(relativePath)) ||
// Ignore dangling symlinks.
!file.exists() ||
relativePath.startsWith("com/facebook/buck/cli/quickstart/android/")) {
return;
}
try {
Stri... |
diff --git a/server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java b/server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java
index c758025..ee68532 100644
--- a/server-worker/src/main/java/org/taverna/server/localworker/impl/TavernaRunManager.java
+++ b/se... | false | true | public static void main(String[] args) throws Exception {
if (args.length < 2)
throw new Exception("wrong # args: must be \"" + usage + "\"");
if (!getProperty(UNSECURE_PROP, "no").equals("yes")) {
setProperty(SEC_POLICY_PROP, LocalWorker.class.getClassLoader()
.getResource(SECURITY_POLICY_FILE).toExter... | public static void main(String[] args) throws Exception {
if (args.length < 2)
throw new Exception("wrong # args: must be \"" + usage + "\"");
if (!getProperty(UNSECURE_PROP, "no").equals("yes")) {
setProperty(SEC_POLICY_PROP, LocalWorker.class.getClassLoader()
.getResource(SECURITY_POLICY_FILE).toExter... |
diff --git a/todo/data/src/se/liu/tdp024/util/HTTPHelper.java b/todo/data/src/se/liu/tdp024/util/HTTPHelper.java
index 68765e3..57683b3 100644
--- a/todo/data/src/se/liu/tdp024/util/HTTPHelper.java
+++ b/todo/data/src/se/liu/tdp024/util/HTTPHelper.java
@@ -1,60 +1,62 @@
package se.liu.tdp024.util;
import java.io.*;... | false | true | public static String get(String path, String... parameters) {
try {
if (parameters != null) {
path += "?";
for (int i = 0; i < parameters.length; i += 2) {
path += parameters[i] + "="
+ URLEncoder.encode(parameters[... | public static String get(String path, String... parameters) {
try {
if (parameters != null) {
path += "?";
StringBuilder builder = new StringBuilder();
for (int i = 0; i < parameters.length; i += 2) {
builder.append(parameters[... |
diff --git a/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java b/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
index ad99ad4..9300803 100644
--- a/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
+++ b/stripes/src/net/sourceforge/stripes/tag/InputOptio... | true | true | public int doEndTag() throws JspException {
// Determine if we're going to be sorting the collection
List<Entry> sortedEntries = new LinkedList<Entry>(this.entries);
if (this.sort != null) {
String[] props = StringUtil.standardSplit(this.sort);
for (int i=0;i<props.le... | public int doEndTag() throws JspException {
// Determine if we're going to be sorting the collection
List<Entry> sortedEntries = new LinkedList<Entry>(this.entries);
if (this.sort != null) {
String[] props = StringUtil.standardSplit(this.sort);
for (int i=0;i<props.le... |
diff --git a/plugins/org.savara.tools.common/src/java/org/savara/tools/common/generation/ui/GenerateDialog.java b/plugins/org.savara.tools.common/src/java/org/savara/tools/common/generation/ui/GenerateDialog.java
index f5f37df..9afc443 100644
--- a/plugins/org.savara.tools.common/src/java/org/savara/tools/common/genera... | true | true | protected Control createDialogArea(Composite parent) {
initializeGeneratorList();
Composite composite=(Composite)super.createDialogArea(parent);
GridLayout layout = new GridLayout();
layout.numColumns = 1;
composite.setLayout(layout);
GridData gd=null;
Group group=new Group(composite, SWT.H... | protected Control createDialogArea(Composite parent) {
initializeGeneratorList();
Composite composite=(Composite)super.createDialogArea(parent);
GridLayout layout = new GridLayout();
layout.numColumns = 1;
composite.setLayout(layout);
GridData gd=null;
Group group=new Group(composite, SWT.H... |
diff --git a/src/com/base/word/WordsExport.java b/src/com/base/word/WordsExport.java
index c05b687..386d459 100644
--- a/src/com/base/word/WordsExport.java
+++ b/src/com/base/word/WordsExport.java
@@ -1,34 +1,34 @@
package com.base.word;
import java.io.File;
import java.io.IOException;
import java.sql.SQLExceptio... | true | true | public static void main(String[] args) throws SQLException, JsonGenerationException, JsonMappingException, IOException {
JPWordDao dao = new JPWordDao();
JPWord[] words = dao.getWordList(null, null);
List<Map<String, Object>> exportList = new LinkedList<Map<String, Object>>();
for (JPWord word: words) {
Map... | public static void main(String[] args) throws SQLException, JsonGenerationException, JsonMappingException, IOException {
JPWordDao dao = new JPWordDao();
JPWord[] words = dao.getWordList(null, null);
List<Map<String, Object>> exportList = new LinkedList<Map<String, Object>>();
for (JPWord word: words) {
Map... |
diff --git a/src/main/java/net/oneandone/maven/plugins/prerelease/core/WorkingCopy.java b/src/main/java/net/oneandone/maven/plugins/prerelease/core/WorkingCopy.java
index 0f1b815..5868c19 100644
--- a/src/main/java/net/oneandone/maven/plugins/prerelease/core/WorkingCopy.java
+++ b/src/main/java/net/oneandone/maven/plug... | true | true | public static WorkingCopy load(FileNode workingCopy) throws IOException, SAXException, XmlException {
World world;
String output;
Document doc;
String path;
Selector selector;
Element wcStatus;
List<FileNode> modifications;
SortedSet<Long> revisions;
... | public static WorkingCopy load(FileNode workingCopy) throws IOException, SAXException, XmlException {
World world;
String output;
Document doc;
String path;
Selector selector;
Element wcStatus;
List<FileNode> modifications;
SortedSet<Long> revisions;
... |
diff --git a/src/de/fuberlin/projectcii/ParserGenerator/src/SyntaxTree.java b/src/de/fuberlin/projectcii/ParserGenerator/src/SyntaxTree.java
index 3ca399dd..003be206 100644
--- a/src/de/fuberlin/projectcii/ParserGenerator/src/SyntaxTree.java
+++ b/src/de/fuberlin/projectcii/ParserGenerator/src/SyntaxTree.java
@@ -1,169... | true | true | private void printChild(ISyntaxTree node,int level,boolean first){
if (!first){
for(int i=0;i<level;i++){
System.out.print("\t");
}
}
System.out.print(node.getSymbol()+"\t");
first = true;
for (ISyntaxTree child: node.getChildren()){
if (child.getChildren().size() > 0){
printChild(child,l... | private void printChild(ISyntaxTree node,int level,boolean first){
if (!first){
for(int i=0;i<level;i++){
System.out.print("\t");
}
}
System.out.print(node.getSymbol()+"\t");
first = true;
for (ISyntaxTree child: node.getChildren()){
if (child.getChildren().size() > 0){
printChild(child,l... |
diff --git a/CheMet/CheMet-Core/src/main/java/uk/ac/ebi/chemet/entities/reaction/Reaction.java b/CheMet/CheMet-Core/src/main/java/uk/ac/ebi/chemet/entities/reaction/Reaction.java
index fd85dea8..b9c5ce84 100644
--- a/CheMet/CheMet-Core/src/main/java/uk/ac/ebi/chemet/entities/reaction/Reaction.java
+++ b/CheMet/CheMet-C... | true | true | public boolean equals( Object obj ) {
if ( obj == null ) {
return false;
}
if ( getClass() != obj.getClass() ) {
return false;
}
final Reaction<M , S , C> other = ( Reaction<M , S , C> ) obj;
/* Make shallow copies of compounds, coeffcients a... | public boolean equals( Object obj ) {
if ( obj == null ) {
return false;
}
if ( getClass() != obj.getClass() ) {
return false;
}
final Reaction<M , S , C> other = ( Reaction<M , S , C> ) obj;
/* Make shallow copies of compounds, coeffcients a... |
diff --git a/test/func/route/SimpleRouteTest.java b/test/func/route/SimpleRouteTest.java
index bc000895..f3321309 100644
--- a/test/func/route/SimpleRouteTest.java
+++ b/test/func/route/SimpleRouteTest.java
@@ -1,102 +1,102 @@
/*
* Copyright (C) 2008 Steve Ratcliffe
*
* This program is free software; you can re... | true | true | public void testSize() throws FileNotFoundException {
Main.main(new String[]{
Args.TEST_STYLE_ARG,
"--route",
Args.TEST_RESOURCE_OSM + "uk-test-1.osm.gz",
Args.TEST_RESOURCE_MP + "test1.mp"
});
FileSystem fs = ImgFS.openFs(Args.DEF_MAP_ID + ".img");
assertNotNull("file exists", fs);
List<Di... | public void testSize() throws FileNotFoundException {
Main.main(new String[]{
Args.TEST_STYLE_ARG,
"--route",
Args.TEST_RESOURCE_OSM + "uk-test-1.osm.gz",
Args.TEST_RESOURCE_MP + "test1.mp"
});
FileSystem fs = ImgFS.openFs(Args.DEF_MAP_ID + ".img");
assertNotNull("file exists", fs);
List<Di... |
diff --git a/modules/org.restlet.test/src/org/restlet/test/connector/FileClientTestCase.java b/modules/org.restlet.test/src/org/restlet/test/connector/FileClientTestCase.java
index 0feb4d898..80755d0bb 100644
--- a/modules/org.restlet.test/src/org/restlet/test/connector/FileClientTestCase.java
+++ b/modules/org.restlet... | true | true | public void testFileClient() throws IOException {
String text = "Test content\r\nLine 2\r\nLine2";
LocalReference fr = LocalReference
.createFileReference(File.createTempFile("Restlet", ".txt."
+ Language.DEFAULT.getName()));
ClientResource resource =... | public void testFileClient() throws IOException {
String text = "Test content\r\nLine 2\r\nLine2";
LocalReference fr = LocalReference
.createFileReference(File.createTempFile("Restlet", ".txt."
+ Language.DEFAULT.getName()));
ClientResource resource =... |
diff --git a/server/ConnectionControl.java b/server/ConnectionControl.java
index 712a1ef..45b0ec6 100644
--- a/server/ConnectionControl.java
+++ b/server/ConnectionControl.java
@@ -1,347 +1,352 @@
/*
* ConnectionControl.java
*
* Created on 29 December 2002, 18:12
*/
package server;
import java.io.*;
imp... | true | true | public ConnectionControl() {
/*
* The following code prepares all the necessary objects for
* network programming
*/
/* Prepare a ServerSocketChannel, and register it with a selector */
listenServerSC = readyServerSocketChannel();
listen... | public ConnectionControl() {
/*
* The following code prepares all the necessary objects for
* network programming
*/
/* Prepare a ServerSocketChannel, and register it with a selector */
listenServerSC = readyServerSocketChannel();
listen... |
diff --git a/src/com/herocraftonline/dev/heroes/hero/Hero.java b/src/com/herocraftonline/dev/heroes/hero/Hero.java
index 32bc01bf..36b09928 100644
--- a/src/com/herocraftonline/dev/heroes/hero/Hero.java
+++ b/src/com/herocraftonline/dev/heroes/hero/Hero.java
@@ -1,1022 +1,1022 @@
package com.herocraftonline.dev.heroes... | false | true | public void gainExp(double expChange, ExperienceType source, boolean distributeToParty) {
if (player.getGameMode() == GameMode.CREATIVE || plugin.getConfigManager().getProperties().disabledWorlds.contains(player.getWorld().getName()))
return;
Properties prop = plugin.getConfigManager().g... | public void gainExp(double expChange, ExperienceType source, boolean distributeToParty) {
if (player.getGameMode() == GameMode.CREATIVE || plugin.getConfigManager().getProperties().disabledWorlds.contains(player.getWorld().getName()))
return;
Properties prop = plugin.getConfigManager().g... |
diff --git a/src/org/pentaho/pms/schema/PMSFormula.java b/src/org/pentaho/pms/schema/PMSFormula.java
index 133134f5..b10988c8 100644
--- a/src/org/pentaho/pms/schema/PMSFormula.java
+++ b/src/org/pentaho/pms/schema/PMSFormula.java
@@ -1,548 +1,548 @@
/*
* Copyright 2006 Pentaho Corporation. All rights reserved.
... | true | true | private void addField(String fieldName) throws PentahoMetadataException {
if (fieldName == null) {
throw new PentahoMetadataException(Messages.getErrorString("PMSFormula.ERROR_0008_FIELDNAME_NULL", formulaString)); //$NON-NLS-1$
}
// we need to validate that "fieldName" actually maps to a ... | private void addField(String fieldName) throws PentahoMetadataException {
if (fieldName == null) {
throw new PentahoMetadataException(Messages.getErrorString("PMSFormula.ERROR_0008_FIELDNAME_NULL", formulaString)); //$NON-NLS-1$
}
// we need to validate that "fieldName" actually maps to a ... |
diff --git a/gui/src/java/com/robonobo/gui/panels/MyLibraryContentPanel.java b/gui/src/java/com/robonobo/gui/panels/MyLibraryContentPanel.java
index 4ddc071..6881bd4 100644
--- a/gui/src/java/com/robonobo/gui/panels/MyLibraryContentPanel.java
+++ b/gui/src/java/com/robonobo/gui/panels/MyLibraryContentPanel.java
@@ -1,1... | true | true | public TabPanel() {
double[][] cellSizen = { { 10, 400, TableLayout.FILL, 200, 70 }, { TableLayout.FILL } };
setLayout(new TableLayout(cellSizen));
JPanel lPanel = new JPanel();
lPanel.setLayout(new BoxLayout(lPanel, BoxLayout.Y_AXIS));
lPanel.add(Box.createVerticalStrut(5));
searchPanel = new Track... | public TabPanel() {
double[][] cellSizen = { { 10, 400, TableLayout.FILL, 240, 30 }, { TableLayout.FILL } };
setLayout(new TableLayout(cellSizen));
JPanel lPanel = new JPanel();
lPanel.setLayout(new BoxLayout(lPanel, BoxLayout.Y_AXIS));
lPanel.add(Box.createVerticalStrut(5));
searchPanel = new Track... |
diff --git a/src/org/eclipse/jface/util/OpenStrategy.java b/src/org/eclipse/jface/util/OpenStrategy.java
index 5aaf74c7..1e7b0321 100644
--- a/src/org/eclipse/jface/util/OpenStrategy.java
+++ b/src/org/eclipse/jface/util/OpenStrategy.java
@@ -1,466 +1,466 @@
/***********************************************************... | false | true | private void initializeHandler(final Display display) {
eventHandler = new Listener() {
boolean timerStarted = false;
Event mouseUpEvent = null;
Event mouseMoveEvent = null;
SelectionEvent selectionPendent = null;
boolean enterKeyDown = false;
... | private void initializeHandler(final Display display) {
eventHandler = new Listener() {
boolean timerStarted = false;
Event mouseUpEvent = null;
Event mouseMoveEvent = null;
SelectionEvent selectionPendent = null;
boolean enterKeyDown = false;
... |
diff --git a/grisu-core/src/main/java/grisu/backend/model/job/gt5/RSLFactory.java b/grisu-core/src/main/java/grisu/backend/model/job/gt5/RSLFactory.java
index a385280c..2c0c9d98 100644
--- a/grisu-core/src/main/java/grisu/backend/model/job/gt5/RSLFactory.java
+++ b/grisu-core/src/main/java/grisu/backend/model/job/gt5/R... | true | true | public RslNode create(final Document jsdl, final String fqan) throws RSLCreationException{
RslNode result = new RslNode();
if (fqan == null){
throw new RSLCreationException("fqan cannot be null");
}
else if (!Pattern.matches("(/\\S+)+",fqan)){
throw new RSLCreationException("fqan " + fqan + " format ... | public RslNode create(final Document jsdl, final String fqan) throws RSLCreationException{
RslNode result = new RslNode();
if (fqan == null){
throw new RSLCreationException("fqan cannot be null");
}
else if (!Pattern.matches("(/\\S+)+",fqan)){
throw new RSLCreationException("fqan " + fqan + " format ... |
diff --git a/conan-atlas-processes/src/main/java/uk/ac/ebi/fgpt/conan/process/atlas/ExperimentEligibilityCheckingProcess.java b/conan-atlas-processes/src/main/java/uk/ac/ebi/fgpt/conan/process/atlas/ExperimentEligibilityCheckingProcess.java
index 18fa86d..7f7a068 100644
--- a/conan-atlas-processes/src/main/java/uk/ac/e... | false | true | public boolean execute(Map<ConanParameter, String> parameters)
throws ProcessExecutionException, IllegalArgumentException,
InterruptedException {
int exitValue = 0;
//deal with parameters
AccessionParameter accession = new AccessionParameter();
accession.setAccession(parameters.get(access... | public boolean execute(Map<ConanParameter, String> parameters)
throws ProcessExecutionException, IllegalArgumentException,
InterruptedException {
int exitValue = 0;
//deal with parameters
AccessionParameter accession = new AccessionParameter();
accession.setAccession(parameters.get(access... |
diff --git a/NTalk/src/main/java/fr/ribesg/bukkit/ntalk/TalkListener.java b/NTalk/src/main/java/fr/ribesg/bukkit/ntalk/TalkListener.java
index b6597f97..85b113c1 100644
--- a/NTalk/src/main/java/fr/ribesg/bukkit/ntalk/TalkListener.java
+++ b/NTalk/src/main/java/fr/ribesg/bukkit/ntalk/TalkListener.java
@@ -1,158 +1,159 ... | false | true | public void onPlayerChatThen(final AsyncPlayerChatEvent event) {
if (filter != null) {
final String message = event.getMessage();
final String uncoloredMessage = ColorUtils.stripColorCodes(message);
final Filter result = filter.check(' ' + uncoloredMessage + ' ');
if (result != null) {
switch (result... | public void onPlayerChatThen(final AsyncPlayerChatEvent event) {
if (filter != null) {
final String message = event.getMessage();
final String uncoloredMessage = ColorUtils.stripColorCodes(message);
final Filter result = filter.check(' ' + uncoloredMessage + ' ');
if (result != null) {
switch (result... |
diff --git a/src/main/java/com/ononedb/nextweb/js/OnedbNextwebEngineJs.java b/src/main/java/com/ononedb/nextweb/js/OnedbNextwebEngineJs.java
index ce31cca..c7f1cba 100644
--- a/src/main/java/com/ononedb/nextweb/js/OnedbNextwebEngineJs.java
+++ b/src/main/java/com/ononedb/nextweb/js/OnedbNextwebEngineJs.java
@@ -1,266 +... | true | true | private final CoreDsl createDsl(final StoppableRemoteConnection internalConnection) {
CoreDsl res;
assert dsl == null;
res = OneGwt.createDsl(assertGwtService(), "", internalConnection);
if (!One.isDslInitialized()) {
One.setDsl(res);
}
res.getDefaults()... | private final CoreDsl createDsl(final StoppableRemoteConnection internalConnection) {
CoreDsl res;
assert dsl == null;
res = OneGwt.createDsl(assertGwtService(), "", internalConnection);
if (!One.isDslInitialized()) {
One.setDsl(res);
}
res.getDefaults()... |
diff --git a/illaclient/src/illarion/client/gui/controller/game/InformHandler.java b/illaclient/src/illarion/client/gui/controller/game/InformHandler.java
index 090f78f9..3dabdc46 100644
--- a/illaclient/src/illarion/client/gui/controller/game/InformHandler.java
+++ b/illaclient/src/illarion/client/gui/controller/game/... | false | true | public void onScriptInformReceivedEvent(final ScriptInformReceivedEvent event) {
if (scriptParentPanel == null) {
LOGGER.warn("Received script inform before the GUI became ready.");
return;
}
final PanelBuilder panelBuilder = new PanelBuilder();
panelBuilder.... | public void onScriptInformReceivedEvent(final ScriptInformReceivedEvent event) {
if (scriptParentPanel == null) {
LOGGER.warn("Received script inform before the GUI became ready.");
return;
}
final PanelBuilder panelBuilder = new PanelBuilder();
panelBuilder.... |
diff --git a/src/com/google/javascript/jscomp/DefaultPassConfig.java b/src/com/google/javascript/jscomp/DefaultPassConfig.java
index 360d6dd61..671e66b6c 100644
--- a/src/com/google/javascript/jscomp/DefaultPassConfig.java
+++ b/src/com/google/javascript/jscomp/DefaultPassConfig.java
@@ -1,2296 +1,2296 @@
/*
* Copyr... | true | true | protected List<PassFactory> getOptimizations() {
List<PassFactory> passes = Lists.newArrayList();
passes.add(garbageCollectChecks);
// TODO(nicksantos): The order of these passes makes no sense, and needs
// to be re-arranged.
if (options.runtimeTypeCheck) {
passes.add(runtimeTypeCheck);
... | protected List<PassFactory> getOptimizations() {
List<PassFactory> passes = Lists.newArrayList();
passes.add(garbageCollectChecks);
// TODO(nicksantos): The order of these passes makes no sense, and needs
// to be re-arranged.
if (options.runtimeTypeCheck) {
passes.add(runtimeTypeCheck);
... |
diff --git a/src/org/python/core/PyGetSetDescr.java b/src/org/python/core/PyGetSetDescr.java
index d1f7118d..f47b8d99 100644
--- a/src/org/python/core/PyGetSetDescr.java
+++ b/src/org/python/core/PyGetSetDescr.java
@@ -1,158 +1,158 @@
package org.python.core;
import java.lang.reflect.InvocationTargetException;
imp... | false | true | public PyGetSetDescr(PyType dtype,
String name,
Class c,
String get,
String set,
String del) {
this.name = name;
this.dtype = dtype;
try {
get_meth = c.get... | public PyGetSetDescr(PyType dtype,
String name,
Class c,
String get,
String set,
String del) {
this.name = name;
this.dtype = dtype;
try {
get_meth = c.get... |
diff --git a/servlet/src/main/java/io/undertow/servlet/core/ErrorPages.java b/servlet/src/main/java/io/undertow/servlet/core/ErrorPages.java
index 803aadbe8..ef9bced17 100644
--- a/servlet/src/main/java/io/undertow/servlet/core/ErrorPages.java
+++ b/servlet/src/main/java/io/undertow/servlet/core/ErrorPages.java
@@ -1,5... | true | true | public String getErrorLocation(final Throwable exception) {
//todo: this is kinda slow, but there is probably not a great deal that can be done about it
String e = null;
for(Class c = exception.getClass(); c != null && e == null; c = c.getSuperclass()) {
e = exceptionMappings.get... | public String getErrorLocation(final Throwable exception) {
if(exception == null) {
return null;
}
//todo: this is kinda slow, but there is probably not a great deal that can be done about it
String e = null;
for(Class c = exception.getClass(); c != null && e == n... |
diff --git a/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/DeviceInfoInstrument.java b/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/DeviceInfoInstrument.java
index 7a6ea6cd..31168fd9 100644
--- a/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/DeviceInfoInstrument.java
+++ b/... | true | true | public void onStart() {
addResult(BUILD_ID, Build.ID);
addResult(PRODUCT_NAME, Build.PRODUCT);
addResult(BUILD_DEVICE, Build.DEVICE);
addResult(BUILD_BOARD, Build.BOARD);
addResult(BUILD_MANUFACTURER, Build.MANUFACTURER);
addResult(BUILD_BRAND, Build.BRAND);
... | public void onStart() {
addResult(BUILD_ID, Build.ID);
addResult(PRODUCT_NAME, Build.PRODUCT);
addResult(BUILD_DEVICE, Build.DEVICE);
addResult(BUILD_BOARD, Build.BOARD);
addResult(BUILD_MANUFACTURER, Build.MANUFACTURER);
addResult(BUILD_BRAND, Build.BRAND);
... |
diff --git a/src/com/buddycloud/pusher/handler/UserPostedOnSubscribedChannelQueryHandler.java b/src/com/buddycloud/pusher/handler/UserPostedOnSubscribedChannelQueryHandler.java
index 531b23c..42faadf 100644
--- a/src/com/buddycloud/pusher/handler/UserPostedOnSubscribedChannelQueryHandler.java
+++ b/src/com/buddycloud/p... | true | true | protected IQ handleQuery(IQ iq) {
Element queryElement = iq.getElement().element("query");
Element authorJidElement = queryElement.element("authorJid");
Element channelElement = queryElement.element("channel");
Element followerJidElement = queryElement.element("followerJid");
Element postContentElement = que... | protected IQ handleQuery(IQ iq) {
Element queryElement = iq.getElement().element("query");
Element authorJidElement = queryElement.element("authorJid");
Element channelElement = queryElement.element("channel");
Element followerJidElement = queryElement.element("followerJid");
Element postContentElement = que... |
diff --git a/src/main/java/org/spoutcraft/launcher/skin/components/DynamicButton.java b/src/main/java/org/spoutcraft/launcher/skin/components/DynamicButton.java
index 2ca84af..70935cb 100644
--- a/src/main/java/org/spoutcraft/launcher/skin/components/DynamicButton.java
+++ b/src/main/java/org/spoutcraft/launcher/skin/c... | false | true | public DynamicButton(JFrame parent, BufferedImage icon, int hoverIncrease, String account, String userName) {
this.icon = icon;
this.hoverIncrease = hoverIncrease;
this.account = account;
this.userName = userName;
underLabel = new DynamicLabel(userName);
remove = new TransparentButton();
this.setSize(ico... | public DynamicButton(JFrame parent, BufferedImage icon, int hoverIncrease, String account, String userName) {
this.icon = icon;
this.hoverIncrease = hoverIncrease;
this.account = account;
this.userName = userName;
underLabel = new DynamicLabel(userName);
remove = new TransparentButton();
this.setSize(32,... |
diff --git a/src/haven/LocalMiniMap.java b/src/haven/LocalMiniMap.java
index cb28b002..95d84ecb 100644
--- a/src/haven/LocalMiniMap.java
+++ b/src/haven/LocalMiniMap.java
@@ -1,223 +1,223 @@
/*
* This file is part of the Haven & Hearth game client.
* Copyright (C) 2009 Fredrik Tolf <fredrik@dolda2000.com>, and
... | false | true | public void draw(GOut g) {
if(cc == null)
return;
final Coord plg = cc.div(cmaps);
if((cur == null) || !plg.equals(cur.c)) {
Defer.Future<MapTile> f;
synchronized(cache) {
f = cache.get(plg);
if(f == null) {
final Coord ul = plg.mul(cmaps).sub(cmaps).add(1, 1);
f = Defer.later(new ... | public void draw(GOut g) {
if(cc == null)
return;
final Coord plg = cc.div(cmaps);
if((cur == null) || !plg.equals(cur.c)) {
Defer.Future<MapTile> f;
synchronized(cache) {
f = cache.get(plg);
if(f == null) {
f = Defer.later(new Defer.Callable<MapTile> () {
public MapTile call() {
... |
diff --git a/src/com/fsck/k9/mail/filter/PeekableInputStream.java b/src/com/fsck/k9/mail/filter/PeekableInputStream.java
index a6e4868d..0175bc4d 100644
--- a/src/com/fsck/k9/mail/filter/PeekableInputStream.java
+++ b/src/com/fsck/k9/mail/filter/PeekableInputStream.java
@@ -1,65 +1,65 @@
package com.fsck.k9.mail.fil... | true | true | public int read(byte[] b, int offset, int length) throws IOException {
if (!mPeeked) {
return mIn.read(b, offset, length);
} else {
b[0] = (byte)mPeekedByte;
mPeeked = false;
int r = mIn.read(b, offset + 1, length - 1);
if (r == -1) {
... | public int read(byte[] b, int offset, int length) throws IOException {
if (!mPeeked) {
return mIn.read(b, offset, length);
} else {
b[offset] = (byte)mPeekedByte;
mPeeked = false;
int r = mIn.read(b, offset + 1, length - 1);
if (r == -1) {
... |
diff --git a/src/main/java/org/dasein/cloud/openstack/nova/os/NovaException.java b/src/main/java/org/dasein/cloud/openstack/nova/os/NovaException.java
index 201f17f..9db2f7d 100644
--- a/src/main/java/org/dasein/cloud/openstack/nova/os/NovaException.java
+++ b/src/main/java/org/dasein/cloud/openstack/nova/os/NovaExcept... | true | true | static public ExceptionItems parseException(int code, String json) {
ExceptionItems items = new ExceptionItems();
items.code = code;
items.type = CloudErrorType.GENERAL;
items.message = "unknown";
items.details = "The cloud provided an error code without explanation"... | static public ExceptionItems parseException(int code, String json) {
ExceptionItems items = new ExceptionItems();
items.code = code;
items.type = CloudErrorType.GENERAL;
items.message = "unknown";
items.details = "The cloud provided an error code without explanation"... |
diff --git a/src/com/android/settings/applications/RunningState.java b/src/com/android/settings/applications/RunningState.java
index beb960578..1b5310de0 100644
--- a/src/com/android/settings/applications/RunningState.java
+++ b/src/com/android/settings/applications/RunningState.java
@@ -1,1154 +1,1156 @@
/*
* Copyr... | false | true | private boolean update(Context context, ActivityManager am) {
final PackageManager pm = context.getPackageManager();
mSequence++;
boolean changed = false;
// Retrieve list of services, filtering out anything that definitely
// won't be shown in the UI.
... | private boolean update(Context context, ActivityManager am) {
final PackageManager pm = context.getPackageManager();
mSequence++;
boolean changed = false;
// Retrieve list of services, filtering out anything that definitely
// won't be shown in the UI.
... |
diff --git a/org.alskor.redmine_api/src/main/java/org/alskor/redmine/RedmineManager.java b/org.alskor.redmine_api/src/main/java/org/alskor/redmine/RedmineManager.java
index 53c4697..d36b9d3 100644
--- a/org.alskor.redmine_api/src/main/java/org/alskor/redmine/RedmineManager.java
+++ b/org.alskor.redmine_api/src/main/jav... | true | true | private List<Issue> getIssuesV104(String projectKey, Integer queryId) throws IOException, AuthenticationException, NotFoundException {
List<Issue> allTasks = new ArrayList<Issue>();
final int FIRST_REDMINE_PAGE = 1;
int pageNum = FIRST_REDMINE_PAGE;
// Redmine 1.0.4 (and Trunk at this moment - Dec 22, 2010... | private List<Issue> getIssuesV104(String projectKey, Integer queryId) throws IOException, AuthenticationException, NotFoundException {
List<Issue> allTasks = new ArrayList<Issue>();
final int FIRST_REDMINE_PAGE = 1;
int pageNum = FIRST_REDMINE_PAGE;
// Redmine 1.0.4 (and Trunk at this moment - Dec 22, 2010... |
diff --git a/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/TextureUtil.java b/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/TextureUtil.java
index b94aeeb94..f8bb7d896 100644
--- a/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/TextureUtil.java
+++ b/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/TextureUtil.java
@@ -1,479 +... | false | true | public static void uploadTexture(Image img,
int target,
int index,
int border,
boolean tdc){
Image.Format fmt = img.getFormat();
ByteBuffer data;
... | public static void uploadTexture(Image img,
int target,
int index,
int border,
boolean tdc){
Image.Format fmt = img.getFormat();
ByteBuffer data;
... |
diff --git a/src/behaviours/HandleBackMessage.java b/src/behaviours/HandleBackMessage.java
index 9cb66b9..d4b0653 100644
--- a/src/behaviours/HandleBackMessage.java
+++ b/src/behaviours/HandleBackMessage.java
@@ -1,50 +1,50 @@
package behaviours;
import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour... | true | true | public void action() {
Message msg= (Message)message.getContentObject();
History hist = msg.getHistory();
HistEl prevEl = hist.getPreviousElement(0);
HistEl prevprev_el = hist.getPreviousElement(1);
agent.setBOTTOM(new BottomEl(prevEl.getLiteral(), hist.pop())) = true;
boolean all_true = true;
fo... | public void action() {
Message msg= (Message)message.getContentObject();
History hist = msg.getHistory();
HistEl prevEl = hist.getPreviousElement(0);
HistEl prevprev_el = hist.getPreviousElement(1);
agent.setBOTTOM(new BottomEl(prevEl.getLiteral(), hist.pop()), true);
boolean all_true = true;
for... |
diff --git a/src/com/hav3n/mitbunk/About.java b/src/com/hav3n/mitbunk/About.java
index 0206244..3b30fa1 100644
--- a/src/com/hav3n/mitbunk/About.java
+++ b/src/com/hav3n/mitbunk/About.java
@@ -1,56 +1,56 @@
package com.hav3n.mitbunk;
import android.app.Activity;
import android.os.Bundle;
import android.text.Html;... | true | true | protected void onCreate(Bundle savedInstanceState)
{
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.about_login);
writtenBy = (TextView) findViewById(R.id.writtenby);
email = (TextView) findViewById(R.id.email);
creditsTo = (TextView) findViewById(R.id.cred... | protected void onCreate(Bundle savedInstanceState)
{
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.about_login);
writtenBy = (TextView) findViewById(R.id.writtenby);
email = (TextView) findViewById(R.id.email);
creditsTo = (TextView) findViewById(R.id.cred... |
diff --git a/update/org.eclipse.update.core/src/org/eclipse/update/internal/operations/BatchInstallOperation.java b/update/org.eclipse.update.core/src/org/eclipse/update/internal/operations/BatchInstallOperation.java
index 3e4bfdb7c..a89a7733e 100644
--- a/update/org.eclipse.update.core/src/org/eclipse/update/internal/... | false | true | public boolean execute(IProgressMonitor monitor, IOperationListener listener) throws CoreException, InvocationTargetException {
int installCount = 0;
if (operations == null || operations.length == 0)
return false;
IInstallConfiguration config = operations[0].getInstallConfiguration();
// // Check for... | public boolean execute(IProgressMonitor monitor, IOperationListener listener) throws CoreException, InvocationTargetException {
int installCount = 0;
if (operations == null || operations.length == 0)
return false;
IInstallConfiguration config = operations[0].getInstallConfiguration();
// // Check for... |
diff --git a/src/java/com/android/internal/telephony/PhoneFactory.java b/src/java/com/android/internal/telephony/PhoneFactory.java
index b7a2b77..559a7de 100644
--- a/src/java/com/android/internal/telephony/PhoneFactory.java
+++ b/src/java/com/android/internal/telephony/PhoneFactory.java
@@ -1,215 +1,215 @@
/*
* Cop... | false | true | public static void makeDefaultPhone(Context context) {
synchronized(Phone.class) {
if (!sMadeDefaults) {
sLooper = Looper.myLooper();
sContext = context;
if (sLooper == null) {
throw new RuntimeException(
... | public static void makeDefaultPhone(Context context) {
synchronized(Phone.class) {
if (!sMadeDefaults) {
sLooper = Looper.myLooper();
sContext = context;
if (sLooper == null) {
throw new RuntimeException(
... |
diff --git a/ardor3d-core/src/main/java/com/ardor3d/image/util/GeneratedImageFactory.java b/ardor3d-core/src/main/java/com/ardor3d/image/util/GeneratedImageFactory.java
index 58d9549..7c19f05 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/image/util/GeneratedImageFactory.java
+++ b/ardor3d-core/src/main/java/com/a... | true | true | public static Image createLuminance8Image(final Function3D source, final int width, final int height,
final int depth, final double startX, final double endX, final double startY, final double endY,
final double startZ, final double endZ, final double rangeStart, final double rangeEnd) {
... | public static Image createLuminance8Image(final Function3D source, final int width, final int height,
final int depth, final double startX, final double endX, final double startY, final double endY,
final double startZ, final double endZ, final double rangeStart, final double rangeEnd) {
... |
diff --git a/ZooTypers/src/com/example/zootypers/SinglePlayerModel.java b/ZooTypers/src/com/example/zootypers/SinglePlayerModel.java
index d47058a..f1af0d3 100644
--- a/ZooTypers/src/com/example/zootypers/SinglePlayerModel.java
+++ b/ZooTypers/src/com/example/zootypers/SinglePlayerModel.java
@@ -1,225 +1,225 @@
packag... | true | true | public final void typedLetter(final char letter) {
// currently not locked on to a word
if (currWordIndex == -1) {
for (int i = 0; i < wordsDisplayed.length; i++) {
// if any of the first character in wordsDisplayed matched letter
if (wordsList[wordsDisplayed[i]].charAt(0) == letter) {
currWordInde... | public final void typedLetter(final char letter) {
// currently not locked on to a word
if (currWordIndex == -1) {
for (int i = 0; i < wordsDisplayed.length; i++) {
// if any of the first character in wordsDisplayed matched letter
if (wordsList[wordsDisplayed[i]].charAt(0) == letter) {
currWordInde... |
diff --git a/src/org/rascalmpl/library/vis/figure/Figure.java b/src/org/rascalmpl/library/vis/figure/Figure.java
index 69f9c5bdca..fa4dbfc380 100644
--- a/src/org/rascalmpl/library/vis/figure/Figure.java
+++ b/src/org/rascalmpl/library/vis/figure/Figure.java
@@ -1,556 +1,555 @@
/***************************************... | true | true | public void connectArrowFrom(double left, double top, double X, double Y,
double fromX, double fromY, Figure toArrow, GraphicsContext gc, List<IHasSWTElement> visibleSWTElements ) {
for(Dimension d : HOR_VER){
toArrow.minSize.set(d,toArrow.prop.get2DReal(d, SIZE));
}
toArrow.size.set(toArrow.minSize);
... | public void connectArrowFrom(double left, double top, double X, double Y,
double fromX, double fromY, Figure toArrow, GraphicsContext gc, List<IHasSWTElement> visibleSWTElements ) {
for(Dimension d : HOR_VER){
toArrow.minSize.set(d,toArrow.prop.get2DReal(d, SIZE));
}
toArrow.size.set(toArrow.minSize);
... |
diff --git a/patientview-parent/radar/src/main/java/org/patientview/radar/web/pages/patient/ExistingPatientsListingPage.java b/patientview-parent/radar/src/main/java/org/patientview/radar/web/pages/patient/ExistingPatientsListingPage.java
index bfb766df..8ad9481e 100644
--- a/patientview-parent/radar/src/main/java/org/... | true | true | public ExistingPatientsListingPage() {
DemographicsDataProvider demographicsDataProvider = new DemographicsDataProvider(demographicsManager,
RadarSecuredSession.get().getUser());
// List existing patients
add(new DataView<Patient>("patients", demographicsDataProvider) {
... | public ExistingPatientsListingPage() {
DemographicsDataProvider demographicsDataProvider = new DemographicsDataProvider(demographicsManager,
RadarSecuredSession.get().getUser());
// List existing patients
add(new DataView<Patient>("patients", demographicsDataProvider) {
... |
diff --git a/test/pt/webdetails/cda/tests/CsvTest.java b/test/pt/webdetails/cda/tests/CsvTest.java
index 784e7eec..f16da7ff 100644
--- a/test/pt/webdetails/cda/tests/CsvTest.java
+++ b/test/pt/webdetails/cda/tests/CsvTest.java
@@ -1,92 +1,92 @@
package pt.webdetails.cda.tests;
import java.io.File;
import java.io.O... | true | true | public void testCsvExport() throws ExporterException, UnknownDataAccessException, UnsupportedExporterException, QueryException, UnsupportedConnectionException, DocumentException, UnsupportedDataAccessException
{
// Define an outputStream
OutputStream out = System.out;
logger.info("Building CDA settin... | public void testCsvExport() throws ExporterException, UnknownDataAccessException, UnsupportedExporterException, QueryException, UnsupportedConnectionException, DocumentException, UnsupportedDataAccessException
{
// Define an outputStream
OutputStream out = System.out;
logger.info("Building CDA settin... |
diff --git a/src/com/google/bitcoin/core/Block.java b/src/com/google/bitcoin/core/Block.java
index 460336c..cdb2802 100644
--- a/src/com/google/bitcoin/core/Block.java
+++ b/src/com/google/bitcoin/core/Block.java
@@ -1,533 +1,532 @@
/**
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version ... | false | true | private List<byte[]> buildMerkleTree() {
// The Merkle root is based on a tree of hashes calculated from the transactions:
//
// root
// / \
// / \
// A B
// / \ / \
// t1 t2 t3 t4
... | private List<byte[]> buildMerkleTree() {
// The Merkle root is based on a tree of hashes calculated from the transactions:
//
// root
// / \
// / \
// A B
// / \ / \
// t1 t2 t3 t4
... |
diff --git a/src/chameleon/test/VerificationTest.java b/src/chameleon/test/VerificationTest.java
index 86d26864..5b464aa9 100644
--- a/src/chameleon/test/VerificationTest.java
+++ b/src/chameleon/test/VerificationTest.java
@@ -1,42 +1,42 @@
package chameleon.test;
import static org.junit.Assert.assertEquals;
impor... | true | true | public void testVerification() throws LookupException {
for(NamespacePart element: elementProvider().elements(language())) {
VerificationResult result = element.verify();
assertTrue(((Invalid) result).toString() ,Valid.create() == result);
}
}
| public void testVerification() throws LookupException {
for(NamespacePart element: elementProvider().elements(language())) {
VerificationResult result = element.verify();
assertTrue(result.toString() ,Valid.create() == result);
}
}
|
diff --git a/src/net/dhleong/acl/net/OtherShipUpdatePacket.java b/src/net/dhleong/acl/net/OtherShipUpdatePacket.java
index d003f6d..faa7273 100644
--- a/src/net/dhleong/acl/net/OtherShipUpdatePacket.java
+++ b/src/net/dhleong/acl/net/OtherShipUpdatePacket.java
@@ -1,270 +1,270 @@
package net.dhleong.acl.net;
import... | true | true | public OtherShipUpdatePacket(byte[] data) {
mData = data;
float x, y, z, bearing, steering;
float[] freqs = new float[SHLD_FREQS.length];
String name = null;
int hullId = -1;
float shieldsFront, shieldsFrontMax;
float shieldsRear, shieldsRearMax;
// ... | public OtherShipUpdatePacket(byte[] data) {
mData = data;
float x, y, z, bearing, steering;
float[] freqs = new float[SHLD_FREQS.length];
String name = null;
int hullId = -1;
float shieldsFront, shieldsFrontMax;
float shieldsRear, shieldsRearMax;
// ... |
diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index 63f9f98e..33fe4734 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -1,323 +1,... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.preferences);
// Create onPrefChange
Preference rootDirectoryPref = findPreference("directories_root");
rootDirectoryPref.setOnPreferenceClickListener(ne... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.preferences);
// Create onPrefChange
Preference rootDirectoryPref = findPreference("directories_root");
rootDirectoryPref.setOnPreferenceClickListener(ne... |
diff --git a/nuxeo-core-storage-sql/nuxeo-core-storage-sql/src/main/java/org/nuxeo/ecm/core/storage/sql/jdbc/NXQLQueryMaker.java b/nuxeo-core-storage-sql/nuxeo-core-storage-sql/src/main/java/org/nuxeo/ecm/core/storage/sql/jdbc/NXQLQueryMaker.java
index 7d3f8aa95..28e4ef19a 100644
--- a/nuxeo-core-storage-sql/nuxeo-core... | true | true | public Query buildQuery(SQLInfo sqlInfo, Model model,
PathResolver pathResolver, String query, QueryFilter queryFilter,
Object... params) throws StorageException {
this.sqlInfo = sqlInfo;
database = sqlInfo.database;
dialect = sqlInfo.dialect;
this.model = mod... | public Query buildQuery(SQLInfo sqlInfo, Model model,
PathResolver pathResolver, String query, QueryFilter queryFilter,
Object... params) throws StorageException {
this.sqlInfo = sqlInfo;
database = sqlInfo.database;
dialect = sqlInfo.dialect;
this.model = mod... |
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/events/EventListener.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/events/EventListener.java
index 37d29e364..33cc59e4e 100644
--- a/target_explorer/plugins/org.eclip... | true | true | public void eventFired(EventObject event) {
if (event instanceof ChangeEvent) {
final ChangeEvent changeEvent = (ChangeEvent)event;
final Object source = changeEvent.getSource();
// Property changes for the model refreshes the parent peer
// node. The runtime model is not visible by itself.
if (so... | public void eventFired(EventObject event) {
if (event instanceof ChangeEvent) {
final ChangeEvent changeEvent = (ChangeEvent)event;
final Object source = changeEvent.getSource();
// Property changes for the model refreshes the parent peer
// node. The runtime model is not visible by itself.
if (so... |
diff --git a/entityhub/jersey/src/main/java/org/apache/stanbol/entityhub/jersey/resource/EntityhubRootResource.java b/entityhub/jersey/src/main/java/org/apache/stanbol/entityhub/jersey/resource/EntityhubRootResource.java
index 73869ca6d..8a464800a 100644
--- a/entityhub/jersey/src/main/java/org/apache/stanbol/entityhub... | true | true | private Response updateOrCreateEntity(String id,Set<Representation> parsed,
String method,
boolean create,
boolean update,
HttpHeaders headers){
... | private Response updateOrCreateEntity(String id,Set<Representation> parsed,
String method,
boolean create,
boolean update,
HttpHeaders headers){
... |
diff --git a/apps/rmi/latency/Main.java b/apps/rmi/latency/Main.java
index 633fae82..280fbaed 100644
--- a/apps/rmi/latency/Main.java
+++ b/apps/rmi/latency/Main.java
@@ -1,71 +1,75 @@
import ibis.rmi.*;
class Main {
public static final int COUNT = 10000;
public static void main(String [] args) {
t... | false | true | public static void main(String [] args) {
try {
DasInfo info = new DasInfo();
/* String server = null;
if (args.length > 0) {
server = args[0];
} else {
server = info.getHost(1);
}*/
System.out.println("Starting process " + info.hostNumber() + " on " + info.hostName());
if (... | public static void main(String [] args) {
try {
DasInfo info = new DasInfo();
/* String server = null;
if (args.length > 0) {
server = args[0];
} else {
server = info.getHost(1);
}*/
System.out.println("Starting process " + info.hostNumber() + " on " + info.hostName());
if (... |
diff --git a/chapter05/service/src/com/restbucks/Order.java b/chapter05/service/src/com/restbucks/Order.java
index f4e6c3e..e7df284 100644
--- a/chapter05/service/src/com/restbucks/Order.java
+++ b/chapter05/service/src/com/restbucks/Order.java
@@ -1,96 +1,96 @@
package com.restbucks;
import java.util.Calendar;
im... | true | true | public List<Transition> getFollowingTransitions(Restfulie control) {
if (status.equals("unpaid")) {
control.transition("latest").uses(OrderingController.class).get(this);
control.transition("cancel").uses(OrderingController.class).cancel(this);
control.transition("pay").uses(OrderingController.class).pay(th... | public List<Transition> getFollowingTransitions(Restfulie control) {
if (status.equals("unpaid")) {
control.transition("latest").uses(OrderingController.class).get(this);
control.transition("cancel").uses(OrderingController.class).cancel(this);
control.transition("pay").uses(OrderingController.class).pay(th... |
diff --git a/lucene/src/test/org/apache/lucene/search/TestMultiSearcherRanking.java b/lucene/src/test/org/apache/lucene/search/TestMultiSearcherRanking.java
index 6b363e07..51a33f48 100644
--- a/lucene/src/test/org/apache/lucene/search/TestMultiSearcherRanking.java
+++ b/lucene/src/test/org/apache/lucene/search/TestMul... | false | true | public void setUp() throws Exception {
super.setUp();
// create MultiSearcher from two seperate searchers
d1 = newDirectory();
IndexWriter iw1 = new IndexWriter(d1, newIndexWriterConfig(TEST_VERSION_CURRENT, new StandardAnalyzer(TEST_VERSION_CURRENT)));
addCollection1(iw1);
iw1.close();
d2... | public void setUp() throws Exception {
super.setUp();
// create MultiSearcher from two seperate searchers
d1 = newDirectory();
IndexWriter iw1 = new IndexWriter(d1, newIndexWriterConfig(TEST_VERSION_CURRENT, new StandardAnalyzer(TEST_VERSION_CURRENT)).setMergePolicy(newLogMergePolicy()));
addColle... |
diff --git a/modules/vanilla-fixture/src/main/java/org/novelang/testing/junit/MethodSupport.java b/modules/vanilla-fixture/src/main/java/org/novelang/testing/junit/MethodSupport.java
index 6f2476bc..76773df6 100644
--- a/modules/vanilla-fixture/src/main/java/org/novelang/testing/junit/MethodSupport.java
+++ b/modules/v... | true | true | private void doEvaluate() throws Throwable {
LOGGER.info( "*** Evaluating ", getTestName(), "... ***" );
try {
beforeStatementEvaluation() ;
base.evaluate();
} catch( Throwable throwable ) {
LOGGER.error( throwable, "Test failed." ) ;
Throwables.propagateIfPossible(... | private void doEvaluate() throws Throwable {
LOGGER.info( "*** Evaluating ", getTestName(), "... ***" );
try {
beforeStatementEvaluation() ;
base.evaluate();
} catch( Throwable throwable ) {
LOGGER.error( throwable, "Test failed." ) ;
Throwables.propagateIfPossible(... |
diff --git a/org.caleydo.data.importer/src/org/caleydo/data/importer/tcga/TCGAProjectBuilderApplication.java b/org.caleydo.data.importer/src/org/caleydo/data/importer/tcga/TCGAProjectBuilderApplication.java
index bf6b75938..4c9df55ff 100644
--- a/org.caleydo.data.importer/src/org/caleydo/data/importer/tcga/TCGAProjectB... | true | true | private void generateTumorReportLine(String tumorAbbreviation, String jnlpFileName,
String projectOutputPath) {
boolean isMRNALoaded = false;
boolean isMRNASeqLoaded = false;
boolean isMicroRNALoaded = false;
boolean isMicroRNASeqLoaded = false;
boolean isClinicalLoaded = false;
boolean isMutationsLoad... | private void generateTumorReportLine(String tumorAbbreviation, String jnlpFileName,
String projectOutputPath) {
boolean isMRNALoaded = false;
boolean isMRNASeqLoaded = false;
boolean isMicroRNALoaded = false;
boolean isMicroRNASeqLoaded = false;
boolean isClinicalLoaded = false;
boolean isMutationsLoad... |
diff --git a/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppSshDriver.java b/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppSshDriver.java
index 8d801d916..953400c6b 100644
--- a/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppSshDriver.java
+++ b/software/base/src/main/ja... | true | true | public void customize() {
newScript(CUSTOMIZING).
failOnNonZeroResultCode().
body.append(format("mkdir -p %s/lib", getRunDir())).
execute();
SshMachineLocation machine = getMachine();
VanillaJavaApp entity = getEntity();
for (String f ... | public void customize() {
newScript(CUSTOMIZING).
failOnNonZeroResultCode().
body.append(format("mkdir -p %s/lib", getRunDir())).
execute();
SshMachineLocation machine = getMachine();
VanillaJavaApp entity = getEntity();
for (String f ... |
diff --git a/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/database/idassigner/StandardIDPool.java b/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/database/idassigner/StandardIDPool.java
index 62212450d..4308b544a 100644
--- a/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/database/idass... | true | true | private synchronized void nextBlock() throws InterruptedException {
assert nextID == currentMaxID;
waitForIDRenewer();
if (bufferMaxID == BUFFER_POOL_EXHAUSTION || bufferNextID == BUFFER_POOL_EXHAUSTION)
throw new IDPoolExhaustedException("Exhausted ID Pool for partition: " + pa... | private synchronized void nextBlock() throws InterruptedException {
assert nextID == currentMaxID;
waitForIDRenewer();
if (bufferMaxID == BUFFER_POOL_EXHAUSTION || bufferNextID == BUFFER_POOL_EXHAUSTION)
throw new IDPoolExhaustedException("Exhausted ID Pool for partition: " + pa... |
diff --git a/BetterBatteryStats/src/com/asksven/betterbatterystats/widgets/WidgetSummary.java b/BetterBatteryStats/src/com/asksven/betterbatterystats/widgets/WidgetSummary.java
index 0362b65e..1c72c409 100644
--- a/BetterBatteryStats/src/com/asksven/betterbatterystats/widgets/WidgetSummary.java
+++ b/BetterBatteryStats... | false | true | public Bitmap getBitmap(Context ctx)
{
this.initPaints(ctx);
Bitmap bitmap = Bitmap.createBitmap(m_bitmapSizePx, m_bitmapSizePx, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
//////
float centerX, centerY, radius;
centerX = m_bitmapSizePx / 2;
centerY = m_... | public Bitmap getBitmap(Context ctx)
{
this.initPaints(ctx);
Bitmap bitmap = Bitmap.createBitmap(m_bitmapSizePx, m_bitmapSizePx, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
//////
float centerX, centerY, radius;
centerX = m_bitmapSizePx / 2;
centerY = m_... |
diff --git a/game/src/main/java/org/sankozi/rogueland/data/LoaderUtils.java b/game/src/main/java/org/sankozi/rogueland/data/LoaderUtils.java
index 1a44e1b..10e3f40 100644
--- a/game/src/main/java/org/sankozi/rogueland/data/LoaderUtils.java
+++ b/game/src/main/java/org/sankozi/rogueland/data/LoaderUtils.java
@@ -1,22 +1... | true | true | static <K extends Enum<K>> EnumMap<K, Float> toFloatMap(Map map, Class<K> enumClass){
EnumMap<K, Float> ret = new EnumMap(enumClass);
for(Map.Entry entry : (Set<Map.Entry>)map.entrySet()){
ret.put(Enum.valueOf(enumClass, CaseFormat.LOWER_HYPHEN.to(CaseFormat.UPPER_UNDERSCORE, entry.getKe... | static <K extends Enum<K>> EnumMap<K, Float> toFloatMap(Map<?,?> map, Class<K> enumClass){
EnumMap<K, Float> ret = new EnumMap<>(enumClass);
for(Map.Entry entry : map.entrySet()){
ret.put(Enum.valueOf(enumClass, CaseFormat.LOWER_HYPHEN.to(CaseFormat.UPPER_UNDERSCORE, entry.getKey().toStr... |
diff --git a/src/main/java/dk/statsbiblioteket/mediaplatform/ingest/channelarchivingrequester/web/YouSeeChannelMappingCRUDServlet.java b/src/main/java/dk/statsbiblioteket/mediaplatform/ingest/channelarchivingrequester/web/YouSeeChannelMappingCRUDServlet.java
index 47f751d..ddda6dd 100644
--- a/src/main/java/dk/statsbib... | true | true | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String action = req.getParameter(SUBMIT_ACTION);
String id = req.getParameter(ID);
String sbChannelName = req.getParameter(SB_ID);
String youSeeName = req.getParameter(UC_I... | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String action = req.getParameter(SUBMIT_ACTION);
String id = req.getParameter(ID);
String sbChannelName = req.getParameter(SB_ID);
String youSeeName = req.getParameter(UC_I... |
diff --git a/src/edu/x3m/kas/io/HuffmannInputStream.java b/src/edu/x3m/kas/io/HuffmannInputStream.java
index a7f146d..99a9915 100644
--- a/src/edu/x3m/kas/io/HuffmannInputStream.java
+++ b/src/edu/x3m/kas/io/HuffmannInputStream.java
@@ -1,48 +1,48 @@
package edu.x3m.kas.io;
import edu.x3m.kas.utils.BinaryUtil;
i... | true | true | public void printBinaryAll () throws IOException {
int ch, i = 0;
while ((ch = read ()) != -1) {
System.out.print (BinaryUtil.toBinary (ch)+" ");
if (i != 0 && i++ % 8 == 0) System.out.println ();
}
System.out.println ("");
}
| public void printBinaryAll () throws IOException {
int ch, i = 0;
while ((ch = read ()) != -1) {
System.out.print (BinaryUtil.toBinary (ch)+" ");
if (i++ != 0 && i % 16 == 0) System.out.println ();
}
System.out.println ("");
}
|
diff --git a/systemtap/org.eclipse.linuxtools.callgraph.core/src/org/eclipse/linuxtools/callgraph/core/StapUIJob.java b/systemtap/org.eclipse.linuxtools.callgraph.core/src/org/eclipse/linuxtools/callgraph/core/StapUIJob.java
index 0c6d98474..46017f63f 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph.core/src/org... | false | true | public IStatus runInUIThread(IProgressMonitor monitor) {
IExtensionRegistry reg = Platform.getExtensionRegistry();
IConfigurationElement[] extensions = reg.getConfigurationElementsFor(
PluginConstants.VIEW_RESOURCE, PluginConstants.VIEW_NAME,
viewID);
if (extensions == null || extensions.length < 1) {
... | public IStatus runInUIThread(IProgressMonitor monitor) {
IExtensionRegistry reg = Platform.getExtensionRegistry();
IConfigurationElement[] extensions = reg.getConfigurationElementsFor(
PluginConstants.VIEW_RESOURCE, PluginConstants.VIEW_NAME,
viewID);
if (extensions == null || extensions.length < 1) {
... |
diff --git a/src/main/java/io/github/basicmark/ems/EMSManager.java b/src/main/java/io/github/basicmark/ems/EMSManager.java
index b34cabb..0a0050a 100644
--- a/src/main/java/io/github/basicmark/ems/EMSManager.java
+++ b/src/main/java/io/github/basicmark/ems/EMSManager.java
@@ -1,979 +1,979 @@
package io.github.basicmar... | false | true | public void playerInteract(PlayerInteractEvent event) {
Action action = event.getAction();
Player player = event.getPlayer();
// Processing for sign clicking
if (action == Action.RIGHT_CLICK_BLOCK) {
Block clickedBlock = event.getClickedBlock();
if ((clickedBlock.getType() == Material.SIGN) || (click... | public void playerInteract(PlayerInteractEvent event) {
Action action = event.getAction();
Player player = event.getPlayer();
// Processing for sign clicking
if (action == Action.RIGHT_CLICK_BLOCK) {
Block clickedBlock = event.getClickedBlock();
if ((clickedBlock.getType() == Material.SIGN) || (click... |
diff --git a/src/server/MapleStocks.java b/src/server/MapleStocks.java
index f5e3f409..f56165a7 100644
--- a/src/server/MapleStocks.java
+++ b/src/server/MapleStocks.java
@@ -1,270 +1,270 @@
/*
OrpheusMS: MapleStory Private Server based on OdinMS
Copyright (C) 2012 Aaron Weiss <aaron@deviant-core.net>
... | false | true | public void calculateUpdate() {
ArrayList<Pair<String, Integer>> totals = new ArrayList<Pair<String, Integer>>();
for (World w : Server.getInstance().getWorlds()) {
for (Channel c : w.getChannels()) {
for (MapleCharacter chr : c.getPlayerStorage().getAllCharacters()) {
for (Pair<String, Integer> pair :... | public void calculateUpdate() {
ArrayList<Pair<String, Integer>> totals = new ArrayList<Pair<String, Integer>>();
for (World w : Server.getInstance().getWorlds()) {
for (Channel c : w.getChannels()) {
for (MapleCharacter chr : c.getPlayerStorage().getAllCharacters()) {
for (Pair<String, Integer> pair :... |
diff --git a/herald-session/herald-session-core/src/main/java/cn/edu/seu/herald/session/core/impl/SessionCacheAccessImpl.java b/herald-session/herald-session-core/src/main/java/cn/edu/seu/herald/session/core/impl/SessionCacheAccessImpl.java
index 3ecf748..0f93c1f 100644
--- a/herald-session/herald-session-core/src/main... | true | true | private void handleUnchangablePropertyUpdate(
Session cachedSession, Session sessionToUpdate)
throws SessionAccessException {
long creationTime1 = cachedSession.getCreationTime();
long creationTime2 = sessionToUpdate.getCreationTime();
long lastAccessedTime1 = cachedS... | private void handleUnchangablePropertyUpdate(
Session cachedSession, Session sessionToUpdate)
throws SessionAccessException {
long creationTime1 = cachedSession.getCreationTime();
long creationTime2 = sessionToUpdate.getCreationTime();
long lastAccessedTime1 = cachedS... |
diff --git a/src/test/java/com/pathfinder/internal/DijkstraGraphTraversalTest.java b/src/test/java/com/pathfinder/internal/DijkstraGraphTraversalTest.java
index a42fec1..7f9a815 100644
--- a/src/test/java/com/pathfinder/internal/DijkstraGraphTraversalTest.java
+++ b/src/test/java/com/pathfinder/internal/DijkstraGraphTr... | true | true | public void test() throws Exception{
TransitPath path = dijkstraGraphTraversal.findShortestPath("CNSHA", "USCHI", null).get(0);
List<TransitEdge> edges = path.getTransitEdges();
String pathAsString = transform(edges, intoString()).toString();
assertThat(pathAsString, is("[... | public void test() throws Exception{
TransitPath path = dijkstraGraphTraversal.findShortestPath("CNSHA", "USCHI", null).get(0);
List<TransitEdge> edges = path.getTransitEdges();
String pathAsString = transform(edges, intoString()).toString();
assertThat(pathAsString, is("[... |
diff --git a/src/org/sablecc/sablecc/automaton/graph/Transition.java b/src/org/sablecc/sablecc/automaton/graph/Transition.java
index 5baed4d..0f0b888 100644
--- a/src/org/sablecc/sablecc/automaton/graph/Transition.java
+++ b/src/org/sablecc/sablecc/automaton/graph/Transition.java
@@ -1,127 +1,127 @@
/* This file is pa... | true | true | public boolean equals(
Object obj) {
if (obj == null) {
return false;
}
if (!(obj instanceof Transition)) {
return false;
}
Transition transition = (Transition) obj;
if (!this.source.equals(transition.source)) {
retu... | public boolean equals(
Object obj) {
if (obj == null) {
return false;
}
if (!(obj instanceof Transition)) {
return false;
}
Transition transition = (Transition) obj;
if (!this.source.equals(transition.source)) {
retu... |
diff --git a/src/main/java/com/gpm/calameo/ItemList.java b/src/main/java/com/gpm/calameo/ItemList.java
index 8e03b8f..9ca5541 100644
--- a/src/main/java/com/gpm/calameo/ItemList.java
+++ b/src/main/java/com/gpm/calameo/ItemList.java
@@ -1,57 +1,62 @@
/*
* Copyright 2013 Mat Booth <mbooth@apache.org>
*
* Licensed... | false | true | public String toString() {
StringBuilder s = new StringBuilder();
for (T item : getItems()) {
if (s.toString().isEmpty()) {
s.append(String.format("{ Total: %s, Start: %d, Step: %d, Items: [ ", getTotal(), getStart(), getStep()));
} else {
s.append(", ");
}
s.append(ite... | public String toString() {
StringBuilder s = new StringBuilder();
final T[] items = getItems();
if (items != null) {
for (T item : getItems()) {
if (s.toString().isEmpty()) {
s.append(String.format("{ Total: %s, Start: %d, Step: %d, Items: [ ", getTotal(), getStart(), getStep()));
... |
diff --git a/src/main/java/com/onarandombox/MultiverseCore/utils/PermissionTools.java b/src/main/java/com/onarandombox/MultiverseCore/utils/PermissionTools.java
index 9e5a5d9..2851fc2 100644
--- a/src/main/java/com/onarandombox/MultiverseCore/utils/PermissionTools.java
+++ b/src/main/java/com/onarandombox/MultiverseCor... | false | true | public boolean playerHasMoneyToEnter(MultiverseWorld fromWorld, MultiverseWorld toWorld, CommandSender teleporter, Player teleportee, boolean pay) {
Player teleporterPlayer;
if (plugin.getMVConfig().getTeleportIntercept()) {
if (teleporter instanceof ConsoleCommandSender) {
... | public boolean playerHasMoneyToEnter(MultiverseWorld fromWorld, MultiverseWorld toWorld, CommandSender teleporter, Player teleportee, boolean pay) {
Player teleporterPlayer;
if (plugin.getMVConfig().getTeleportIntercept()) {
if (teleporter instanceof ConsoleCommandSender) {
... |
diff --git a/src/main/java/mcgill/ui/MainWindow.java b/src/main/java/mcgill/ui/MainWindow.java
index ed352c0..84e25e2 100644
--- a/src/main/java/mcgill/ui/MainWindow.java
+++ b/src/main/java/mcgill/ui/MainWindow.java
@@ -1,987 +1,987 @@
package mcgill.ui;
import javax.swing.JFrame;
import mcgill.fiveCardStud.End... | false | true | private void initialize() {
frame = new JFrame();
frame.setIconImage(Toolkit.getDefaultToolkit().getImage(MainWindow.class.getResource("/images/icon.png")));
frame.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
client.logout();
System.exit(0);
}
})... | private void initialize() {
frame = new JFrame();
frame.setIconImage(Toolkit.getDefaultToolkit().getImage(MainWindow.class.getResource("/images/icon.png")));
frame.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
client.logout();
System.exit(0);
}
})... |
diff --git a/src/main/java/org/libj/xquery/parser/AST.java b/src/main/java/org/libj/xquery/parser/AST.java
index 5f2dfce..c49d60a 100644
--- a/src/main/java/org/libj/xquery/parser/AST.java
+++ b/src/main/java/org/libj/xquery/parser/AST.java
@@ -1,170 +1,171 @@
package org.libj.xquery.parser;
import org.libj.xquery.... | false | true | public String toString() {
Object head = first();
if (head instanceof AST) {
StringBuilder builder = new StringBuilder();
builder.append("'("); // XXX: TODO: FIXME: the output doesn't make sense...
builder.append(head);
for (Object x: rest()) {
... | public String toString() {
Object head = first();
if (head instanceof AST) {
StringBuilder builder = new StringBuilder();
builder.append("["); // XXX: TODO: FIXME: the output doesn't make sense...
builder.append(head);
for (Object x: rest()) {
... |
diff --git a/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/a4jMediaOutput/TestAttributes.java b/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/a4jMediaOutput/TestAttributes.java
index cfa66d803..fcf073fdb 100644
--- a/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/a4jMediaO... | true | true | public void testIsmap() {
AttributeLocator<?> attr = MEDIA_OUTPUT.getAttribute(new Attribute("ismap"));
assertFalse(selenium.isAttributePresent(attr), "Attribute ismap should not be present.");
mediaOutputAttributes.set(MediaOutputAttributes.ismap, true);
assertTrue(selenium.isAttr... | public void testIsmap() {
AttributeLocator<?> attr = MEDIA_OUTPUT.getAttribute(new Attribute("ismap"));
assertFalse(selenium.isAttributePresent(attr), "Attribute ismap should not be present.");
mediaOutputAttributes.set(MediaOutputAttributes.ismap, true);
assertTrue(selenium.isAttr... |
diff --git a/viewflow/src/org/taptwo/android/widget/TitleFlowIndicator.java b/viewflow/src/org/taptwo/android/widget/TitleFlowIndicator.java
index 40044f4..1bb6531 100644
--- a/viewflow/src/org/taptwo/android/widget/TitleFlowIndicator.java
+++ b/viewflow/src/org/taptwo/android/widget/TitleFlowIndicator.java
@@ -1,410 +... | true | true | protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
// Calculate views bounds
ArrayList<Rect> bounds = calculateAllBounds(paintText);
// If no value then add a fake one
int count = (viewFlow != null && viewFlow.getAdapter() != null) ? viewFlow.getAdapter().getCount() : 1;
// Verify if the c... | protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
// Calculate views bounds
ArrayList<Rect> bounds = calculateAllBounds(paintText);
// If no value then add a fake one
int count = (viewFlow != null && viewFlow.getAdapter() != null) ? viewFlow.getAdapter().getCount() : 1;
// Verify if the c... |
diff --git a/facebook/src/com/facebook/android/Facebook.java b/facebook/src/com/facebook/android/Facebook.java
index f4f02a5..cbba479 100644
--- a/facebook/src/com/facebook/android/Facebook.java
+++ b/facebook/src/com/facebook/android/Facebook.java
@@ -1,761 +1,765 @@
/*
* Copyright 2010 Facebook, Inc.
*
* Licen... | false | true | public void authorizeCallback(int requestCode, int resultCode, Intent data) {
if (requestCode == mAuthActivityCode) {
// Successfully redirected.
if (resultCode == Activity.RESULT_OK) {
// Check OAuth 2.0/2.10 error code.
String error = data.getStrin... | public void authorizeCallback(int requestCode, int resultCode, Intent data) {
if (requestCode == mAuthActivityCode) {
// Successfully redirected.
if (resultCode == Activity.RESULT_OK) {
// Check OAuth 2.0/2.10 error code.
String error = data.getStrin... |
diff --git a/extensions/src/test/java/org/apache/abdera/test/ext/features/FeatureTest.java b/extensions/src/test/java/org/apache/abdera/test/ext/features/FeatureTest.java
index f676efed..49b69a85 100644
--- a/extensions/src/test/java/org/apache/abdera/test/ext/features/FeatureTest.java
+++ b/extensions/src/test/java/or... | true | true | public static void testFeatures() throws Exception {
Abdera abdera = new Abdera();
Collection coll = abdera.getFactory().newCollection();
FeaturesHelper.addFeature(
coll, "http://example.com/features/foo",
true, null, "foo & here");
FeaturesHelper.addFeature(
coll, "http://example.c... | public static void testFeatures() throws Exception {
Abdera abdera = new Abdera();
Collection coll = abdera.getFactory().newCollection();
FeaturesHelper.addFeature(
coll, "http://example.com/features/foo",
true, null, "foo & here");
FeaturesHelper.addFeature(
coll, "http://example.c... |
diff --git a/simulator-ui/src/java/main/ca/neo/ui/models/nodes/widgets/UIDecodedOrigin.java b/simulator-ui/src/java/main/ca/neo/ui/models/nodes/widgets/UIDecodedOrigin.java
index a9674338..c80ae8f2 100644
--- a/simulator-ui/src/java/main/ca/neo/ui/models/nodes/widgets/UIDecodedOrigin.java
+++ b/simulator-ui/src/java/ma... | true | true | protected void destroyOriginModel() {
if (getModel().getNode() instanceof NEFEnsemble) {
((NEFEnsemble) (getModel().getNode())).removeDecodedTermination(getModel().getName());
showPopupMessage("decoded termination removed from ensemble");
} else {
Util.Assert(false, "Decoded Origin not attached to NEFEnse... | protected void destroyOriginModel() {
if (getModel().getNode() instanceof NEFEnsemble) {
((NEFEnsemble) (getModel().getNode())).removeDecodedOrigin(getModel().getName());
showPopupMessage("decoded termination removed from ensemble");
} else {
Util.Assert(false, "Decoded Origin not attached to NEFEnsemble"... |
diff --git a/src/com/android/launcher2/AllAppsView.java b/src/com/android/launcher2/AllAppsView.java
index 9e222319..0c45075c 100644
--- a/src/com/android/launcher2/AllAppsView.java
+++ b/src/com/android/launcher2/AllAppsView.java
@@ -1,1444 +1,1444 @@
/*
* Copyright (C) 2008 The Android Open Source Project
*
* ... | true | true | public boolean onKeyDown(int keyCode, KeyEvent event) {
boolean handled = false;
if (!isVisible()) {
return false;
}
final int iconCount = mRollo.mState.iconCount;
if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
i... | public boolean onKeyDown(int keyCode, KeyEvent event) {
boolean handled = false;
if (!isVisible()) {
return false;
}
final int iconCount = mRollo.mState.iconCount;
if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
i... |
diff --git a/be.norio.twunch.android/src/be/norio/twunch/android/TwunchActivity.java b/be.norio.twunch.android/src/be/norio/twunch/android/TwunchActivity.java
index 4bbc75c..de9f019 100644
--- a/be.norio.twunch.android/src/be/norio/twunch/android/TwunchActivity.java
+++ b/be.norio.twunch.android/src/be/norio/twunch/and... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GoogleAnalyticsTracker.getInstance().trackPageView("Twunch");
setActionBarContentView(R.layout.twunch);
dbHelper = new DatabaseHelper(this);
db = dbHelper.getReadableDatabase();
cursor = db.query(TwunchManager.TABLE_NAME,... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GoogleAnalyticsTracker.getInstance().trackPageView("Twunch");
setActionBarContentView(R.layout.twunch);
dbHelper = new DatabaseHelper(this);
db = dbHelper.getReadableDatabase();
cursor = db.query(TwunchManager.TABLE_NAME,... |
diff --git a/search-impl/impl/src/java/org/sakaiproject/search/indexer/impl/ConcurrentSearchIndexBuilderWorkerImpl.java b/search-impl/impl/src/java/org/sakaiproject/search/indexer/impl/ConcurrentSearchIndexBuilderWorkerImpl.java
index d5b45746..459c7fcb 100644
--- a/search-impl/impl/src/java/org/sakaiproject/search/ind... | true | true | public void runOnce()
{
if (!enabled)
{
return;
}
if (componentManager.hasBeenClosed())
{
log.info("Component Manager has been closed");
return;
}
nowIndexing.set("-");
if (journalSettings.getSoakTest() && (searchService.getPendingDocs() == 0))
{
log.error("SOAK TEST---SOAK TEST---SOAK... | public void runOnce()
{
if (!enabled)
{
return;
}
if (componentManager.hasBeenClosed())
{
log.info("Component Manager has been closed");
return;
}
nowIndexing.set("-");
if (journalSettings.getSoakTest() && (searchService.getPendingDocs() == 0))
{
log.error("SOAK TEST---SOAK TEST---SOAK... |
diff --git a/src/soot/jimple/infoflow/data/Abstraction.java b/src/soot/jimple/infoflow/data/Abstraction.java
index 0b32f53..925d43f 100644
--- a/src/soot/jimple/infoflow/data/Abstraction.java
+++ b/src/soot/jimple/infoflow/data/Abstraction.java
@@ -1,613 +1,614 @@
/*****************************************************... | false | true | public final Abstraction deriveNewAbstraction(Value taint, boolean cutFirstField, Stmt currentStmt,
Type baseType){
assert !this.getAccessPath().isEmpty();
SootField[] orgFields = accessPath.getFields();
SootField[] fields = null;
if (orgFields != null) {
fields = new SootField[cutFirstField ? orgField... | public final Abstraction deriveNewAbstraction(Value taint, boolean cutFirstField, Stmt currentStmt,
Type baseType){
assert !this.getAccessPath().isEmpty();
SootField[] orgFields = accessPath.getFields();
SootField[] fields = null;
if (orgFields != null) {
fields = new SootField[cutFirstField ? orgField... |
diff --git a/src/org/apache/xalan/transformer/TransformerImpl.java b/src/org/apache/xalan/transformer/TransformerImpl.java
index e7ce4cf8..7cc72e8b 100644
--- a/src/org/apache/xalan/transformer/TransformerImpl.java
+++ b/src/org/apache/xalan/transformer/TransformerImpl.java
@@ -1,3536 +1,3537 @@
/*
* The Apache Soft... | true | true | public boolean applyTemplateToNode(ElemTemplateElement xslInstruction, // xsl:apply-templates or xsl:for-each
ElemTemplate template, int child)
throws TransformerException
{
DTM dtm = m_xcontext.getDTM(child);
short nodeType... | public boolean applyTemplateToNode(ElemTemplateElement xslInstruction, // xsl:apply-templates or xsl:for-each
ElemTemplate template, int child)
throws TransformerException
{
DTM dtm = m_xcontext.getDTM(child);
short nodeType... |
diff --git a/src/net/java/sip/communicator/plugin/branding/AboutWindow.java b/src/net/java/sip/communicator/plugin/branding/AboutWindow.java
index 2d6177cc3..b7ac60172 100644
--- a/src/net/java/sip/communicator/plugin/branding/AboutWindow.java
+++ b/src/net/java/sip/communicator/plugin/branding/AboutWindow.java
@@ -1,2... | true | true | public AboutWindow(Frame owner)
{
super(owner);
ResourceManagementService resources = BrandingActivator.getResources();
String applicationName
= resources.getSettingsString("service.gui.APPLICATION_NAME");
this.setTitle(
resources.getI18NString("plugin.... | public AboutWindow(Frame owner)
{
super(owner);
ResourceManagementService resources = BrandingActivator.getResources();
String applicationName
= resources.getSettingsString("service.gui.APPLICATION_NAME");
this.setTitle(
resources.getI18NString("plugin.... |
diff --git a/src/com/arantius/tivocommander/Discover.java b/src/com/arantius/tivocommander/Discover.java
index 4298e57..57352cb 100644
--- a/src/com/arantius/tivocommander/Discover.java
+++ b/src/com/arantius/tivocommander/Discover.java
@@ -1,383 +1,386 @@
/*
DVR Commander for TiVo allows control of a TiVo Premiere d... | true | true | public void serviceResolved(ServiceEvent event) {
ServiceInfo info = event.getInfo();
Utils.log("Discovery serviceResolved(): " + event.toString());
String name = event.getName();
String addr = info.getHostAddresses()[0];
String port = Integer.toString(info.getPort());
String tsn = "";
in... | public void serviceResolved(ServiceEvent event) {
ServiceInfo info = event.getInfo();
Utils.log("Discovery serviceResolved(): " + event.toString());
String name = event.getName();
String addr = info.getHostAddresses()[0];
String port = Integer.toString(info.getPort());
String tsn = "";
in... |
diff --git a/src/ee/ut/mancala/controller/GameController.java b/src/ee/ut/mancala/controller/GameController.java
index 1d6a025..c9286cd 100755
--- a/src/ee/ut/mancala/controller/GameController.java
+++ b/src/ee/ut/mancala/controller/GameController.java
@@ -1,281 +1,281 @@
package ee.ut.mancala.controller;
import ja... | true | true | public void start() {
SwingUtilities.invokeLater(new Runnable() {
/**
* Code to be run once the thead is started
*/
public void run() {
//View instance
final MainGui application = new MainGui();
//Model instance
final Game game = new Game("", "");
//wiring the Turn
game.getTu... | public void start() {
SwingUtilities.invokeLater(new Runnable() {
/**
* Code to be run once the thead is started
*/
public void run() {
//View instance
final MainGui application = new MainGui();
//Model instance
final Game game = new Game("", "");
//wiring the Turn
game.getTu... |
diff --git a/src/jackpal/androidterm/EmulatorView.java b/src/jackpal/androidterm/EmulatorView.java
index 4afa0a0..882ac93 100644
--- a/src/jackpal/androidterm/EmulatorView.java
+++ b/src/jackpal/androidterm/EmulatorView.java
@@ -1,2002 +1,2007 @@
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licens... | false | true | public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
outAttrs.inputType = mUseCookedIme ?
EditorInfo.TYPE_CLASS_TEXT :
EditorInfo.TYPE_NULL;
return new InputConnection() {
private boolean mInBatchEdit;
/**
* Used t... | public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
outAttrs.inputType = mUseCookedIme ?
EditorInfo.TYPE_CLASS_TEXT :
EditorInfo.TYPE_NULL;
return new InputConnection() {
private boolean mInBatchEdit;
/**
* Used t... |
diff --git a/src/main/java/features/mouse/Myers.java b/src/main/java/features/mouse/Myers.java
index a6ecf89..585dc6e 100644
--- a/src/main/java/features/mouse/Myers.java
+++ b/src/main/java/features/mouse/Myers.java
@@ -1,22 +1,22 @@
package features.mouse;
public class Myers implements features.Myers {
@Ove... | false | true | public String getName(int lineA, int lineB, int lineC) {
if (lineA <= 0 || lineB <= 0 || lineC <= 0) {
throw new IllegalArgumentException();
}
if (lineA == lineB && lineB == lineC) {
return "";
} else if (lineA == lineB || lineB == lineC || lineC == lineA) {
return "";
} else {
return "";
... | public String getName(int lineA, int lineB, int lineC) {
if (lineA <= 0 || lineB <= 0 || lineC <= 0) {
throw new IllegalArgumentException();
}
if (lineA == lineB && lineB == lineC) {
return "���O�p�`";
} else if (lineA == lineB || lineB == lineC || lineC == lineA) {
return "�ӎO�p�`";
} else {... |
diff --git a/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java b/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java
index 72d38f37..cf86bbf8 100644
--- a/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java
+++ b/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java
@@ -1,747 +1,746 @@
... | false | true | public Packet decodePacket(RTMP rtmp, ByteBuffer in) {
final int remaining = in.remaining();
// We need at least one byte
if (remaining < 1) {
rtmp.bufferDecoding(1);
return null;
}
final int position = in.position();
final byte headerByte = in.get();
final byte channelId = RTMPUtils.decodeCh... | public Packet decodePacket(RTMP rtmp, ByteBuffer in) {
final int remaining = in.remaining();
// We need at least one byte
if (remaining < 1) {
rtmp.bufferDecoding(1);
return null;
}
final int position = in.position();
final byte headerByte = in.get();
final byte channelId = RTMPUtils.decodeCh... |
diff --git a/src/helpers/Evaluator.java b/src/helpers/Evaluator.java
index 6323c9c..61f4f15 100644
--- a/src/helpers/Evaluator.java
+++ b/src/helpers/Evaluator.java
@@ -1,72 +1,72 @@
package helpers;
import org.encog.neural.data.basic.BasicNeuralDataSet;
import techniques.EvaluationTechnique;
public class Eva... | true | true | public void makeLine(String type, double te, Labeler prefix, BasicNeuralDataSet dataSet) {
DataMapper dataMapper = dataLoader.getMapper();
PerfResults perf = this.technique.testPerformance(dataSet, dataMapper,false);
System.out.println(type + "," + prefix.get(technique.getCurrentSize()) + "," + te + "," +
(t... | public void makeLine(String type, double te, Labeler prefix, BasicNeuralDataSet dataSet) {
DataMapper dataMapper = dataLoader.getMapper();
PerfResults perf = this.technique.testPerformance(dataSet, dataMapper,false);
System.out.println(type + "," + prefix.get(technique.getCurrentSize()) + "," + te + "," +
(t... |
diff --git a/war-core/src/main/java/com/stratelia/webactiv/agenda/servlets/AgendaRequestRouter.java b/war-core/src/main/java/com/stratelia/webactiv/agenda/servlets/AgendaRequestRouter.java
index 481f8d9c46..eed3afb7c2 100644
--- a/war-core/src/main/java/com/stratelia/webactiv/agenda/servlets/AgendaRequestRouter.java
++... | true | true | public String getDestination(String function,
ComponentSessionController componentSC, HttpServletRequest request) {
SilverTrace.info("agenda", "AgendaRequestRouter.getDestination()",
"root.MSG_GEN_ENTER_METHOD");
AgendaSessionController scc = (AgendaSessionController) componentSC;
String de... | public String getDestination(String function,
ComponentSessionController componentSC, HttpServletRequest request) {
SilverTrace.info("agenda", "AgendaRequestRouter.getDestination()",
"root.MSG_GEN_ENTER_METHOD");
AgendaSessionController scc = (AgendaSessionController) componentSC;
String de... |
diff --git a/sirocco-cimi-command-line-tools/src/main/java/org/ow2/sirocco/cimi/tools/MachineShowCommand.java b/sirocco-cimi-command-line-tools/src/main/java/org/ow2/sirocco/cimi/tools/MachineShowCommand.java
index df2983d..4b7daa5 100644
--- a/sirocco-cimi-command-line-tools/src/main/java/org/ow2/sirocco/cimi/tools/Ma... | true | true | public static void printMachine(final Machine machine, final ResourceSelectExpandParams showParams)
throws CimiClientException {
Table table = CommandHelper.createResourceShowTable(machine, showParams);
if (showParams.isSelected("state") && machine.getState() != null) {
table.ad... | public static void printMachine(final Machine machine, final ResourceSelectExpandParams showParams)
throws CimiClientException {
Table table = CommandHelper.createResourceShowTable(machine, showParams);
if (showParams.isSelected("state") && machine.getState() != null) {
table.ad... |
diff --git a/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/filter/AbstractNavigationUIFilterMarkerAttribute.java b/org.eclipse.riena.navigation.ui/src/org/eclipse/riena/internal/navigation/ui/filter/AbstractNavigationUIFilterMarkerAttribute.java
index 892d7f223..bd86a449a 100644
--- a/org... | true | true | public boolean matches(Object object) {
if (object instanceof INavigationNode) {
INavigationNode node = (INavigationNode) object;
return (nodeId.startsWith(((INavigationNode) object).getNodeId().getTypeId()));
} else {
return false;
}
}
| public boolean matches(Object object) {
if (object instanceof INavigationNode) {
INavigationNode node = (INavigationNode) object;
if (node.getNodeId() != null) {
return (nodeId.startsWith(((INavigationNode) node).getNodeId().getTypeId()));
} else {
return false;
}
} else {
return false;
}... |
diff --git a/src/java/org/infoglue/deliver/taglib/management/GroupsWithMatchingPropertyTag.java b/src/java/org/infoglue/deliver/taglib/management/GroupsWithMatchingPropertyTag.java
index 5a2eda30a..aa0e436a8 100755
--- a/src/java/org/infoglue/deliver/taglib/management/GroupsWithMatchingPropertyTag.java
+++ b/src/java/o... | true | true | public int doEndTag() throws JspException
{
if(languageId == null)
languageId = getController().getLanguageId();
setResultAttribute(getController().getGroupsByMatchingProperty(propertyName, propertyValue, languageId, useLanguageFallback));
this.propertyName = null;
this.propertyValue = null;
this.... | public int doEndTag() throws JspException
{
if(languageId == null)
languageId = getController().getLanguageId();
setResultAttribute(getController().getGroupsByMatchingProperty(propertyName, propertyValue, languageId, useLanguageFallback));
this.propertyName = null;
this.propertyValue = null;
this.... |
diff --git a/src/main/org/w3c/tidy/Lexer.java b/src/main/org/w3c/tidy/Lexer.java
index 969ba97..f68966b 100644
--- a/src/main/org/w3c/tidy/Lexer.java
+++ b/src/main/org/w3c/tidy/Lexer.java
@@ -1,3472 +1,3472 @@
/**
* Java HTML Tidy - JTidy
* HTML parser and pretty printer
*
* Copyright (c) 1998-2000 World Wide ... | true | true | public Node getToken(short mode)
{
short map;
int c = 0;
int badcomment = 0;
MutableBoolean isempty = new MutableBoolean();
AttVal attributes;
if (this.pushed)
{
/* duplicate inlines in preference to pushed text nodes when appropriate */
... | public Node getToken(short mode)
{
short map;
int c = 0;
int badcomment = 0;
MutableBoolean isempty = new MutableBoolean();
AttVal attributes;
if (this.pushed)
{
/* duplicate inlines in preference to pushed text nodes when appropriate */
... |
diff --git a/h2/src/main/org/h2/command/Command.java b/h2/src/main/org/h2/command/Command.java
index e979c9517..1005afc74 100644
--- a/h2/src/main/org/h2/command/Command.java
+++ b/h2/src/main/org/h2/command/Command.java
@@ -1,230 +1,237 @@
/*
* Copyright 2004-2008 H2 Group. Multiple-Licensed under the H2 License,
... | true | true | public int executeUpdate() throws SQLException {
startTime = System.currentTimeMillis();
Database database = session.getDatabase();
Object sync = database.getMultiThreaded() ? (Object) session : (Object) database;
session.waitIfExclusiveModeEnabled();
synchronized (sync) {
... | public int executeUpdate() throws SQLException {
startTime = System.currentTimeMillis();
Database database = session.getDatabase();
Object sync = database.getMultiThreaded() ? (Object) session : (Object) database;
session.waitIfExclusiveModeEnabled();
synchronized (sync) {
... |
diff --git a/extension/app-schema/app-schema-test/src/test/java/org/geoserver/test/DataAccessIntegrationMockData.java b/extension/app-schema/app-schema-test/src/test/java/org/geoserver/test/DataAccessIntegrationMockData.java
index d067626c0..ec44a155c 100644
--- a/extension/app-schema/app-schema-test/src/test/java/org/... | true | true | protected void addContent() {
putNamespace(MO_PREFIX, MO_URI);
addFeatureType(GSML_PREFIX, "MappedFeature", "MappedFeatureAsOccurrence.xml",
"MappedFeaturePropertyfile.properties");
// GeologicUnit is the output type with a mock MO:EarthResource data access as an
// i... | protected void addContent() {
putNamespace(MO_PREFIX, MO_URI);
addFeatureType(GSML_PREFIX, "MappedFeature", "MappedFeatureAsOccurrence.xml",
"MappedFeaturePropertyfile.properties");
// GeologicUnit is the output type with a mock MO:EarthResource data access as an
// i... |
diff --git a/src/uk/org/smithfamily/mslogger/activity/MSLoggerActivity.java b/src/uk/org/smithfamily/mslogger/activity/MSLoggerActivity.java
index 263a76c..18b838e 100644
--- a/src/uk/org/smithfamily/mslogger/activity/MSLoggerActivity.java
+++ b/src/uk/org/smithfamily/mslogger/activity/MSLoggerActivity.java
@@ -1,1206 ... | true | true | public void bindIndicatorsEvents()
{
for (int i = 0; i < indicators.length; i++)
{
indicators[i].setGestureDetector(new GestureDetector(new IndicatorGestureListener(MSLoggerActivity.this, indicators[i], i)));
OnTouchListener gestureListener = new View.OnTouch... | public void bindIndicatorsEvents()
{
for (int i = 0; i < indicators.length; i++)
{
indicators[i].setGestureDetector(new GestureDetector(new IndicatorGestureListener(MSLoggerActivity.this, indicators[i], i)));
OnTouchListener gestureListener = new View.OnTouch... |
diff --git a/src/edgruberman/bukkit/simpledeathnotices/Main.java b/src/edgruberman/bukkit/simpledeathnotices/Main.java
index e069915..d8be2f9 100644
--- a/src/edgruberman/bukkit/simpledeathnotices/Main.java
+++ b/src/edgruberman/bukkit/simpledeathnotices/Main.java
@@ -1,139 +1,139 @@
package edgruberman.bukkit.simpled... | true | true | public void describeEvent(EntityEvent event) {
Entity damager = null;
String damagerName = "";
if (event instanceof EntityDamageByBlockEvent) {
damagerName = " " + ((EntityDamageByBlockEvent) event).getDamager().getType().toString().toLowerCase();
} else if (event instanc... | public void describeEvent(EntityEvent event) {
Entity damager = null;
String damagerName = "";
if (event instanceof EntityDamageByBlockEvent) {
damagerName = " " + ((EntityDamageByBlockEvent) event).getDamager().getType().toString().toLowerCase();
} else if (event instanc... |
diff --git a/demos/distexec/src/main/java/org/infinispan/demo/distexec/CacheBuilder.java b/demos/distexec/src/main/java/org/infinispan/demo/distexec/CacheBuilder.java
index 2246366b1f..295841034d 100644
--- a/demos/distexec/src/main/java/org/infinispan/demo/distexec/CacheBuilder.java
+++ b/demos/distexec/src/main/java/... | false | true | public CacheBuilder(String ispnConfigFile, String transportConfigFile) throws IOException {
String defaultTransportConfigFile = "tcp.xml";
String transportFile = findConfigFile(transportConfigFile, defaultTransportConfigFile);
if (transportFile == null)
throw new IllegalArgumentException(... | public CacheBuilder(String ispnConfigFile, String transportConfigFile) throws IOException {
String defaultTransportConfigFile = "tcp.xml";
String transportFile = findConfigFile(transportConfigFile, defaultTransportConfigFile);
if (transportFile == null)
throw new IllegalArgumentException(... |
diff --git a/hazelcast/src/test/java/com/hazelcast/test/HazelcastParallelClassRunner.java b/hazelcast/src/test/java/com/hazelcast/test/HazelcastParallelClassRunner.java
index 4fbdf069f7..1010df6aea 100644
--- a/hazelcast/src/test/java/com/hazelcast/test/HazelcastParallelClassRunner.java
+++ b/hazelcast/src/test/java/co... | true | true | protected void runChild(final FrameworkMethod method, final RunNotifier notifier) {
while (numThreads.get() > MAX_THREADS) {
try {
Thread.sleep(25);
} catch (InterruptedException e) {
System.err.println("Interrupted: " + method.getName());
... | protected void runChild(final FrameworkMethod method, final RunNotifier notifier) {
while (numThreads.get() >= MAX_THREADS) {
try {
Thread.sleep(25);
} catch (InterruptedException e) {
System.err.println("Interrupted: " + method.getName());
... |
diff --git a/mobile/android/src/com/obscure/titouchdb/ViewCouchQueryProxy.java b/mobile/android/src/com/obscure/titouchdb/ViewCouchQueryProxy.java
index 1a1f1cc..8660282 100644
--- a/mobile/android/src/com/obscure/titouchdb/ViewCouchQueryProxy.java
+++ b/mobile/android/src/com/obscure/titouchdb/ViewCouchQueryProxy.java... | true | true | public CouchQueryEnumeratorProxy rows() {
TDStatus status;
// first, update the index
status = view.updateIndex();
if (status.getCode() != TDStatus.OK) {
Log.w(LCAT, "problem updating view: " + status);
return null;
}
// next, query with view options
List<Map<String,Object>> rows = view.queryWi... | public CouchQueryEnumeratorProxy rows() {
TDStatus status;
// first, update the index
status = view.updateIndex();
if (status.getCode() != TDStatus.OK && status.getCode() != TDStatus.NOT_MODIFIED) {
Log.w(LCAT, "problem updating view: " + status);
return null;
}
// next, query with view options
... |
diff --git a/src/main/java/de/paralleluniverse/Faithcaio/AuctionHouse/Auction.java b/src/main/java/de/paralleluniverse/Faithcaio/AuctionHouse/Auction.java
index 0af0403..73c217f 100644
--- a/src/main/java/de/paralleluniverse/Faithcaio/AuctionHouse/Auction.java
+++ b/src/main/java/de/paralleluniverse/Faithcaio/AuctionHo... | true | true | public boolean undobid(final Player bidder)//evtl nicht bool / bessere Unterscheidung
{
//is last bidder?
if (bidder != this.bids.peek().getBidder())
{ return false; }
//calculate UndoTime from config
long undoTime = config.auction_UndoTimer / 1000;
if... | public boolean undobid(final Player bidder)//evtl nicht bool / bessere Unterscheidung
{
//is last bidder?
if (bidder != this.bids.peek().getBidder())
{ return false; }
//calculate UndoTime from config
long undoTime = config.auction_undoTimer / 1000;
if... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.