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/src/main/java/com/adrguides/SearchViewGuides.java b/src/main/java/com/adrguides/SearchViewGuides.java
index 859f5da..c73c3f1 100644
--- a/src/main/java/com/adrguides/SearchViewGuides.java
+++ b/src/main/java/com/adrguides/SearchViewGuides.java
@@ -1,116 +1,116 @@
package com.adrguides;
import android.c... | true | true | public SearchViewGuides(final Context context, final MenuItem menuitem) {
final SearchView searchView = (SearchView) menuitem.getActionView();
// Configure the search info and add any event listeners
menuitem.setOnActionExpandListener(new MenuItem.OnActionExpandListener() {
@Ov... | public SearchViewGuides(final Context context, final MenuItem menuitem) {
final SearchView searchView = (SearchView) menuitem.getActionView();
// Configure the search info and add any event listeners
menuitem.setOnActionExpandListener(new MenuItem.OnActionExpandListener() {
@Ov... |
diff --git a/editor/src/main/java/kkckkc/jsourcepad/model/bundle/EnvironmentProvider.java b/editor/src/main/java/kkckkc/jsourcepad/model/bundle/EnvironmentProvider.java
index 2097193..d45cf95 100644
--- a/editor/src/main/java/kkckkc/jsourcepad/model/bundle/EnvironmentProvider.java
+++ b/editor/src/main/java/kkckkc/jsou... | true | true | public static Map<String, String> getEnvironment(Window window, BundleItemSupplier bundleItemSupplier) {
Map<String, String> environment = Maps.newHashMap();
Doc activeDoc = window.getDocList().getActiveDoc();
if (activeDoc != null) {
environment.put("TM_SCOPE", activeDoc.getActiveBuffer().getInsertionPoint(... | public static Map<String, String> getEnvironment(Window window, BundleItemSupplier bundleItemSupplier) {
Map<String, String> environment = Maps.newHashMap();
Doc activeDoc = window.getDocList().getActiveDoc();
if (activeDoc != null) {
environment.put("TM_SCOPE", activeDoc.getActiveBuffer().getInsertionPoint(... |
diff --git a/frost-wot/source/frost/gui/TofTreeCellRenderer.java b/frost-wot/source/frost/gui/TofTreeCellRenderer.java
index b90b84d6..f79048d6 100644
--- a/frost-wot/source/frost/gui/TofTreeCellRenderer.java
+++ b/frost-wot/source/frost/gui/TofTreeCellRenderer.java
@@ -1,183 +1,181 @@
/*
TofTreeCellRenderer.java / F... | true | true | public Component getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,... | public Component getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,... |
diff --git a/src/beads_main/net/beadsproject/beads/ugens/Add.java b/src/beads_main/net/beadsproject/beads/ugens/Add.java
index 598bfe4..d6918bf 100644
--- a/src/beads_main/net/beadsproject/beads/ugens/Add.java
+++ b/src/beads_main/net/beadsproject/beads/ugens/Add.java
@@ -1,152 +1,152 @@
/*
* This file is part of Be... | true | true | public void calculateBuffer() {
if (adderUGen == null) {
for (int j = 0; j < outs; j++) {
float[] bi = bufIn[j];
float[] bo = bufOut[j];
for (int i = 0; i < bufferSize; i++) {
bo[i] = bi[j] + adder;
}
}
} else {
adderUGen.update();
if (outs == 1) {
float[] bi = bufIn[0];
fl... | public void calculateBuffer() {
if (adderUGen == null) {
for (int j = 0; j < outs; j++) {
float[] bi = bufIn[j];
float[] bo = bufOut[j];
for (int i = 0; i < bufferSize; i++) {
bo[i] = bi[i] + adder;
}
}
} else {
adderUGen.update();
if (outs == 1) {
float[] bi = bufIn[0];
fl... |
diff --git a/src/main/java/com/edwardhand/mobrider/listeners/RiderDamageListener.java b/src/main/java/com/edwardhand/mobrider/listeners/RiderDamageListener.java
index 0a20352..bc29432 100644
--- a/src/main/java/com/edwardhand/mobrider/listeners/RiderDamageListener.java
+++ b/src/main/java/com/edwardhand/mobrider/listen... | false | true | public void onEntityDamageByEntity(EntityDamageByEntityEvent event)
{
if (event.isCancelled())
return;
Entity entity = event.getEntity();
Entity damager = event.getDamager();
if (damager instanceof Projectile) {
damager = ((Projectile) damager).getShoote... | public void onEntityDamageByEntity(EntityDamageByEntityEvent event)
{
if (event.isCancelled())
return;
Entity entity = event.getEntity();
Entity damager = event.getDamager();
if (damager instanceof Projectile) {
damager = ((Projectile) damager).getShoote... |
diff --git a/PacketHandler.java b/PacketHandler.java
index 9ffbe33..41753c3 100644
--- a/PacketHandler.java
+++ b/PacketHandler.java
@@ -1,70 +1,70 @@
package assets.pchan3;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;... | true | true | private void handle(Packet250CustomPayload payload, Player player) {
DataInputStream inStream = new DataInputStream(new ByteArrayInputStream(payload.data));
short data;
try {
data = inStream.readShort();
} catch (IOException e) {
e.printStackTrace();
return;
}
Entity ent ... | private void handle(Packet250CustomPayload payload, Player player) {
DataInputStream inStream = new DataInputStream(new ByteArrayInputStream(payload.data));
short data;
try {
data = inStream.readShort();
} catch (IOException e) {
e.printStackTrace();
return;
}
Entity ent ... |
diff --git a/src/edu/ucla/cens/awserver/service/MessageLoggerService.java b/src/edu/ucla/cens/awserver/service/MessageLoggerService.java
index bbe5b293..55fad967 100644
--- a/src/edu/ucla/cens/awserver/service/MessageLoggerService.java
+++ b/src/edu/ucla/cens/awserver/service/MessageLoggerService.java
@@ -1,120 +1,124 ... | true | true | private void logUploadToFilesystem(AwRequest awRequest) {
// Persist the devices's upload to the filesystem
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
String fileName = awRequest.getUser().getUserName() + "-" + sdf.format(new Date());
String catalinaBase = System.getProperty("catalina... | private void logUploadToFilesystem(AwRequest awRequest) {
// Persist the devices's upload to the filesystem
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
String fileName = awRequest.getUser().getUserName() + "-" + sdf.format(new Date());
String catalinaBase = System.getProperty("catalina... |
diff --git a/BMC/src/bmc/game/level/Level.java b/BMC/src/bmc/game/level/Level.java
index 14c24d0..894b975 100644
--- a/BMC/src/bmc/game/level/Level.java
+++ b/BMC/src/bmc/game/level/Level.java
@@ -1,231 +1,231 @@
package bmc.game.level;
import java.util.ArrayList;
import bmc.game.Panel;
import bmc.game.game... | false | true | public CollisionStates IsCollidingWithLevel(RectF rect)
{
// We have the bounding rectangle for the object in question. Now
// we should check all of the blocks in our paths to see if they intersect in any direction.
CollisionStates state = CollisionStates.NONE;
boolean top = fal... | public CollisionStates IsCollidingWithLevel(RectF rect)
{
// We have the bounding rectangle for the object in question. Now
// we should check all of the blocks in our paths to see if they intersect in any direction.
CollisionStates state = CollisionStates.NONE;
boolean top = fal... |
diff --git a/src/main/java/com/mns/mojoinvest/server/pipeline/quote/ISharesQuoteFetcherControlJob.java b/src/main/java/com/mns/mojoinvest/server/pipeline/quote/ISharesQuoteFetcherControlJob.java
index 2e054a1..72c2c20 100644
--- a/src/main/java/com/mns/mojoinvest/server/pipeline/quote/ISharesQuoteFetcherControlJob.java... | true | true | public Value<String> run(String sessionId) {
List<FutureValue<String>> quotesUpdated = new ArrayList<FutureValue<String>>();
FundDao dao = PipelineHelper.getFundDao();
for (Fund fund : dao.list()) {
// quotesUpdated.add(futureCall(new ISharesQuoteFetcherJob(), immediate(fund.get... | public Value<String> run(String sessionId) {
List<FutureValue<String>> quotesUpdated = new ArrayList<FutureValue<String>>();
FundDao dao = PipelineHelper.getFundDao();
for (Fund fund : dao.list()) {
quotesUpdated.add(futureCall(new ISharesQuoteFetcherJob(), immediate(fund.getFu... |
diff --git a/aura-impl/src/test/java/org/auraframework/impl/layouts/LayoutItemsUITest.java b/aura-impl/src/test/java/org/auraframework/impl/layouts/LayoutItemsUITest.java
index 2f57ef84c0..4d5b551839 100644
--- a/aura-impl/src/test/java/org/auraframework/impl/layouts/LayoutItemsUITest.java
+++ b/aura-impl/src/test/java... | false | true | public void testNavigationWhenLayoutHasMultipleLayoutItems() throws Exception {
By forwardButton = By.cssSelector(".Forward_Button");
By backButton = By.cssSelector(".Back_Button");
By layoutDone = By.cssSelector(".layoutDone");
By removeLayoutDone = By.cssSelector(".Remove_Layout_Do... | public void testNavigationWhenLayoutHasMultipleLayoutItems() throws Exception {
By forwardButton = By.cssSelector(".Forward_Button");
By backButton = By.cssSelector(".Back_Button");
By layoutDone = By.cssSelector(".layoutDone");
By removeLayoutDone = By.cssSelector(".Remove_Layout_Do... |
diff --git a/src/main/java/Sirius/server/search/builtin/GeoSearch.java b/src/main/java/Sirius/server/search/builtin/GeoSearch.java
index d15b587b..70649e57 100644
--- a/src/main/java/Sirius/server/search/builtin/GeoSearch.java
+++ b/src/main/java/Sirius/server/search/builtin/GeoSearch.java
@@ -1,126 +1,132 @@
/*******... | true | true | public Collection performServerSearch() {
final ArrayList<Node> aln = new ArrayList<Node>();
try {
getLog().info("geosearch started");
final Collection<MetaClass> classes = getValidClasses();
// "select class_id,object_id,name from GEOSUCHE where class_id in <cidsC... | public Collection performServerSearch() {
final ArrayList<Node> aln = new ArrayList<Node>();
try {
getLog().info("geosearch started");
final Collection<MetaClass> classes = getValidClasses();
// "select class_id,object_id,name from GEOSUCHE where class_id in <cidsC... |
diff --git a/src/com/joy/launcher2/push/PushDownloadManager.java b/src/com/joy/launcher2/push/PushDownloadManager.java
index 950adf8..962d7a2 100644
--- a/src/com/joy/launcher2/push/PushDownloadManager.java
+++ b/src/com/joy/launcher2/push/PushDownloadManager.java
@@ -1,220 +1,220 @@
package com.joy.launcher2.push;
... | false | true | public void run() {
InputStream is = null;
RandomAccessFile randomAccessFile = null;
try {
int startPos = downinfo.getCompletesize()*1024;
int endPos = downinfo.getFilesize()*1024;
is = mService.getPushDownLoadInputStream(downinfo.getUrl(), startPos, endPos);
boolean isBreakPoint = mService.g... | public void run() {
InputStream is = null;
RandomAccessFile randomAccessFile = null;
try {
int startPos = downinfo.getCompletesize()*1024;
int endPos = downinfo.getFilesize()*1024;
is = mService.getPushDownLoadInputStream(downinfo.getUrl(), startPos, endPos);
boolean isBreakPoint = mService.g... |
diff --git a/src/main/java/in/mDev/MiracleM4n/mChatSuite/mChatAPI.java b/src/main/java/in/mDev/MiracleM4n/mChatSuite/mChatAPI.java
index 32744bb..bbf0f0c 100644
--- a/src/main/java/in/mDev/MiracleM4n/mChatSuite/mChatAPI.java
+++ b/src/main/java/in/mDev/MiracleM4n/mChatSuite/mChatAPI.java
@@ -1,481 +1,481 @@
package in... | true | true | public String ParseMessage(String pName, String msg, String format) {
Player player = plugin.getServer().getPlayer(pName);
if (player == null)
return addColour(format);
String prefix = plugin.getInfoReader().getRawPrefix(player);
String suffix = plugin.getInfoReader().g... | public String ParseMessage(String pName, String msg, String format) {
Player player = plugin.getServer().getPlayer(pName);
if (player == null)
return addColour(format);
String prefix = plugin.getInfoReader().getRawPrefix(player);
String suffix = plugin.getInfoReader().g... |
diff --git a/src/uk/me/graphe/client/DrawingImpl.java b/src/uk/me/graphe/client/DrawingImpl.java
index 4ffa337..e1684d6 100644
--- a/src/uk/me/graphe/client/DrawingImpl.java
+++ b/src/uk/me/graphe/client/DrawingImpl.java
@@ -1,1041 +1,1041 @@
package uk.me.graphe.client;
import java.util.ArrayList;
import java.uti... | false | true | private void doRendering() {
// Update frames drawn
mFramesDone++;
// Can not render while render is happening
mCanRender = false;
// Do a (kind of reliable) check for webgl
if (webglCheck() == 1) {
// Can do WebGL
mNumVertices =... | private void doRendering() {
// Update frames drawn
mFramesDone++;
// Can not render while render is happening
mCanRender = false;
// Do a (kind of reliable) check for webgl
if (webglCheck() == 1) {
// Can do WebGL
mNumVertices =... |
diff --git a/src/somebody/is/madbro/handlers/BotHandler.java b/src/somebody/is/madbro/handlers/BotHandler.java
index c9679dc..cbf48a2 100644
--- a/src/somebody/is/madbro/handlers/BotHandler.java
+++ b/src/somebody/is/madbro/handlers/BotHandler.java
@@ -1,252 +1,252 @@
package somebody.is.madbro.handlers;
import org... | false | true | public void onPlayerJoin(PlayerJoinEvent event) {
if (!Settings.enabled) {
return;
}
try {
botclass.getUtility().getDebug()
.debug("User is trying to connect..");
data.getBotTracker().time = System.currentTimeMillis();
if (botclass.getHandler().getPermissions()
.hasPerms(event.getPlayer())... | public void onPlayerJoin(PlayerJoinEvent event) {
if (!Settings.enabled) {
return;
}
try {
botclass.getUtility().getDebug()
.debug("User is trying to connect..");
data.getBotTracker().time = System.currentTimeMillis();
if (botclass.getHandler().getPermissions()
.hasPerms(event.getPlayer())... |
diff --git a/src/uurss/DownloadTask.java b/src/uurss/DownloadTask.java
index c118403..aefe1ce 100644
--- a/src/uurss/DownloadTask.java
+++ b/src/uurss/DownloadTask.java
@@ -1,111 +1,111 @@
package uurss;
import java.io.*;
import java.net.*;
import java.nio.channels.*;
import java.security.*;
import java.util.co... | true | true | public File call() throws Exception {
File feedFile = new File(root, getMessageDigestString(info.name) + ".xml");
info.setFile(feedFile);
if (log.isDebugEnabled()) {
log.debug(String.format("%s(%s) => [%s]", info.name, info.url, feedFile.getName()));
}
URL url = n... | public File call() throws Exception {
File feedFile = new File(root, getMessageDigestString(info.name) + ".xml");
info.setFile(feedFile);
if (log.isDebugEnabled()) {
log.debug(String.format("%s(%s) => [%s]", info.name, info.url, feedFile.getName()));
}
URL url = n... |
diff --git a/appinventor/appengine/src/com/google/appinventor/client/explorer/commands/EnsurePhoneConnectedCommand.java b/appinventor/appengine/src/com/google/appinventor/client/explorer/commands/EnsurePhoneConnectedCommand.java
index 552b7e10..86417260 100644
--- a/appinventor/appengine/src/com/google/appinventor/clie... | true | true | public void execute(final ProjectNode node) {
AsyncCallback<Boolean> callback = new AsyncCallback<Boolean>() {
@Override
public void onFailure(Throwable caught) {
ErrorReporter.reportError(caught.getMessage());
executionFailedOrCanceled();
}
@Override
public void onS... | public void execute(final ProjectNode node) {
AsyncCallback<Boolean> callback = new AsyncCallback<Boolean>() {
@Override
public void onFailure(Throwable caught) {
ErrorReporter.reportError(caught.getMessage());
executionFailedOrCanceled();
}
@Override
public void onS... |
diff --git a/src/org/eclipse/core/internal/resources/Synchronizer.java b/src/org/eclipse/core/internal/resources/Synchronizer.java
index 21240891..55fe50a4 100644
--- a/src/org/eclipse/core/internal/resources/Synchronizer.java
+++ b/src/org/eclipse/core/internal/resources/Synchronizer.java
@@ -1,261 +1,265 @@
/*******... | true | true | public void setSyncInfo(QualifiedName partner, IResource resource, byte[] info) throws CoreException {
Assert.isLegal(partner != null);
Assert.isLegal(resource != null);
try {
workspace.prepareOperation(resource, null);
workspace.beginOperation(true);
if (!isRegistered(partner)) {
String message = N... | public void setSyncInfo(QualifiedName partner, IResource resource, byte[] info) throws CoreException {
Assert.isLegal(partner != null);
Assert.isLegal(resource != null);
try {
workspace.prepareOperation(resource, null);
workspace.beginOperation(true);
if (!isRegistered(partner)) {
String message = N... |
diff --git a/WikiOnThisDay.java b/WikiOnThisDay.java
index 65f176a..67f6493 100644
--- a/WikiOnThisDay.java
+++ b/WikiOnThisDay.java
@@ -1,182 +1,185 @@
/*
*
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2013 Raveesh Bhalla <me@raveesh.cot>
... | false | true | public WikiOnThisDay(int month,int date) throws JSONException, IOException, XPatherException{
String[] months = {
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
};
URL url = new URL("http://w... | public WikiOnThisDay(int month,int date) throws JSONException, IOException, XPatherException{
String[] months = {
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
};
URL url = new URL("http://w... |
diff --git a/nuxeo-core-event/src/test/java/org/nuxeo/ecm/core/event/test/TestEventListenerContrib.java b/nuxeo-core-event/src/test/java/org/nuxeo/ecm/core/event/test/TestEventListenerContrib.java
index b33de1d8f..f89fdc758 100644
--- a/nuxeo-core-event/src/test/java/org/nuxeo/ecm/core/event/test/TestEventListenerContr... | false | true | public void testMerge() throws Exception {
URL url = EventListenerTest.class.getClassLoader().getResource(
"test-listeners.xml");
RuntimeContext rc = deployTestContrib("org.nuxeo.ecm.core.event", url);
EventService service = Framework.getService(EventService.class);
EventSer... | public void testMerge() throws Exception {
URL url = EventListenerTest.class.getClassLoader().getResource(
"test-listeners.xml");
RuntimeContext rc = deployTestContrib("org.nuxeo.ecm.core.event", url);
EventService service = Framework.getService(EventService.class);
EventSer... |
diff --git a/src/test/java/dbmigrate/parser/LoaderTest.java b/src/test/java/dbmigrate/parser/LoaderTest.java
index 1fed5f7..671b1bf 100644
--- a/src/test/java/dbmigrate/parser/LoaderTest.java
+++ b/src/test/java/dbmigrate/parser/LoaderTest.java
@@ -1,37 +1,37 @@
package dbmigrate.parser;
import java.io.File;
imp... | true | true | public void testCreateMigrationConfiguration(){
try {
MigrationConfiguration mc = Loader.load(new File("migrations/2011111001_first_migration.xml", false));
CreateTableOperationDescriptor desc = (CreateTableOperationDescriptor) mc.getOperations().get(0);
CreateTableExecutor executor = new CreateTableExecuto... | public void testCreateMigrationConfiguration(){
try {
MigrationConfiguration mc = Loader.load(new File("migrations/2011111001_first_migration.xml"), false);
CreateTableOperationDescriptor desc = (CreateTableOperationDescriptor) mc.getOperations().get(0);
CreateTableExecutor executor = new CreateTableExecuto... |
diff --git a/src/main/java/ch/entwine/weblounge/taglib/content/HTMLHeaderTag.java b/src/main/java/ch/entwine/weblounge/taglib/content/HTMLHeaderTag.java
index ca5f1aff8..943997ba1 100644
--- a/src/main/java/ch/entwine/weblounge/taglib/content/HTMLHeaderTag.java
+++ b/src/main/java/ch/entwine/weblounge/taglib/content/HT... | false | true | public int doEndTag() throws JspException {
HTMLAction action = (HTMLAction) getRequest().getAttribute(WebloungeRequest.ACTION);
// See what the action has to contribute
try {
pageContext.getOut().flush();
if (action != null && action.startHeader(request, response) == HTMLAction.SKIP_HEADER) ... | public int doEndTag() throws JspException {
HTMLAction action = (HTMLAction) getRequest().getAttribute(WebloungeRequest.ACTION);
// See what the action has to contribute
try {
pageContext.getOut().flush();
if (action != null && action.startHeader(request, response) == HTMLAction.SKIP_HEADER) ... |
diff --git a/module-api/src/main/java/org/xbrlapi/data/XBRLStoreImpl.java b/module-api/src/main/java/org/xbrlapi/data/XBRLStoreImpl.java
index b1b146a1..7a34db6f 100644
--- a/module-api/src/main/java/org/xbrlapi/data/XBRLStoreImpl.java
+++ b/module-api/src/main/java/org/xbrlapi/data/XBRLStoreImpl.java
@@ -1,402 +1,403 ... | true | true | public FragmentList<Fragment> getNetworkRoots(String linkNamespace, String linkName, String linkRole, String arcNamespace, String arcName, String arcRole) throws XBRLException {
// Get the links that contain the network declaring arcs.
String linkQuery = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment... | public FragmentList<Fragment> getNetworkRoots(String linkNamespace, String linkName, String linkRole, String arcNamespace, String arcName, String arcRole) throws XBRLException {
// Get the links that contain the network declaring arcs.
String linkQuery = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment... |
diff --git a/source/org/jbubblebreaker/bubbles/Bubble3DCircle.java b/source/org/jbubblebreaker/bubbles/Bubble3DCircle.java
index 612c5d2..fe08dee 100644
--- a/source/org/jbubblebreaker/bubbles/Bubble3DCircle.java
+++ b/source/org/jbubblebreaker/bubbles/Bubble3DCircle.java
@@ -1,92 +1,91 @@
/*
* Copyright 2008 Sven S... | true | true | public void paint(Graphics g) {
g.clearRect(0, 0, radius, radius);
if (isMarked() == true) {
g.setColor(Color.GRAY);
g.fillRect(0, 0, radius, radius);
}
if (image[0] == null || radius != oldradius) {
String[] filenames = {"bubble-red","bubble-blue","bubble-yellow"
,"bubble-magenta","bubble-green"}... | public void paint(Graphics g) {
if (isMarked() == true) {
g.setColor(Color.GRAY);
g.fillRect(0, 0, radius, radius);
}
if (image[0] == null || radius != oldradius) {
String[] filenames = {"bubble-red","bubble-blue","bubble-yellow"
,"bubble-magenta","bubble-green"};
for(int i = 0; i < 5; i++) {
... |
diff --git a/IslandCraft-Dynmap/src/main/java/com/github/hoqhuuep/islandcraft/dynmap/IslandListener.java b/IslandCraft-Dynmap/src/main/java/com/github/hoqhuuep/islandcraft/dynmap/IslandListener.java
index 463dd20..396407e 100644
--- a/IslandCraft-Dynmap/src/main/java/com/github/hoqhuuep/islandcraft/dynmap/IslandListene... | false | true | private void updateMarker(final IslandDeed deed) {
final IslandStatus status = deed.getStatus();
final SerializableLocation island = deed.getId();
final String id = island.getWorld() + "'" + island.getX() + "'" + island.getY() + "'" + island.getZ();
final SerializableRegion region = ... | private void updateMarker(final IslandDeed deed) {
final IslandStatus status = deed.getStatus();
final SerializableLocation island = deed.getId();
final String id = island.getWorld() + "'" + island.getX() + "'" + island.getY() + "'" + island.getZ();
final SerializableRegion region = ... |
diff --git a/src/java/axiom/objectmodel/dom/UrlAnalyzer.java b/src/java/axiom/objectmodel/dom/UrlAnalyzer.java
index 930d7c7..31d126e 100644
--- a/src/java/axiom/objectmodel/dom/UrlAnalyzer.java
+++ b/src/java/axiom/objectmodel/dom/UrlAnalyzer.java
@@ -1,59 +1,61 @@
package axiom.objectmodel.dom;
import java.io.IOE... | false | true | public TokenStream tokenStream(String fieldName, final Reader reader) {
return new TokenStream() {
private final Pattern stripTokens = Pattern.compile("^(http:/|www|com|org|net)");
private final Pattern endTokens = Pattern.compile("(\\.|/|-|_|\\?)$");
private boolean done = false;
... | public TokenStream tokenStream(String fieldName, final Reader reader) {
return new TokenStream() {
private final Pattern stripTokens = Pattern.compile("^(http:/|www|com|org|net)");
private final Pattern endTokens = Pattern.compile("(\\.|/|-|_|\\?)$");
private boolean done = false;
... |
diff --git a/src/se/mah/kd330a/project/itsl/FragmentITSL.java b/src/se/mah/kd330a/project/itsl/FragmentITSL.java
index 02baa2b..f65b2cc 100644
--- a/src/se/mah/kd330a/project/itsl/FragmentITSL.java
+++ b/src/se/mah/kd330a/project/itsl/FragmentITSL.java
@@ -1,273 +1,278 @@
package se.mah.kd330a.project.itsl;
import ... | false | true | private ArrayList<TabFragment> createFragments()
{
ArrayList<TabFragment> fragments = new ArrayList<TabFragment>();
Bundle b = new Bundle();
HashMap<String, FeedObject> foList = getFeedObjects();
actionBar.removeAllTabs();
/*
* The first tab contains everything unfiltered
actionBar.addTab(
actio... | private ArrayList<TabFragment> createFragments()
{
ArrayList<TabFragment> fragments = new ArrayList<TabFragment>();
Bundle b = new Bundle();
HashMap<String, FeedObject> foList = getFeedObjects();
actionBar.removeAllTabs();
/*
* The first tab contains everything unfiltered
actionBar.addTab(
actio... |
diff --git a/src/relop/SimpleJoin.java b/src/relop/SimpleJoin.java
index 4598a2f..97b3681 100644
--- a/src/relop/SimpleJoin.java
+++ b/src/relop/SimpleJoin.java
@@ -1,118 +1,119 @@
package relop;
import java.util.Arrays;
/**
* The simplest of all join algorithms: nested loops (see textbook, 3rd edition,
* se... | false | true | private void calcNext()
{
Tuple candidate = null;
while (left.hasNext())
{
if (right.hasNext())
{
// merge right and left tuples
candidate = Tuple.join(left.getNext(), right.getNext(),
mergedSchema);
boolean valid = true;
// check this candidate with each merge condition (Predicate)
... | private void calcNext()
{
Tuple candidate = null;
while (left.hasNext())
{
Tuple leftTuple = left.getNext();
while(right.hasNext())
{
// merge right and left tuples
candidate = Tuple.join(leftTuple, right.getNext(),
mergedSchema);
boolean valid = true;
// check this candidate with... |
diff --git a/client/src/main/java/albin/oredev/year2012/server/model/SpeakerDTO.java b/client/src/main/java/albin/oredev/year2012/server/model/SpeakerDTO.java
index 5c249ab..a86204f 100644
--- a/client/src/main/java/albin/oredev/year2012/server/model/SpeakerDTO.java
+++ b/client/src/main/java/albin/oredev/year2012/serv... | true | true | public Speaker toSpeaker() {
return new Speaker(id, name, photoFile, biography);
}
| public Speaker toSpeaker() {
if (biography != null && biography.indexOf("\n") >= 0) {
biography = biography.replace("\n", " ");
}
return new Speaker(id, name, photoFile, biography);
}
|
diff --git a/src/com/android/settings/wifi/WifiSettings.java b/src/com/android/settings/wifi/WifiSettings.java
index 52bf3662d..891d7727a 100644
--- a/src/com/android/settings/wifi/WifiSettings.java
+++ b/src/com/android/settings/wifi/WifiSettings.java
@@ -1,749 +1,750 @@
/*
* Copyright (C) 2010 The Android Open Sou... | true | true | public void onActivityCreated(Bundle savedInstanceState) {
// We don't call super.onActivityCreated() here, since it assumes we already set up
// Preference (probably in onCreate()), while WifiSettings exceptionally set it up in
// this method.
mWifiManager = (WifiManager) getSystem... | public void onActivityCreated(Bundle savedInstanceState) {
// We don't call super.onActivityCreated() here, since it assumes we already set up
// Preference (probably in onCreate()), while WifiSettings exceptionally set it up in
// this method.
mWifiManager = (WifiManager) getSystem... |
diff --git a/modules/world/kmzloader/src/classes/org/jdesktop/wonderland/modules/kmzloader/client/KmzLoader.java b/modules/world/kmzloader/src/classes/org/jdesktop/wonderland/modules/kmzloader/client/KmzLoader.java
index e1f4ae74d..6506717a3 100644
--- a/modules/world/kmzloader/src/classes/org/jdesktop/wonderland/modul... | false | true | public ImportedModel importModel(ImportSettings settings) throws IOException {
ImportedModel importedModel;
URL modelURL = settings.getModelURL();
if (!modelURL.getProtocol().equalsIgnoreCase("file")) {
final String modelURLStr = modelURL.toExternalForm();
SwingUtili... | public ImportedModel importModel(ImportSettings settings) throws IOException {
ImportedModel importedModel;
URL modelURL = settings.getModelURL();
if (!modelURL.getProtocol().equalsIgnoreCase("file")) {
final String modelURLStr = modelURL.toExternalForm();
SwingUtili... |
diff --git a/RequirementsDiscussionAnalyzer/src/main/java/org/computer/knauss/reqtDiscussion/ui/uiModel/DiscussionTableModel.java b/RequirementsDiscussionAnalyzer/src/main/java/org/computer/knauss/reqtDiscussion/ui/uiModel/DiscussionTableModel.java
index df75ea8..1251e4c 100644
--- a/RequirementsDiscussionAnalyzer/src/... | true | true | private Discussion[] filterDiscussions(Discussion[] discussions) {
IDiscussionFilter filter = new IDiscussionFilter() {
@Override
public boolean accept(Discussion d) {
String summary = d.getSummary().trim().toLowerCase();
return !summary.equals("test") && !summary.equals("there")
&& !summary.equ... | private Discussion[] filterDiscussions(Discussion[] discussions) {
IDiscussionFilter filter = new IDiscussionFilter() {
@Override
public boolean accept(Discussion d) {
if (d == null || d.getSummary() == null)
return false;
String summary = d.getSummary().trim().toLowerCase();
return !summary.... |
diff --git a/tool/src/java/org/sakaiproject/assignment2/tool/producers/evolvers/AttachmentInputEvolver.java b/tool/src/java/org/sakaiproject/assignment2/tool/producers/evolvers/AttachmentInputEvolver.java
index edcf5509..8ad4eadf 100644
--- a/tool/src/java/org/sakaiproject/assignment2/tool/producers/evolvers/Attachment... | false | true | public UIJointContainer evolveAttachment(UIInputMany toevolve, boolean removable) {
UIJointContainer togo = new UIJointContainer(toevolve.parent, toevolve.ID, COMPONENT_ID);
toevolve.parent.remove(toevolve);
toevolve.ID = "attachments-input";
togo.addComponent(toevolve);
St... | public UIJointContainer evolveAttachment(UIInputMany toevolve, boolean removable) {
UIJointContainer togo = new UIJointContainer(toevolve.parent, toevolve.ID, COMPONENT_ID);
toevolve.parent.remove(toevolve);
toevolve.ID = "attachments-input";
togo.addComponent(toevolve);
St... |
diff --git a/tests/src/org/nerdcircus/android/hiveminder/tests/parser/HmXmlParserTest.java b/tests/src/org/nerdcircus/android/hiveminder/tests/parser/HmXmlParserTest.java
index 50109ba..d9eba7e 100644
--- a/tests/src/org/nerdcircus/android/hiveminder/tests/parser/HmXmlParserTest.java
+++ b/tests/src/org/nerdcircus/andr... | false | true | public void testParseBraindump() throws HmAuthException, HmParseException, XmlPullParserException, IOException {
String task1 = "<data><content>"
+ "<action_class>BTDT::Action::ParseTasksMagically</action_class>"
+ "<created><id>1</id><summary>some content</summary></created>"
... | public void testParseBraindump() throws HmAuthException, HmParseException, XmlPullParserException, IOException {
String task1 = "<data>"
+ "<action_class>BTDT::Action::ParseTasksMagically</action_class>"
+ "<content><created><id>1</id><summary>some content</summary></created></conten... |
diff --git a/bundles/plugins/org.bonitasoft.studio.connectors/src/org/bonitasoft/studio/connectors/ui/wizard/page/SelectDatabaseOutputTypeWizardPage.java b/bundles/plugins/org.bonitasoft.studio.connectors/src/org/bonitasoft/studio/connectors/ui/wizard/page/SelectDatabaseOutputTypeWizardPage.java
index ea2a21c492..d3b24... | true | true | protected Control doCreateControl(Composite parent, EMFDataBindingContext context) {
final Composite mainComposite = new Composite(parent, SWT.NONE);
mainComposite.setLayoutData(GridDataFactory.fillDefaults().grab(true, false).create());
mainComposite.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).marg... | protected Control doCreateControl(Composite parent, EMFDataBindingContext context) {
final Composite mainComposite = new Composite(parent, SWT.NONE);
mainComposite.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).margins(0, 0).extendedMargins(10, 10, 5, 0).create());
createSelectModeLabelControl(mainCom... |
diff --git a/src/main/java/org/atlasapi/remotesite/talktalk/TalkTalkVodContentListUpdateTask.java b/src/main/java/org/atlasapi/remotesite/talktalk/TalkTalkVodContentListUpdateTask.java
index d8105d398..479d25ce6 100644
--- a/src/main/java/org/atlasapi/remotesite/talktalk/TalkTalkVodContentListUpdateTask.java
+++ b/src/... | false | true | protected void runTask() {
try {
progress.set(UpdateProgress.START);
ContentGroup group = resolveOrCreateContentGroup();
List<ChildRef> refs = client.processVodList(type, identifier, new TalkTalkVodListCallback<List<ChildRef>>() {
private Imm... | protected void runTask() {
try {
progress.set(UpdateProgress.START);
ContentGroup group = resolveOrCreateContentGroup();
List<ChildRef> refs = client.processVodList(type, identifier, new TalkTalkVodListCallback<List<ChildRef>>() {
private Imm... |
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java
index 2bb9f6c1..8126a1b5 100644
--- a/src/com/android/camera/panorama/PanoramaActivity.java
+++ b/src/com/android/camera/panorama/PanoramaActivity.java
@@ -1,1005 +1,1009 @@
/*
* Copyright (C) 2... | true | true | public void onCreate(Bundle icicle) {
super.onCreate(icicle);
Window window = getWindow();
window.setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
Util.enterLightsOutMode(window);
Util.initializeScreenB... | public void onCreate(Bundle icicle) {
super.onCreate(icicle);
Window window = getWindow();
window.setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
Util.enterLightsOutMode(window);
Util.initializeScreenB... |
diff --git a/src/main/java/org/jboss/ejb/client/EJBHomeInterceptor.java b/src/main/java/org/jboss/ejb/client/EJBHomeInterceptor.java
index a543a5a..1576fe7 100644
--- a/src/main/java/org/jboss/ejb/client/EJBHomeInterceptor.java
+++ b/src/main/java/org/jboss/ejb/client/EJBHomeInterceptor.java
@@ -1,193 +1,198 @@
/*
*... | true | true | public Object handleInvocationResult(final EJBClientInvocationContext invocationContext) throws Exception {
final Object originalResult = invocationContext.getResult();
if (originalResult == null) {
return originalResult;
}
// if it's not an invocation on a EJB home view,... | public Object handleInvocationResult(final EJBClientInvocationContext invocationContext) throws Exception {
final Object originalResult = invocationContext.getResult();
if (originalResult == null) {
return originalResult;
}
// if it's not an invocation on a EJB home view,... |
diff --git a/examples/tesb/cxf-jmx/client/src/main/java/org/talend/esb/examples/SimpleClient.java b/examples/tesb/cxf-jmx/client/src/main/java/org/talend/esb/examples/SimpleClient.java
index 016323ce7..5b51f0eee 100644
--- a/examples/tesb/cxf-jmx/client/src/main/java/org/talend/esb/examples/SimpleClient.java
+++ b/exam... | false | true | public static void main(String[] args) throws Exception {
ClassPathXmlApplicationContext context = null;
if (args[0].equals("war")) {
context = new ClassPathXmlApplicationContext(
new String[] { "META-INF/spring/client-beans-war.xml" });
} else {
... | public static void main(String[] args) throws Exception {
ClassPathXmlApplicationContext context = null;
if (args[0].equals("war")) {
context = new ClassPathXmlApplicationContext(
new String[] { "META-INF/spring/client-beans-war.xml" });
} else {
... |
diff --git a/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/properties/ClusterDescriptionProperty.java b/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/properties/ClusterDescriptionProperty.java
index 2708c0fb..331ac80e 100644
--- a/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarch... | false | true | public String toString()
{
String tResult = getClass().getSimpleName() + " with ";
synchronized (mClusterMemberDescriptions) {
tResult += mClusterMemberDescriptions.size() + " cluster member descriptions";
int i = 0;
for (ClusterMemberDescription tEntry : mClusterMemberDescriptions){
tResult +... | public String toString()
{
String tResult = getClass().getSimpleName() + "(";
synchronized (mClusterMemberDescriptions) {
tResult += mClusterMemberDescriptions.size() + " member descriptions)";
// int i = 0;
// for (ClusterMemberDescription tEntry : mClusterMemberDescriptions){
// tResult += "\n ... |
diff --git a/labirynth/src/com/flexymind/labirynth/storage/SettingsStorage.java b/labirynth/src/com/flexymind/labirynth/storage/SettingsStorage.java
index d168865..b193219 100644
--- a/labirynth/src/com/flexymind/labirynth/storage/SettingsStorage.java
+++ b/labirynth/src/com/flexymind/labirynth/storage/SettingsStorage.... | true | true | public static boolean saveAcellPosition(float[] pos){
if (pos.length < 3)
return false;
SharedPreferences settings = context.getSharedPreferences(STORAGE, 0);
SharedPreferences.Editor edit = settings.edit();
edit.putFloat(ACCELX, pos[0]);
edit.putFloat(ACCELY, pos[1]);
edit.putFloat(ACCELZ, pos[2]);
r... | public static boolean saveAcellPosition(float[] pos){
if (pos.length < 3)
return false;
SharedPreferences settings = context.getSharedPreferences(STORAGE, 0);
SharedPreferences.Editor edit = settings.edit();
edit.putFloat(ACCELX, pos[0]);
edit.putFloat(ACCELY, pos[1]);
edit.putFloat(ACCELZ, pos[2]);
e... |
diff --git a/src/test/java/npanday/its/IntegrationTestSuite.java b/src/test/java/npanday/its/IntegrationTestSuite.java
index 48987c0..7b12604 100644
--- a/src/test/java/npanday/its/IntegrationTestSuite.java
+++ b/src/test/java/npanday/its/IntegrationTestSuite.java
@@ -1,88 +1,88 @@
package npanday.its;
/*
* Licen... | true | true | public static Test suite()
{
TestSuite suite = new TestSuite();
/*
* This must be the first one to ensure the local repository is properly setup.
*/
suite.addTestSuite( BootstrapTest.class );
/*
* Add tests in order of newest first.
* Newer t... | public static Test suite()
{
TestSuite suite = new TestSuite();
/*
* This must be the first one to ensure the local repository is properly setup.
*/
suite.addTestSuite( BootstrapTest.class );
/*
* Add tests in order of newest first.
* Newer t... |
diff --git a/asm/src/org/objectweb/asm/attrs/EnclosingMethodAttribute.java b/asm/src/org/objectweb/asm/attrs/EnclosingMethodAttribute.java
index 5bb326b9..cf91971b 100644
--- a/asm/src/org/objectweb/asm/attrs/EnclosingMethodAttribute.java
+++ b/asm/src/org/objectweb/asm/attrs/EnclosingMethodAttribute.java
@@ -1,136 +1,... | true | true | protected Attribute read (ClassReader cr, int off,
int len, char[] buf, int codeOff, Label[] labels) {
// CONSTANT_Class_info
String owner = cr.readClass( off, buf);
// CONSTANT_NameAndType_info (skip CONSTANT_NameAndType tag)
String name = cr.readUTF8( off + 3, buf);
S... | protected Attribute read (ClassReader cr, int off,
int len, char[] buf, int codeOff, Label[] labels) {
// CONSTANT_Class_info
String owner = cr.readClass( off, buf);
// CONSTANT_NameAndType_info (skip CONSTANT_NameAndType tag)
int index = cr.getItem(cr.readUnsignedShort(off... |
diff --git a/grisu-client/src/main/java/grisu/frontend/control/JaxWsServiceInterfaceCreator.java b/grisu-client/src/main/java/grisu/frontend/control/JaxWsServiceInterfaceCreator.java
index 1dc4731d..4e71175b 100644
--- a/grisu-client/src/main/java/grisu/frontend/control/JaxWsServiceInterfaceCreator.java
+++ b/grisu-cli... | true | true | public ServiceInterface create(String interfaceUrl, String username,
char[] password, String myProxyServer, String myProxyPort,
Object[] otherOptions) throws ServiceInterfaceException {
try {
final QName serviceName = new QName("http://api.grisu",
"GrisuService");
final QName portName = new QName(... | public ServiceInterface create(String interfaceUrl, String username,
char[] password, String myProxyServer, String myProxyPort,
Object[] otherOptions) throws ServiceInterfaceException {
try {
final QName serviceName = new QName("http://api.grisu",
"GrisuService");
final QName portName = new QName(... |
diff --git a/ccw.core/src/java/ccw/nature/AutomaticNatureAdder.java b/ccw.core/src/java/ccw/nature/AutomaticNatureAdder.java
index 2840f7f0..74d1924d 100644
--- a/ccw.core/src/java/ccw/nature/AutomaticNatureAdder.java
+++ b/ccw.core/src/java/ccw/nature/AutomaticNatureAdder.java
@@ -1,22 +1,22 @@
package ccw.nature;
... | false | true | public synchronized void stop() {
if (elementChangedListener == null) {
JavaCore.removeElementChangedListener(elementChangedListener);
}
elementChangedListener = null;
}
| public synchronized void stop() {
if (elementChangedListener != null) {
JavaCore.removeElementChangedListener(elementChangedListener);
elementChangedListener = null;
}
}
|
diff --git a/CubicTestHtmlPrototypeExporter/src/main/java/org/cubictest/exporters/htmlPrototype/delegates/HtmlPageCreator.java b/CubicTestHtmlPrototypeExporter/src/main/java/org/cubictest/exporters/htmlPrototype/delegates/HtmlPageCreator.java
index 4b6a0faa..f104bb47 100755
--- a/CubicTestHtmlPrototypeExporter/src/main... | true | true | private Element convertTransition(Transition transition, Element link, HtmlPageCreator target) {
link.setAttribute("href", target.getFilename());
if(transition instanceof UserInteractionsTransition) {
String title = new String();
UserInteractionsTransition ua = (UserInteractionsTransition) transition;
Str... | private Element convertTransition(Transition transition, Element link, HtmlPageCreator target) {
link.setAttribute("href", target.getFilename());
if(transition instanceof UserInteractionsTransition) {
String title = new String();
UserInteractionsTransition ua = (UserInteractionsTransition) transition;
Str... |
diff --git a/src/main/java/org/amicofragile/groovy4dsl/inheritance/CrazyGreetingsSource.java b/src/main/java/org/amicofragile/groovy4dsl/inheritance/CrazyGreetingsSource.java
index 2dd93cf..a96a41b 100644
--- a/src/main/java/org/amicofragile/groovy4dsl/inheritance/CrazyGreetingsSource.java
+++ b/src/main/java/org/amico... | true | true | public CrazyGreetingsSource() {
super();
setGreetings("AAAAAAAH");
}
| public CrazyGreetingsSource() {
super("AAAAAAAH");
}
|
diff --git a/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearch.java b/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearch.java
index 5e01629c..92397458 100644
--- a/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearch.java
+++ b/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearc... | false | true | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
BufferedReader reader = null;
try {
String q = request.getParameter... | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
BufferedReader reader = null;
try {
String q = request.getParameter... |
diff --git a/AppServer_Java/src/com/google/appengine/api/datastore/dev/LocalDatastoreService.java b/AppServer_Java/src/com/google/appengine/api/datastore/dev/LocalDatastoreService.java
index e283a8a8e..2af762776 100644
--- a/AppServer_Java/src/com/google/appengine/api/datastore/dev/LocalDatastoreService.java
+++ b/AppS... | true | true | public DatastorePb.QueryResult runQuery( LocalRpcService.Status status, DatastorePb.Query query )
{
final LocalCompositeIndexManager.ValidatedQuery validatedQuery = new LocalCompositeIndexManager.ValidatedQuery(query);
query = validatedQuery.getQuery();
String app = query.getApp();
... | public DatastorePb.QueryResult runQuery( LocalRpcService.Status status, DatastorePb.Query query )
{
final LocalCompositeIndexManager.ValidatedQuery validatedQuery = new LocalCompositeIndexManager.ValidatedQuery(query);
query = validatedQuery.getQuery();
String app = query.getApp();
... |
diff --git a/src/main/java/com/khs/sherpa/servlet/SherpaServlet.java b/src/main/java/com/khs/sherpa/servlet/SherpaServlet.java
index 1975d55..84ca76e 100644
--- a/src/main/java/com/khs/sherpa/servlet/SherpaServlet.java
+++ b/src/main/java/com/khs/sherpa/servlet/SherpaServlet.java
@@ -1,113 +1,116 @@
package com.khs.sh... | false | true | private void doService(HttpServletRequest request, HttpServletResponse response) throws RuntimeException, IOException {
try {
DefaultSherpaRequest sherpaRequest = new DefaultSherpaRequest();
sherpaRequest.setApplicationContext(GenericApplicationContext.getApplicationContext(getServletContext()));
sherp... | private void doService(HttpServletRequest request, HttpServletResponse response) throws RuntimeException, IOException {
try {
DefaultSherpaRequest sherpaRequest = new DefaultSherpaRequest();
sherpaRequest.setApplicationContext(GenericApplicationContext.getApplicationContext(getServletContext()));
sherp... |
diff --git a/edu.illinois.compositerefactorings.extractsuperclass/src/edu/illinois/compositerefactorings/extractsuperclass/CompositeRefactoringsQuickAssistProcessor.java b/edu.illinois.compositerefactorings.extractsuperclass/src/edu/illinois/compositerefactorings/extractsuperclass/CompositeRefactoringsQuickAssistProces... | false | true | private static boolean getMoveTypeToNewFileProposal(IInvocationContext context, ASTNode coveringNode, boolean problemsAtLocation, Collection<ICommandAccess> proposals) throws CoreException {
if (!(coveringNode instanceof TypeDeclaration)) {
return false;
}
if (proposals == null) {
return true;
}
fina... | private static boolean getMoveTypeToNewFileProposal(IInvocationContext context, ASTNode coveringNode, boolean problemsAtLocation, Collection<ICommandAccess> proposals) throws CoreException {
if (!(coveringNode instanceof TypeDeclaration)) {
return false;
}
if (proposals == null) {
return true;
}
fina... |
diff --git a/src/edu/common/dynamicextensions/domain/FloatAttributeTypeInformation.java b/src/edu/common/dynamicextensions/domain/FloatAttributeTypeInformation.java
index 947814aba..69fc86732 100644
--- a/src/edu/common/dynamicextensions/domain/FloatAttributeTypeInformation.java
+++ b/src/edu/common/dynamicextensions/d... | true | true | public String getFormattedValue(Double value)
{
String formattedValue = "";
if (value != null)
{
DecimalFormat formatDecimal = (DecimalFormat) NumberFormat
.getNumberInstance();
formatDecimal.setParseBigDecimal(true);
formatDecimal.setGroupingUsed(false);
formatDecimal.setMaximumFractionDigits(... | public String getFormattedValue(Double value)
{
String formattedValue = "";
if (value != null)
{
if (this.decimalPlaces.intValue() > 0)
{
DecimalFormat formatDecimal = (DecimalFormat) NumberFormat
.getNumberInstance();
formatDecimal.setParseBigDecimal(true);
formatDecimal.setGroupingUsed... |
diff --git a/src/org/pentaho/pms/schema/security/SecurityService.java b/src/org/pentaho/pms/schema/security/SecurityService.java
index 67314e7e..f5f6634e 100644
--- a/src/org/pentaho/pms/schema/security/SecurityService.java
+++ b/src/org/pentaho/pms/schema/security/SecurityService.java
@@ -1,518 +1,518 @@
/*
* Copyr... | true | true | public Node getContentFromServer() throws PentahoMetadataException {
LogWriter log = LogWriter.getInstance();
String urlToUse = getURL();
String result = null;
int status = -1;
URL tempURL;
try {
// verify the URL is syntactically correct; we will use these pieces later in t... | public Node getContentFromServer() throws PentahoMetadataException {
LogWriter log = LogWriter.getInstance();
String urlToUse = getURL();
String result = null;
int status = -1;
URL tempURL;
try {
// verify the URL is syntactically correct; we will use these pieces later in t... |
diff --git a/src/main/java/me/zford/jobs/bukkit/tasks/BufferedPaymentThread.java b/src/main/java/me/zford/jobs/bukkit/tasks/BufferedPaymentThread.java
index 87af248..311ab4b 100644
--- a/src/main/java/me/zford/jobs/bukkit/tasks/BufferedPaymentThread.java
+++ b/src/main/java/me/zford/jobs/bukkit/tasks/BufferedPaymentThr... | true | true | public void run() {
plugin.getLogger().info("Started buffered payment thread");
while (running) {
try {
sleep(sleep);
} catch (InterruptedException e) {
this.running = false;
continue;
}
try {
... | public void run() {
plugin.getLogger().info("Started buffered payment thread");
while (running) {
try {
sleep(sleep);
} catch (InterruptedException e) {
this.running = false;
continue;
}
try {
... |
diff --git a/ndx/src/main/uk/ac/starlink/ndx/XMLNdxHandler.java b/ndx/src/main/uk/ac/starlink/ndx/XMLNdxHandler.java
index 451505196..f7f6cd02a 100644
--- a/ndx/src/main/uk/ac/starlink/ndx/XMLNdxHandler.java
+++ b/ndx/src/main/uk/ac/starlink/ndx/XMLNdxHandler.java
@@ -1,550 +1,550 @@
package uk.ac.starlink.ndx;
imp... | true | true | public boolean outputNdx( URL xurl, Ndx ndx ) throws IOException {
/* If we need one, get a URL for writing array data. */
URL aurl = null;
ArrayBuilder fab = null;
if ( ! ndx.isPersistent() ) {
aurl = getDataUrl( xurl );
fab = getFitsArrayBuilder();
... | public boolean outputNdx( URL xurl, Ndx ndx ) throws IOException {
/* If we need one, get a URL for writing array data. */
URL aurl = null;
ArrayBuilder fab = null;
if ( ! ndx.isPersistent() ) {
aurl = getDataUrl( xurl );
fab = getFitsArrayBuilder();
... |
diff --git a/demos/src/main/java/com/datatorrent/demos/mobile/SeedPhonesGenerator.java b/demos/src/main/java/com/datatorrent/demos/mobile/SeedPhonesGenerator.java
index 9a6fe4fc0..ed98ce5fc 100644
--- a/demos/src/main/java/com/datatorrent/demos/mobile/SeedPhonesGenerator.java
+++ b/demos/src/main/java/com/datatorrent/d... | true | true | public void emitTuples()
{
Random random = new Random();
int maxPhone = (maxSeedPhoneNumber <= rangeUpperEndpoint && maxSeedPhoneNumber >= rangeLowerEndpoint) ? maxSeedPhoneNumber : rangeUpperEndpoint;
maxPhone -= 5550000;
for (int i = initialDisplayCount; i-- > 0; ) {
int phoneNo = 5550000 + ... | public void emitTuples()
{
Random random = new Random();
int maxPhone = (maxSeedPhoneNumber <= rangeUpperEndpoint && maxSeedPhoneNumber >= rangeLowerEndpoint) ? maxSeedPhoneNumber : rangeUpperEndpoint;
maxPhone -= 5550000;
int phonesToDisplay = initialDisplayCount > maxPhone ? maxPhone : initialDisp... |
diff --git a/android/src/net/wesley/gitadroia/ExpandedListView.java b/android/src/net/wesley/gitadroia/ExpandedListView.java
index a1a9c51..325b924 100644
--- a/android/src/net/wesley/gitadroia/ExpandedListView.java
+++ b/android/src/net/wesley/gitadroia/ExpandedListView.java
@@ -1,27 +1,27 @@
package net.wesley.gitad... | true | true | protected void onDraw(Canvas canvas) {
if (getCount() != old_count) {
old_count = getCount();
params = getLayoutParams();
params.height = getCount() * (old_count > 0 ? getChildAt(0).getHeight() : 0);
setLayoutParams(params);
}
super.onDraw(can... | protected void onDraw(Canvas canvas) {
if (getCount() != old_count) {
old_count = getCount();
params = getLayoutParams();
params.height = getCount() * (old_count > 0 ? (getChildAt(0).getHeight()+2) : 0);
setLayoutParams(params);
}
super.onDraw... |
diff --git a/org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/parser/ast/AsfixImploder.java b/org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/parser/ast/AsfixImploder.java
index 6f49fb14..0e66d7fc 100644
--- a/org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/parser/ast/AsfixImploder.java
+++... | false | true | protected ATermAppl resolveAmbiguities(final ATerm node) {
if (!"amb".equals(((ATermAppl) node).getName()))
return (ATermAppl) node;
final ATermListImpl ambs = termAt(node, 0);
ATermAppl lastNonAvoid = null;
boolean multipleNonAvoids = false;
alts:
for (int i = 0; i < ambs.getLength(); i++) {
... | protected ATermAppl resolveAmbiguities(final ATerm node) {
if (!"amb".equals(((ATermAppl) node).getName()))
return (ATermAppl) node;
final ATermListImpl ambs = termAt(node, 0);
ATermAppl lastNonAvoid = null;
ATermAppl firstOption = null;
boolean multipleNonAvoids = false;
alts:
for (int i = 0;... |
diff --git a/src/com/jpii/navalbattle/pavo/ProceduralLayeredMapGenerator.java b/src/com/jpii/navalbattle/pavo/ProceduralLayeredMapGenerator.java
index 97483de4..5aca38cb 100644
--- a/src/com/jpii/navalbattle/pavo/ProceduralLayeredMapGenerator.java
+++ b/src/com/jpii/navalbattle/pavo/ProceduralLayeredMapGenerator.java
@... | true | true | public static float getPoint(float x, float z) {
float lvl0 = getLevel0(x,z);
float lvl0b = getLevel0(z-512,x-512);
float lvl2 = getLevel2(x,z);
float lvl3 = getLevel3(x,z);
float lvl4 = getLevel4(x,z);
float lvl9 = getLevel9(x,z);
double mixer = (((lvl0*26.76f)+(lvl4*3.9f)+
(lvl2)+(lvl3)) * 0.030534... | public static float getPoint(float x, float z) {
float lvl0 = getLevel0(x,z);
float lvl0b = getLevel0(z-512,x-512);
float lvl2 = getLevel2(x,z);
float lvl3 = getLevel3(x,z);
float lvl4 = getLevel4(x,z);
float lvl9 = getLevel9(x,z);
double mixer = (((lvl0*26.76f)+(lvl4*3.9f)+
(lvl2)+(lvl3)) * 0.030534... |
diff --git a/src/org/group1f/izuna/GameComponents/Enemy.java b/src/org/group1f/izuna/GameComponents/Enemy.java
index 9e75c7c..c593695 100644
--- a/src/org/group1f/izuna/GameComponents/Enemy.java
+++ b/src/org/group1f/izuna/GameComponents/Enemy.java
@@ -1,113 +1,113 @@
package org.group1f.izuna.GameComponents;
impor... | false | true | public void checkStateToAnimate() {
Animation newAnim = currentAnimation;
if (!isRFinished) {
isRFinished = currentAnimation.finished();
}
if (getvY() < 0) {
if (oldvY > 0) { //
isRFinished = currentAnimation.refine();
} else {
... | public void checkStateToAnimate() {
Animation newAnim = currentAnimation;
if (!isRFinished) {
isRFinished = currentAnimation.finished();
}
if (getvY() < 0) {
if (oldvY > 0) { //
isRFinished = currentAnimation.refine();
} else {
... |
diff --git a/dslab2/src/at/ac/tuwien/dslab2/service/loadTest/AuctionBiddingHandler.java b/dslab2/src/at/ac/tuwien/dslab2/service/loadTest/AuctionBiddingHandler.java
index 5322235..fe79561 100644
--- a/dslab2/src/at/ac/tuwien/dslab2/service/loadTest/AuctionBiddingHandler.java
+++ b/dslab2/src/at/ac/tuwien/dslab2/service... | true | true | public void run() {
try {
this.timerThread = Thread.currentThread();
biddingClientService.submitCommand("!list");
String reply = listQueue.take();
Scanner scanner = new Scanner(reply.trim());
scanner.useDelimiter(Pattern.compile("\\.\\s+.*\\n?\\s*"... | public void run() {
try {
this.timerThread = Thread.currentThread();
biddingClientService.submitCommand("!list");
String reply = listQueue.take();
Scanner scanner = new Scanner(reply.trim());
scanner.useDelimiter(Pattern.compile("\\.\\s+.*\\n?\\s*"... |
diff --git a/luciddb/test/src/com/lucidera/luciddb/test/udr/TestRemoteRowsUDX.java b/luciddb/test/src/com/lucidera/luciddb/test/udr/TestRemoteRowsUDX.java
index 02a812e76..0bc595727 100644
--- a/luciddb/test/src/com/lucidera/luciddb/test/udr/TestRemoteRowsUDX.java
+++ b/luciddb/test/src/com/lucidera/luciddb/test/udr/Te... | false | true | public void testRemoteRowsUDX()
throws Exception
{
final String driverURI = "jdbc:luciddb:";
FarragoAbstractJdbcDriver driver =
FarragoTestCase.newJdbcEngineDriver();
Properties props = newProperties();
//Create a test table.
Connection conn ... | public void testRemoteRowsUDX()
throws Exception
{
final String driverURI = "jdbc:luciddb:";
FarragoAbstractJdbcDriver driver =
FarragoTestCase.newJdbcEngineDriver();
Properties props = newProperties();
//Create a test table.
Connection conn ... |
diff --git a/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/internal/core/mixin/MixinBuilder.java b/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/internal/core/mixin/MixinBuilder.java
index d0e50efc6..396e382b5 100644
--- a/core/plugins/org.eclipse.dltk.core/search/org/eclipse/dltk/internal/cor... | true | true | public IStatus[] buildModelElements(IScriptProject project, List elements,
final IProgressMonitor monitor, boolean saveIndex) {
IndexManager manager = ModelManager.getModelManager().getIndexManager();
final int elementsSize = elements.size();
IDLTKLanguageToolkit toolkit = null;
IMixinParser parser = null;
... | public IStatus[] buildModelElements(IScriptProject project, List elements,
final IProgressMonitor monitor, boolean saveIndex) {
IndexManager manager = ModelManager.getModelManager().getIndexManager();
final int elementsSize = elements.size();
IDLTKLanguageToolkit toolkit = null;
IMixinParser parser = null;
... |
diff --git a/keratin-core/src/ca/szc/keratin/core/net/io/InputThread.java b/keratin-core/src/ca/szc/keratin/core/net/io/InputThread.java
index df65391..dabb5ff 100644
--- a/keratin-core/src/ca/szc/keratin/core/net/io/InputThread.java
+++ b/keratin-core/src/ca/szc/keratin/core/net/io/InputThread.java
@@ -1,235 +1,238 @@... | false | true | public void run()
{
Thread.currentThread().setName( "InputThread" );
Logger.trace( "Input thread running" );
bus.subscribe( this );
while ( !Thread.interrupted() )
{
if ( connected )
{
// Logger.trace( "Reading line from input" );
... | public void run()
{
Thread.currentThread().setName( "InputThread" );
Logger.trace( "Input thread running" );
bus.subscribe( this );
while ( !Thread.interrupted() )
{
if ( connected )
{
// Logger.trace( "Reading line from input" );
... |
diff --git a/src/at/junction/transmission/Transmission.java b/src/at/junction/transmission/Transmission.java
index d39f5bb..459c631 100644
--- a/src/at/junction/transmission/Transmission.java
+++ b/src/at/junction/transmission/Transmission.java
@@ -1,127 +1,143 @@
package at.junction.transmission;
import java.io.Fi... | true | true | public boolean onCommand(CommandSender sender, Command command, String name, String[] args) {
if (command.getName().equalsIgnoreCase("staffchat")) {
if (staffChatters.contains(sender.getName())) { //Leave staff chat
sender.sendMessage(ChatColor.GOLD + "You are no longer talking i... | public boolean onCommand(CommandSender sender, Command command, String name, String[] args) {
if (command.getName().equalsIgnoreCase("staffchat")) {
if (args.length == 0){ //Switch into StaffChat Mode
if (staffChatters.contains(sender.getName())) { //Leave staff chat
... |
diff --git a/sokoban/solvers/BidirectionalIDS.java b/sokoban/solvers/BidirectionalIDS.java
index 5d285b9..b25f8c7 100644
--- a/sokoban/solvers/BidirectionalIDS.java
+++ b/sokoban/solvers/BidirectionalIDS.java
@@ -1,106 +1,106 @@
package sokoban.solvers;
import java.util.HashMap;
import java.util.HashSet;
import... | true | true | public String solve(final Board startBoard)
{
HashSet<Long> failedBoardsPuller = new HashSet<Long>();
HashSet<Long> failedBoardsPusher = new HashSet<Long>();
HashMap<Long, BoxPosDir> pullerStatesMap = new HashMap<Long, BoxPosDir>();
HashMap<Long, BoxPosDir> pusherStatesMap = new ... | public String solve(final Board startBoard)
{
HashSet<Long> failedBoardsPuller = new HashSet<Long>();
HashSet<Long> failedBoardsPusher = new HashSet<Long>();
HashMap<Long, BoxPosDir> pullerStatesMap = new HashMap<Long, BoxPosDir>();
HashMap<Long, BoxPosDir> pusherStatesMap = new ... |
diff --git a/src/GCParser/OperationNameResolver.java b/src/GCParser/OperationNameResolver.java
index 879a1c0..8c6fce4 100644
--- a/src/GCParser/OperationNameResolver.java
+++ b/src/GCParser/OperationNameResolver.java
@@ -1,58 +1,57 @@
// Copyright (C) Billy Melicher 2012 wrm2ja@virginia.edu
package GCParser;
impor... | true | true | public static void initOperations() {
if( isInitialized )
return;
isInitialized = true;
new AddOperation();
new XorOperation();
new ConcatOperation();
new MaxOperation();
new MinOperation();
new AndOperation();
new SubOperation();
new GteuOperation();
new GtuOperatio... | public static void initOperations() {
if( isInitialized )
return;
isInitialized = true;
new AddOperation();
new XorOperation();
new ConcatOperation();
new MaxOperation();
new MinOperation();
new AndOperation();
new SubOperation();
new GteuOperation();
new GtuOperatio... |
diff --git a/viewer3d/src/org/jcae/viewer3d/FPSBehavior.java b/viewer3d/src/org/jcae/viewer3d/FPSBehavior.java
index bc9ae8eb..d8e8d0d3 100644
--- a/viewer3d/src/org/jcae/viewer3d/FPSBehavior.java
+++ b/viewer3d/src/org/jcae/viewer3d/FPSBehavior.java
@@ -1,144 +1,144 @@
/*
* Project Info: http://jcae.sourceforge.ne... | true | true | public void processStimulus(java.util.Enumeration critera)
{
long currtime=System.currentTimeMillis();
numframes++;
//init
if(numframes==0)
{
lasttime=currtime;
}
else
{
if(numframes>=maxframes)
{
currentFPS=numframes/((double)currtime-lasttime)*1000;
firePropertyChangeListener... | public void processStimulus(java.util.Enumeration critera)
{
long currtime=System.currentTimeMillis();
numframes++;
//init
if(numframes==0)
{
lasttime=currtime;
}
else
{
if(numframes>=maxframes)
{
currentFPS=numframes/((double)currtime-lasttime)*1000;
firePropertyChangeListener... |
diff --git a/src/main/java/com/tek42/perforce/parse/CounterBuilder.java b/src/main/java/com/tek42/perforce/parse/CounterBuilder.java
index 3ad206b..1022093 100644
--- a/src/main/java/com/tek42/perforce/parse/CounterBuilder.java
+++ b/src/main/java/com/tek42/perforce/parse/CounterBuilder.java
@@ -1,61 +1,63 @@
package ... | false | true | public Counter build(StringBuilder sb) throws PerforceException {
final Pattern p = Pattern.compile("^([0-9])*", Pattern.DOTALL | Pattern.MULTILINE);
final Matcher m = p.matcher(sb.toString());
final Counter counter = new Counter();
counter.setName("");
if(m.find()) {
counter.setValue(Integer.parseInt(m.g... | public Counter build(StringBuilder sb) throws PerforceException {
final Pattern p = Pattern.compile("^([0-9]+)", Pattern.DOTALL | Pattern.MULTILINE);
final Matcher m = p.matcher(sb.toString());
final Counter counter = new Counter();
counter.setName("");
if(m.find()) {
counter.setValue(Int... |
diff --git a/src/uk/org/ponder/rsf/components/UIBranchContainer.java b/src/uk/org/ponder/rsf/components/UIBranchContainer.java
index f46a013..fda17dd 100644
--- a/src/uk/org/ponder/rsf/components/UIBranchContainer.java
+++ b/src/uk/org/ponder/rsf/components/UIBranchContainer.java
@@ -1,235 +1,235 @@
/*
* Created on ... | true | true | public void addComponent(UIComponent toadd) {
toadd.parent = this;
SplitID split = new SplitID(toadd.ID);
String childkey = split.prefix;
if (toadd.ID != null && split.suffix == null) {
childmap.put(childkey, toadd);
}
else {
List children = (List) childmap.get(childkey);
if... | public void addComponent(UIComponent toadd) {
toadd.parent = this;
SplitID split = new SplitID(toadd.ID);
String childkey = split.prefix;
if (toadd.ID != null && split.suffix == null) {
childmap.put(childkey, toadd);
}
else {
List children = (List) childmap.get(childkey);
if... |
diff --git a/mpicbg/ij/CLAHE.java b/mpicbg/ij/CLAHE.java
index 5bc2070..510b30d 100644
--- a/mpicbg/ij/CLAHE.java
+++ b/mpicbg/ij/CLAHE.java
@@ -1,450 +1,465 @@
/**
* License: GPL
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License 2
... | false | true | final static public void run(
final ImagePlus imp,
final int blockRadius,
final int bins,
final float slope,
final java.awt.Rectangle roiBox,
final ByteProcessor mask )
{
/* initialize box if necessary */
final Rectangle box;
if ( roiBox == null )
{
if ( mask == null )
box = new Recta... | final static public void run(
final ImagePlus imp,
final int blockRadius,
final int bins,
final float slope,
final java.awt.Rectangle roiBox,
final ByteProcessor mask )
{
/* initialize box if necessary */
final Rectangle box;
if ( roiBox == null )
{
if ( mask == null )
box = new Recta... |
diff --git a/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java b/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java
index 0642621d6..952e91975 100644
--- a/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java
+++ b/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java
@@ -1,670 +1,670 @@
/*************... | true | true | public TextureAtlasData (FileHandle packFile, FileHandle imagesDir, boolean flip) {
BufferedReader reader = new BufferedReader(new InputStreamReader(packFile.read()), 64);
try {
Page pageImage = null;
while (true) {
String line = reader.readLine();
if (line == null) break;
if (line.trim()... | public TextureAtlasData (FileHandle packFile, FileHandle imagesDir, boolean flip) {
BufferedReader reader = new BufferedReader(new InputStreamReader(packFile.read()), 64);
try {
Page pageImage = null;
while (true) {
String line = reader.readLine();
if (line == null) break;
if (line.trim()... |
diff --git a/source/de/anomic/crawler/CrawlStacker.java b/source/de/anomic/crawler/CrawlStacker.java
index bebe0f788..c3cf24db4 100644
--- a/source/de/anomic/crawler/CrawlStacker.java
+++ b/source/de/anomic/crawler/CrawlStacker.java
@@ -1,358 +1,355 @@
// plasmaCrawlStacker.java
// -----------------------
// part of... | false | true | public String stackCrawl(final CrawlEntry entry) {
// stacks a crawl item. The position can also be remote
// returns null if successful, a reason string if not successful
//this.log.logFinest("stackCrawl: nexturlString='" + nexturlString + "'");
final long startTime = Syste... | public String stackCrawl(final CrawlEntry entry) {
// stacks a crawl item. The position can also be remote
// returns null if successful, a reason string if not successful
//this.log.logFinest("stackCrawl: nexturlString='" + nexturlString + "'");
final long startTime = Syste... |
diff --git a/src/thesaurus/gui/canvas/ViewGraph.java b/src/thesaurus/gui/canvas/ViewGraph.java
index 6e6e4c1..18810fb 100644
--- a/src/thesaurus/gui/canvas/ViewGraph.java
+++ b/src/thesaurus/gui/canvas/ViewGraph.java
@@ -1,304 +1,304 @@
package thesaurus.gui.canvas;
import java.util.LinkedList;
import javafx.eve... | false | true | private void drawGraph(){
//Draw connectors
//Synonyms
if(displaySynonyms==1){
double mainX = vertex.getPos().getX();
double mainY = vertex.getPos().getY();
for(Vertex v:vertex.getSynomyns()){
//Draw connector main node to synonym
double childX = v.getPos().getX();
double chi... | private void drawGraph(){
//Draw connectors
//Synonyms
if(displaySynonyms==1){
double mainX = vertex.getPos().getX();
double mainY = vertex.getPos().getY();
for(Vertex v:vertex.getSynomyns()){
//Draw connector main node to synonym
double childX = v.getPos().getX();
double chi... |
diff --git a/app/models/AirlinePlan.java b/app/models/AirlinePlan.java
index 6236e0e..790e809 100644
--- a/app/models/AirlinePlan.java
+++ b/app/models/AirlinePlan.java
@@ -1,130 +1,130 @@
package models;
import javax.persistence.*;
import play.data.validation.Max;
import play.data.validation.Required;
import ... | true | true | public String getReadableLeaveTime() {
String strLeaveTime=null;
SimpleDateFormat df = new SimpleDateFormat("HH:mm");
if(this.Repeat.subSequence(0, 1).equals("N")){
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
strLeaveTime=sdf.format(this.LeaveTime)+"起飞";
... | public String getReadableLeaveTime() {
String strLeaveTime=null;
SimpleDateFormat df = new SimpleDateFormat("HH:mm");
if(this.Repeat.subSequence(0, 1).equals("N")){
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
strLeaveTime=sdf.format(this.LeaveTime)+"起飞";
... |
diff --git a/src/com/jkush321/autowalls/ColorCycler.java b/src/com/jkush321/autowalls/ColorCycler.java
index 0277ec8..c374272 100644
--- a/src/com/jkush321/autowalls/ColorCycler.java
+++ b/src/com/jkush321/autowalls/ColorCycler.java
@@ -1,135 +1,135 @@
package com.jkush321.autowalls;
import java.util.HashMap;
impo... | false | true | public static void cycle(Player p)
{
ChatColor nextColor;
if (getFakeColor(p) == null)
{
if (AutoWalls.redTeam.contains(p))
{
nextColor = ChatColor.DARK_AQUA;
}
else if (AutoWalls.blueTeam.contains(p))
{
nextColor = ChatColor.DARK_GREEN;
}
else if (AutoWalls.greenTeam.contains(p))
... | public static void cycle(Player p)
{
ChatColor nextColor;
if (getFakeColor(p) == null)
{
if (AutoWalls.redTeam.contains(p))
{
nextColor = ChatColor.DARK_AQUA;
}
else if (AutoWalls.blueTeam.contains(p))
{
nextColor = ChatColor.DARK_GREEN;
}
else if (AutoWalls.greenTeam.contains(p))
... |
diff --git a/org.cfeclipse.cfml/src/org/cfeclipse/cfml/parser/docitems/CfmlTagItem.java b/org.cfeclipse.cfml/src/org/cfeclipse/cfml/parser/docitems/CfmlTagItem.java
index 87b17b99..f1375a9e 100644
--- a/org.cfeclipse.cfml/src/org/cfeclipse/cfml/parser/docitems/CfmlTagItem.java
+++ b/org.cfeclipse.cfml/src/org/cfeclipse... | true | true | public boolean IsSane() {
//staticLookups
HashMap suggestedAttributes = new HashMap();
Set suggAttribSet = itemAttributes.keySet();
String attributesFound = "";
for (Iterator iter = suggAttribSet.iterator(); iter.hasNext();) {
String attributeName = (String) iter.next();
AttributeItem attri... | public boolean IsSane() {
//staticLookups
HashMap suggestedAttributes = new HashMap();
Set suggAttribSet = itemAttributes.keySet();
String attributesFound = "";
for (Iterator iter = suggAttribSet.iterator(); iter.hasNext();) {
String attributeName = (String) iter.next();
AttributeItem attri... |
diff --git a/src/org/bouncycastle/crypto/tls/NamedCurve.java b/src/org/bouncycastle/crypto/tls/NamedCurve.java
index fe18cee4..5f407a09 100644
--- a/src/org/bouncycastle/crypto/tls/NamedCurve.java
+++ b/src/org/bouncycastle/crypto/tls/NamedCurve.java
@@ -1,93 +1,93 @@
package org.bouncycastle.crypto.tls;
import org... | true | true | static ECDomainParameters getECParameters(int namedCurve)
{
int index = namedCurve - 1;
if (index < 0 || index >= curveNames.length)
{
return null;
}
// Lazily created the first time a particular curve is accessed
X9ECParameters ecP = SECNamedCurves.g... | static ECDomainParameters getECParameters(int namedCurve)
{
int index = namedCurve - 1;
if (index < 0 || index >= curveNames.length)
{
return null;
}
// Lazily created the first time a particular curve is accessed
X9ECParameters ecP = SECNamedCurves.g... |
diff --git a/ParqDaoLayer/src/main/java/com/parq/server/dao/UserDao.java b/ParqDaoLayer/src/main/java/com/parq/server/dao/UserDao.java
index 337b22b..d1278b5 100644
--- a/ParqDaoLayer/src/main/java/com/parq/server/dao/UserDao.java
+++ b/ParqDaoLayer/src/main/java/com/parq/server/dao/UserDao.java
@@ -1,404 +1,404 @@
pa... | true | true | public synchronized boolean updateUser(User user) {
if (user == null || user.getEmail() == null || user.getUserID() <= 0) {
throw new IllegalStateException("Invalid user update request");
}
// test to make sure no duplicate email is used
User tempUser = getUserByEmail(user.getEmail());
if(tempUser != ... | public synchronized boolean updateUser(User user) {
if (user == null || user.getEmail() == null || user.getUserID() <= 0) {
throw new IllegalStateException("Invalid user update request");
}
// test to make sure no duplicate email is used
User tempUser = getUserByEmail(user.getEmail());
if(tempUser != ... |
diff --git a/bundle/command/src/main/java/org/apache/karaf/bundle/command/BundleCommand.java b/bundle/command/src/main/java/org/apache/karaf/bundle/command/BundleCommand.java
index c34eca386..cd8b942c4 100644
--- a/bundle/command/src/main/java/org/apache/karaf/bundle/command/BundleCommand.java
+++ b/bundle/command/src/... | true | true | protected Object doExecute(boolean force) throws Exception {
Bundle bundle = getBundleContext().getBundle(id);
if (bundle == null) {
System.err.println("Bundle " + id + " not found");
return null;
}
if (force || ShellUtil.isASystemBundle(bundleContext, bundle)... | protected Object doExecute(boolean force) throws Exception {
Bundle bundle = getBundleContext().getBundle(id);
if (bundle == null) {
System.err.println("Bundle " + id + " not found");
return null;
}
if (force || !ShellUtil.isASystemBundle(bundleContext, bundle... |
diff --git a/src/com/CC/Commands/StaffCommands.java b/src/com/CC/Commands/StaffCommands.java
index 7f6c373..a49c0e3 100644
--- a/src/com/CC/Commands/StaffCommands.java
+++ b/src/com/CC/Commands/StaffCommands.java
@@ -1,233 +1,235 @@
package com.CC.Commands;
import static org.bukkit.ChatColor.*;
import org.bukkit... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String string, String[] args)
{
if(!(sender instanceof Player))
{
sender.sendMessage("Sorry but this command can only be used in game");
return false;
}
Player player = (Player)sender;
if(!player.hasPermission("ClusterChunk.Admin")){
playe... | public boolean onCommand(CommandSender sender, Command cmd, String string, String[] args)
{
if(!(sender instanceof Player))
{
sender.sendMessage("Sorry but this command can only be used in game");
return false;
}
Player player = (Player)sender;
if(!player.hasPermission("ClusterChunk.Admin")){
playe... |
diff --git a/com.genericworkflownodes.knime/src/com/genericworkflownodes/knime/generic_node/GenericKnimeNodeModel.java b/com.genericworkflownodes.knime/src/com/genericworkflownodes/knime/generic_node/GenericKnimeNodeModel.java
index be04fc0..9323598 100644
--- a/com.genericworkflownodes.knime/src/com/genericworkflownod... | true | true | private List<List<URI>> transferOutgoingPorts2Config(final File jobdir,
PortObject[] inData) throws Exception {
List<List<URI>> outfiles = new ArrayList<List<URI>>();
int nOut = m_nodeConfig.getOutputPorts().size();
for (int i = 0; i < nOut; i++) {
Port port = m_nodeConfig.getOutputPorts().get(i);
St... | private List<List<URI>> transferOutgoingPorts2Config(final File jobdir,
PortObject[] inData) throws Exception {
List<List<URI>> outfiles = new ArrayList<List<URI>>();
int nOut = m_nodeConfig.getOutputPorts().size();
for (int i = 0; i < nOut; i++) {
Port port = m_nodeConfig.getOutputPorts().get(i);
St... |
diff --git a/src/com/redhat/ceylon/tools/help/CeylonHelpTool.java b/src/com/redhat/ceylon/tools/help/CeylonHelpTool.java
index 68460df8d..3b50ed557 100644
--- a/src/com/redhat/ceylon/tools/help/CeylonHelpTool.java
+++ b/src/com/redhat/ceylon/tools/help/CeylonHelpTool.java
@@ -1,108 +1,108 @@
package com.redhat.ceylon.... | false | true | protected final void printTopLevelHelp(Output out, WordWrap wrap, Iterable<String> toolNames) {
final ToolModel<CeylonTool> root = toolLoader.loadToolModel("");
final ToolDocumentation<CeylonTool> docModel = new ToolDocumentation<CeylonTool>(root);
printToolSummary(out, docModel);
... | protected final void printTopLevelHelp(Output out, WordWrap wrap, Iterable<String> toolNames) {
final ToolModel<CeylonTool> root = toolLoader.loadToolModel("");
final ToolDocumentation<CeylonTool> docModel = new ToolDocumentation<CeylonTool>(root);
printToolSummary(out, docModel);
... |
diff --git a/src/test/java/net/paguo/trafshow/backend/snmp/summary/commands/GetTrafficDataCommandTest.java b/src/test/java/net/paguo/trafshow/backend/snmp/summary/commands/GetTrafficDataCommandTest.java
index 58078b6..50a6e82 100644
--- a/src/test/java/net/paguo/trafshow/backend/snmp/summary/commands/GetTrafficDataComm... | true | true | public void testGetData(){
Calendar cal = Calendar.getInstance();
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.SECOND, 10);
Date begin = cal.getTime();
cal.roll(Calendar.HOUR_OF_DAY, 23);
... | public void testGetData(){
Calendar cal = Calendar.getInstance();
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.SECOND, 10);
Date begin = cal.getTime();
cal.roll(Calendar.HOUR_OF_DAY, 23);
... |
diff --git a/src/powercrystals/minefactoryreloaded/gui/MFRCreativeTab.java b/src/powercrystals/minefactoryreloaded/gui/MFRCreativeTab.java
index a87eeda2..b6d13e34 100644
--- a/src/powercrystals/minefactoryreloaded/gui/MFRCreativeTab.java
+++ b/src/powercrystals/minefactoryreloaded/gui/MFRCreativeTab.java
@@ -1,33 +1,3... | true | true | public MFRCreativeTab(String label, ItemStack icon) {
super(label);
this.label = label;
}
| public MFRCreativeTab(String label, ItemStack icon) {
super(label);
this.label = label;
this.icon = icon;
}
|
diff --git a/app/src/main/java/org/gdg/frisbee/android/adapter/NewsAdapter.java b/app/src/main/java/org/gdg/frisbee/android/adapter/NewsAdapter.java
index f6e9c5d2..0b6eafe8 100644
--- a/app/src/main/java/org/gdg/frisbee/android/adapter/NewsAdapter.java
+++ b/app/src/main/java/org/gdg/frisbee/android/adapter/NewsAdapte... | true | true | public View getView(int i, View view, ViewGroup viewGroup) {
if(view == null)
view = mInflater.inflate(R.layout.news_item_base, null);
Item item = (Item) getItemInternal(i);
final Activity activity = item.getActivity();
view.setTag(activity.getUrl());
ViewGroup... | public View getView(int i, View view, ViewGroup viewGroup) {
if(view == null)
view = mInflater.inflate(R.layout.news_item_base, null);
Item item = (Item) getItemInternal(i);
final Activity activity = item.getActivity();
view.setTag(activity.getUrl());
ViewGroup... |
diff --git a/src/main/java/org/telscenter/sail/webapp/presentation/web/controllers/teacher/RegisterTeacherController.java b/src/main/java/org/telscenter/sail/webapp/presentation/web/controllers/teacher/RegisterTeacherController.java
index 9fc9cfd..b9de755 100644
--- a/src/main/java/org/telscenter/sail/webapp/presentati... | true | true | protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
String domain = "http://" + request.getServerName();
String domainWithPort = domain + ":" + request.getLocalPort();
String referrer = request.getHeader("referer"... | protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
String domain = "http://" + request.getServerName();
String domainWithPort = domain + ":" + request.getLocalPort();
String referrer = request.getHeader("referer"... |
diff --git a/src/com/android/settings/LocationSettings.java b/src/com/android/settings/LocationSettings.java
index 645e6d772..0824aab0f 100644
--- a/src/com/android/settings/LocationSettings.java
+++ b/src/com/android/settings/LocationSettings.java
@@ -1,193 +1,192 @@
/*
* Copyright (C) 2011 The Android Open Source ... | true | true | private PreferenceScreen createPreferenceHierarchy() {
PreferenceScreen root = getPreferenceScreen();
if (root != null) {
root.removeAll();
}
addPreferencesFromResource(R.xml.location_settings);
root = getPreferenceScreen();
mNetwork = (CheckBoxPreference... | private PreferenceScreen createPreferenceHierarchy() {
PreferenceScreen root = getPreferenceScreen();
if (root != null) {
root.removeAll();
}
addPreferencesFromResource(R.xml.location_settings);
root = getPreferenceScreen();
mNetwork = (CheckBoxPreference... |
diff --git a/PaperFly/src/main/java/de/fhb/mi/paperfly/fragments/ChatFragment.java b/PaperFly/src/main/java/de/fhb/mi/paperfly/fragments/ChatFragment.java
index d44abcc..ae9c398 100644
--- a/PaperFly/src/main/java/de/fhb/mi/paperfly/fragments/ChatFragment.java
+++ b/PaperFly/src/main/java/de/fhb/mi/paperfly/fragments/C... | true | true | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
this.rootView = inflater.inflate(R.layout.fragment_chat, container, false);
initViewsById();
String room = getArguments().getString(ARG_CHAT_ROOM);
if (r... | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
this.rootView = inflater.inflate(R.layout.fragment_chat, container, false);
initViewsById();
String room = getArguments().getString(ARG_CHAT_ROOM);
if (r... |
diff --git a/uk.ac.diamond.scisoft.analysis.test/src/uk/ac/diamond/scisoft/analysis/dataset/InterpolatorUtilsTest.java b/uk.ac.diamond.scisoft.analysis.test/src/uk/ac/diamond/scisoft/analysis/dataset/InterpolatorUtilsTest.java
index 61e9055e4..1dfa14c49 100644
--- a/uk.ac.diamond.scisoft.analysis.test/src/uk/ac/diamond... | false | true | public void test() {
AbstractDataset im = AbstractDataset.arange(0.0,10000.0,1.0, AbstractDataset.FLOAT32);
im = im.reshape(100,100);
AbstractDataset off = Maths.sin(AbstractDataset.arange(0.0, 10.0, 0.1,AbstractDataset.FLOAT32));
AbstractDataset axis = AbstractDataset.arange(-5.0, 5.0, 0.1, AbstractDataset... | public void test() {
AbstractDataset im = AbstractDataset.arange(0.0,10000.0,1.0, AbstractDataset.FLOAT32);
im = im.reshape(100,100);
AbstractDataset off = Maths.sin(AbstractDataset.arange(0.0, 10.0, 0.1,AbstractDataset.FLOAT32));
AbstractDataset axis = AbstractDataset.arange(-5.0, 5.0, 0.1, AbstractDataset... |
diff --git a/src/main/java/tconstruct/client/TProxyClient.java b/src/main/java/tconstruct/client/TProxyClient.java
index 332792af7..c6307bfb9 100644
--- a/src/main/java/tconstruct/client/TProxyClient.java
+++ b/src/main/java/tconstruct/client/TProxyClient.java
@@ -1,152 +1,152 @@
package tconstruct.client;
import j... | true | true | public void readManuals ()
{
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
String CurrentLanguage = Minecraft.getMinecraft().getLanguageManager().getCurrentLanguage().getLanguageCode();
Document diary_cl = readManual("/assets/tinker/manuals/" + CurrentLanguage + "/diary.x... | public void readManuals ()
{
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
String CurrentLanguage = Minecraft.getMinecraft().getLanguageManager().getCurrentLanguage().getLanguageCode();
Document diary_cl = readManual("/assets/tinker/manuals/" + CurrentLanguage + "/diary.x... |
diff --git a/core/src/edu/trunk/wisc/ssec/mcidas/adde/AddeURLConnection.java b/core/src/edu/trunk/wisc/ssec/mcidas/adde/AddeURLConnection.java
index de7d0421a..81ff6880c 100644
--- a/core/src/edu/trunk/wisc/ssec/mcidas/adde/AddeURLConnection.java
+++ b/core/src/edu/trunk/wisc/ssec/mcidas/adde/AddeURLConnection.java
@@ ... | false | true | synchronized public void connect ()
throws IOException, AddeURLException
{
// First, see if we can use the URL passed in
// verify the service is one we can handle
// get rid of leading /
// keep original to preserve case for user= clause
String requestOriginal = url.getFile().substring(1)... | synchronized public void connect ()
throws IOException, AddeURLException
{
// First, see if we can use the URL passed in
// verify the service is one we can handle
// get rid of leading /
// keep original to preserve case for user= clause
String requestOriginal = url.getFile().substring(1)... |
diff --git a/navit/navit/android/src/org/navitproject/navit/NavitGraphics.java b/navit/navit/android/src/org/navitproject/navit/NavitGraphics.java
index 4170d19c..2520978c 100644
--- a/navit/navit/android/src/org/navitproject/navit/NavitGraphics.java
+++ b/navit/navit/android/src/org/navitproject/navit/NavitGraphics.ja... | false | true | public boolean onTouchEvent(MotionEvent event)
{
//Log.e("NavitGraphics", "onTouchEvent");
super.onTouchEvent(event);
int x = (int) event.getX();
int y = (int) event.getY();
int _ACTION_POINTER_UP_ = getActionField("ACTION_POINTER_UP", event);
int _ACTION_POINTER_DOWN_ = getActionField("ACTION_PO... | public boolean onTouchEvent(MotionEvent event)
{
//Log.e("NavitGraphics", "onTouchEvent");
super.onTouchEvent(event);
int x = (int) event.getX();
int y = (int) event.getY();
int _ACTION_POINTER_UP_ = getActionField("ACTION_POINTER_UP", event);
int _ACTION_POINTER_DOWN_ = getActionField("ACTION_PO... |
diff --git a/modules/resin/src/com/caucho/cloud/bam/BamQueueFullHandler.java b/modules/resin/src/com/caucho/cloud/bam/BamQueueFullHandler.java
index 05df1a726..3a9971af4 100644
--- a/modules/resin/src/com/caucho/cloud/bam/BamQueueFullHandler.java
+++ b/modules/resin/src/com/caucho/cloud/bam/BamQueueFullHandler.java
@@ ... | false | true | public void onQueueFull(Mailbox service,
int queueSize,
long timeout,
TimeUnit unit,
Object message)
{
long lastExceptionTime = _lastExceptionTime.get();
long firstSequenceTime = _firstSequenceTime.get();... | public void onQueueFull(Mailbox service,
int queueSize,
long timeout,
TimeUnit unit,
Object message)
{
long lastExceptionTime = _lastExceptionTime.get();
long firstSequenceTime = _firstSequenceTime.get();... |
diff --git a/PolicyProviderImpl/src/main/java/org/ebayopensource/turmeric/policyservice/model/RuleDAOImpl.java b/PolicyProviderImpl/src/main/java/org/ebayopensource/turmeric/policyservice/model/RuleDAOImpl.java
index ddfc913..be11f80 100644
--- a/PolicyProviderImpl/src/main/java/org/ebayopensource/turmeric/policyservic... | false | true | private boolean isValidStructure(final String conditionRule) {
boolean flag = true;
if (conditionRule != null) {
String[] operands;
if (conditionRule.contains("||")) {
operands = conditionRule.split("\\|\\|");
for (String operand : operands) {
operand = operand.trim();
if ( ! (operan... | private boolean isValidStructure(final String conditionRule) {
boolean flag = true;
if (conditionRule != null) {
String[] operands;
if (conditionRule.contains("||")) {
operands = conditionRule.split("\\|\\|");
for (String operand : operands) {
operand = operand.trim();
if ( ! (operan... |
diff --git a/src/com/difane/games/ticktacktoe/GameFSM.java b/src/com/difane/games/ticktacktoe/GameFSM.java
index 8fae355..ec8404f 100644
--- a/src/com/difane/games/ticktacktoe/GameFSM.java
+++ b/src/com/difane/games/ticktacktoe/GameFSM.java
@@ -1,1056 +1,1057 @@
package com.difane.games.ticktacktoe;
import com.difa... | true | true | private void transition(int currentState, int transitionState) {
this.getContainer().getLoggerComponent().debug("[GameFSM] ---> transition started ( " + currentState
+ " -> " + transitionState + " )");
try {
switch (transitionState) {
case FSM_STATE_MAIN_MENU_START_GAME:
if (currentState == FSM_STATE... | private void transition(int currentState, int transitionState) {
this.getContainer().getLoggerComponent().debug("[GameFSM] ---> transition started ( " + currentState
+ " -> " + transitionState + " )");
try {
switch (transitionState) {
case FSM_STATE_MAIN_MENU_START_GAME:
if (currentState == FSM_STATE... |
diff --git a/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/jbide/JBIDE1713Test.java b/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/src/org/jboss/tools/jsf/vpe/richfaces/test/jbide/JBIDE1713Test.java
index ca37df4b4..b7b22d37f 100644
--- a/jsf/tests/org.jboss.tools.jsf.v... | false | true | public void testJBIDE_1713() throws Throwable {
// wait
TestUtil.waitForJobs();
// set exception
setException(null);
// get test page path
IFile file = (IFile) TestUtil.getComponentPath(TEST_PAGE_NAME,
IMPORT_PROJECT_NAME);
assertNotNull("Could not open specified file " + file.getFullPath(),
fi... | public void testJBIDE_1713() throws Throwable {
// wait
TestUtil.waitForJobs();
// set exception
setException(null);
// get test page path
IFile file = (IFile) TestUtil.getComponentPath(TEST_PAGE_NAME,
IMPORT_PROJECT_NAME);
assertNotNull("Could not open specified file " + file.getFullPath(),
fi... |
diff --git a/src/main/java/com/threerings/config/tools/ResourceEditor.java b/src/main/java/com/threerings/config/tools/ResourceEditor.java
index aefeccf4..bbe50058 100644
--- a/src/main/java/com/threerings/config/tools/ResourceEditor.java
+++ b/src/main/java/com/threerings/config/tools/ResourceEditor.java
@@ -1,477 +1,... | true | true | public ResourceEditor (
MessageManager msgmgr, ConfigManager cfgmgr, ColorPository colorpos, String config)
{
super(msgmgr, cfgmgr, colorpos, "resource");
setSize(550, 600);
SwingUtil.centerWindow(this);
// populate the menu bar
JMenuBar menubar = new JMenuBar();... | public ResourceEditor (
MessageManager msgmgr, ConfigManager cfgmgr, ColorPository colorpos, String config)
{
super(msgmgr, cfgmgr, colorpos, "resource");
setSize(550, 600);
SwingUtil.centerWindow(this);
// populate the menu bar
JMenuBar menubar = new JMenuBar();... |
diff --git a/examServer/src/de/thorstenberger/examServer/tasks/TaskFactoryImpl.java b/examServer/src/de/thorstenberger/examServer/tasks/TaskFactoryImpl.java
index 4acd6f4..94ec9fb 100644
--- a/examServer/src/de/thorstenberger/examServer/tasks/TaskFactoryImpl.java
+++ b/examServer/src/de/thorstenberger/examServer/tasks/... | true | true | public void storeTasklet(Tasklet tasklet) throws TaskApiException {
TaskletVO taskletVO = taskHandlingDao.getTasklet( tasklet.getTaskId(), tasklet.getUserId() );
boolean changed = false;
if( taskletVO == null ){
taskletVO = new TaskletVO();
changed = true;
}
if( taskletVO.getTaskDefId() ... | public void storeTasklet(Tasklet tasklet) throws TaskApiException {
TaskletVO taskletVO = taskHandlingDao.getTasklet( tasklet.getTaskId(), tasklet.getUserId() );
boolean changed = false;
if( taskletVO == null ){
taskletVO = new TaskletVO();
changed = true;
}
if( taskletVO.getTaskDefId() ... |
diff --git a/src/main/java/tconstruct/armor/modelblock/DryingRackSpecialRender.java b/src/main/java/tconstruct/armor/modelblock/DryingRackSpecialRender.java
index dcefe7f8c..ee94797ba 100644
--- a/src/main/java/tconstruct/armor/modelblock/DryingRackSpecialRender.java
+++ b/src/main/java/tconstruct/armor/modelblock/Dryi... | false | true | void renderItem (DryingRackLogic logic, ItemStack stack)
{
FancyEntityItem entityitem = new FancyEntityItem(logic.getWorldObj(), 0.0D, 0.0D, 0.0D, stack);
entityitem.getEntityItem().stackSize = 1;
entityitem.hoverStart = 0.0F;
GL11.glPushMatrix();
int meta = logic.getWorl... | void renderItem (DryingRackLogic logic, ItemStack stack)
{
FancyEntityItem entityitem = new FancyEntityItem(logic.getWorldObj(), 0.0D, 0.0D, 0.0D, stack);
entityitem.getEntityItem().stackSize = 1;
entityitem.hoverStart = 0.0F;
GL11.glPushMatrix();
int meta = logic.getWorl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.