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/java/TJExample.java b/java/TJExample.java
index e726892..1480941 100644
--- a/java/TJExample.java
+++ b/java/TJExample.java
@@ -1,340 +1,342 @@
/*
* Copyright (C)2011-2012 D. R. Commander. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... | true | true | public static void main(String argv[]) {
BufferedImage img = null; byte[] bmpBuf = null;
TJTransform xform = new TJTransform();
int flags = 0;
try {
sf = TJ.getScalingFactors();
if(argv.length < 2) {
usage();
}
TJScalingFactor scaleFactor = new TJScalingFactor(1, ... | public static void main(String argv[]) {
BufferedImage img = null; byte[] bmpBuf = null;
TJTransform xform = new TJTransform();
int flags = 0;
try {
sf = TJ.getScalingFactors();
if(argv.length < 2) {
usage();
}
TJScalingFactor scaleFactor = new TJScalingFactor(1, ... |
diff --git a/src/main/java/translator/Main.java b/src/main/java/translator/Main.java
index 03ee073..2beaf8c 100644
--- a/src/main/java/translator/Main.java
+++ b/src/main/java/translator/Main.java
@@ -1,47 +1,46 @@
package translator;
import org.apache.commons.lang3.tuple.Pair;
import translator.domain.Vocab;
imp... | false | true | private void go() throws Exception {
File srcDir = new File("src/main/resources");
//File targetDir = new File("out/mp3");
File targetDir = new File("e:/French");
for (File file : srcDir.listFiles()) {
if (!file.getName().equals("Unit3-noms.txt"))
continue... | private void go() throws Exception {
File srcDir = new File("src/main/resources");
// File targetDir = new File("c:/vagrant/mp3");
// File targetDir = new File("out/mp3");
File targetDir = new File("e:/French");
for (File file : srcDir.listFiles()) {
VocabSet vocabS... |
diff --git a/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorManipulatorUtils.java b/bundles/org.eclipse.equinox.simpleconfigurator.manipulator/src/org/eclipse/equinox/internal/simpleconfigurator/manipulator/SimpleConfiguratorM... | true | true | public static void writeConfiguration(BundleInfo[] simpleInfos, OutputStream stream) throws IOException {
// sort by symbolic name
Arrays.sort(simpleInfos, new Comparator() {
public int compare(Object o1, Object o2) {
if (o1 instanceof BundleInfo && o2 instanceof BundleInfo) {
return ((BundleInfo) o1).... | public static void writeConfiguration(BundleInfo[] simpleInfos, OutputStream stream) throws IOException {
// sort by symbolic name
Arrays.sort(simpleInfos, new Comparator() {
public int compare(Object o1, Object o2) {
if (o1 instanceof BundleInfo && o2 instanceof BundleInfo) {
BundleInfo b1 = (BundleIn... |
diff --git a/concourse-server/src/main/java/org/cinchapi/concourse/server/model/Storables.java b/concourse-server/src/main/java/org/cinchapi/concourse/server/model/Storables.java
index 2df29ccde..2047a6858 100644
--- a/concourse-server/src/main/java/org/cinchapi/concourse/server/model/Storables.java
+++ b/concourse-ser... | false | true | public int compare(Storable o1, Storable o2) {
// push notForStorage objects to the back so that we
// are sure to reach forStorage values
if(o1.isNotForStorage()) {
return o1.equals(o2) ? 0 : 1;
}
else if(o2.isNotForStorage()) {
return o1.equals(o2) ? 0 : -1;
}
else {
return -1 * Lon... | public int compare(Storable o1, Storable o2) {
// push notForStorage objects to the back so that we
// are sure to reach forStorage values
if(o1.isNotForStorage() && o2.isNotForStorage()) {
// FIXME: if both objects are notForStorage then the sorting
// order should be based on the logical values. Un... |
diff --git a/app/controllers/FBConnect.java b/app/controllers/FBConnect.java
index 351091c..8260f5c 100644
--- a/app/controllers/FBConnect.java
+++ b/app/controllers/FBConnect.java
@@ -1,146 +1,146 @@
package controllers;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson... | true | true | public static void callback() {
String code = params.get("code");
String error = params.get("error");
if (error != null) {
String landUrl = "/";
landUrl += landUrl.contains("?") ? "&" : "?";
landUrl += "error_reason=" + WS.encode(params.get("error_reason")... | public static void callback() {
String code = params.get("code");
String error = params.get("error");
if (error != null) {
String landUrl = "/";
landUrl += landUrl.contains("?") ? "&" : "?";
landUrl += "error_reason=" + WS.encode(params.get("error_reason")... |
diff --git a/luciddb/ext/aggdes/src/net/sf/luciddb/aggdes/LucidDbAggResultHandler.java b/luciddb/ext/aggdes/src/net/sf/luciddb/aggdes/LucidDbAggResultHandler.java
index 58b68ae52..1222b4bb6 100644
--- a/luciddb/ext/aggdes/src/net/sf/luciddb/aggdes/LucidDbAggResultHandler.java
+++ b/luciddb/ext/aggdes/src/net/sf/luciddb... | true | true | private void handleImpl(
Map<Parameter, Object> parameterValues,
Schema schema,
Result result)
throws Exception
{
AggregateTableOutputFactory outputFactory =
new AggregateTableOutputFactory();
List<Output> outputs = outputFactory.createOutputs... | private void handleImpl(
Map<Parameter, Object> parameterValues,
Schema schema,
Result result)
throws Exception
{
AggregateTableOutputFactory outputFactory =
new AggregateTableOutputFactory();
List<Output> outputs = outputFactory.createOutputs... |
diff --git a/src/org/intellij/erlang/formatter/ErlangFormattingModelBuilder.java b/src/org/intellij/erlang/formatter/ErlangFormattingModelBuilder.java
index b781285b..fe984e72 100644
--- a/src/org/intellij/erlang/formatter/ErlangFormattingModelBuilder.java
+++ b/src/org/intellij/erlang/formatter/ErlangFormattingModelBu... | true | true | private static SpacingBuilder createSpacingBuilder(CodeStyleSettings settings) {
TokenSet rules = TokenSet.create(ERL_RULE, ERL_RECORD_DEFINITION, ERL_INCLUDE, ERL_MACROS_DEFINITION, ERL_ATTRIBUTE);
return new SpacingBuilder(settings)
.before(ERL_COMMA).spaceIf(settings.SPACE_BEFORE_COMMA)
.after... | private static SpacingBuilder createSpacingBuilder(CodeStyleSettings settings) {
TokenSet rules = TokenSet.create(ERL_RULE, ERL_RECORD_DEFINITION, ERL_INCLUDE, ERL_MACROS_DEFINITION, ERL_ATTRIBUTE);
return new SpacingBuilder(settings)
.before(ERL_COMMA).spaceIf(settings.SPACE_BEFORE_COMMA)
.after... |
diff --git a/org.eclipse.mylyn.reviews.r4e.ui/src/org/eclipse/mylyn/reviews/r4e/ui/internal/navigator/ReviewNavigatorDecorator.java b/org.eclipse.mylyn.reviews.r4e.ui/src/org/eclipse/mylyn/reviews/r4e/ui/internal/navigator/ReviewNavigatorDecorator.java
index 4184ce63..9cecd1ce 100644
--- a/org.eclipse.mylyn.reviews.r4e... | false | true | public Image decorateImage(Image aBaseImage, Object aElement) { // $codepro.audit.disable
//If the image is not already loaded, do it here
Image currentOverlayImage;
if (null != aBaseImage) {
currentOverlayImage = aBaseImage;
} else {
currentOverlayImage = ((IR4EUIModelElement) aElement).getImage(((IR4E... | public Image decorateImage(Image aBaseImage, Object aElement) { // $codepro.audit.disable
//If the image is not already loaded, do it here
Image currentOverlayImage;
if (null != aBaseImage) {
currentOverlayImage = aBaseImage;
} else {
currentOverlayImage = ((IR4EUIModelElement) aElement).getImage(((IR4E... |
diff --git a/src/me/jascotty2/clanstats/Main.java b/src/me/jascotty2/clanstats/Main.java
index 158548f..2c8d845 100755
--- a/src/me/jascotty2/clanstats/Main.java
+++ b/src/me/jascotty2/clanstats/Main.java
@@ -1,354 +1,354 @@
/**
* Copyright (C) 2012 Jacob Scott <jascottytechie@gmail.com>
* Description: Provides me... | false | true | public static void main(String[] args) {
st = System.currentTimeMillis();
if (args.length > 0) {
// command: java -jar ClanStats.jar [options] <clan>
// options: -f <output file> save to file. options: %c -> clan name, %a clan tag
// -d <directory> change save directory (if -f not defined)
// ... | public static void main(String[] args) {
st = System.currentTimeMillis();
if (args.length > 0) {
// command: java -jar ClanStats.jar [options] <clan>
// options: -f <output file> save to file. options: %c -> clan name, %a clan tag
// -d <directory> change save directory (if -f not defined)
// ... |
diff --git a/Desktop/src/org/mitre/opensextant/desktop/ui/forms/ConfigFrameImpl.java b/Desktop/src/org/mitre/opensextant/desktop/ui/forms/ConfigFrameImpl.java
index aee3c67..f4a3675 100644
--- a/Desktop/src/org/mitre/opensextant/desktop/ui/forms/ConfigFrameImpl.java
+++ b/Desktop/src/org/mitre/opensextant/desktop/ui/fo... | true | true | public ConfigFrameImpl() {
super();
this.configHelper = ConfigHelper.getInstance();
cacheText.setText(configHelper.getCacheRoot());
tempText.setText(configHelper.getTmpRoot());
outputText.setText(configHelper.getOutLocation());
threadCount.setValue(configHelper.getN... | public ConfigFrameImpl() {
super();
this.configHelper = ConfigHelper.getInstance();
cacheText.setText(configHelper.getCacheRoot());
tempText.setText(configHelper.getTmpRoot());
outputText.setText(configHelper.getOutLocation());
threadCount.setValue(configHelper.getN... |
diff --git a/web/server/src/classes/org/jdesktop/wonderland/webserver/RunAppServer.java b/web/server/src/classes/org/jdesktop/wonderland/webserver/RunAppServer.java
index 42dd9d20a..9e65321a0 100644
--- a/web/server/src/classes/org/jdesktop/wonderland/webserver/RunAppServer.java
+++ b/web/server/src/classes/org/jdeskto... | true | true | private void deployWebApps() throws IOException {
WonderlandAppServer as = getAppServer();
// copy files to document root of web server
InputStream is = WebServerLauncher.class.getResourceAsStream("/META-INF/docroot.files");
BufferedReader in = in = new BufferedReade... | private void deployWebApps() throws IOException {
WonderlandAppServer as = getAppServer();
// copy files to document root of web server
InputStream is = WebServerLauncher.class.getResourceAsStream("/META-INF/docroot.files");
BufferedReader in = in = new BufferedReade... |
diff --git a/src/main/java/com/jin/tpdb/persistence/DAO.java b/src/main/java/com/jin/tpdb/persistence/DAO.java
index 5d5d69a..d38998d 100755
--- a/src/main/java/com/jin/tpdb/persistence/DAO.java
+++ b/src/main/java/com/jin/tpdb/persistence/DAO.java
@@ -1,116 +1,116 @@
package com.jin.tpdb.persistence;
import java.u... | true | true | public Long getAlbumTotalComments(int id) {
/*$albums_query = "SELECT users.username, albums.album_id, albums.uploader_user_id, albums.album_name,
albums.upload_date, albums.cover, albums.description, artists.artist_name,
(SELECT COUNT( comment_id ) FROM comments WHERE comments.album_id = albums.albu... | public Long getAlbumTotalComments(int id) {
/*$albums_query = "SELECT users.username, albums.album_id, albums.uploader_user_id, albums.album_name,
albums.upload_date, albums.cover, albums.description, artists.artist_name,
(SELECT COUNT( comment_id ) FROM comments WHERE comments.album_id = albums.albu... |
diff --git a/DragonsReign/src/dragonsreign/scene/InventoryScene.java b/DragonsReign/src/dragonsreign/scene/InventoryScene.java
index 4c82d22..c438fb9 100644
--- a/DragonsReign/src/dragonsreign/scene/InventoryScene.java
+++ b/DragonsReign/src/dragonsreign/scene/InventoryScene.java
@@ -1,434 +1,434 @@
package dragonsrei... | false | true | public void createScene() {
camera.setChaseEntity(null);
camera.offsetCenter(camera.getCenterX() * -1, camera.getCenterY() * -1);
inventoryChildScene = new MenuScene(camera);
setChildScene(inventoryChildScene);
// TODO
// use imported characters
mPlayer = new PlayerCharacter[3];
mPlayer[0] = new War... | public void createScene() {
camera.setChaseEntity(null);
camera.offsetCenter(camera.getCenterX() * -1, camera.getCenterY() * -1);
inventoryChildScene = new MenuScene(camera);
setChildScene(inventoryChildScene);
// TODO
// use imported characters
mPlayer = new PlayerCharacter[3];
mPlayer[0] = new War... |
diff --git a/src/ibis/ipl/impl/stacking/lrmc/LrmcIbis.java b/src/ibis/ipl/impl/stacking/lrmc/LrmcIbis.java
index 8668650c..f99a4d58 100644
--- a/src/ibis/ipl/impl/stacking/lrmc/LrmcIbis.java
+++ b/src/ibis/ipl/impl/stacking/lrmc/LrmcIbis.java
@@ -1,392 +1,392 @@
package ibis.ipl.impl.stacking.lrmc;
import ibis.ipl.... | true | true | public LrmcIbis(IbisFactory factory,
RegistryEventHandler registryEventHandler,
Properties userProperties, IbisCapabilities capabilities,
Credentials credentials, PortType[] portTypes,
String specifiedSubImplementation, LrmcIbisStarter lrmcIbisStarter)
thr... | public LrmcIbis(IbisFactory factory,
RegistryEventHandler registryEventHandler,
Properties userProperties, IbisCapabilities capabilities,
Credentials credentials, PortType[] portTypes,
String specifiedSubImplementation, LrmcIbisStarter lrmcIbisStarter)
thr... |
diff --git a/core/src/main/java/org/apache/accumulo/core/util/SimpleThreadPool.java b/core/src/main/java/org/apache/accumulo/core/util/SimpleThreadPool.java
index 267b4515e..f1645277a 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/SimpleThreadPool.java
+++ b/core/src/main/java/org/apache/accumulo/core/ut... | true | true | public SimpleThreadPool(int max, final String name) {
super(0, max, 1l, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamingThreadFactory(name));
}
| public SimpleThreadPool(int max, final String name) {
super(max, max, 1l, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamingThreadFactory(name));
allowCoreThreadTimeOut(true);
}
|
diff --git a/src/main/java/net/LoadingChunks/LeGreenText/LeGreenTextEventListener.java b/src/main/java/net/LoadingChunks/LeGreenText/LeGreenTextEventListener.java
index 0c88afe..0852608 100644
--- a/src/main/java/net/LoadingChunks/LeGreenText/LeGreenTextEventListener.java
+++ b/src/main/java/net/LoadingChunks/LeGreenTe... | true | true | public void onChat(AsyncPlayerChatEvent event) {
if(event.getMessage().startsWith(">")) {
event.setMessage(ChatColor.GREEN + event.getMessage());
}
}
| public void onChat(AsyncPlayerChatEvent event) {
if(event.getMessage().startsWith("> ")) {
event.setMessage(ChatColor.GREEN + event.getMessage());
}
}
|
diff --git a/wicket-security-swarm/src/test/java/org/apache/wicket/security/swarm/actions/SwarmActionTest.java b/wicket-security-swarm/src/test/java/org/apache/wicket/security/swarm/actions/SwarmActionTest.java
index 0bf202d5f..6a4685a39 100644
--- a/wicket-security-swarm/src/test/java/org/apache/wicket/security/swarm/... | true | true | protected void setUp()
{
mock = new WicketTester(application = new SwarmWebApplication()
{
protected Object getHiveKey()
{
return "action test";
}
protected void setUpHive()
{
PolicyFileHiveFactory factory = new PolicyFileHiveFactory();
// don't need policy for this simple test
Hi... | protected void setUp()
{
mock = new WicketTester(application = new SwarmWebApplication()
{
protected Object getHiveKey()
{
return "action test";
}
protected void setUpHive()
{
PolicyFileHiveFactory factory = new PolicyFileHiveFactory();
// don't need policy for this simple test
Hi... |
diff --git a/src/java/com/sapienter/jbilling/server/payment/tasks/SaveCreditCardExternallyTask.java b/src/java/com/sapienter/jbilling/server/payment/tasks/SaveCreditCardExternallyTask.java
index c6f58c57..2ebd1be8 100644
--- a/src/java/com/sapienter/jbilling/server/payment/tasks/SaveCreditCardExternallyTask.java
+++ b/... | true | true | public void process(Event event) throws PluggableTaskException {
PluggableTaskBL<IExternalCreditCardStorage> ptbl = new PluggableTaskBL<IExternalCreditCardStorage>(getExternalSavingPluginId());
IExternalCreditCardStorage externalCCStorage = ptbl.instantiateTask();
if (event instanceof NewCr... | public void process(Event event) throws PluggableTaskException {
PluggableTaskBL<IExternalCreditCardStorage> ptbl = new PluggableTaskBL<IExternalCreditCardStorage>(getExternalSavingPluginId());
IExternalCreditCardStorage externalCCStorage = ptbl.instantiateTask();
if (event instanceof NewCr... |
diff --git a/src/main/java/org/basex/query/util/crypto/Encryption.java b/src/main/java/org/basex/query/util/crypto/Encryption.java
index 8de451d66..7914c9e01 100644
--- a/src/main/java/org/basex/query/util/crypto/Encryption.java
+++ b/src/main/java/org/basex/query/util/crypto/Encryption.java
@@ -1,235 +1,237 @@
packag... | true | true | public Str encryption(final byte[] in, final byte[] s,
final byte[] k, final byte[] a, final boolean ec)
throws QueryException {
final boolean symmetric = eq(lc(s), SYM);
final byte[] tivl = ALGE.get(lc(a));
if(!symmetric || tivl == null)
CRYPTOINVALGO.thrw(input, s);
// initial... | public Str encryption(final byte[] in, final byte[] s,
final byte[] k, final byte[] a, final boolean ec)
throws QueryException {
final boolean symmetric = eq(lc(s), SYM);
final byte[] tivl = ALGE.get(lc(a));
if(!symmetric)
CRYPTOENCTYP.thrw(input, ec);
if(tivl == null)
CRY... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/util/FakeHttpSession.java b/modules/cpr/src/main/java/org/atmosphere/util/FakeHttpSession.java
index 3e210466e..783e7a56e 100644
--- a/modules/cpr/src/main/java/org/atmosphere/util/FakeHttpSession.java
+++ b/modules/cpr/src/main/java/org/atmosphere/util/FakeHttpSess... | true | true | public FakeHttpSession copyAttributes(HttpSession httpSession){
Enumeration<String> e = httpSession.getAttributeNames();
String k;
while(e.hasMoreElements()) {
k = e.nextElement();
if (k == null) continue;
Object o = getAttribute(k);
if (o == ... | public FakeHttpSession copyAttributes(HttpSession httpSession){
Enumeration<String> e = httpSession.getAttributeNames();
String k;
while(e.hasMoreElements()) {
k = e.nextElement();
if (k == null) continue;
Object o = httpSession.getAttribute(k);
... |
diff --git a/src/com/bukkit/erbros/Lottery/Lottery.java b/src/com/bukkit/erbros/Lottery/Lottery.java
index f6ccc2e..2fa75bc 100644
--- a/src/com/bukkit/erbros/Lottery/Lottery.java
+++ b/src/com/bukkit/erbros/Lottery/Lottery.java
@@ -1,92 +1,92 @@
package com.bukkit.erbros.Lottery;
//All the imports
import java.io.Fi... | true | true | public void onEnable() {
// Gets version number and writes out starting line to console.
PluginDescriptionFile pdfFile = this.getDescription();
System.out.println( pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled" );
// Start Registration. Thanks TheYeti.
getDataFolder().mkdirs();
... | public void onEnable() {
// Gets version number and writes out starting line to console.
PluginDescriptionFile pdfFile = this.getDescription();
System.out.println( pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled" );
// Start Registration. Thanks TheYeti.
getDataFolder().mkdirs();
... |
diff --git a/GnuBackgammon/src/it/alcacoop/backgammon/layers/TwoPlayersScreen.java b/GnuBackgammon/src/it/alcacoop/backgammon/layers/TwoPlayersScreen.java
index bc22e5c..6193644 100644
--- a/GnuBackgammon/src/it/alcacoop/backgammon/layers/TwoPlayersScreen.java
+++ b/GnuBackgammon/src/it/alcacoop/backgammon/layers/TwoPl... | true | true | public TwoPlayersScreen(){
ClickListener cl = new ClickListener() {
public void clicked(InputEvent event, float x, float y) {
String s = ((TextButton)event.getListenerActor()).getText().toString().toUpperCase();
if (!s.equals("BACK"))
s+=variant;
GnuBackgammon.fsm.processEv... | public TwoPlayersScreen(){
ClickListener cl = new ClickListener() {
public void clicked(InputEvent event, float x, float y) {
String s = ((TextButton)event.getListenerActor()).getText().toString().toUpperCase();
if (!s.equals("BACK"))
s+=variant;
GnuBackgammon.fsm.processEv... |
diff --git a/src/ru/spbau/bioinf/tagfinder/AllDataGenerator.java b/src/ru/spbau/bioinf/tagfinder/AllDataGenerator.java
index 77d3489..fa03e7d 100644
--- a/src/ru/spbau/bioinf/tagfinder/AllDataGenerator.java
+++ b/src/ru/spbau/bioinf/tagfinder/AllDataGenerator.java
@@ -1,11 +1,25 @@
package ru.spbau.bioinf.tagfinder;
... | false | true | public static void main(String[] args) throws Exception {
ValidTags.main(args);
TexTableGenerator.main(args);
CalculateRelation.main(args);
IntencityTableGenerator.main(args);
}
| public static void main(String[] args) throws Exception {
//ValidTags.main(args);
System.out.println("\\documentclass{article}\n" +
"\\usepackage{multirow}\n" +
"\\usepackage{lscape}\n" +
"\\usepackage{morefloats}\n" +
"\\usepackage{gra... |
diff --git a/gui/src/java/com/robonobo/gui/tasks/ImportFilesTask.java b/gui/src/java/com/robonobo/gui/tasks/ImportFilesTask.java
index 6beca2a..59c6bd2 100644
--- a/gui/src/java/com/robonobo/gui/tasks/ImportFilesTask.java
+++ b/gui/src/java/com/robonobo/gui/tasks/ImportFilesTask.java
@@ -1,63 +1,63 @@
package com.robo... | true | true | public void runTask() throws Exception {
log.info("Running import files task for "+files.size()+" files");
List<String> streamIds = new ArrayList<String>();
int totalSz = files.size();
int i = 0;
Iterator<File> it = files.iterator();
try {
while (it.hasNext()) {
if (cancelRequested) {
cancelCon... | public void runTask() throws Exception {
log.info("Running import files task for "+files.size()+" files");
List<String> streamIds = new ArrayList<String>();
int totalSz = files.size();
int i = 0;
Iterator<File> it = files.iterator();
try {
while (it.hasNext()) {
if (cancelRequested) {
cancelCon... |
diff --git a/com/zolli/rodolffoutilsreloaded/listeners/playerListener.java b/com/zolli/rodolffoutilsreloaded/listeners/playerListener.java
index eacd696..2e0ff69 100644
--- a/com/zolli/rodolffoutilsreloaded/listeners/playerListener.java
+++ b/com/zolli/rodolffoutilsreloaded/listeners/playerListener.java
@@ -1,280 +1,28... | true | true | public void buttonPress(PlayerInteractEvent e) {
pl = e.getPlayer();
if(e.getClickedBlock() != null && e.getAction() != null && e.getClickedBlock().getTypeId() == 77 && e.getAction().equals(Action.RIGHT_CLICK_BLOCK)) {
Location buttonLoc = e.getClickedBlock().getLocation();
String[] scanResult = c... | public void buttonPress(PlayerInteractEvent e) {
pl = e.getPlayer();
if(e.getClickedBlock() != null && e.getAction() != null && e.getClickedBlock().getTypeId() == 77 && (e.getAction().equals(Action.RIGHT_CLICK_BLOCK) || e.getAction().equals(Action.LEFT_CLICK_BLOCK))) {
Location buttonLoc = e.getClick... |
diff --git a/protostuff-json/src/main/java/com/dyuproject/protostuff/JsonOutput.java b/protostuff-json/src/main/java/com/dyuproject/protostuff/JsonOutput.java
index 14cc042..9ed409f 100644
--- a/protostuff-json/src/main/java/com/dyuproject/protostuff/JsonOutput.java
+++ b/protostuff-json/src/main/java/com/dyuproject/pr... | true | true | public <T> void writeObject(int fieldNumber, T value, Schema<T> schema, boolean repeated)
throws IOException
{
JsonGenerator generator = this.generator;
Schema<?> lastSchema = this.schema;
if(lastNumber != fieldNumber)
{
if(lastRepeated)
... | public <T> void writeObject(int fieldNumber, T value, Schema<T> schema, boolean repeated)
throws IOException
{
JsonGenerator generator = this.generator;
Schema<?> lastSchema = this.schema;
if(lastNumber != fieldNumber)
{
if(lastRepeated)
... |
diff --git a/SpectroEdit/src/net/bluecow/spectro/detection/BeatDetector.java b/SpectroEdit/src/net/bluecow/spectro/detection/BeatDetector.java
index 429a8ad..7ddc5f8 100644
--- a/SpectroEdit/src/net/bluecow/spectro/detection/BeatDetector.java
+++ b/SpectroEdit/src/net/bluecow/spectro/detection/BeatDetector.java
@@ -1,2... | false | true | public void draw(Graphics2D g2,int startY,int scale)
{
this.tempoDetection.setSignificanceBeats();
double ratio = scale/maxEnergy;
g2.setColor(Color.black);
int length = VEdata.size();
//VE
float[] old = VEdata.get(0);
float[] current = VEdata.get(0);
//average
double oldAvg = AveragedEnergydata.ge... | public void draw(Graphics2D g2,int startY,int scale)
{
this.tempoDetection.setSignificanceBeats();
double ratio = scale/maxEnergy;
g2.setColor(Color.black);
int length = VEdata.size();
//VE
float[] old = VEdata.get(0);
float[] current = VEdata.get(0);
//average
double oldAvg = AveragedEnergydata.ge... |
diff --git a/src/java/org/jmwiki/servlets/PrintableServlet.java b/src/java/org/jmwiki/servlets/PrintableServlet.java
index 7920b49a..ef2f838a 100644
--- a/src/java/org/jmwiki/servlets/PrintableServlet.java
+++ b/src/java/org/jmwiki/servlets/PrintableServlet.java
@@ -1,126 +1,126 @@
package org.jmwiki.servlets;
impo... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String topic = request.getParameter("topic");
String virtualWiki = (String) request.getAttribute("virtualWiki");
request.setAttribute("topic", topic);
request.setAttribute("title", topic);
... | protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String topic = request.getParameter("topic");
String virtualWiki = (String) request.getAttribute("virtualWiki");
request.setAttribute("topic", topic);
request.setAttribute("title", topic);
... |
diff --git a/src/main/java/com/twistlet/falcon/security/service/UserDetailsServiceImpl.java b/src/main/java/com/twistlet/falcon/security/service/UserDetailsServiceImpl.java
index 807e57a..0642865 100644
--- a/src/main/java/com/twistlet/falcon/security/service/UserDetailsServiceImpl.java
+++ b/src/main/java/com/twistlet... | true | true | public UserDetails loadUserByUsername(final String username)
throws UsernameNotFoundException {
final FalconUser falconUser = falconUserRepository.findOne(username);
if (falconUser == null || falconUser.getValid() == null || falconUser.getValid() == false) {
throw new UsernameNotFoundException("Username " +... | public UserDetails loadUserByUsername(final String username)
throws UsernameNotFoundException {
final FalconUser falconUser = falconUserRepository.findOne(username);
if (falconUser == null) {
throw new UsernameNotFoundException("Username " + username
+ " not found");
}
final List<FalconUserRole> lis... |
diff --git a/src/com/android/calculator2/CalculatorEditText.java b/src/com/android/calculator2/CalculatorEditText.java
index 8a29f72..3af08c7 100644
--- a/src/com/android/calculator2/CalculatorEditText.java
+++ b/src/com/android/calculator2/CalculatorEditText.java
@@ -1,48 +1,48 @@
/*
* Copyright (C) 2010 The Androi... | true | true | public boolean performLongClick() {
Editable text = getText();
if (TextUtils.isEmpty(text)) {
return false;
}
setSelection(0, text.length());
ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService(
Context.CLIPBOARD_SERVICE)... | public boolean performLongClick() {
Editable text = getText();
if (TextUtils.isEmpty(text)) {
return false;
}
setSelection(0, text.length());
ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService(
Context.CLIPBOARD_SERVICE)... |
diff --git a/src/java/net/sf/jabref/gui/AutoCompleteListener.java b/src/java/net/sf/jabref/gui/AutoCompleteListener.java
index 7ca919752..9deb062dd 100644
--- a/src/java/net/sf/jabref/gui/AutoCompleteListener.java
+++ b/src/java/net/sf/jabref/gui/AutoCompleteListener.java
@@ -1,181 +1,181 @@
package net.sf.jabref.gui;... | true | true | public void keyTyped(KeyEvent e) {
char ch = e.getKeyChar();
if (Character.isLetter(ch)) {
JTextComponent comp = (JTextComponent) e.getSource();
if ((toSetIn != null) && (toSetIn.length() > 1) &&
(ch == toSetIn.charAt(1))) {
// User continu... | public void keyTyped(KeyEvent e) {
char ch = e.getKeyChar();
if (Character.isLetter(ch)) {
JTextComponent comp = (JTextComponent) e.getSource();
if ((toSetIn != null) && (toSetIn.length() > 1) &&
(ch == toSetIn.charAt(1))) {
// User continu... |
diff --git a/webapp/app/plugins/AddLogContextPlugin.java b/webapp/app/plugins/AddLogContextPlugin.java
index 74f8d4ae..bbe92329 100644
--- a/webapp/app/plugins/AddLogContextPlugin.java
+++ b/webapp/app/plugins/AddLogContextPlugin.java
@@ -1,148 +1,148 @@
package plugins;
import org.joda.time.LocalDateTime;
import ... | true | true | private void overrideMDC(Request request, long txId) {
Session session = Session.current();
String username = request.user;
if(session != null) {
username = SecurityUtil.getUser();
}
if(request.user != null) {
if(username == null)
username = "("+request.user+")";
else
username += "("+reques... | private void overrideMDC(Request request, long txId) {
Session session = Session.current();
String username = request.user;
if(session != null) {
username = SecurityUtil.getUser();
}
if(request.user != null) {
if(username == null)
username = "("+request.user+")";
else
username += "("+reques... |
diff --git a/codegen/src/main/java/org/exolab/castor/builder/MappingFileSourceFactory.java b/codegen/src/main/java/org/exolab/castor/builder/MappingFileSourceFactory.java
index c06125fe..84982954 100644
--- a/codegen/src/main/java/org/exolab/castor/builder/MappingFileSourceFactory.java
+++ b/codegen/src/main/java/org/e... | true | true | private void createFieldMapping(final ClassMapping classMapping, final FieldInfo member,
final String nsURI) {
XSType xsType = member.getSchemaType();
boolean any = false;
boolean isAttribute = (member.getNodeType() == XMLInfo.ATTRIBUTE_TYPE);
bool... | private void createFieldMapping(final ClassMapping classMapping, final FieldInfo member,
final String nsURI) {
XSType xsType = member.getSchemaType();
boolean any = false;
boolean isAttribute = (member.getNodeType() == XMLInfo.ATTRIBUTE_TYPE);
bool... |
diff --git a/MetroBike/test/src/com/HuskySoft/metrobike/backend/test/TransitDetailsTest.java b/MetroBike/test/src/com/HuskySoft/metrobike/backend/test/TransitDetailsTest.java
index 28a6cad..fb1f330 100644
--- a/MetroBike/test/src/com/HuskySoft/metrobike/backend/test/TransitDetailsTest.java
+++ b/MetroBike/test/src/com/... | true | true | public void testSerializationTestEmptyDRObject() throws IOException, ClassNotFoundException,
JSONException {
transitDetails = null;
// Serialize the empty TD, then de-serialize it
byte[] theBytes = helpSerialize(transitDetails);
TransitDetails recreatedTD = helpDeseriali... | public void testSerializationTestEmptyDRObject() throws IOException, ClassNotFoundException,
JSONException {
transitDetails = null;
// Serialize the empty TD, then de-serialize it
byte[] theBytes = helpSerialize(transitDetails);
TransitDetails recreatedTD = helpDeseriali... |
diff --git a/src/org/rsbot/service/WebQueue.java b/src/org/rsbot/service/WebQueue.java
index 8b56b8df..3ae5c9b8 100644
--- a/src/org/rsbot/service/WebQueue.java
+++ b/src/org/rsbot/service/WebQueue.java
@@ -1,47 +1,50 @@
package org.rsbot.service;
import org.rsbot.script.internal.wrappers.TileFlags;
import org.rsb... | false | true | public static void Add(final HashMap<RSTile, TileFlags> theFlagsList) {
new Thread() {
public void run() {
String addedString = "";
final Map<RSTile, TileFlags> tl = Collections.unmodifiableMap(theFlagsList);
Iterator<Map.Entry<RSTile, TileFlags>> tileFlagsIterator = tl.entrySet().iterator();
whil... | public static void Add(final HashMap<RSTile, TileFlags> theFlagsList) {
new Thread() {
public void run() {
String addedString = "";
final HashMap<RSTile, TileFlags> theFlagsList2 = new HashMap<RSTile, TileFlags>();
theFlagsList2.putAll(theFlagsList);
final Map<RSTile, TileFlags> tl = Collections.u... |
diff --git a/src/main/java/fr/aumgn/dac2/game/classic/ClassicGame.java b/src/main/java/fr/aumgn/dac2/game/classic/ClassicGame.java
index b414911..fd5ecec 100644
--- a/src/main/java/fr/aumgn/dac2/game/classic/ClassicGame.java
+++ b/src/main/java/fr/aumgn/dac2/game/classic/ClassicGame.java
@@ -1,307 +1,308 @@
package fr... | true | true | public void onJumpSuccess(Player player) {
ClassicGamePlayer gamePlayer = playersMap.get(player);
World world = arena.getWorld();
Column column = arena.getPool().getColumn(player);
boolean isADAC = column.isADAC(world);
ColumnPattern pattern = gamePlayer.getColumnPattern();
... | public void onJumpSuccess(Player player) {
ClassicGamePlayer gamePlayer = playersMap.get(player);
World world = arena.getWorld();
Column column = arena.getPool().getColumn(player);
boolean isADAC = column.isADAC(world);
ColumnPattern pattern = gamePlayer.getColumnPattern();
... |
diff --git a/src/main/java/se/llbit/chunky/main/Chunky.java b/src/main/java/se/llbit/chunky/main/Chunky.java
index a62a26ed..a15de882 100644
--- a/src/main/java/se/llbit/chunky/main/Chunky.java
+++ b/src/main/java/se/llbit/chunky/main/Chunky.java
@@ -1,1063 +1,1083 @@
/* Copyright (c) 2010-2013 Jesper Öqvist <jesper@l... | false | true | public int run(String[] args) {
boolean selectedWorld = false;
File sceneDir = null;
String sceneName = null;
String texturePack = null;
int renderThreads = Runtime.getRuntime().availableProcessors();
File worldDir = null;
boolean doBench = false;
for (int i = 0; i < args.length; ++i) {
if (args[i].... | public int run(String[] args) {
boolean selectedWorld = false;
File sceneDir = null;
String sceneName = null;
String texturePack = null;
int renderThreads = Runtime.getRuntime().availableProcessors();
File worldDir = null;
boolean doBench = false;
for (int i = 0; i < args.length; ++i) {
if (args[i].... |
diff --git a/com.ifedorenko.m2e.nexusdev/src/com/ifedorenko/m2e/nexusdev/internal/launch/ui/NexusPluginsLaunchTab.java b/com.ifedorenko.m2e.nexusdev/src/com/ifedorenko/m2e/nexusdev/internal/launch/ui/NexusPluginsLaunchTab.java
index c3af2da..02f0d22 100644
--- a/com.ifedorenko.m2e.nexusdev/src/com/ifedorenko/m2e/nexusd... | true | true | public void createControl( Composite parent )
{
Composite composite = new Composite( parent, SWT.NONE );
setControl( composite );
composite.setLayout( new GridLayout( 2, false ) );
Label lblLaunchWith = new Label( composite, SWT.NONE );
lblLaunchWith.setLayoutData( new G... | public void createControl( Composite parent )
{
Composite composite = new Composite( parent, SWT.NONE );
setControl( composite );
composite.setLayout( new GridLayout( 2, false ) );
Label lblLaunchWith = new Label( composite, SWT.NONE );
lblLaunchWith.setLayoutData( new G... |
diff --git a/news-tool/tool/src/java/org/sakaiproject/news/tool/NewsAction.java b/news-tool/tool/src/java/org/sakaiproject/news/tool/NewsAction.java
index d79e98c..c2f184b 100644
--- a/news-tool/tool/src/java/org/sakaiproject/news/tool/NewsAction.java
+++ b/news-tool/tool/src/java/org/sakaiproject/news/tool/NewsAction.... | false | true | public void doUpdate(RunData data, Context context)
{
// access the portlet element id to find our state
// %%% use CHEF api instead of Jetspeed to get state
String peid = ((JetspeedRunData) data).getJs_peid();
SessionState state = ((JetspeedRunData) data).getPortletSessionState(peid);
String newChannelTit... | public void doUpdate(RunData data, Context context)
{
// access the portlet element id to find our state
// %%% use CHEF api instead of Jetspeed to get state
String peid = ((JetspeedRunData) data).getJs_peid();
SessionState state = ((JetspeedRunData) data).getPortletSessionState(peid);
String newChannelTit... |
diff --git a/3240/workspace/mawk/cs3240/sp09/MicroAWKIntepreter/Evaluator.java b/3240/workspace/mawk/cs3240/sp09/MicroAWKIntepreter/Evaluator.java
index 414cf04..6fb6fd5 100644
--- a/3240/workspace/mawk/cs3240/sp09/MicroAWKIntepreter/Evaluator.java
+++ b/3240/workspace/mawk/cs3240/sp09/MicroAWKIntepreter/Evaluator.java... | true | true | private static String execute(ASTNode node, String string) throws InvalidInputStringException {
if(node == null) return string;
// copy of the input string
String line = new String(string);
switch(node.type){
case Program:
line = execute(node.leftChild, line);
line = execute(node.rightChild, line);
... | private static String execute(ASTNode node, String string) throws InvalidInputStringException {
if(node == null) return string;
// copy of the input string
String line = new String(string);
switch(node.type){
case Program:
line = execute(node.leftChild, line);
line = execute(node.rightChild, line);
... |
diff --git a/src/wjhk/jupload2/policies/CoppermineUploadPolicy.java b/src/wjhk/jupload2/policies/CoppermineUploadPolicy.java
index 3a7add3..1605b3a 100644
--- a/src/wjhk/jupload2/policies/CoppermineUploadPolicy.java
+++ b/src/wjhk/jupload2/policies/CoppermineUploadPolicy.java
@@ -1,350 +1,350 @@
//
// $Id$
//
// j... | true | true | public boolean checkUploadSuccess(String serverOutput,
String serverOutputBody) throws JUploadException {
final Pattern patternSuccess = Pattern
.compile(getStringUploadSuccess());
final Pattern patternTransferEncodingChunked = Pattern.compile(
"^Transfer-... | public boolean checkUploadSuccess(String serverOutput,
String serverOutputBody) throws JUploadException {
final Pattern patternSuccess = Pattern
.compile(getStringUploadSuccess());
final Pattern patternTransferEncodingChunked = Pattern.compile(
"^Transfer-... |
diff --git a/src/main/java/water/api/SummaryPage.java b/src/main/java/water/api/SummaryPage.java
index 1a7d3b8cf..f4bebd3c8 100644
--- a/src/main/java/water/api/SummaryPage.java
+++ b/src/main/java/water/api/SummaryPage.java
@@ -1,117 +1,117 @@
package water.api;
import hex.ColSummaryTask;
import java.util.Itera... | true | true | @Override protected Response serve() {
int [] cols = _columns.value();
ValueArray ary = _key.value();
if(cols.length == 0){
cols = new int[ary._cols.length];
for(int i = 0; i < ary._cols.length; ++i) cols[i] = i;
}
ColSummaryTask sum = new ColSummaryTask(ary,cols);
sum.invoke(ary._... | @Override protected Response serve() {
int [] cols = _columns.value();
ValueArray ary = _key.value();
if(cols.length == 0){
cols = new int[ary._cols.length];
for(int i = 0; i < ary._cols.length; ++i) cols[i] = i;
}
ColSummaryTask sum = new ColSummaryTask(ary,cols);
sum.invoke(ary._... |
diff --git a/src/org/python/util/jython.java b/src/org/python/util/jython.java
index ee402dcd..ee30bbb6 100644
--- a/src/org/python/util/jython.java
+++ b/src/org/python/util/jython.java
@@ -1,543 +1,541 @@
// Copyright (c) Corporation for National Research Initiatives
package org.python.util;
import java.io.File;... | true | true | public static void run(String[] args) {
// Parse the command line options
CommandLineOptions opts = new CommandLineOptions();
if (!opts.parse(args)) {
if (opts.version) {
System.err.println("Jython " + Version.PY_VERSION);
System.exit(0);
... | public static void run(String[] args) {
// Parse the command line options
CommandLineOptions opts = new CommandLineOptions();
if (!opts.parse(args)) {
if (opts.version) {
System.err.println("Jython " + Version.PY_VERSION);
System.exit(0);
... |
diff --git a/plugins/org.eclipse.dltk.ruby.formatter/src/org/eclipse/dltk/ruby/formatter/internal/RubyParser.java b/plugins/org.eclipse.dltk.ruby.formatter/src/org/eclipse/dltk/ruby/formatter/internal/RubyParser.java
index 9890153c..2c64248e 100644
--- a/plugins/org.eclipse.dltk.ruby.formatter/src/org/eclipse/dltk/ruby... | true | true | public static RubyParserResult parse(ILexerReader content)
throws FormatterSyntaxProblemException {
final RubyParserConfiguration configuration = new RubyParserConfiguration();
final RubyParserPool parserPool = RubyParserPool.getInstance();
final DefaultRubyParser parser = parserPool.borrowParser();
try {
... | public static RubyParserResult parse(ILexerReader content)
throws FormatterSyntaxProblemException {
final RubyParserConfiguration configuration = new RubyParserConfiguration();
final RubyParserPool parserPool = RubyParserPool.getInstance();
final DefaultRubyParser parser = parserPool.borrowParser();
try {
... |
diff --git a/ide/eclipse/app-server/org.wso2.developerstudio.eclipse.artifact.axis2/src/org/wso2/developerstudio/eclipse/artifact/axis2/ui/wizard/Axis2ServiceCreationWizard.java b/ide/eclipse/app-server/org.wso2.developerstudio.eclipse.artifact.axis2/src/org/wso2/developerstudio/eclipse/artifact/axis2/ui/wizard/Axis2Se... | true | true | public boolean performFinish() {
IFile axis2GenServiceXML =null;
try {
IProject project = createNewProject();
IFolder sourceFolder =ProjectUtils.getWorkspaceFolder(project, "src", "main", "java");
JavaUtils.addJavaSupportAndSourceFolder(project, sourceFolder);
File pomfile = project.getFile("pom.xml").... | public boolean performFinish() {
IFile axis2GenServiceXML =null;
try {
IProject project = createNewProject();
IFolder sourceFolder =ProjectUtils.getWorkspaceFolder(project, "src", "main", "java");
JavaUtils.addJavaSupportAndSourceFolder(project, sourceFolder);
File pomfile = project.getFile("pom.xml").... |
diff --git a/src/java/org/apache/hadoop/mapred/Counters.java b/src/java/org/apache/hadoop/mapred/Counters.java
index ddc367b3c..46428473a 100644
--- a/src/java/org/apache/hadoop/mapred/Counters.java
+++ b/src/java/org/apache/hadoop/mapred/Counters.java
@@ -1,539 +1,539 @@
/**
* Licensed to the Apache Software Founda... | true | true | public synchronized String makeCompactString() {
StringBuffer buffer = new StringBuffer();
boolean first = true;
for(Group group: this){
for(Counter counter: group) {
if (first) {
first = false;
} else {
buffer.append(',');
}
buffer.append(group... | public synchronized String makeCompactString() {
StringBuffer buffer = new StringBuffer();
boolean first = true;
for(Group group: this){
for(Counter counter: group) {
if (first) {
first = false;
} else {
buffer.append(',');
}
buffer.append(group... |
diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/address/ParameterableImpl.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/address/ParameterableImpl.java
index 121c1dd4b..65993bf61 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/address/ParameterableImpl.jav... | true | true | public void setParameter(String name, String value) {
if(name == null) {
throw new NullPointerException("parameter name is null ! ");
}
if(value == null) {
throw new NullPointerException("parameter value is null ! ");
}
if(!isModifiable) {
throw new IllegalStateException("it is forbidden to modify t... | public void setParameter(String name, String value) {
if(name == null) {
throw new NullPointerException("parameter name is null ! ");
}
if(value == null) {
throw new NullPointerException("parameter value is null ! ");
}
if(!isModifiable) {
throw new IllegalStateException("it is forbidden to modify t... |
diff --git a/src/aarddict/Volume.java b/src/aarddict/Volume.java
index 095069b..ef48ca0 100644
--- a/src/aarddict/Volume.java
+++ b/src/aarddict/Volume.java
@@ -1,514 +1,519 @@
/* This file is part of Aard Dictionary for Android <http://aarddict.org>.
*
* This program is free software: you can redistribute it and/... | false | true | Iterator<Entry> lookup(final LookupWord lookupWord, final Comparator<Entry> comparator) {
if (lookupWord.isEmpty()) {
return EMPTY_ITERATOR;
}
final String section = lookupWord.section;
final Entry lookupEntry = new Entry(this.getId(), lookupWord.word);
final int... | Iterator<Entry> lookup(final LookupWord lookupWord, final Comparator<Entry> comparator) {
if (lookupWord.isEmpty()) {
return EMPTY_ITERATOR;
}
final String section = lookupWord.section;
final Entry lookupEntry = new Entry(this.getId(), lookupWord.word);
final int... |
diff --git a/src/test/java/org/blacklight/android/flexibleprofiles/environment/MockEnvironment.java b/src/test/java/org/blacklight/android/flexibleprofiles/environment/MockEnvironment.java
index 5e89dc6..78d214b 100644
--- a/src/test/java/org/blacklight/android/flexibleprofiles/environment/MockEnvironment.java
+++ b/sr... | true | true | public static Environment getInstance() {
if (instance == null) {
instance = new AppEnvironment();
}
return instance;
}
| public static Environment getInstance() {
if (instance == null) {
instance = new MockEnvironment();
}
return instance;
}
|
diff --git a/src/de/uni_koblenz/jgralab/utilities/tgraphbrowser/TwoDVisualizer.java b/src/de/uni_koblenz/jgralab/utilities/tgraphbrowser/TwoDVisualizer.java
index 23e38b397..1dd26022e 100644
--- a/src/de/uni_koblenz/jgralab/utilities/tgraphbrowser/TwoDVisualizer.java
+++ b/src/de/uni_koblenz/jgralab/utilities/tgraphbro... | false | true | public void visualizeElements(StringBuilder code, State state,
Integer sessionId, String workspace, JValue currentElement,
Boolean showAttributes, Integer pathLength,
RequestThread currentThread) {
// set currentVertex or currentEdge to the current element
if (currentElement.isVertex()) {
code.append("... | public void visualizeElements(StringBuilder code, State state,
Integer sessionId, String workspace, JValue currentElement,
Boolean showAttributes, Integer pathLength,
RequestThread currentThread) {
// set currentVertex or currentEdge to the current element
if (currentElement.isVertex()) {
code.append("... |
diff --git a/src/minecraft/co/uk/flansmods/common/teams/CommandTeams.java b/src/minecraft/co/uk/flansmods/common/teams/CommandTeams.java
index fa95bf41..ac775423 100644
--- a/src/minecraft/co/uk/flansmods/common/teams/CommandTeams.java
+++ b/src/minecraft/co/uk/flansmods/common/teams/CommandTeams.java
@@ -1,606 +1,609 ... | false | true | public void processCommand(ICommandSender sender, String[] split)
{
if(teamsManager == null)
{
sender.sendChatToPlayer(ChatMessageComponent.createFromText("Teams mod is broken. You will need to look at the server side logs to see what's wrong"));
return;
}
if(split == null || split.length == 0 || split... | public void processCommand(ICommandSender sender, String[] split)
{
if(teamsManager == null)
{
sender.sendChatToPlayer(ChatMessageComponent.createFromText("Teams mod is broken. You will need to look at the server side logs to see what's wrong"));
return;
}
if(split == null || split.length == 0 || split... |
diff --git a/melati/src/test/java/org/melati/app/test/ConfiguredTemplateApp.java b/melati/src/test/java/org/melati/app/test/ConfiguredTemplateApp.java
index 2eb0a07a9..0ceb95420 100644
--- a/melati/src/test/java/org/melati/app/test/ConfiguredTemplateApp.java
+++ b/melati/src/test/java/org/melati/app/test/ConfiguredTemp... | false | true | protected MelatiConfig melatiConfig() throws MelatiException {
MelatiConfig config = super.melatiConfig();
try {
config.setAccessHandler((AccessHandler)CommandLineAccessHandler.class
.newInstance());
} catch (Exception e) {
throw new InstantiationPropertyException(Open... | protected MelatiConfig melatiConfig() throws MelatiException {
MelatiConfig config = super.melatiConfig();
try {
config.setAccessHandler(
(AccessHandler)CommandLineAccessHandler.class
.newInstance());
} catch (Exception e) {
throw new InstantiationPropertyE... |
diff --git a/src/main/java/me/limebyte/battlenight/core/commands/AddCommand.java b/src/main/java/me/limebyte/battlenight/core/commands/AddCommand.java
index 712ad18..8643c56 100644
--- a/src/main/java/me/limebyte/battlenight/core/commands/AddCommand.java
+++ b/src/main/java/me/limebyte/battlenight/core/commands/AddComm... | true | true | protected boolean onPerformed(CommandSender sender, String[] args) {
if (args.length < 1) {
Messenger.tell(sender, Message.SPECIFY_ARENA);
Messenger.tell(sender, Message.USAGE, getUsage());
return false;
} else {
Arena arena = null;
for (A... | protected boolean onPerformed(CommandSender sender, String[] args) {
if (args.length < 1) {
Messenger.tell(sender, Message.SPECIFY_ARENA);
Messenger.tell(sender, Message.USAGE, getUsage());
return false;
} else {
Arena arena = null;
for (A... |
diff --git a/jkind/src/jkind/analysis/TypeChecker.java b/jkind/src/jkind/analysis/TypeChecker.java
index 6b5fc2d..9aba62a 100644
--- a/jkind/src/jkind/analysis/TypeChecker.java
+++ b/jkind/src/jkind/analysis/TypeChecker.java
@@ -1,408 +1,408 @@
package jkind.analysis;
import java.util.ArrayList;
import java.util.H... | false | true | public Type visit(BinaryExpr e) {
Type left = e.left.accept(this);
Type right = e.right.accept(this);
if (left == null || right == null) {
return null;
}
switch (e.op) {
case PLUS:
case MINUS:
case MULTIPLY:
if (left == NamedType.REAL && right == NamedType.REAL) {
return NamedType.REAL;
}... | public Type visit(BinaryExpr e) {
Type left = e.left.accept(this);
Type right = e.right.accept(this);
if (left == null || right == null) {
return null;
}
switch (e.op) {
case PLUS:
case MINUS:
case MULTIPLY:
if (left == NamedType.REAL && right == NamedType.REAL) {
return NamedType.REAL;
}... |
diff --git a/src/locationshare/vo/LogInResultVo.java b/src/locationshare/vo/LogInResultVo.java
index 1dd7c94..70ef86a 100644
--- a/src/locationshare/vo/LogInResultVo.java
+++ b/src/locationshare/vo/LogInResultVo.java
@@ -1,11 +1,11 @@
package locationshare.vo;
import locationshare.base.vo.BaseResultVO;
public cl... | true | true | public String toSuccessJsonResult(int userid) {
return "{\"code\"=\"0\"" + " \"userid\"=\"" + String.valueOf(userid)
+ "\"}";
}
| public String toSuccessJsonResult(int userid) {
return "{\"code\"=\"0\"," + " \"userid\"=\"" + String.valueOf(userid)
+ "\"}";
}
|
diff --git a/src/main/java/org/iplantc/iptol/client/views/widgets/portlets/panels/TraitDataJsonParser.java b/src/main/java/org/iplantc/iptol/client/views/widgets/portlets/panels/TraitDataJsonParser.java
index 0155084a..7b46c768 100644
--- a/src/main/java/org/iplantc/iptol/client/views/widgets/portlets/panels/TraitDataJ... | false | true | public JSONObject tranformData(JSONArray data_rows, JSONValue header) {
Iterator<String> iter = null;
String key = null;
// string thats holds header portion intially. data portion added subsequently
StringBuilder temp = new StringBuilder();
//string that holds data (one row at a time)
StringBuild... | public JSONObject tranformData(JSONArray data_rows, JSONValue header) {
Iterator<String> iter = null;
String key = null;
// string thats holds header portion intially. data portion added subsequently
StringBuilder temp = new StringBuilder();
//string that holds data (one row at a time)
StringBuild... |
diff --git a/src/main/java/nl/lolmen/sortal/Main.java b/src/main/java/nl/lolmen/sortal/Main.java
index 697534b..21930c3 100644
--- a/src/main/java/nl/lolmen/sortal/Main.java
+++ b/src/main/java/nl/lolmen/sortal/Main.java
@@ -1,817 +1,817 @@
package nl.lolmen.sortal;
import java.io.BufferedInputStream;
import java.... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String s, String[] args){
if(s.equalsIgnoreCase("sortal")){
if(args.length == 0){
sender.sendMessage("======[Sortal]======");
sender.sendMessage("=Sign Based Teleportation=");
sender.sendMessage("Type /sortal help for the help page!");
re... | public boolean onCommand(CommandSender sender, Command cmd, String s, String[] args){
if(s.equalsIgnoreCase("sortal")){
if(args.length == 0){
sender.sendMessage("======[Sortal]======");
sender.sendMessage("=Sign Based Teleportation=");
sender.sendMessage("Type /sortal help for the help page!");
re... |
diff --git a/tools/occplug/org/transterpreter/occPlug/OccPlugUtil.java b/tools/occplug/org/transterpreter/occPlug/OccPlugUtil.java
index 7f923360..01b1820f 100644
--- a/tools/occplug/org/transterpreter/occPlug/OccPlugUtil.java
+++ b/tools/occplug/org/transterpreter/occPlug/OccPlugUtil.java
@@ -1,253 +1,253 @@
/**
* ... | true | true | public static boolean openWebBrowser(String url) {
if (OperatingSystem.isWindows()) { // Windows
String cmd;
// catering for stupid differences in Windows shells...
if (OperatingSystem.isWindows9x()) // win95/98/Me
cmd = "command.com";
else
// other
cmd = "cmd.exe";
try {
// more st... | public static boolean openWebBrowser(String url) {
if (OperatingSystem.isWindows()) { // Windows
String cmd;
// catering for stupid differences in Windows shells...
if (OperatingSystem.isWindows9x()) // win95/98/Me
cmd = "command.com";
else
// other
cmd = "cmd.exe";
try {
// more st... |
diff --git a/src/com/ementalo/tcl/TeleConfimLiteServerListener.java b/src/com/ementalo/tcl/TeleConfimLiteServerListener.java
index 7e829f2..f02bd97 100644
--- a/src/com/ementalo/tcl/TeleConfimLiteServerListener.java
+++ b/src/com/ementalo/tcl/TeleConfimLiteServerListener.java
@@ -1,77 +1,77 @@
package com.ementalo.tcl... | true | true | public void onPluginEnable(PluginEnableEvent event) {
if (parent.permsBase != null) return;
if (Config.useBukkitPerms) {
parent.permsBase = new BukkitPerms();
TeleConfirmLite.log.log(Level.INFO, "[TeleConfirmLite] Using bukkit permissions");
return;
}
... | public void onPluginEnable(PluginEnableEvent event) {
if (parent.permsBase != null) return;
if (Config.useBukkitPerms) {
parent.permsBase = new BukkitPerms();
TeleConfirmLite.log.log(Level.INFO, "[TeleConfirmLite] Using bukkit permissions");
return;
}
... |
diff --git a/src/plugins/WoT/ui/fcp/FCPInterface.java b/src/plugins/WoT/ui/fcp/FCPInterface.java
index 6ffb4611..c3d72d14 100644
--- a/src/plugins/WoT/ui/fcp/FCPInterface.java
+++ b/src/plugins/WoT/ui/fcp/FCPInterface.java
@@ -1,478 +1,478 @@
/* This code is part of WoT, a plugin for Freenet. It is distributed
* un... | true | true | public void handle(final PluginReplySender replysender, final SimpleFieldSet params, final Bucket data, final int accesstype) {
try {
final String message = params.get("Message");
if (message.equals("CreateIdentity")) {
replysender.send(handleCreateIdent... | public void handle(final PluginReplySender replysender, final SimpleFieldSet params, final Bucket data, final int accesstype) {
try {
final String message = params.get("Message");
if (message.equals("CreateIdentity")) {
replysender.send(handleCreateIdent... |
diff --git a/zendserver-sdk-java/org.zend.sdk/sdklib/org/zend/sdklib/internal/target/ZendTargetDetectMain.java b/zendserver-sdk-java/org.zend.sdk/sdklib/org/zend/sdklib/internal/target/ZendTargetDetectMain.java
index 85fcee54..c7b3edc6 100644
--- a/zendserver-sdk-java/org.zend.sdk/sdklib/org/zend/sdklib/internal/target... | true | true | public static void main(String[] args) throws DetectionException {
String targetId = null;
String key = null;
ILogger logger = new ILogger() {
@Override
public void debug(Object message) {
System.err.println(message);
}
@Override
public void info(Object message) {
System.out.println(m... | public static void main(String[] args) throws DetectionException {
String targetId = null;
String key = null;
ILogger logger = new ILogger() {
@Override
public void debug(Object message) {
System.err.println(message);
}
@Override
public void info(Object message) {
System.out.println(m... |
diff --git a/edu/wisc/ssec/mcidasv/data/GeoPreviewSelection.java b/edu/wisc/ssec/mcidasv/data/GeoPreviewSelection.java
index bf51db41f..426fc2e3a 100644
--- a/edu/wisc/ssec/mcidasv/data/GeoPreviewSelection.java
+++ b/edu/wisc/ssec/mcidasv/data/GeoPreviewSelection.java
@@ -1,326 +1,326 @@
/*
* $Id$
*
* Copyright ... | true | true | public GeoPreviewSelection(DataChoice dataChoice, FlatField image,
MapProjection sample, int lMag, int eMag) throws VisADException, RemoteException {
super("Region");
/*
System.out.println("GeoPreviewSelection:");
System.out.println(" dataChoice=" + dataChoice);
Sys... | public GeoPreviewSelection(DataChoice dataChoice, FlatField image,
MapProjection sample, int lMag, int eMag) throws VisADException, RemoteException {
super("Region");
/*
System.out.println("GeoPreviewSelection:");
System.out.println(" dataChoice=" + dataChoice);
Sys... |
diff --git a/src/main/java/eu/lindenbaum/maven/PackageMojo.java b/src/main/java/eu/lindenbaum/maven/PackageMojo.java
index 6ee6fc9..4d244e9 100644
--- a/src/main/java/eu/lindenbaum/maven/PackageMojo.java
+++ b/src/main/java/eu/lindenbaum/maven/PackageMojo.java
@@ -1,402 +1,403 @@
package eu.lindenbaum.maven;
import... | true | true | public void execute() throws MojoExecutionException, MojoFailureException {
Log log = getLog();
log.info("------------------------------------------------------------------------");
log.info("PACKAGING PROJECT");
File tmpDir = new File(this.target, this.project.getArtifactId() + "-" + this.project.ge... | public void execute() throws MojoExecutionException, MojoFailureException {
Log log = getLog();
log.info("------------------------------------------------------------------------");
log.info("PACKAGING PROJECT");
File tmpDir = new File(this.target, this.project.getArtifactId() + "-" + this.project.ge... |
diff --git a/src/org/jacorb/imr/ImplementationRepositoryImpl.java b/src/org/jacorb/imr/ImplementationRepositoryImpl.java
index 7f0d3c1b9..b813e60c7 100644
--- a/src/org/jacorb/imr/ImplementationRepositoryImpl.java
+++ b/src/org/jacorb/imr/ImplementationRepositoryImpl.java
@@ -1,1198 +1,1199 @@
/*
* JacORB - a... | true | true | public static void main(String[] args) {
// evaluate args
if (args.length > 8)
usage();
String _table_file_str = null;
boolean _new_table = false;
String _ior_file_str = null;
String _backup_file_str = null;
System.setProperty( "jacorb.implname", "the_ImR" );
try{
for (int i = 0; i < arg... | public static void main(String[] args) {
// evaluate args
if (args.length > 8)
usage();
String _table_file_str = null;
boolean _new_table = false;
String _ior_file_str = null;
String _backup_file_str = null;
System.setProperty ("jacorb.implname", "the_ImR");
System.setProperty ("jacorb.... |
diff --git a/src/main/java/com/couchbase/client/CouchbaseClient.java b/src/main/java/com/couchbase/client/CouchbaseClient.java
index 9f9cd724..792020f3 100644
--- a/src/main/java/com/couchbase/client/CouchbaseClient.java
+++ b/src/main/java/com/couchbase/client/CouchbaseClient.java
@@ -1,1619 +1,1619 @@
/**
* Copyri... | false | true | public void observePoll(String key, long cas, PersistTo persist,
ReplicateTo replicate, boolean isDelete) {
boolean persistMaster = false;
if(persist == null) {
persist = PersistTo.ZERO;
}
if(replicate == null) {
replicate = ReplicateTo.ZERO;
}
int persistReplica = persist.ge... | public void observePoll(String key, long cas, PersistTo persist,
ReplicateTo replicate, boolean isDelete) {
if(persist == null) {
persist = PersistTo.ZERO;
}
if(replicate == null) {
replicate = ReplicateTo.ZERO;
}
int persistReplica = persist.getValue() > 0 ? persist.getValue() -... |
diff --git a/src/main/java/com/zhongying/datadapter/service/issue/IssueService.java b/src/main/java/com/zhongying/datadapter/service/issue/IssueService.java
index 58f3955..cdda43d 100644
--- a/src/main/java/com/zhongying/datadapter/service/issue/IssueService.java
+++ b/src/main/java/com/zhongying/datadapter/service/iss... | true | true | public void download() {
IssueType type = typeHolder.get();
Date date = dateHolder.get();
Assert.notNull(type);
Assert.notNull(date);
// �������ڸ�ʽ
String datestr = DateUtils.toString(date, "yyyyMMdd");
// ��½FTP����
logger.info("���ؼ���issue�����ļ�,����Ϊ{},����Ϊ{}...", type, datestr);
if (!ftpUtil... | public void download() {
IssueType type = typeHolder.get();
Date date = dateHolder.get();
Assert.notNull(type);
Assert.notNull(date);
// �������ڸ�ʽ
String datestr = DateUtils.toString(date, "yyyyMMdd");
// ��½FTP����
logger.info("���ؼ���issue�����ļ�,����Ϊ{},����Ϊ{}...", type, datestr);
if (!ftpUtil... |
diff --git a/vraptor-core/src/test/java/br/com/caelum/vraptor/vraptor2/VRaptor2RequestExecutionTest.java b/vraptor-core/src/test/java/br/com/caelum/vraptor/vraptor2/VRaptor2RequestExecutionTest.java
index 6bb2709bd..593bf5e23 100644
--- a/vraptor-core/src/test/java/br/com/caelum/vraptor/vraptor2/VRaptor2RequestExecutio... | false | true | public void shouldAddInterceptorsInOrder() throws InterceptionException, IOException {
final Sequence sequence = mockery.sequence("executionSequence");
mockery.checking(new Expectations() {
{
one(stack).add(ResourceLookupInterceptor.class);
inSequence(sequ... | public void shouldAddInterceptorsInOrder() throws InterceptionException, IOException {
final Sequence sequence = mockery.sequence("executionSequence");
mockery.checking(new Expectations() {
{
one(stack).add(ResourceLookupInterceptor.class);
inSequence(sequ... |
diff --git a/src/java/se/idega/idegaweb/commune/adulteducation/presentation/PersonalInfo.java b/src/java/se/idega/idegaweb/commune/adulteducation/presentation/PersonalInfo.java
index 1c9836b..d6e6de6 100644
--- a/src/java/se/idega/idegaweb/commune/adulteducation/presentation/PersonalInfo.java
+++ b/src/java/se/idega/id... | false | true | private int parseAction(IWContext iwc) {
try {
if (iwc.isLoggedOn()) {
if (isInWindow()) {
student = getSession().getStudent();
studentId = ((Integer) student.getPrimaryKey()).intValue();
}
else {
studentId = iwc.getCurrentUserId();
userbuiz = (UserBusiness) IBOLookup.getServiceIns... | private int parseAction(IWContext iwc) {
try {
if (iwc.isLoggedOn()) {
userbuiz = (UserBusiness) IBOLookup.getServiceInstance(iwc, UserBusiness.class);
if (isInWindow()) {
student = getSession().getStudent();
studentId = ((Integer) student.getPrimaryKey()).intValue();
}
else {
stude... |
diff --git a/src/RayTracer.java b/src/RayTracer.java
index 24ac6f3..e2cdf5c 100644
--- a/src/RayTracer.java
+++ b/src/RayTracer.java
@@ -1,185 +1,185 @@
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.vecmath.Point3d;
import javax.vecm... | true | true | public static void main(String[] args) {
ArrayList<Point3d> planeVertices = new ArrayList<Point3d>();
ArrayList<Point3d> triAVertices = new ArrayList<Point3d>();
ArrayList<Point3d> triBVertices = new ArrayList<Point3d>();
ArrayList<Point3d> testPlaneVertices = new ArrayList<Point3d>();
ArrayList<Point3d> te... | public static void main(String[] args) {
ArrayList<Point3d> planeVertices = new ArrayList<Point3d>();
ArrayList<Point3d> triAVertices = new ArrayList<Point3d>();
ArrayList<Point3d> triBVertices = new ArrayList<Point3d>();
ArrayList<Point3d> testPlaneVertices = new ArrayList<Point3d>();
ArrayList<Point3d> te... |
diff --git a/src/me/confuserr/banmanager/data/BanData.java b/src/me/confuserr/banmanager/data/BanData.java
index 8e28d7c..67e5b37 100644
--- a/src/me/confuserr/banmanager/data/BanData.java
+++ b/src/me/confuserr/banmanager/data/BanData.java
@@ -1,37 +1,38 @@
package me.confuserr.banmanager.data;
public class BanDat... | true | true | public BanData(String dbanned, long dexpires, String dreason, long dtime, String dby) {
banned = dbanned;
expires = dexpires;
reason = dreason;
by = dby;
}
| public BanData(String dbanned, long dexpires, String dreason, long dtime, String dby) {
banned = dbanned;
expires = dexpires;
reason = dreason;
by = dby;
time = dtime;
}
|
diff --git a/src/main/java/com/alibaba/fastjson/serializer/SerializeWriter.java b/src/main/java/com/alibaba/fastjson/serializer/SerializeWriter.java
index 637d4e1..7747d28 100644
--- a/src/main/java/com/alibaba/fastjson/serializer/SerializeWriter.java
+++ b/src/main/java/com/alibaba/fastjson/serializer/SerializeWriter.... | true | true | private void writeStringWithDoubleQuote(String text, final char seperator, boolean checkSpecial) {
// final boolean[] specicalFlags_doubleQuotes =
// CharTypes.specicalFlags_doubleQuotes;
// final int len_flags = specicalFlags_doubleQuotes.length;
if (text == null) {
wri... | private void writeStringWithDoubleQuote(String text, final char seperator, boolean checkSpecial) {
// final boolean[] specicalFlags_doubleQuotes =
// CharTypes.specicalFlags_doubleQuotes;
// final int len_flags = specicalFlags_doubleQuotes.length;
if (text == null) {
wri... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/cpr/DefaultBroadcaster.java b/modules/cpr/src/main/java/org/atmosphere/cpr/DefaultBroadcaster.java
index 5b06cdc5b..0fa770ad7 100644
--- a/modules/cpr/src/main/java/org/atmosphere/cpr/DefaultBroadcaster.java
+++ b/modules/cpr/src/main/java/org/atmosphere/cpr/Default... | true | true | protected void push(Entry entry, boolean rec) {
if (destroyed.get()) {
return;
}
// We need to synchronize t make sure there is no suspend operation retrieving cached messages concurrently.
// https://github.com/Atmosphere/atmosphere/issues/170
synchronized (conc... | protected void push(Entry entry, boolean rec) {
if (destroyed.get()) {
return;
}
// We need to synchronize t make sure there is no suspend operation retrieving cached messages concurrently.
// https://github.com/Atmosphere/atmosphere/issues/170
synchronized (conc... |
diff --git a/src/main/java/jetbrick/schema/app/task/HibernateTask.java b/src/main/java/jetbrick/schema/app/task/HibernateTask.java
index 634b032..7c29665 100644
--- a/src/main/java/jetbrick/schema/app/task/HibernateTask.java
+++ b/src/main/java/jetbrick/schema/app/task/HibernateTask.java
@@ -1,38 +1,39 @@
package jetb... | true | true | public void execute() throws Throwable {
String packagePath = getPackagePath();
// output hibernate file for each table.
for (TableInfo table : schema.getTables()) {
Map<String, Object> context = getTemplateContext();
context.put("table", table);
for (Di... | public void execute() throws Throwable {
String packagePath = getPackagePath();
// output hibernate file for each table.
for (TableInfo table : schema.getTables()) {
Map<String, Object> context = getTemplateContext();
context.put("table", table);
for (Di... |
diff --git a/src/ua/vntu/amon/gui/LoginUI.java b/src/ua/vntu/amon/gui/LoginUI.java
index df25536..8c3cbc6 100644
--- a/src/ua/vntu/amon/gui/LoginUI.java
+++ b/src/ua/vntu/amon/gui/LoginUI.java
@@ -1,189 +1,189 @@
package ua.vntu.amon.gui;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Font;
i... | true | true | public LoginUI() {
setTitle("Login Form");
getContentPane().setLayout(new FlowLayout());
setSize(500, 250);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
/* GUI Panels */
JPanel informationPanel = new JPanel(new GridLayout(3, 2));
JPanel buttonPanel = new JPanel(new FlowLayout(F... | public LoginUI() {
setTitle("Login Form");
getContentPane().setLayout(new FlowLayout());
setSize(500, 250);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
/* GUI Panels */
JPanel informationPanel = new JPanel(new GridLayout(3, 2));
JPanel buttonPanel = new JPanel(new FlowLayout(F... |
diff --git a/CPAndroid/src/com/coffeeandpower/cont/UserSmart.java b/CPAndroid/src/com/coffeeandpower/cont/UserSmart.java
index 5b89be0..1d19c03 100644
--- a/CPAndroid/src/com/coffeeandpower/cont/UserSmart.java
+++ b/CPAndroid/src/com/coffeeandpower/cont/UserSmart.java
@@ -1,301 +1,311 @@
package com.coffeeandpower.con... | true | true | public UserSmart(JSONObject objUser)
{
super();
this.checkInId = objUser.optInt("checkin_id");
this.userId = objUser.optInt("userid");
this.nickName = objUser.optString("nickname");
this.statusText = objUser.optString("status_text");
this.photo = objUser.optString("photo");
this.majorJobCategory = obj... | public UserSmart(JSONObject objUser)
{
super();
this.checkInId = objUser.optInt("checkin_id");
this.userId = objUser.optInt("userid");
if(this.userId == 0)
{
this.userId = objUser.optInt("Id");
if(this.userId == 0)
this.userId = objUser.optInt("id");
}
if(this.userId == 0)
{
Log.d("User... |
diff --git a/src/pl/spaceshooters/entity/AnimatedEntity.java b/src/pl/spaceshooters/entity/AnimatedEntity.java
index f86f0da..2291f3a 100644
--- a/src/pl/spaceshooters/entity/AnimatedEntity.java
+++ b/src/pl/spaceshooters/entity/AnimatedEntity.java
@@ -1,35 +1,37 @@
package pl.spaceshooters.entity;
import pl.blackb... | true | true | public AnimatedEntity(ILevel level, float startX, float startY, EntityType entityType, Animation animation) {
super(level, startX, startY, entityType);
this.animation = animation;
}
| public AnimatedEntity(ILevel level, float startX, float startY, EntityType entityType, Animation animation) {
super(level, startX, startY, entityType);
this.animation = animation;
width = animation.getAnimation().getSprite(0, 0).getWidth();
height = animation.getAnimation().getSprite(0, 0).getHeight();
}
|
diff --git a/src/autosaveworld/threads/restart/CrashRestartThread.java b/src/autosaveworld/threads/restart/CrashRestartThread.java
index 1566699..9cce7e2 100644
--- a/src/autosaveworld/threads/restart/CrashRestartThread.java
+++ b/src/autosaveworld/threads/restart/CrashRestartThread.java
@@ -1,89 +1,89 @@
/**
* This ... | true | true | public void run()
{
plugin.debug("CrashRestartThread started");
Thread.currentThread().setName("AutoSaveWorld CrashRestartThread");
plugin.debug("Delaying crashrestart checker start for "+config.crdelay+" seconds");
//wait for configurable delay
try {Thread.sleep(config.crdelay*1000);} catch (Interrupted... | public void run()
{
plugin.debug("CrashRestartThread started");
Thread.currentThread().setName("AutoSaveWorld CrashRestartThread");
plugin.debug("Delaying crashrestart checker start for "+config.crdelay+" seconds");
//wait for configurable delay
try {Thread.sleep(config.crdelay*1000);} catch (Interrupted... |
diff --git a/javasrc/src/org/ccnx/ccn/profiles/repo/RepositoryOperations.java b/javasrc/src/org/ccnx/ccn/profiles/repo/RepositoryOperations.java
index 00212fb9b..316d67d2c 100644
--- a/javasrc/src/org/ccnx/ccn/profiles/repo/RepositoryOperations.java
+++ b/javasrc/src/org/ccnx/ccn/profiles/repo/RepositoryOperations.java... | true | true | public static ContentName getCheckedWriteTarget(Interest interest) {
ContentName orig = interest.name();
int pos = getCheckedWriteMarkerPos(interest);
ContentName head = orig.subname(0, pos);
ContentName tail = orig.subname(pos+2, orig.count()-pos-2);
return head.append(tail);
}
| public static ContentName getCheckedWriteTarget(Interest interest) {
ContentName orig = interest.name();
int pos = getCheckedWriteMarkerPos(interest);
ContentName head = orig.subname(0, pos);
ContentName tail = orig.subname(pos+2, orig.count());
return head.append(tail);
}
|
diff --git a/src/de/tum/in/tumcampus/models/Utils.java b/src/de/tum/in/tumcampus/models/Utils.java
index 6f9b900..9d907f0 100644
--- a/src/de/tum/in/tumcampus/models/Utils.java
+++ b/src/de/tum/in/tumcampus/models/Utils.java
@@ -1,274 +1,274 @@
package de.tum.in.tumcampus.models;
import java.io.BufferedReader;
imp... | false | true | public static void downloadIconFile(String url, String target)
throws Exception {
Log.d("TumCampus Download Icon", "TumCampus Download Icon " + url);
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(url);
httpget.addHeader("User-Agent",
"Mozilla/5.0 (iPhone; de-de) AppleWe... | public static void downloadIconFile(String url, String target)
throws Exception {
Log.d("TumCampus Download Icon", "TumCampus Download Icon " + url);
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(url);
httpget.addHeader("User-Agent",
"Mozilla/5.0 (iPhone; de-de) AppleWe... |
diff --git a/genomix/genomix-hyracks/src/main/java/edu/uci/ics/genomix/hyracks/graph/dataflow/ReadsKeyValueParserFactory.java b/genomix/genomix-hyracks/src/main/java/edu/uci/ics/genomix/hyracks/graph/dataflow/ReadsKeyValueParserFactory.java
index 995d14c9b..49ebb0d96 100644
--- a/genomix/genomix-hyracks/src/main/java/e... | false | true | public IKeyValueParser<LongWritable, Text> createKeyValueParser(final IHyracksTaskContext ctx)
throws HyracksDataException {
final ArrayTupleBuilder tupleBuilder = new ArrayTupleBuilder(2);
final ByteBuffer outputBuffer = ctx.allocateFrame();
final FrameTupleAppender outputAppend... | public IKeyValueParser<LongWritable, Text> createKeyValueParser(final IHyracksTaskContext ctx)
throws HyracksDataException {
final ArrayTupleBuilder tupleBuilder = new ArrayTupleBuilder(2);
final ByteBuffer outputBuffer = ctx.allocateFrame();
final FrameTupleAppender outputAppend... |
diff --git a/powershell/jaxrs/src/main/java/com/redhat/rhevm/api/powershell/resource/PowerShellHostsResource.java b/powershell/jaxrs/src/main/java/com/redhat/rhevm/api/powershell/resource/PowerShellHostsResource.java
index b9423de1..eb954905 100644
--- a/powershell/jaxrs/src/main/java/com/redhat/rhevm/api/powershell/re... | true | true | public Response add(UriInfo uriInfo, Host host) {
StringBuilder buf = new StringBuilder();
buf.append("add-host");
if (host.getName() != null) {
buf.append(" -name " + host.getName());
}
if (host.getAddress() != null) {
buf.append(" -hostname " + ho... | public Response add(UriInfo uriInfo, Host host) {
StringBuilder buf = new StringBuilder();
buf.append("add-host");
if (host.getName() != null) {
buf.append(" -name " + host.getName());
}
if (host.getAddress() != null) {
buf.append(" -hostname " + ho... |
diff --git a/src/com/android/camera/CameraScreenNail.java b/src/com/android/camera/CameraScreenNail.java
index ed97e50d..ed7c8477 100644
--- a/src/com/android/camera/CameraScreenNail.java
+++ b/src/com/android/camera/CameraScreenNail.java
@@ -1,221 +1,220 @@
/*
* Copyright (C) 2012 The Android Open Source Project
... | false | true | public void draw(GLCanvas canvas, int x, int y, int width, int height) {
if (getSurfaceTexture() == null) return;
synchronized (mLock) {
if (!mFirstFrameArrived) return;
if (!mVisible) mVisible = true;
if (mAnimState == ANIM_NONE) {
super.draw(can... | public void draw(GLCanvas canvas, int x, int y, int width, int height) {
synchronized (mLock) {
if (!mVisible) mVisible = true;
if (getSurfaceTexture() == null || !mFirstFrameArrived) return;
if (mAnimState == ANIM_NONE) {
super.draw(canvas, x, y, width, ... |
diff --git a/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java b/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
index 9f5f97db..f9d4e2fa 100644
--- a/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/Cal... | false | true | public void testStylesAndClasses(Template template) {
renderPage(STYLES_AND_CLASSES_TEST_URL, template, RESET_METHOD);
initIds(getParentId());
showPopup();
AssertTextEquals(popupButtonId, "Click", "Text for popup button has not been applied");
assertStyleAttributeContains(inputD... | public void testStylesAndClasses(Template template) {
renderPage(STYLES_AND_CLASSES_TEST_URL, template, RESET_METHOD);
initIds(getParentId());
showPopup();
AssertTextEquals(popupButtonId, "Click", "Text for popup button has not been applied");
assertStyleAttributeContains(inputD... |
diff --git a/src/edu/vub/at/nfcpoker/QRFunctions.java b/src/edu/vub/at/nfcpoker/QRFunctions.java
index 19b9818..46f52b8 100644
--- a/src/edu/vub/at/nfcpoker/QRFunctions.java
+++ b/src/edu/vub/at/nfcpoker/QRFunctions.java
@@ -1,180 +1,180 @@
package edu.vub.at.nfcpoker;
import java.nio.charset.Charset;
import and... | true | true | public static void showWifiConnectionDialog(final Activity act, final String wifiName, final String wifiPassword, final String ipAddress, boolean isDedicated) {
AlertDialog.Builder builder = new AlertDialog.Builder(act);
View dialogGuts = act.getLayoutInflater().inflate(R.layout.wifi_connection_dialog, null);
... | public static void showWifiConnectionDialog(final Activity act, final String wifiName, final String wifiPassword, final String ipAddress, boolean isDedicated) {
AlertDialog.Builder builder = new AlertDialog.Builder(act);
View dialogGuts = act.getLayoutInflater().inflate(R.layout.wifi_connection_dialog, null);
... |
diff --git a/srcj/com/sun/electric/database/network/NetCell.java b/srcj/com/sun/electric/database/network/NetCell.java
index 0d7f9e530..f6489f08c 100644
--- a/srcj/com/sun/electric/database/network/NetCell.java
+++ b/srcj/com/sun/electric/database/network/NetCell.java
@@ -1,787 +1,787 @@
/* -*- tab-width: 4 -*-
*
... | true | true | private void buildNetworkList(int[] netMapN)
{
netlistN = new NetlistImpl(this, numExportedDrawns, netMapN);
int[] netNameToNetIndex = new int[netNames.size()];
Arrays.fill(netNameToNetIndex, -1);
int numPorts = cell.getNumPorts();
for (int i = 0; i < numPorts; i++) {
Export e = cell.getPort(i);
... | private void buildNetworkList(int[] netMapN)
{
netlistN = new NetlistImpl(this, numExportedDrawns, netMapN);
int[] netNameToNetIndex = new int[netNames.size()];
Arrays.fill(netNameToNetIndex, -1);
int numPorts = cell.getNumPorts();
for (int i = 0; i < numPorts; i++) {
Export e = cell.getPort(i);
... |
diff --git a/test-modules/functional-tests/src/main/java/org/openlmis/pageobjects/UploadPage.java b/test-modules/functional-tests/src/main/java/org/openlmis/pageobjects/UploadPage.java
index ef6ecb0420..0770669f52 100644
--- a/test-modules/functional-tests/src/main/java/org/openlmis/pageobjects/UploadPage.java
+++ b/te... | true | true | public void uploadFile(String fileName){
uploadFilePath = System.getProperty("user.dir") + "/src/main/resources/"+fileName;
if(uploadFilePath.contains("functional-tests"))
setCsvPath.sendKeys(uploadFilePath);
else
{
uploadFilePath = System.getProperty("user.di... | public void uploadFile(String fileName){
uploadFilePath = System.getProperty("user.dir") + "/src/main/resources/"+fileName;
if(uploadFilePath.contains("functional-tests"))
setCsvPath.sendKeys(uploadFilePath);
else
{
uploadFilePath = System.getProperty("user.di... |
diff --git a/javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java b/javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java
index c90389ff6..ea83b2f3b 100644
--- a/javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java
+++ b/javaee-impl/src/test/java/org/jboss/f... | true | true | public void testCreateEndpoint() throws Exception
{
Project project = getProject();
JavaClass entity = generateEntity(project, null, "User");
assertFalse(entity.hasAnnotation(XmlRootElement.class));
setupRest();
queueInputLines("");
getShell().execute("rest endpoint-from-enti... | public void testCreateEndpoint() throws Exception
{
Project project = getProject();
JavaClass entity = generateEntity(project, null, "User");
assertFalse(entity.hasAnnotation(XmlRootElement.class));
setupRest();
queueInputLines("");
getShell().execute("rest endpoint-from-enti... |
diff --git a/src/main/java/org/sagebionetworks/web/client/view/ProjectsHomeViewImpl.java b/src/main/java/org/sagebionetworks/web/client/view/ProjectsHomeViewImpl.java
index b8239fec0..075da3048 100644
--- a/src/main/java/org/sagebionetworks/web/client/view/ProjectsHomeViewImpl.java
+++ b/src/main/java/org/sagebionetwor... | false | true | private void addCreateProject() {
SimplePanel container;
LayoutContainer horizontalTable = new LayoutContainer();
horizontalTable.addStyleName("row");
// title
container = new SimplePanel(new HTML(SafeHtmlUtils.fromSafeConstant("<h1>" + DisplayConstants.LABEL_PROJECT_NAME + "</h1>")));
container.a... | private void addCreateProject() {
SimplePanel container;
LayoutContainer horizontalTable = new LayoutContainer();
horizontalTable.addStyleName("row");
// title
container = new SimplePanel(new HTML(SafeHtmlUtils.fromSafeConstant("<h1>" + DisplayConstants.LABEL_PROJECT_NAME + "</h1>")));
container.a... |
diff --git a/src/pt/webdetails/cda/cache/HazelcastQueryCache.java b/src/pt/webdetails/cda/cache/HazelcastQueryCache.java
index 11c16b53..47e177f7 100644
--- a/src/pt/webdetails/cda/cache/HazelcastQueryCache.java
+++ b/src/pt/webdetails/cda/cache/HazelcastQueryCache.java
@@ -1,376 +1,376 @@
/* This Source Code Form is ... | true | true | public TableModel getTableModel(TableCacheKey key) {
try
{
TableModel tm = cache.get(key);
if(tm == null) return null;
ExtraCacheInfo info = cacheStats.get(key);
if(info != null)
{
//per instance ttl not supported by hazelcast, need to check manually
if(inf... | public TableModel getTableModel(TableCacheKey key) {
try
{
TableModel tm = cache.get(key);
if(tm == null) return null;
ExtraCacheInfo info = cacheStats.get(key);
if(info != null)
{
//per instance ttl not supported by hazelcast, need to check manually
if(inf... |
diff --git a/src/edu/wheaton/simulator/simulation/end/SimulationEnder.java b/src/edu/wheaton/simulator/simulation/end/SimulationEnder.java
index 23da6a8c..321ce58a 100644
--- a/src/edu/wheaton/simulator/simulation/end/SimulationEnder.java
+++ b/src/edu/wheaton/simulator/simulation/end/SimulationEnder.java
@@ -1,240 +1,... | true | true | public String serialize(){
String ret = "EndConditions";
ret += "\n" + Integer.toString(((TimeCondition) conditions[TIME_CONDITION]).maxSteps);
ImmutableMap<String, Integer> populationLimits =
((AgentPopulationCondition) conditions[POPULATION_CONDITIONS]).getPopLimits();
for (Entry<String, Integer> ... | public String serialize(){
String ret = "EndConditions";
ret += "\n" + Integer.toString(((TimeCondition) conditions[TIME_CONDITION]).maxSteps);
ImmutableMap<String, Integer> populationLimits =
((AgentPopulationCondition) conditions[POPULATION_CONDITIONS]).getPopLimits();
for (Entry<String, Integer> ... |
diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/message/SipServletResponseImpl.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/message/SipServletResponseImpl.java
index 6726cdce6..696f37cc2 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/message/SipServletR... | true | true | public void send(boolean sendReliably) {
if(isMessageSent) {
throw new IllegalStateException("message already sent");
}
if(hasBeenReceived) {
throw new IllegalStateException("this response was received from downstream");
}
try {
final Response response = getResponse();
final int statusCode = res... | public void send(boolean sendReliably) {
if(isMessageSent) {
throw new IllegalStateException("message already sent");
}
if(hasBeenReceived) {
throw new IllegalStateException("this response was received from downstream");
}
try {
final Response response = getResponse();
final int statusCode = res... |
diff --git a/tests/gdx-tests/src/com/badlogic/gdx/tests/Box2DTest.java b/tests/gdx-tests/src/com/badlogic/gdx/tests/Box2DTest.java
index 41c033839..d8ee8d1cd 100644
--- a/tests/gdx-tests/src/com/badlogic/gdx/tests/Box2DTest.java
+++ b/tests/gdx-tests/src/com/badlogic/gdx/tests/Box2DTest.java
@@ -1,366 +1,366 @@
/*****... | true | true | @Override public void render () {
// first we update the world. For simplicity
// we use the delta time provided by the Graphics
// instance. Normally you'll want to fix the time
// step.
long start = System.nanoTime();
world.step(Gdx.graphics.getDeltaTime(), 3, 3);
float updateTime = (System.nanoTime() ... | @Override public void render () {
// first we update the world. For simplicity
// we use the delta time provided by the Graphics
// instance. Normally you'll want to fix the time
// step.
long start = System.nanoTime();
world.step(Gdx.graphics.getDeltaTime(), 3, 3);
float updateTime = (System.nanoTime() ... |
diff --git a/src/main/java/com/atreceno/it/javanese/concurrency/SchedulerRunnable.java b/src/main/java/com/atreceno/it/javanese/concurrency/SchedulerRunnable.java
index b5a1859..1235fd7 100644
--- a/src/main/java/com/atreceno/it/javanese/concurrency/SchedulerRunnable.java
+++ b/src/main/java/com/atreceno/it/javanese/co... | true | true | public static void main(String[] args) {
System.out.println("Start");
SchedulerRunnable scheduler = new SchedulerRunnable();
for (int i = 0; i < NUM_OF_THREADS; i++) {
scheduler.createThread(i);
}
int i = 0;
while (true) {
System.out.println(Thread.currentThread().getName()
+ ": \tNotifying ... | public static void main(String[] args) {
System.out.println("Start");
SchedulerRunnable scheduler = new SchedulerRunnable();
for (int i = 0; i < NUM_OF_THREADS; i++) {
scheduler.createThread(i);
}
int i = 0;
while (true) {
System.out.println(Thread.currentThread().getName()
+ ": \tNotifying ... |
diff --git a/src/java/org/jdesktop/swingx/MultiSplitLayout.java b/src/java/org/jdesktop/swingx/MultiSplitLayout.java
index 42230eda..25a95ad2 100644
--- a/src/java/org/jdesktop/swingx/MultiSplitLayout.java
+++ b/src/java/org/jdesktop/swingx/MultiSplitLayout.java
@@ -1,2179 +1,2179 @@
/*
* $Id$
*
* Copyright 2004... | false | true | private void layoutShrink(Split split, Rectangle bounds) {
Rectangle splitBounds = split.getBounds();
ListIterator<Node> splitChildren = split.getChildren().listIterator();
Node lastWeightedChild = split.lastWeightedChild();
if (split.isRowLayout()) {
int totalWidth = 0; // sum of ... | private void layoutShrink(Split split, Rectangle bounds) {
Rectangle splitBounds = split.getBounds();
ListIterator<Node> splitChildren = split.getChildren().listIterator();
Node lastWeightedChild = split.lastWeightedChild();
if (split.isRowLayout()) {
int totalWidth = 0; // sum of ... |
diff --git a/test/src/org/omships/omships/test/RSSParseHandlerTest.java b/test/src/org/omships/omships/test/RSSParseHandlerTest.java
index 1a4f10f..989536c 100644
--- a/test/src/org/omships/omships/test/RSSParseHandlerTest.java
+++ b/test/src/org/omships/omships/test/RSSParseHandlerTest.java
@@ -1,136 +1,137 @@
packag... | false | true | public void testStringMarks() throws ParserConfigurationException, SAXException, IOException {
String texts[] = {
"A 'postrophe eludes us",
"He said \"Quiphobes\" my good sir.",
"Kneel before \'Zod\'!",
"The \' and \" do not match.",
/** TODO: Fix this test so that is checks, since the test is wr... | public void testStringMarks() throws ParserConfigurationException, SAXException, IOException {
String texts[] = {
"A 'postrophe eludes us",
"He said \"Quiphobes\" my good sir.",
"Kneel before \'Zod\'!",
"The \' and \" do not match.",
"omships: Pray for the Puerto Princesa preparation team as they... |
diff --git a/src/server/Server.java b/src/server/Server.java
index 6cc4369..17f1065 100644
--- a/src/server/Server.java
+++ b/src/server/Server.java
@@ -1,46 +1,51 @@
package server;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
public class Serv... | true | true | public void run() {
Socket socket;
ClientHandlerThread client;
while (true) {
System.out.println("Waiting for client");
socket = ss.accept();
client = new ClientHandlerThread(socket);
clients.add(client);
System.out.println("Got client!");
client.start();
}
}
| public void run() {
Socket socket;
ClientHandlerThread client;
while (true) {
try {
System.out.println("Waiting for client");
socket = ss.accept();
client = new ClientHandlerThread(socket);
clients.add(client);
System.out.println("Got client!");
client.start();
} catch (IOException ... |
diff --git a/src/main/java/ohtu/radioaine/controller/EluateController.java b/src/main/java/ohtu/radioaine/controller/EluateController.java
index 2566a9f..b5a578f 100644
--- a/src/main/java/ohtu/radioaine/controller/EluateController.java
+++ b/src/main/java/ohtu/radioaine/controller/EluateController.java
@@ -1,129 +1,12... | false | true | private Eluate createEluate(EluateFormObject efo) {
Eluate eluate = new Eluate();
System.out.println(efo.getStrength());
eluate.setStrength(efo.getStrength());
eluate.setVolume(efo.getVolume());
eluate.setTimestamp(Time.parseTimeStamp(efo.getDate() + " " + efo.getHours() + ":... | private Eluate createEluate(EluateFormObject efo) {
Eluate eluate = new Eluate();
System.out.println(efo.getStrength());
eluate.setStrength(efo.getStrength());
eluate.setVolume(efo.getVolume());
eluate.setTimestamp(Time.parseTimeStamp(efo.getDate() + " " + efo.getHours() + ":... |
diff --git a/activiti-webapp-rest2/src/main/java/org/activiti/rest/api/task/TaskPropertiesResource.java b/activiti-webapp-rest2/src/main/java/org/activiti/rest/api/task/TaskPropertiesResource.java
index 3dbee3286..e468a892b 100644
--- a/activiti-webapp-rest2/src/main/java/org/activiti/rest/api/task/TaskPropertiesResour... | true | true | public ObjectNode getTaskProperties() {
if(authenticate() == false) return null;
String taskId = (String) getRequest().getAttributes().get("taskId");
List<FormProperty> properties = ActivitiUtil.getFormService().getTaskFormData(taskId).getFormProperties();
ObjectNode responseJSON = new ObjectMapp... | public ObjectNode getTaskProperties() {
if(authenticate() == false) return null;
String taskId = (String) getRequest().getAttributes().get("taskId");
List<FormProperty> properties = ActivitiUtil.getFormService().getTaskFormData(taskId).getFormProperties();
ObjectNode responseJSON = new ObjectMapp... |
diff --git a/MODSRC/vazkii/tinkerer/client/model/ModelWings.java b/MODSRC/vazkii/tinkerer/client/model/ModelWings.java
index cbcb5458..3d9ff221 100644
--- a/MODSRC/vazkii/tinkerer/client/model/ModelWings.java
+++ b/MODSRC/vazkii/tinkerer/client/model/ModelWings.java
@@ -1,97 +1,97 @@
/**
* This class was created by ... | true | true | public void setRotationAngles(float v1, float v2, float v3, float v4, float v5, float v6, Entity entity) {
EntityLivingBase living = (EntityLivingBase) entity;
isSneak = living != null ? living.isSneaking() : false;
if(living != null && living instanceof EntityPlayer && ((EntityPlayer) living).... | public void setRotationAngles(float v1, float v2, float v3, float v4, float v5, float v6, Entity entity) {
EntityLivingBase living = (EntityLivingBase) entity;
isSneak = living != null ? living.isSneaking() : false;
if(living != null && living instanceof EntityPlayer) {
EntityPlayer pl... |
diff --git a/modules/foundation/sas/src/classes/org/jdesktop/wonderland/modules/sas/provider/SasProviderConnection.java b/modules/foundation/sas/src/classes/org/jdesktop/wonderland/modules/sas/provider/SasProviderConnection.java
index e5b235a47..eaa943635 100644
--- a/modules/foundation/sas/src/classes/org/jdesktop/won... | true | true | public void handleMessage(Message message) {
if (message instanceof MessageList) {
List<Message> list = ((MessageList)message).getMessages();
for(Message m : list)
handleMessage(m);
return;
}
logger.warning("Received message from s... | public void handleMessage(Message message) {
if (message instanceof MessageList) {
List<Message> list = ((MessageList)message).getMessages();
for(Message m : list)
handleMessage(m);
return;
}
logger.warning("Received message from s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.