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/edu/berkeley/cs162/ThreadPool.java b/src/edu/berkeley/cs162/ThreadPool.java
index 968cad4..a691c95 100644
--- a/src/edu/berkeley/cs162/ThreadPool.java
+++ b/src/edu/berkeley/cs162/ThreadPool.java
@@ -1,115 +1,115 @@
/**
* A simple thread pool implementation
*
* @author Mosharaf Chowdhury (http:... | true | true | public void addToQueue(Runnable r) throws InterruptedException
{
try {
// jLock.acquire();
this.jobs.add(r);
this.notify();
} finally {
// jLock.release();
}
}
| public synchronized void addToQueue(Runnable r) throws InterruptedException
{
try {
// jLock.acquire();
this.jobs.add(r);
this.notify();
} finally {
// jLock.release();
}
}
|
diff --git a/java/amqp-api/src/main/java/org/zenoss/amqp/impl/PublisherImpl.java b/java/amqp-api/src/main/java/org/zenoss/amqp/impl/PublisherImpl.java
index df17f63..3544b28 100644
--- a/java/amqp-api/src/main/java/org/zenoss/amqp/impl/PublisherImpl.java
+++ b/java/amqp-api/src/main/java/org/zenoss/amqp/impl/PublisherI... | false | true | private BasicProperties convertProperties(MessageProperties properties) {
if (properties == null) {
return null;
}
// TODO: Figure out a better way to share this data and not duplicate
BasicProperties props = new BasicProperties();
props.setAppId(properties.getApp... | private BasicProperties convertProperties(MessageProperties properties) {
if (properties == null) {
return null;
}
// TODO: Figure out a better way to share this data and not duplicate
BasicProperties.Builder props = new BasicProperties.Builder();
props.appId(prop... |
diff --git a/nexus/nexus-app/src/main/java/org/sonatype/nexus/repositories/metadata/DefaultNexusRepositoryMetadataHandler.java b/nexus/nexus-app/src/main/java/org/sonatype/nexus/repositories/metadata/DefaultNexusRepositoryMetadataHandler.java
index 4d06b4f8d..33b1b3f93 100644
--- a/nexus/nexus-app/src/main/java/org/son... | true | true | public RepositoryMetadata readRepositoryMetadata( String repositoryId )
throws NoSuchRepositoryException,
MetadataHandlerException,
IOException
{
Repository repository = repositoryRegistry.getRepository( repositoryId );
NexusRawTransport nrt = new NexusRawTranspo... | public RepositoryMetadata readRepositoryMetadata( String repositoryId )
throws NoSuchRepositoryException,
MetadataHandlerException,
IOException
{
Repository repository = repositoryRegistry.getRepository( repositoryId );
NexusRawTransport nrt = new NexusRawTranspo... |
diff --git a/src/powercrystals/powerconverters/power/buildcraft/TileEntityBuildCraftProducer.java b/src/powercrystals/powerconverters/power/buildcraft/TileEntityBuildCraftProducer.java
index 57895a5..2e08417 100644
--- a/src/powercrystals/powerconverters/power/buildcraft/TileEntityBuildCraftProducer.java
+++ b/src/powe... | false | true | public int produceEnergy(int energy)
{
int mj = energy / PowerConverterCore.powerSystemBuildCraft.getInternalEnergyPerInput();
for(Entry<ForgeDirection, IPowerReceptor> output : getTiles().entrySet())
{
IPowerProvider pp = output.getValue().getPowerProvider();
if(pp != null && pp.preConditions(output.g... | public int produceEnergy(int energy)
{
int mj = energy / PowerConverterCore.powerSystemBuildCraft.getInternalEnergyPerOutput();
for(Entry<ForgeDirection, IPowerReceptor> output : getTiles().entrySet())
{
IPowerProvider pp = output.getValue().getPowerProvider();
if(pp != null && pp.preConditions(output.... |
diff --git a/update/org.eclipse.update.core/src/org/eclipse/update/internal/operations/OperationValidator.java b/update/org.eclipse.update.core/src/org/eclipse/update/internal/operations/OperationValidator.java
index e1510c810..98c1da459 100644
--- a/update/org.eclipse.update.core/src/org/eclipse/update/internal/operat... | true | true | private static Set checkPrereqs(
ArrayList features,
ArrayList plugins,
ArrayList status) {
HashSet result = new HashSet();
for (int i = 0; i < features.size(); i++) {
IFeature feature = (IFeature) features.get(i);
IImport[] imports = feature.getImports();
for (int j = 0; j < imports.length; j+... | private static Set checkPrereqs(
ArrayList features,
ArrayList plugins,
ArrayList status) {
HashSet result = new HashSet();
for (int i = 0; i < features.size(); i++) {
IFeature feature = (IFeature) features.get(i);
IImport[] imports = feature.getImports();
for (int j = 0; j < imports.length; j+... |
diff --git a/brix-plugin-menu/src/main/java/brix/plugin/menu/tile/MenuRenderer.java b/brix-plugin-menu/src/main/java/brix/plugin/menu/tile/MenuRenderer.java
index 9695e30..4740b73 100644
--- a/brix-plugin-menu/src/main/java/brix/plugin/menu/tile/MenuRenderer.java
+++ b/brix-plugin-menu/src/main/java/brix/plugin/menu/ti... | true | true | private void renderChild(MenuContainer container, ChildEntry entry, Response response,
Set<ChildEntry> selectedSet, int skipLevels, int renderLevels)
{
boolean selected = selectedSet.contains(entry);
boolean anyChildren = selected && anyChildren(entry);
if (skipLevels <= 0)... | private void renderChild(MenuContainer container, ChildEntry entry, Response response,
Set<ChildEntry> selectedSet, int skipLevels, int renderLevels)
{
boolean selected = selectedSet.contains(entry);
boolean anyChildren = selected && anyChildren(entry);
if (skipLevels <= 0)... |
diff --git a/src/org/apache/xerces/validators/schema/TraverseSchema.java b/src/org/apache/xerces/validators/schema/TraverseSchema.java
index 75864c882..e791fa12e 100644
--- a/src/org/apache/xerces/validators/schema/TraverseSchema.java
+++ b/src/org/apache/xerces/validators/schema/TraverseSchema.java
@@ -1,4504 +1,4504 ... | false | true | private int traverseComplexTypeDecl( Element complexTypeDecl ) throws Exception {
String isAbstract = complexTypeDecl.getAttribute( SchemaSymbols.ATT_ABSTRACT );
String base = complexTypeDecl.getAttribute(SchemaSymbols.ATT_BASE);
String blockSet = complexTypeDecl.getAttribute( SchemaSymbols... | private int traverseComplexTypeDecl( Element complexTypeDecl ) throws Exception {
String isAbstract = complexTypeDecl.getAttribute( SchemaSymbols.ATT_ABSTRACT );
String base = complexTypeDecl.getAttribute(SchemaSymbols.ATT_BASE);
String blockSet = complexTypeDecl.getAttribute( SchemaSymbols... |
diff --git a/core/org.eclipse.ptp.core/src/org/eclipse/ptp/rtsystem/ompi/OMPIProxyRuntimeClient.java b/core/org.eclipse.ptp.core/src/org/eclipse/ptp/rtsystem/ompi/OMPIProxyRuntimeClient.java
index 5243c8a18..5ff55ca29 100644
--- a/core/org.eclipse.ptp.core/src/org/eclipse/ptp/rtsystem/ompi/OMPIProxyRuntimeClient.java
+... | true | true | public boolean startup() {
System.out.println("OMPIProxyRuntimeClient - firing up proxy, waiting for connecting. Please wait! This can take a minute . . .");
Preferences preferences = PTPCorePlugin.getDefault().getPluginPreferences();
String proxyPath = preferences.getString(PreferenceConstants.ORTE_SERVER_... | public boolean startup() {
System.out.println("OMPIProxyRuntimeClient - firing up proxy, waiting for connecting. Please wait! This can take a minute . . .");
Preferences preferences = PTPCorePlugin.getDefault().getPluginPreferences();
String proxyPath = preferences.getString(PreferenceConstants.ORTE_SERVER_... |
diff --git a/ini/trakem2/display/Pipe.java b/ini/trakem2/display/Pipe.java
index 082a44e4..1bf62504 100644
--- a/ini/trakem2/display/Pipe.java
+++ b/ini/trakem2/display/Pipe.java
@@ -1,2165 +1,2166 @@
/**
TrakEM2 plugin for ImageJ(C).
Copyright (C) 2005-2009 Albert Cardona and Rodney Douglas.
This program is fr... | true | true | public void paint(final Graphics2D g, final double magnification, final boolean active, final int channels, final Layer active_layer) {
if (0 == n_points) return;
if (-1 == n_points) {
// load points from the database
setupForDisplay();
}
//arrange transparency
Composite original_composite = null;
if... | public void paint(final Graphics2D g, final double magnification, final boolean active, final int channels, final Layer active_layer) {
if (0 == n_points) return;
if (-1 == n_points) {
// load points from the database
setupForDisplay();
}
//arrange transparency
Composite original_composite = null;
if... |
diff --git a/src/org/utils/shape/ShapeCube.java b/src/org/utils/shape/ShapeCube.java
index 6dcca67..db9509f 100644
--- a/src/org/utils/shape/ShapeCube.java
+++ b/src/org/utils/shape/ShapeCube.java
@@ -1,63 +1,63 @@
package org.utils.shape;
import java.awt.Graphics;
import org.utils.transform.Projection;
/**
... | true | true | public void globe(int M, int N) {
// vertices should contain the normal for each vertice.
vertices = new double[][] { { 1, 1, 1, 1, 1, 1 },
{ 1, -1, 1, 1, -1, 1 }, { -1, -1, 1, -1, -1, 1 },
{ -1, 1, 1, -1, 1, 1 }, { 1, 1, -1, 1, 1, -1 },
{ 1, -1, -1, 1, -1, -1 }, { -1, -1, -1, -1, -1, -1 },
{ -1, 1... | public void globe(int M, int N) {
// vertices should contain the normal for each vertice.
vertices = new double[][] { { 1, 1, 1, 0, 0, 1 },
{ 1, -1, 1, 0, 0, 1 }, { -1, -1, 1, 0, 0, 1 },
{ -1, 1, 1, 0, 0, 1 }, { 1, 1, -1, 0, 0, -1 },
{ 1, -1, -1, 0, 0, -1 }, { -1, -1, -1, 0, 0, -1 },
{ -1, 1, -1, 0... |
diff --git a/src/main/java/com/celements/calendar/navigation/factories/NavigationDetailsFactory.java b/src/main/java/com/celements/calendar/navigation/factories/NavigationDetailsFactory.java
index bf4013a..4ddff3f 100644
--- a/src/main/java/com/celements/calendar/navigation/factories/NavigationDetailsFactory.java
+++ b... | true | true | public NavigationDetails getNavigationDetails(DocumentReference calConfigDocRef,
IEvent event, EventSearchQuery query) {
LOGGER.debug("getNavigationDetails for '" + event + "'");
Date eventDate = event.getEventDate();
if (eventDate != null) {
ICalendar cal = new Calendar(calConfigDocRef, false... | public NavigationDetails getNavigationDetails(DocumentReference calConfigDocRef,
IEvent event, EventSearchQuery query) {
LOGGER.debug("getNavigationDetails for '" + event + "'");
Date eventDate = event.getEventDate();
if (eventDate != null) {
ICalendar cal = new Calendar(calConfigDocRef, false... |
diff --git a/server/plugins/eu.esdihumboldt.hale.server.templates/src/eu/esdihumboldt/hale/server/templates/impl/TemplateScavengerImpl.java b/server/plugins/eu.esdihumboldt.hale.server.templates/src/eu/esdihumboldt/hale/server/templates/impl/TemplateScavengerImpl.java
index 4653d79e7..7831c8e7a 100644
--- a/server/plug... | true | true | protected void onAdd(ProjectReference<Void> reference, String resourceId) {
reference.update(null);
Template template;
try {
// get existing representation in database
template = Template.getByTemplateId(graph.get(), resourceId);
} catch (NonUniqueResultException e) {
log.error("Duplicate template re... | protected void onAdd(ProjectReference<Void> reference, String resourceId) {
reference.update(null);
Template template;
try {
// get existing representation in database
template = Template.getByTemplateId(graph.get(), resourceId);
} catch (NonUniqueResultException e) {
log.error("Duplicate template re... |
diff --git a/src/de/danoeh/antennapod/syndication/util/SyndTypeUtils.java b/src/de/danoeh/antennapod/syndication/util/SyndTypeUtils.java
index 5e9494c9..16ef0243 100644
--- a/src/de/danoeh/antennapod/syndication/util/SyndTypeUtils.java
+++ b/src/de/danoeh/antennapod/syndication/util/SyndTypeUtils.java
@@ -1,37 +1,37 @@... | true | true | public static String getValidMimeTypeFromUrl(String url) {
String extension = FilenameUtils.getExtension(url);
if (extension != null) {
String type = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
extension);
if (typeValid(type)) {
return type;
}
}
return null;
}
| public static String getValidMimeTypeFromUrl(String url) {
String extension = FilenameUtils.getExtension(url);
if (extension != null) {
String type = MimeTypeMap.getSingleton().getMimeTypeFromExtension(
extension);
if (type != null && typeValid(type)) {
return type;
}
}
return null;
}
|
diff --git a/RichClient/src/main/java/com/tihiy/rclint/implement/ControlPanel.java b/RichClient/src/main/java/com/tihiy/rclint/implement/ControlPanel.java
index a64f359..d6d27b1 100644
--- a/RichClient/src/main/java/com/tihiy/rclint/implement/ControlPanel.java
+++ b/RichClient/src/main/java/com/tihiy/rclint/implement/C... | true | true | private void initComponent(){
butChooseSignal = new JButton("Choose Signal");
butChooseFirstLayerSignal = new JButton("First Layer Signal");
butChooseBaseSignal = new JButton("Base signal");
butCalculate = new JButton("Calculate");
butDefault = new JButton("Default signal");... | private void initComponent(){
butChooseSignal = new JButton("Choose Signal");
butChooseFirstLayerSignal = new JButton("First Layer Signal");
butChooseBaseSignal = new JButton("Base signal");
butCalculate = new JButton("Calculate");
butDefault = new JButton("Default signal");... |
diff --git a/src/balle/world/BasicWorld.java b/src/balle/world/BasicWorld.java
index b8af880..beb2cdd 100644
--- a/src/balle/world/BasicWorld.java
+++ b/src/balle/world/BasicWorld.java
@@ -1,186 +1,186 @@
package balle.world;
import balle.misc.Globals;
public class BasicWorld extends AbstractWorld {
priva... | true | true | public void update(double yPosX, double yPosY, double yRad, double bPosX,
double bPosY, double bRad, double ballPosX, double ballPosY,
long timestamp) {
if ((pitchWidth < 0) || (pitchHeight < 0)) {
System.err
.println("Cannot update locations as pitch... | public void update(double yPosX, double yPosY, double yRad, double bPosX,
double bPosY, double bRad, double ballPosX, double ballPosY,
long timestamp) {
if ((pitchWidth < 0) || (pitchHeight < 0)) {
System.err
.println("Cannot update locations as pitch... |
diff --git a/BackupToDropboxV2/src/utils/Connection.java b/BackupToDropboxV2/src/utils/Connection.java
index 1918d06..82cd6f8 100644
--- a/BackupToDropboxV2/src/utils/Connection.java
+++ b/BackupToDropboxV2/src/utils/Connection.java
@@ -1,283 +1,283 @@
package utils;
import java.io.File;
import java.io.FileInputSt... | false | true | public static void doChunkUpload(String sourceFile) {
// Load cached state.
State state = State.load(STATE_FILE);
String linkKey = state.links.entrySet().iterator().next().getKey();
AccessTokenPair targetAccess = state.links.get(linkKey);
if (targetAccess == null) {
throw die("ERROR: <source> refers to... | public static void doChunkUpload(String sourceFile) {
// Load cached state.
State state = State.load(STATE_FILE);
String linkKey = state.links.entrySet().iterator().next().getKey();
AccessTokenPair targetAccess = state.links.get(linkKey);
if (targetAccess == null) {
throw die("ERROR: <source> refers to... |
diff --git a/SWADroid/src/es/ugr/swad/swadroid/modules/Login.java b/SWADroid/src/es/ugr/swad/swadroid/modules/Login.java
index b75f8dea..ad9c351e 100644
--- a/SWADroid/src/es/ugr/swad/swadroid/modules/Login.java
+++ b/SWADroid/src/es/ugr/swad/swadroid/modules/Login.java
@@ -1,176 +1,176 @@
/*
* This file is part of... | true | true | private void requestService()
throws NoSuchAlgorithmException, IOException, XmlPullParserException, SoapFault {
//Encrypts user password with SHA-512 and encodes it to Base64
md = MessageDigest.getInstance("SHA-512");
md.update(prefs.getUserPassword().getBytes());
userPa... | private void requestService()
throws NoSuchAlgorithmException, IOException, XmlPullParserException, SoapFault {
//Encrypts user password with SHA-512 and encodes it to Base64
md = MessageDigest.getInstance("SHA-512");
md.update(prefs.getUserPassword().getBytes());
userPa... |
diff --git a/app/src/processing/app/syntax/PdeKeywords.java b/app/src/processing/app/syntax/PdeKeywords.java
index 9b5ea6838..e9b29f1ff 100644
--- a/app/src/processing/app/syntax/PdeKeywords.java
+++ b/app/src/processing/app/syntax/PdeKeywords.java
@@ -1,257 +1,258 @@
/* -*- mode: java; c-basic-offset: 2; indent-tabs-... | true | true | public byte markTokensImpl(byte token, Segment line, int lineIndex) {
char[] array = line.array;
int offset = line.offset;
lastOffset = offset;
lastKeyword = offset;
int mlength = offset + line.count;
boolean backslash = false;
loop: for (int i = offset; i < mlength; i++) {
int i1 =... | public byte markTokensImpl(byte token, Segment line, int lineIndex) {
char[] array = line.array;
int offset = line.offset;
lastOffset = offset;
lastKeyword = offset;
int mlength = offset + line.count;
boolean backslash = false;
loop: for (int i = offset; i < mlength; i++) {
int i1 =... |
diff --git a/OpenLocation/src/de/h3ndrik/openlocation/LocationReceiver.java b/OpenLocation/src/de/h3ndrik/openlocation/LocationReceiver.java
index e413bd2..b2a411d 100644
--- a/OpenLocation/src/de/h3ndrik/openlocation/LocationReceiver.java
+++ b/OpenLocation/src/de/h3ndrik/openlocation/LocationReceiver.java
@@ -1,172 +... | true | true | public static void doActiveUpdate(final Context context, Boolean useGPS) {
Log.d(DEBUG_TAG, "force active location update");
if (locationListener == null) {
Log.d(DEBUG_TAG, "set up new LocationListener");
locationListener = new LocationListener() {
public void onLocationChanged(Location location)... | public static void doActiveUpdate(final Context context, Boolean useGPS) {
Log.d(DEBUG_TAG, "force active location update");
if (locationListener == null) {
Log.d(DEBUG_TAG, "set up new LocationListener");
locationListener = new LocationListener() {
public void onLocationChanged(Location location)... |
diff --git a/src/com/dmdirc/addons/osdplugin/OsdWindow.java b/src/com/dmdirc/addons/osdplugin/OsdWindow.java
index 275befbe8..961e2c123 100644
--- a/src/com/dmdirc/addons/osdplugin/OsdWindow.java
+++ b/src/com/dmdirc/addons/osdplugin/OsdWindow.java
@@ -1,145 +1,145 @@
/*
* Copyright (c) 2006-2007 Chris Smith, Shane ... | false | true | public OsdWindow(final String text, final boolean config) {
super(MainFrame.getMainFrame(), false);
setFocusableWindowState(false);
setAlwaysOnTop(true);
setSize(new Dimension(500,
Config.getOptionInt("plugin-OSD", "fontsize", 20) + LARGE_BORDER));
s... | public OsdWindow(final String text, final boolean config) {
super(MainFrame.getMainFrame(), false);
setFocusableWindowState(false);
setAlwaysOnTop(true);
setSize(new Dimension(500,
Config.getOptionInt("plugin-OSD", "fontSize", 20) + LARGE_BORDER));
s... |
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
index 4751aaf6..39410c9f 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
+++ b/pac... | true | true | public boolean onTouchEvent(MotionEvent event) {
boolean shouldRecycleEvent = false;
if (PhoneStatusBar.SETTINGS_DRAG_SHORTCUT && mStatusBar.mHasFlipSettings) {
boolean flip = false;
boolean swipeFlipJustFinished = false;
boolean swipeFlipJustStarted = false;
... | public boolean onTouchEvent(MotionEvent event) {
boolean shouldRecycleEvent = false;
if (PhoneStatusBar.SETTINGS_DRAG_SHORTCUT && mStatusBar.mHasFlipSettings) {
boolean flip = false;
boolean swipeFlipJustFinished = false;
boolean swipeFlipJustStarted = false;
... |
diff --git a/aop/docs/examples/implements/TestInterceptor.java b/aop/docs/examples/implements/TestInterceptor.java
index a5cf3e86..aa0ffe99 100644
--- a/aop/docs/examples/implements/TestInterceptor.java
+++ b/aop/docs/examples/implements/TestInterceptor.java
@@ -1,32 +1,31 @@
/*
* JBoss, the OpenSource J2EE webOS
... | true | true | public Object invoke(Invocation invocation) throws Throwable
{
try
{
System.out.println("<<< TestInterceptor intercepting");
invocation.resolveClassAnnotation(ImplementingInterface.class);
return invocation.invokeNext();
}
finally
{
System.out.prin... | public Object invoke(Invocation invocation) throws Throwable
{
try
{
System.out.println("<<< TestInterceptor intercepting");
return invocation.invokeNext();
}
finally
{
System.out.println(">>> Leaving Trace");
}
}
|
diff --git a/src/test/cli/cloudify/cloud/services/azure/MicrosoftAzureCloudService.java b/src/test/cli/cloudify/cloud/services/azure/MicrosoftAzureCloudService.java
index d26a2b69..d96be927 100644
--- a/src/test/cli/cloudify/cloud/services/azure/MicrosoftAzureCloudService.java
+++ b/src/test/cli/cloudify/cloud/services... | false | true | private boolean scanNodesWithPrefix(final String... prefixes) {
if (azureClient == null) {
LogUtils.log("Microsoft Azure client was not initialized, therefore a bootstrap never took place, and no scan is needed.");
return true;
}
long scanEndTime = System.currentTimeMillis() + SCAN_TIMEOUT;
try {
... | private boolean scanNodesWithPrefix(final String... prefixes) {
if (azureClient == null) {
LogUtils.log("Microsoft Azure client was not initialized, therefore a bootstrap never took place, and no scan is needed.");
return true;
}
long scanEndTime = System.currentTimeMillis() + SCAN_TIMEOUT;
try {
... |
diff --git a/src/fr/adrienbrault/idea/symfony2plugin/ServiceReferenceContributor.java b/src/fr/adrienbrault/idea/symfony2plugin/ServiceReferenceContributor.java
index 6c0ae3c4..61b16c84 100644
--- a/src/fr/adrienbrault/idea/symfony2plugin/ServiceReferenceContributor.java
+++ b/src/fr/adrienbrault/idea/symfony2plugin/Se... | false | true | public void registerReferenceProviders(PsiReferenceRegistrar psiReferenceRegistrar) {
psiReferenceRegistrar.registerReferenceProvider(PlatformPatterns.psiElement(StringLiteralExpression.class), new PsiReferenceProvider() {
@NotNull
@Override
public PsiReference[] getRefer... | public void registerReferenceProviders(PsiReferenceRegistrar psiReferenceRegistrar) {
psiReferenceRegistrar.registerReferenceProvider(PlatformPatterns.psiElement(StringLiteralExpression.class), new PsiReferenceProvider() {
@NotNull
@Override
public PsiReference[] getRefer... |
diff --git a/projects/connector-manager/source/java/com/google/enterprise/connector/traversal/QueryTraverser.java b/projects/connector-manager/source/java/com/google/enterprise/connector/traversal/QueryTraverser.java
index 95d24fd2..12bd1d64 100644
--- a/projects/connector-manager/source/java/com/google/enterprise/conn... | true | true | public int runBatch(int batchHint) throws InterruptedException {
int counter = 0;
PropertyMap pm = null;
String connectorState =
connectorStateStore.getConnectorState(connectorName);
ResultSet resultSet = null;
if (connectorState == null) {
try {
resultSet = queryTraversalMan... | public synchronized int runBatch(int batchHint) throws InterruptedException {
int counter = 0;
PropertyMap pm = null;
String connectorState =
connectorStateStore.getConnectorState(connectorName);
ResultSet resultSet = null;
if (connectorState == null) {
try {
resultSet = quer... |
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java
index 07338e09..554bb4a2 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java
@... | true | true | private void sellItem(User user, ItemStack is, String[] args, boolean isBulkSell) throws Exception
{
if (is == null || is.getType() == Material.AIR)
{
throw new Exception(_("itemSellAir"));
}
int id = is.getTypeId();
int amount = 0;
if (args.length > 1)
{
amount = Integer.parseInt(args[1].replaceA... | private void sellItem(User user, ItemStack is, String[] args, boolean isBulkSell) throws Exception
{
if (is == null || is.getType() == Material.AIR)
{
throw new Exception(_("itemSellAir"));
}
int id = is.getTypeId();
int amount = 0;
if (args.length > 1)
{
amount = Integer.parseInt(args[1].replaceA... |
diff --git a/JavaSource/org/unitime/timetable/tags/Registration.java b/JavaSource/org/unitime/timetable/tags/Registration.java
index 0f9ccb74..7871ba8f 100644
--- a/JavaSource/org/unitime/timetable/tags/Registration.java
+++ b/JavaSource/org/unitime/timetable/tags/Registration.java
@@ -1,205 +1,205 @@
/*
* UniTime 3... | true | true | private synchronized void init() {
sLastRefresh = System.currentTimeMillis();
try {
File regFile = new File(ApplicationProperties.getDataFolder(), "unitime.reg");
if (sKey == null && regFile.exists()) {
Properties reg = new Properties();
FileInputStream in = new FileInputStream(regFile);
try {
... | private synchronized void init() {
sLastRefresh = System.currentTimeMillis();
try {
File regFile = new File(ApplicationProperties.getDataFolder(), "unitime.reg");
if (sKey == null && regFile.exists()) {
Properties reg = new Properties();
FileInputStream in = new FileInputStream(regFile);
try {
... |
diff --git a/richfaces/src/main/java/be/cegeka/rsvz/LocaleBean.java b/richfaces/src/main/java/be/cegeka/rsvz/LocaleBean.java
index a4a9c37..96920b7 100644
--- a/richfaces/src/main/java/be/cegeka/rsvz/LocaleBean.java
+++ b/richfaces/src/main/java/be/cegeka/rsvz/LocaleBean.java
@@ -1,99 +1,98 @@
package be.cegeka.rsvz;
... | true | true | private Locale extractLocale(String localeCode) {
LOG.debug("Parsing {}", localeCode);
String language = localeCode.substring(0, 2);
String country;
if (localeCode.length() > 2) {
country = localeCode.substring(3, 5);
} else {
country = "";
}
... | private Locale extractLocale(String localeCode) {
String language = localeCode.substring(0, 2);
String country;
if (localeCode.length() > 2) {
country = localeCode.substring(3, 5);
} else {
country = "";
}
LOG.info("Setting locale to language={... |
diff --git a/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.java b/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.java
index a404f8809..711047800 100644
--- a/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.java
+++ b/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
// If the player typed /tardis then do the following...
// check there is the right number of arguments
if (cmd.getName().equalsIgnoreCase("tardis")) {
Player player = null;
if ... | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
// If the player typed /tardis then do the following...
// check there is the right number of arguments
if (cmd.getName().equalsIgnoreCase("tardis")) {
Player player = null;
if ... |
diff --git a/src/com/dunksoftware/seminoletix/LoginActivity.java b/src/com/dunksoftware/seminoletix/LoginActivity.java
index 4b7fa0e..bb94f8b 100644
--- a/src/com/dunksoftware/seminoletix/LoginActivity.java
+++ b/src/com/dunksoftware/seminoletix/LoginActivity.java
@@ -1,205 +1,210 @@
package com.dunksoftware.seminolet... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if( remembered ) {
// go to next page
startActivity(new Intent(this, ListActivity.class));
}
else {
// display the login screen and proceed
setContentView(R.layout.activity_login);
mUserControl = new UserC... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if( remembered ) {
// go to next page
startActivity(new Intent(this, ListActivity.class));
}
else {
// display the login screen and proceed
setContentView(R.layout.activity_login);
mUserControl = new UserC... |
diff --git a/ide-test/org.codehaus.groovy.alltests/src/org/codehaus/groovy/alltests/SanityTest.java b/ide-test/org.codehaus.groovy.alltests/src/org/codehaus/groovy/alltests/SanityTest.java
index ea03018ca..0e65b69e6 100644
--- a/ide-test/org.codehaus.groovy.alltests/src/org/codehaus/groovy/alltests/SanityTest.java
+++ ... | true | true | public void testCompilerVersion() throws Exception {
Version jdtVersion = getEclipseVersion();
Version groovyVersion = getGroovyCompilerVersion();
if (jdtVersion.getMinor() == 8 || jdtVersion.getMinor() == 7) {
assertEquals(2, groovyVersion.getMajor());
asser... | public void testCompilerVersion() throws Exception {
Version jdtVersion = getEclipseVersion();
Version groovyVersion = getGroovyCompilerVersion();
// JDT 3.7 and 3.8 test against Groovy 2.0
// JDT 3.9 test against Groovy 2.1
if (jdtVersion.getMinor() == 8 || jdtVersi... |
diff --git a/JavaSource/org/unitime/timetable/webutil/EventEmail.java b/JavaSource/org/unitime/timetable/webutil/EventEmail.java
index a0d1e3be..c0e58636 100644
--- a/JavaSource/org/unitime/timetable/webutil/EventEmail.java
+++ b/JavaSource/org/unitime/timetable/webutil/EventEmail.java
@@ -1,311 +1,311 @@
package org.... | false | true | public void send(HttpServletRequest request) {
String subject = null;
File conf = null;
try {
User user = Web.getUser(request.getSession());
if (Roles.ADMIN_ROLE.equals(user.getRole()) || Roles.EVENT_MGR_ROLE.equals(user.getRole())) {
if (iAction!=sAct... | public void send(HttpServletRequest request) {
String subject = null;
File conf = null;
try {
User user = Web.getUser(request.getSession());
if (Roles.ADMIN_ROLE.equals(user.getRole()) || Roles.EVENT_MGR_ROLE.equals(user.getRole())) {
if (iAction!=sAct... |
diff --git a/systemtap/org.eclipse.linuxtools.callgraph.core/src/org/eclipse/linuxtools/callgraph/core/SystemTapParser.java b/systemtap/org.eclipse.linuxtools.callgraph.core/src/org/eclipse/linuxtools/callgraph/core/SystemTapParser.java
index 512980267..3039d7465 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph.... | false | true | protected IStatus run(IProgressMonitor monitor) {
// Generate real-time job
IStatus returnStatus = Status.CANCEL_STATUS;
this.monitor = monitor;
if (this.monitor == null) {
this.monitor = new NullProgressMonitor();
}
makeView();
if (realTime && (job == null || job.getResult()==null)) {
job = new... | protected IStatus run(IProgressMonitor monitor) {
// Generate real-time job
IStatus returnStatus = Status.CANCEL_STATUS;
this.monitor = monitor;
if (this.monitor == null) {
this.monitor = new NullProgressMonitor();
}
if (realTime && (job == null || job.getResult()==null)) {
job = new RunTimeJob("R... |
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
index 4c4755b0..9aad4204 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
... | true | true | public static native void initialize() /*-{
(function(){
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
done = 0,
toString = Object.prototype.toString,
hasDuplicate = false;
var IES = function(selector, conte... | public static native void initialize() /*-{
(function(){
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
done = 0,
toString = Object.prototype.toString,
hasDuplicate = false;
var IES = function(selector, conte... |
diff --git a/src/org/rascalmpl/library/vis/figure/combine/WithInnerFig.java b/src/org/rascalmpl/library/vis/figure/combine/WithInnerFig.java
index a06bf145c7..e160f0fc78 100644
--- a/src/org/rascalmpl/library/vis/figure/combine/WithInnerFig.java
+++ b/src/org/rascalmpl/library/vis/figure/combine/WithInnerFig.java
@@ -1... | true | true | public void computeMinSize() {
if(innerFig!=null){
for(Dimension d : HOR_VER){
minSize.set(d, innerFig.minSize.get(d) * getGrowFactor(d));
minSize.setMax(d, innerFig.minSize.get(d) + 2 * prop.get2DReal(d, GAP));
if(!innerFig.resizable.get(d) && prop.is2DPropertySet(d, GROW)){
resizable.set(d,fal... | public void computeMinSize() {
if(innerFig!=null){
for(Dimension d : HOR_VER){
minSize.set(d, innerFig.minSize.get(d) * getGrowFactor(d));
minSize.setMax(d, innerFig.minSize.get(d) + 2 * prop.get2DReal(d, GAP));
// if(!innerFig.resizable.get(d) && prop.is2DPropertySet(d, GROW)){
// resizable.set(d... |
diff --git a/dev/core/src/com/google/gwt/dev/jdt/WebModeCompilerFrontEnd.java b/dev/core/src/com/google/gwt/dev/jdt/WebModeCompilerFrontEnd.java
index ef33ecb51..a6c36cc6c 100644
--- a/dev/core/src/com/google/gwt/dev/jdt/WebModeCompilerFrontEnd.java
+++ b/dev/core/src/com/google/gwt/dev/jdt/WebModeCompilerFrontEnd.java... | true | true | protected String[] doFindAdditionalTypesUsingRebinds(TreeLogger logger,
CompilationUnitDeclaration cud) {
Set<String> dependentTypeNames = new HashSet<String>();
// Find all the deferred binding request types.
FindDeferredBindingSitesVisitor v = new FindDeferredBindingSitesVisitor();
cud.traver... | protected String[] doFindAdditionalTypesUsingRebinds(TreeLogger logger,
CompilationUnitDeclaration cud) {
Set<String> dependentTypeNames = new HashSet<String>();
// Find all the deferred binding request types.
FindDeferredBindingSitesVisitor v = new FindDeferredBindingSitesVisitor();
cud.traver... |
diff --git a/src/com/TrackApp/GearComparisonActivity.java b/src/com/TrackApp/GearComparisonActivity.java
index 7158d06..d025968 100644
--- a/src/com/TrackApp/GearComparisonActivity.java
+++ b/src/com/TrackApp/GearComparisonActivity.java
@@ -1,240 +1,240 @@
package com.TrackApp;
import java.util.ArrayList;
import... | false | true | protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.gear_comparison);
//Set up of Front Ring Select0r
final NumberPicker frontRing1 = (NumberPicker)findViewById(R.id.FrontRing1);
frontRing1.setRange(30, 65);
frontRing1.setCurrent(48);
//Se... | protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.gear_comparison);
//Set up of Front Ring Select0r
final NumberPicker frontRing1 = (NumberPicker)findViewById(R.id.FrontRing1);
frontRing1.setRange(30, 65);
frontRing1.setCurrent(48);
//Se... |
diff --git a/src/org/jets3t/service/utils/FileComparer.java b/src/org/jets3t/service/utils/FileComparer.java
index a7ec07d..f812513 100644
--- a/src/org/jets3t/service/utils/FileComparer.java
+++ b/src/org/jets3t/service/utils/FileComparer.java
@@ -1,568 +1,568 @@
/*
* jets3t : Java Extra-Tasty S3 Toolkit (for Amazo... | true | true | public static FileComparerResults buildDiscrepancyLists(Map filesMap, Map s3ObjectsMap,
BytesProgressWatcher progressWatcher)
throws NoSuchAlgorithmException, FileNotFoundException, IOException, ParseException
{
List onlyOnServerKeys = new ArrayList();
List updatedOnServerKeys =... | public static FileComparerResults buildDiscrepancyLists(Map filesMap, Map s3ObjectsMap,
BytesProgressWatcher progressWatcher)
throws NoSuchAlgorithmException, FileNotFoundException, IOException, ParseException
{
List onlyOnServerKeys = new ArrayList();
List updatedOnServerKeys =... |
diff --git a/src/test/java/de/banapple/confluence/GridUrlCodecTest.java b/src/test/java/de/banapple/confluence/GridUrlCodecTest.java
index 514bf66..76d3ad0 100644
--- a/src/test/java/de/banapple/confluence/GridUrlCodecTest.java
+++ b/src/test/java/de/banapple/confluence/GridUrlCodecTest.java
@@ -1,34 +1,34 @@
package ... | true | true | public void testCompressDecompress()
{
String text =
"+----------+\n"+
"|Hallo Welt|\n"+
"+----------+\n";
System.out.println(text);
String compressedText = codec.encode(text);
System.out.println(compressedText);
String decoded = codec.decode(compressedText);
System.out.println(decoded);
As... | public void testCompressDecompress()
{
String text =
"+----------+\n"+
"|Hallo Welt|\n"+
"+----------+\n";
System.out.println(text);
String compressedText = codec.encode(text);
System.out.println(compressedText);
String decoded = codec.decode(compressedText);
System.out.println(decoded);
As... |
diff --git a/freeplane/src/org/freeplane/features/styles/LogicalStyleController.java b/freeplane/src/org/freeplane/features/styles/LogicalStyleController.java
index 6ecb8296f..127d279b7 100644
--- a/freeplane/src/org/freeplane/features/styles/LogicalStyleController.java
+++ b/freeplane/src/org/freeplane/features/styles... | true | true | public LogicalStyleController(ModeController modeController) {
// this.modeController = modeController;
styleHandlers = new CombinedPropertyChain<Collection<IStyle>, NodeModel>(false);
createBuilder();
registerChangeListener();
addStyleGetter(IPropertyHandler.NODE, new IPropertyHandler<Collection<IStyle>... | public LogicalStyleController(ModeController modeController) {
// this.modeController = modeController;
styleHandlers = new CombinedPropertyChain<Collection<IStyle>, NodeModel>(false);
createBuilder();
registerChangeListener();
addStyleGetter(IPropertyHandler.NODE, new IPropertyHandler<Collection<IStyle>... |
diff --git a/lorian/graph/GraphFrame.java b/lorian/graph/GraphFrame.java
index afc570e..8073625 100644
--- a/lorian/graph/GraphFrame.java
+++ b/lorian/graph/GraphFrame.java
@@ -1,562 +1,568 @@
package lorian.graph;
import lorian.graph.function.*;
import java.awt.BasicStroke;
import java.awt.Color;
import java.... | false | true | private void drawFunction(Function f, boolean fill, Graphics g)
{
if(f.isEmpty()) return;
g.setColor(f.getColor());
int xpix, ypix;
double x,y;
double step = ((double) (settings.getXmax() - settings.getXmin())) / size.getWidth();
Point previous = new Point();
boolean WaitForRealNumber = false;
for... | private void drawFunction(Function f, boolean fill, Graphics g)
{
if(f.isEmpty()) return;
g.setColor(f.getColor());
int xpix, ypix;
double x,y;
double step = ((double) (settings.getXmax() - settings.getXmin())) / size.getWidth();
Point previous = new Point();
boolean WaitForRealNumber = false;
for... |
diff --git a/openFaces/source/org/openfaces/util/ResourceFilter.java b/openFaces/source/org/openfaces/util/ResourceFilter.java
index 975b384b1..98e3c5a1e 100644
--- a/openFaces/source/org/openfaces/util/ResourceFilter.java
+++ b/openFaces/source/org/openfaces/util/ResourceFilter.java
@@ -1,528 +1,528 @@
/*
* OpenFac... | true | true | public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain filterChain)
throws IOException, ServletException {
if (servletRequest.getAttribute(PROCESSING_FILTER) != null) {
filterChain.doFilter(se... | public void doFilter(ServletRequest servletRequest,
ServletResponse servletResponse,
FilterChain filterChain)
throws IOException, ServletException {
if (servletRequest.getAttribute(PROCESSING_FILTER) != null) {
filterChain.doFilter(se... |
diff --git a/broadcast-transcoder-commandline/src/main/java/dk/statsbiblioteket/broadcasttranscoder/ReklamefilmTranscoderApplication.java b/broadcast-transcoder-commandline/src/main/java/dk/statsbiblioteket/broadcasttranscoder/ReklamefilmTranscoderApplication.java
index 88e02cf..96e829e 100644
--- a/broadcast-transcode... | true | true | public static void main(String[] args) throws Exception {
logger.debug("Entered main method.");
SingleTranscodingContext<ReklamefilmTranscodingRecord> context = new SingleTranscodingOptionsParser<ReklamefilmTranscodingRecord>().parseOptions(args);
HibernateUtil util = HibernateUtil.getInstan... | public static void main(String[] args) throws Exception {
logger.debug("Entered main method.");
SingleTranscodingContext<ReklamefilmTranscodingRecord> context = new SingleTranscodingOptionsParser<ReklamefilmTranscodingRecord>().parseOptions(args);
HibernateUtil util = HibernateUtil.getInstan... |
diff --git a/src/main/java/com/metaweb/gridworks/operations/RowFlagOperation.java b/src/main/java/com/metaweb/gridworks/operations/RowFlagOperation.java
index 9a05b7a..c9c425d 100644
--- a/src/main/java/com/metaweb/gridworks/operations/RowFlagOperation.java
+++ b/src/main/java/com/metaweb/gridworks/operations/RowFlagOp... | true | true | protected RowVisitor createRowVisitor(Project project, List<Change> changes) throws Exception {
return new RowVisitor() {
List<Change> changes;
public RowVisitor init(List<Change> changes) {
this.changes = changes;
return this;
... | protected RowVisitor createRowVisitor(Project project, List<Change> changes) throws Exception {
return new RowVisitor() {
List<Change> changes;
public RowVisitor init(List<Change> changes) {
this.changes = changes;
return this;
... |
diff --git a/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/info/JavaStringELInfoHover.java b/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/info/JavaStringELInfoHover.java
index e5edd3dd..1d73ee9d 100644
--- a/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jsp... | true | true | public Object getHoverInfo2(ITextViewer textViewer, IRegion region) {
// find a region of __java_string, if we're in it - use it
IDocument document = textViewer == null ? null : textViewer.getDocument();
if (document == null)
return null;
int rangeStart = -1;
int rangeLength = 0;
IToken rangeToken = ... | public Object getHoverInfo2(ITextViewer textViewer, IRegion region) {
// find a region of __java_string, if we're in it - use it
IDocument document = textViewer == null ? null : textViewer.getDocument();
if (document == null)
return null;
int rangeStart = -1;
int rangeLength = 0;
IToken rangeToken = ... |
diff --git a/src/org/ohmage/request/survey/SurveyResponseReadRequest.java b/src/org/ohmage/request/survey/SurveyResponseReadRequest.java
index 846adc88..ea89d2e9 100644
--- a/src/org/ohmage/request/survey/SurveyResponseReadRequest.java
+++ b/src/org/ohmage/request/survey/SurveyResponseReadRequest.java
@@ -1,1675 +1,167... | false | true | public void respond(HttpServletRequest httpRequest, HttpServletResponse httpResponse) {
LOGGER.info("Responding to the survey response read request.");
if(isFailed()) {
super.respond(httpRequest, httpResponse, null);
return;
}
// Create a writer for the HTTP response object.
Writer writer = null;... | public void respond(HttpServletRequest httpRequest, HttpServletResponse httpResponse) {
LOGGER.info("Responding to the survey response read request.");
if(isFailed()) {
super.respond(httpRequest, httpResponse, null);
return;
}
// Create a writer for the HTTP response object.
Writer writer = null;... |
diff --git a/WEB-INF/src/edu/wustl/catissuecore/action/SimpleSearchAction.java b/WEB-INF/src/edu/wustl/catissuecore/action/SimpleSearchAction.java
index 677d204cd..48c580b11 100644
--- a/WEB-INF/src/edu/wustl/catissuecore/action/SimpleSearchAction.java
+++ b/WEB-INF/src/edu/wustl/catissuecore/action/SimpleSearchAction.... | true | true | public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception
{
SimpleQueryInterfaceForm simpleQueryInterfaceForm = (SimpleQueryInterfaceForm) form;
//Get the aliasName.
String viewAlia... | public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception
{
SimpleQueryInterfaceForm simpleQueryInterfaceForm = (SimpleQueryInterfaceForm) form;
//Get the aliasName.
String viewAlia... |
diff --git a/sonar-java-plugin/src/main/java/org/sonar/plugins/java/api/JavaSettings.java b/sonar-java-plugin/src/main/java/org/sonar/plugins/java/api/JavaSettings.java
index 784aece60..f1a287da3 100644
--- a/sonar-java-plugin/src/main/java/org/sonar/plugins/java/api/JavaSettings.java
+++ b/sonar-java-plugin/src/main/j... | true | true | public String getEnabledCoveragePlugin() {
// backward-compatibility with the property '' that has been deprecated in sonar 3.4.
String[] keys = settings.getStringArray("sonar.core.codeCoveragePlugin");
if (keys.length>0) {
return keys[0];
}
return settings.getString(PROPERTY_COVERAGE_PLUGIN... | public String getEnabledCoveragePlugin() {
// backward-compatibility with the property that has been deprecated in sonar 3.4.
String[] keys = settings.getStringArray("sonar.core.codeCoveragePlugin");
if (keys.length>0) {
return keys[0];
}
return settings.getString(PROPERTY_COVERAGE_PLUGIN);
... |
diff --git a/servers/src/org/xtreemfs/new_mrc/dbaccess/AtomicBabuDBUpdate.java b/servers/src/org/xtreemfs/new_mrc/dbaccess/AtomicBabuDBUpdate.java
index 91b4492f..492601f4 100644
--- a/servers/src/org/xtreemfs/new_mrc/dbaccess/AtomicBabuDBUpdate.java
+++ b/servers/src/org/xtreemfs/new_mrc/dbaccess/AtomicBabuDBUpdate.ja... | false | true | public void execute() throws DatabaseException {
try {
if (listener != null) {
database.syncInsert(ig);
listener.insertFinished(context);
} else
database.syncInsert(ig);
} catch (BabuDBException exc) {
throw new Data... | public void execute() throws DatabaseException {
try {
if (listener != null) {
database.directInsert(ig);
listener.insertFinished(context);
} else
database.directInsert(ig);
} catch (BabuDBException exc) {
throw new ... |
diff --git a/src/java/org/apache/commons/math/ode/events/EventState.java b/src/java/org/apache/commons/math/ode/events/EventState.java
index 412d85e36..a8641a35f 100644
--- a/src/java/org/apache/commons/math/ode/events/EventState.java
+++ b/src/java/org/apache/commons/math/ode/events/EventState.java
@@ -1,329 +1,337 @@... | false | true | public boolean evaluateStep(final StepInterpolator interpolator)
throws DerivativeException, EventException, ConvergenceException {
try {
forward = interpolator.isForward();
final double t1 = interpolator.getCurrentTime();
final int n = Math.max(1, (int) Mat... | public boolean evaluateStep(final StepInterpolator interpolator)
throws DerivativeException, EventException, ConvergenceException {
try {
forward = interpolator.isForward();
final double t1 = interpolator.getCurrentTime();
final int n = Math.max(1, (int) Mat... |
diff --git a/java/target/src/common/com/jopdesign/sys/GC.java b/java/target/src/common/com/jopdesign/sys/GC.java
index cfb79bef..05b83042 100644
--- a/java/target/src/common/com/jopdesign/sys/GC.java
+++ b/java/target/src/common/com/jopdesign/sys/GC.java
@@ -1,865 +1,865 @@
/*
This file is part of JOP, the Java Opt... | false | true | static void markAndCopy() {
int i, ref;
getStaticRoots();
if (!concurrentGc) {
getStackRoots();
}
for (;;) {
// pop one object from the gray list
synchronized (mutex) {
ref = greyList;
if (ref==GREY_END) {
break;
}
greyList = Native.rdMem(ref+OFF_GREY);
Native.w... | static void markAndCopy() {
int i, ref;
if (!concurrentGc) {
getStackRoots();
}
getStaticRoots();
for (;;) {
// pop one object from the gray list
synchronized (mutex) {
ref = greyList;
if (ref==GREY_END) {
break;
}
greyList = Native.rdMem(ref+OFF_GREY);
Native.w... |
diff --git a/mifos/src/org/mifos/application/customer/util/helpers/CustomerHelper.java b/mifos/src/org/mifos/application/customer/util/helpers/CustomerHelper.java
index f4ac7a34b..7124b4fde 100644
--- a/mifos/src/org/mifos/application/customer/util/helpers/CustomerHelper.java
+++ b/mifos/src/org/mifos/application/custo... | true | true | public void saveMeetingDetails(Customer customer,Session session, UserContext userContext) throws ApplicationException,SystemException {
Meeting meeting =null ;
Set<AccountFees> accountFeesSet=new HashSet();
CustomerMeeting customerMeeting =null;
customerMeeting = customer.getCustomerMeeting();
// only if cu... | public void saveMeetingDetails(Customer customer,Session session, UserContext userContext) throws ApplicationException,SystemException {
Meeting meeting =null ;
Set<AccountFees> accountFeesSet=new HashSet();
CustomerMeeting customerMeeting =null;
customerMeeting = customer.getCustomerMeeting();
// only if cu... |
diff --git a/src/com/android/calendar/EditEvent.java b/src/com/android/calendar/EditEvent.java
index 40360936..43d99a37 100644
--- a/src/com/android/calendar/EditEvent.java
+++ b/src/com/android/calendar/EditEvent.java
@@ -1,2335 +1,2335 @@
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed und... | true | true | private boolean save() {
boolean forceSaveReminders = false;
// If we are creating a new event, then make sure we wait until the
// query to fetch the list of calendars has finished.
if (mEventCursor == null) {
if (!mCalendarsQueryComplete) {
// Wait for ... | private boolean save() {
boolean forceSaveReminders = false;
// If we are creating a new event, then make sure we wait until the
// query to fetch the list of calendars has finished.
if (mEventCursor == null) {
if (!mCalendarsQueryComplete) {
// Wait for ... |
diff --git a/src/UI/ClerkDialog.java b/src/UI/ClerkDialog.java
index b97c33f..0239fea 100644
--- a/src/UI/ClerkDialog.java
+++ b/src/UI/ClerkDialog.java
@@ -1,114 +1,114 @@
package UI;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.GridLayout;
import java.awt.Label;
import java.awt.eve... | true | true | private void addComponentsToPane(final Container pane)
{
JPanel panel = new JPanel();
panel.setLayout(new GridLayout(3, 3));
JButton addBorrowerButton = new JButton("Add Borrower");
addBorrowerButton.setVerticalTextPosition(AbstractButton.CENTER);
addBorrowerButton.setHorizontalTextPosition(AbstractButto... | private void addComponentsToPane(final Container pane)
{
JPanel panel = new JPanel();
panel.setLayout(new GridLayout(2, 3));
JButton addBorrowerButton = new JButton("Add Borrower");
addBorrowerButton.setVerticalTextPosition(AbstractButton.CENTER);
addBorrowerButton.setHorizontalTextPosition(AbstractButto... |
diff --git a/src/Views/TextWindow.java b/src/Views/TextWindow.java
index 8e2b2d1..01bf503 100644
--- a/src/Views/TextWindow.java
+++ b/src/Views/TextWindow.java
@@ -1,56 +1,56 @@
/**
* @author:Alex Bogart, Justin Peterson
* TextWindow.java represents the actual Swing window that will be kept in the
* main focus ... | true | true | public TextWindow(String windowName, TextTabWindow tabWindow, TagCollection tabs){
setLayout(new BorderLayout(5,10));
new JTextArea();
//allows line wrapping; defaults to by letter if wrapStyleWord is false
setLineWrap(true);
//will not work if lineWrap is false, true wraps by word
setWrapStyleWord(t... | public TextWindow(String windowName, TextTabWindow tabWindow, TagCollection tabs){
setLayout(new BorderLayout(5,10));
new JTextArea();
//allows line wrapping; defaults to by letter if wrapStyleWord is false
setLineWrap(true);
//will not work if lineWrap is false, true wraps by word
setWrapStyleWord(t... |
diff --git a/src/com/haubey/tangent/MainActivity.java b/src/com/haubey/tangent/MainActivity.java
index 684ea50..8221b2c 100755
--- a/src/com/haubey/tangent/MainActivity.java
+++ b/src/com/haubey/tangent/MainActivity.java
@@ -1,171 +1,171 @@
package com.haubey.tangent;
import android.content.Intent;
import android.... | true | true | public void acceptFunction(View view)
{
EditText functionTextBox = (EditText) findViewById(R.id.function_textbox);
String functionString = functionTextBox.getText().toString();
if (functionString.trim().equals("")) {
Toast.makeText(getApplicationContext(), "Please Enter A Function", Toast.LENGTH_LONG).show();
r... | public void acceptFunction(View view)
{
EditText functionTextBox = (EditText) findViewById(R.id.function_textbox);
String functionString = functionTextBox.getText().toString();
if (functionString.trim().equals("")) {
Toast.makeText(getApplicationContext(), "Please Enter A Function", Toast.LENGTH_LONG).show();
r... |
diff --git a/araqne-logdb/src/main/java/org/araqne/logdb/sort/ParallelMergeSorter.java b/araqne-logdb/src/main/java/org/araqne/logdb/sort/ParallelMergeSorter.java
index 7516a239..79fd9a48 100644
--- a/araqne-logdb/src/main/java/org/araqne/logdb/sort/ParallelMergeSorter.java
+++ b/araqne-logdb/src/main/java/org/araqne/l... | true | true | private Run mergeAll(List<Partition> partitions) throws IOException {
// enqueue partition merge
int id = 0;
List<PartitionMergeTask> tasks = new ArrayList<PartitionMergeTask>();
for (Partition p : partitions) {
List<Run> runParts = new LinkedList<Run>();
for (SortedRunRange range : p.getRunRanges()) {
... | private Run mergeAll(List<Partition> partitions) throws IOException {
// enqueue partition merge
int id = 0;
List<PartitionMergeTask> tasks = new ArrayList<PartitionMergeTask>();
for (Partition p : partitions) {
List<Run> runParts = new LinkedList<Run>();
for (SortedRunRange range : p.getRunRanges()) {
... |
diff --git a/Madz.DatabaseMetaData/src/main/java/net/madz/db/core/impl/mysql/MySQLDatabaseGeneratorImpl.java b/Madz.DatabaseMetaData/src/main/java/net/madz/db/core/impl/mysql/MySQLDatabaseGeneratorImpl.java
index 0ccf01e..8f38552 100644
--- a/Madz.DatabaseMetaData/src/main/java/net/madz/db/core/impl/mysql/MySQLDatabase... | true | true | private void GenerateTables(final MySQLSchemaMetaData metaData, final Connection conn, final String targetDatabaseName) throws SQLException {
final Statement stmt = conn.createStatement();
conn.setAutoCommit(false);
stmt.executeUpdate("USE `" + targetDatabaseName + "`");
for ( final ... | private void GenerateTables(final MySQLSchemaMetaData metaData, final Connection conn, final String targetDatabaseName) throws SQLException {
final Statement stmt = conn.createStatement();
conn.setAutoCommit(false);
stmt.executeUpdate("USE `" + targetDatabaseName + "`");
for ( final ... |
diff --git a/src/main/java/org/mobiloc/lobgasp/App.java b/src/main/java/org/mobiloc/lobgasp/App.java
index 2a84b49..883b4b9 100644
--- a/src/main/java/org/mobiloc/lobgasp/App.java
+++ b/src/main/java/org/mobiloc/lobgasp/App.java
@@ -1,44 +1,43 @@
package org.mobiloc.lobgasp;
import java.util.logging.Level;
import ... | false | true | public static void main(String[] args) {
System.out.println("Hello World!");
Session s = HibernateUtil.getSessionFactory().getCurrentSession();
s.beginTransaction();
Iterator l = s.createSQLQuery("SELECT ST_AsText(ST_Transform(way,94326)), name FROM planet_osm_point"
... | public static void main(String[] args) {
System.out.println("Hello World!");
Session s = HibernateUtil.getSessionFactory().getCurrentSession();
s.beginTransaction();
Iterator l = s.createSQLQuery("SELECT ST_AsText(ST_Transform(way,94326)), name FROM planet_osm_point"
... |
diff --git a/transcript-jersey/src/main/java/uk/org/sappho/applications/restful/transcript/jersey/RestSession.java b/transcript-jersey/src/main/java/uk/org/sappho/applications/restful/transcript/jersey/RestSession.java
index fb577e6..1b526e2 100644
--- a/transcript-jersey/src/main/java/uk/org/sappho/applications/restfu... | false | true | synchronized public void execute(Action session) throws ConfigurationException {
session.execute();
}
| synchronized public void execute(Action action) throws ConfigurationException {
action.execute();
}
|
diff --git a/src/main/java/water/exec/ASTFunc.java b/src/main/java/water/exec/ASTFunc.java
index 6b4364fbb..307e841b2 100644
--- a/src/main/java/water/exec/ASTFunc.java
+++ b/src/main/java/water/exec/ASTFunc.java
@@ -1,119 +1,118 @@
package water.exec;
import java.util.ArrayList;
import water.H2O;
import water.Ke... | false | true | static ASTOp parseFcn(Exec2 E ) {
int x = E._x;
String var = E.isID();
if( var == null ) return null;
if( !"function".equals(var) ) { E._x = x; return null; }
E.xpeek('(',E._x,null);
ArrayList<ASTId> vars = new ArrayList<ASTId>();
if( !E.peek(')') ) {
while( true ) {
x = E._x... | static ASTOp parseFcn(Exec2 E ) {
int x = E._x;
String var = E.isID();
if( var == null ) return null;
if( !"function".equals(var) ) { E._x = x; return null; }
E.xpeek('(',E._x,null);
ArrayList<ASTId> vars = new ArrayList<ASTId>();
if( !E.peek(')') ) {
while( true ) {
x = E._x... |
diff --git a/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/compiler/CompcMojo.java b/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/compiler/CompcMojo.java
index b21a89881..e9b6b38fb 100644
--- a/flexmojos-maven-plugin/src/main/java/org/sonatype/flexmojos/plugin/compiler/CompcMo... | false | true | public IIncludeFile[] getIncludeFile()
{
List<IIncludeFile> files = new ArrayList<IIncludeFile>();
List<FileSet> patterns = new ArrayList<FileSet>();
if ( includeFiles == null && includeNamespaces == null && includeSources == null && includeClasses == null )
{
patter... | public IIncludeFile[] getIncludeFile()
{
List<IIncludeFile> files = new ArrayList<IIncludeFile>();
List<FileSet> patterns = new ArrayList<FileSet>();
if ( includeFiles == null && includeNamespaces == null && includeSources == null && includeClasses == null )
{
patter... |
diff --git a/annotation-detector/src/main/java/eu/infomas/annotation/ClassFileBuffer.java b/annotation-detector/src/main/java/eu/infomas/annotation/ClassFileBuffer.java
index 924a7ad..f6020a8 100644
--- a/annotation-detector/src/main/java/eu/infomas/annotation/ClassFileBuffer.java
+++ b/annotation-detector/src/main/jav... | true | true | public long readLong() throws IOException {
if (pointer + 8 > size) {
throw new EOFException();
}
return (read() << 56) +
(read() << 48) +
(read() << 40) +
(read() << 32) +
(read() << 24) +
(read() << 16) +
(... | public long readLong() throws IOException {
if (pointer + 8 > size) {
throw new EOFException();
}
return ((long)read() << 56) +
((long)read() << 48) +
((long)read() << 40) +
((long)read() << 32) +
(read() << 24) +
(read(... |
diff --git a/modules/axiom-tests/src/test/java/org/apache/axiom/soap/impl/llom/CharacterEncoding2Test.java b/modules/axiom-tests/src/test/java/org/apache/axiom/soap/impl/llom/CharacterEncoding2Test.java
index 412742e89..3ab4699ca 100644
--- a/modules/axiom-tests/src/test/java/org/apache/axiom/soap/impl/llom/CharacterEn... | true | true | public void testISO99591() throws Exception {
ByteArrayInputStream byteInStr = new ByteArrayInputStream(xml.getBytes("iso-8859-1"));
StAXSOAPModelBuilder builder = new StAXSOAPModelBuilder(
XMLInputFactory.newInstance().createXMLStreamReader(byteInStr));
SOAPEnvelope envelo... | public void testISO99591() throws Exception {
ByteArrayInputStream byteInStr = new ByteArrayInputStream(xml.getBytes("iso-8859-1"));
StAXSOAPModelBuilder builder = new StAXSOAPModelBuilder(
XMLInputFactory.newInstance().createXMLStreamReader(byteInStr));
SOAPEnvelope envelo... |
diff --git a/src/me/greatman/Craftconomy/utils/DatabaseHandler.java b/src/me/greatman/Craftconomy/utils/DatabaseHandler.java
index 92e084c..08bb36c 100644
--- a/src/me/greatman/Craftconomy/utils/DatabaseHandler.java
+++ b/src/me/greatman/Craftconomy/utils/DatabaseHandler.java
@@ -1,1166 +1,1166 @@
package me.greatman.... | true | true | public static boolean load(Craftconomy thePlugin)
{
if (Config.databaseType.equalsIgnoreCase("SQLite") || Config.databaseType.equalsIgnoreCase("minidb"))
{
database = new SQLLibrary("jdbc:sqlite:" + Craftconomy.plugin.getDataFolder().getAbsolutePath() + File.separator
+ "database.db","","", DatabaseType.S... | public static boolean load(Craftconomy thePlugin)
{
if (Config.databaseType.equalsIgnoreCase("SQLite") || Config.databaseType.equalsIgnoreCase("minidb"))
{
database = new SQLLibrary("jdbc:sqlite:" + Craftconomy.plugin.getDataFolder().getAbsolutePath() + File.separator
+ "database.db","","", DatabaseType.S... |
diff --git a/saiku-core/saiku-service/src/main/java/org/saiku/olap/util/formatter/FlattenedCellSetFormatter.java b/saiku-core/saiku-service/src/main/java/org/saiku/olap/util/formatter/FlattenedCellSetFormatter.java
index 60e6d21f..383054da 100644
--- a/saiku-core/saiku-service/src/main/java/org/saiku/olap/util/formatte... | false | true | private void populateAxis(final Matrix matrix, final CellSetAxis axis, final AxisInfo axisInfo,
final boolean isColumns, final int oldoffset) {
int offset = oldoffset;
if (axis == null)
return;
final Member[] prevMembers = new Member[axisInfo.getWidth()];
final MemberCell[] prevMemberInfo = new MemberCel... | private void populateAxis(final Matrix matrix, final CellSetAxis axis, final AxisInfo axisInfo,
final boolean isColumns, final int oldoffset) {
int offset = oldoffset;
if (axis == null)
return;
final Member[] prevMembers = new Member[axisInfo.getWidth()];
final MemberCell[] prevMemberInfo = new MemberCel... |
diff --git a/SearchAndFind/src/main/java/de/haas/searchandfind/backend/Indexer.java b/SearchAndFind/src/main/java/de/haas/searchandfind/backend/Indexer.java
index 170c53e..5131244 100644
--- a/SearchAndFind/src/main/java/de/haas/searchandfind/backend/Indexer.java
+++ b/SearchAndFind/src/main/java/de/haas/searchandfind/... | true | true | private void kickOffIndexing() throws IOException, InterruptedException {
Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_30);
IndexWriter.MaxFieldLength mfl = new IndexWriter.MaxFieldLength(MAX_FIELD_LENGTH);
IndexWriter writer = new IndexWriter(this.directory, analyzer, mfl);
... | private void kickOffIndexing() throws IOException, InterruptedException {
Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_30);
IndexWriter.MaxFieldLength mfl = new IndexWriter.MaxFieldLength(MAX_FIELD_LENGTH);
IndexWriter writer = new IndexWriter(this.directory, analyzer, mfl);
... |
diff --git a/net.sf.jmoney/src/net/sf/jmoney/model2/ChangeManager.java b/net.sf.jmoney/src/net/sf/jmoney/model2/ChangeManager.java
index 35c3f1fb..c6266841 100644
--- a/net.sf.jmoney/src/net/sf/jmoney/model2/ChangeManager.java
+++ b/net.sf.jmoney/src/net/sf/jmoney/model2/ChangeManager.java
@@ -1,443 +1,444 @@
/*
*
... | true | true | void undo() {
/* Create the object in the datastore.
* However, we must first convert the key proxies back to keys before passing
* on to the constructor.
*/
IValues oldValues2 = new IValues() {
public <V> V getScalarValue(ScalarPropertyAccessor<V> propertyAccessor) {
return propertyAccess... | void undo() {
/* Create the object in the datastore.
* However, we must first convert the key proxies back to keys before passing
* on to the constructor.
*/
IValues oldValues2 = new IValues() {
public <V> V getScalarValue(ScalarPropertyAccessor<V> propertyAccessor) {
return propertyAccess... |
diff --git a/src/Player.java b/src/Player.java
index 5350179..7f23753 100644
--- a/src/Player.java
+++ b/src/Player.java
@@ -1,105 +1,105 @@
import java.util.ArrayList;
public class Player {
public ArrayList<Card> hand, bag, lockedCards, discard;
public ArrayList<Integer> gemPile;
public int money, blackT... | false | true | public void setup() {
Card initGem = new Card();
for (int i = 0; i < 5; i++) {
this.bag.add(initGem);
}
ArrayList<CardColor> w = new ArrayList<CardColor>();
w.add(CardColor.GREY);
ArrayList<Integer> e = new ArrayList<Integer>();
e.add(17);
Card wound = new Card(w, 5, CardType.CIRCLE, e, false, 0)... | public void setup() {
Card initGem = new Card();
for (int i = 0; i < 5; i++) {
this.bag.add(initGem);
}
ArrayList<CardColor> w = new ArrayList<CardColor>();
w.add(CardColor.GREY);
ArrayList<Integer> e = new ArrayList<Integer>();
e.add(17);
Card wound = new Card("Wound", w, 5, CardType.CIRCLE, e, ... |
diff --git a/src/java/src/yarp/os/OutputPort.java b/src/java/src/yarp/os/OutputPort.java
index 640f3d20..738a9271 100644
--- a/src/java/src/yarp/os/OutputPort.java
+++ b/src/java/src/yarp/os/OutputPort.java
@@ -1,85 +1,85 @@
package yarp.os;
import java.lang.*;
import java.io.*;
public class OutputPort {
... | true | true | public void connect(String name) {
if (port==null) {
Logger.get().error("Please call register() before connect()");
System.exit(1);
}
if (creator==null) {
Logger.get().error("Please call creator() before connect()");
System.exit(1);
}
NameClient nc = NameClient.getNameClient();
String ba... | public void connect(String name) {
if (port==null) {
Logger.get().error("Please call register() before connect()");
System.exit(1);
}
if (creator==null) {
Logger.get().error("Please call creator() before connect()");
System.exit(1);
}
NameClient nc = NameClient.getNameClient();
String ba... |
diff --git a/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java b/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java
index 3c17545b4..4dbbb4923 100644
--- a/activemq-core/src/main/java/org/apache/activemq/network/DiscoveryNetworkConnector.java
+++ ... | false | true | public void onServiceAdd(DiscoveryEvent event) {
// Ignore events once we start stopping.
if (serviceSupport.isStopped() || serviceSupport.isStopping()) {
return;
}
String url = event.getServiceName();
if (url != null) {
URI uri;
try {
... | public void onServiceAdd(DiscoveryEvent event) {
// Ignore events once we start stopping.
if (serviceSupport.isStopped() || serviceSupport.isStopping()) {
return;
}
String url = event.getServiceName();
if (url != null) {
URI uri;
try {
... |
diff --git a/gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/wizard/ConnectionStep2.java b/gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/wizard/ConnectionStep2.java
index 1e58d3af..1a5a518f 100644
--- a/gui/src/main/java/org/jboss/as/console/client/shared/subsys/jca/wizard/ConnectionSt... | true | true | Widget asWidget() {
VerticalPanel layout = new VerticalPanel();
layout.setStyleName("window-content");
layout.add(new HTML("<h3>Connection Definiton Step2/2</h3>"));
propEditor = new PropertyEditor(this, true);
Widget widget = propEditor.asWidget();
layout.add(widg... | Widget asWidget() {
VerticalPanel layout = new VerticalPanel();
layout.setStyleName("window-content");
layout.add(new HTML("<h3>Connection Definiton Step2/2</h3>"));
propEditor = new PropertyEditor(this, true);
Widget widget = propEditor.asWidget();
layout.add(widg... |
diff --git a/tizzit-core/src/main/java/de/juwimm/cms/search/beans/SearchengineService.java b/tizzit-core/src/main/java/de/juwimm/cms/search/beans/SearchengineService.java
index 62a1e93a..6794ebf3 100644
--- a/tizzit-core/src/main/java/de/juwimm/cms/search/beans/SearchengineService.java
+++ b/tizzit-core/src/main/java/d... | true | true | public SearchResultValue[] searchWeb(Integer siteId, final String searchItem, Integer pageSize, Integer pageNumber, Map safeGuardCookieMap, String searchUrl) throws Exception {
if (pageSize != null && pageSize.intValue() <= 1) pageSize = new Integer(20);
if (pageNumber != null && pageNumber.intValue() < 0) pageNum... | public SearchResultValue[] searchWeb(Integer siteId, final String searchItem, Integer pageSize, Integer pageNumber, Map safeGuardCookieMap, String searchUrl) throws Exception {
if (pageSize != null && pageSize.intValue() <= 1) pageSize = new Integer(20);
if (pageNumber != null && pageNumber.intValue() < 0) pageNum... |
diff --git a/PlayersInCubes/src/me/asofold/bukkit/pic/core/PicCore.java b/PlayersInCubes/src/me/asofold/bukkit/pic/core/PicCore.java
index e40f870..899bd12 100644
--- a/PlayersInCubes/src/me/asofold/bukkit/pic/core/PicCore.java
+++ b/PlayersInCubes/src/me/asofold/bukkit/pic/core/PicCore.java
@@ -1,315 +1,314 @@
packag... | false | true | public final void check(final Player player, final Location to) {
if (!enabled) return;
final PicPlayer pp = getPicPlayer(player);
final String world = to.getWorld().getName();
if (settings.ignoreWorlds.contains(world)){
// Moving in a ignored world.
if (pp.world == null){
// New data.
}
else ... | public final void check(final Player player, final Location to) {
if (!enabled) return;
final PicPlayer pp = getPicPlayer(player);
final String world = to.getWorld().getName();
if (settings.ignoreWorlds.contains(world)){
// Moving in a ignored world.
if (pp.world == null){
// New data.
}
else ... |
diff --git a/triana-toolboxes/imageproc/src/main/java/imageproc/input/URLImage.java b/triana-toolboxes/imageproc/src/main/java/imageproc/input/URLImage.java
index e89a7791..d0be83af 100644
--- a/triana-toolboxes/imageproc/src/main/java/imageproc/input/URLImage.java
+++ b/triana-toolboxes/imageproc/src/main/java/imagepr... | false | true | public void process() {
TrianaImage trianaImage = null;
Object data = getInputAtNode(0);
if (data != null) {
imageUrlString = data.toString();
}
if (!imageUrlString.equals("")) {
Image image = FileUtils.getImage(imageUrlString);
trianaImag... | public void process() {
TrianaImage trianaImage = null;
Object data = getInputAtNode(0);
if (data != null) {
imageUrlString = data.toString();
}
if (!imageUrlString.equals("")) {
Image image = FileUtils.getImage(imageUrlString);
trianaImag... |
diff --git a/source/de/tuclausthal/submissioninterface/servlets/controller/SubmitSolution.java b/source/de/tuclausthal/submissioninterface/servlets/controller/SubmitSolution.java
index 1880ead..57f1c54 100644
--- a/source/de/tuclausthal/submissioninterface/servlets/controller/SubmitSolution.java
+++ b/source/de/tuclaus... | false | true | public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
Session session = HibernateSessionHelper.getSession();
Template template = TemplateFactory.getTemplate(request, response);
PrintWriter out = response.getWriter();
TaskDAOIf taskDAO = DAOFactory... | public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
Session session = HibernateSessionHelper.getSession();
Template template = TemplateFactory.getTemplate(request, response);
PrintWriter out = response.getWriter();
TaskDAOIf taskDAO = DAOFactory... |
diff --git a/src/com/programmingteam/main.java b/src/com/programmingteam/main.java
index f98e5f6..0ed98a2 100644
--- a/src/com/programmingteam/main.java
+++ b/src/com/programmingteam/main.java
@@ -1,130 +1,130 @@
package com.programmingteam;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
... | true | true | public static void main(String[] args)
{
OPTS = new Options(args);
File qsyncFile = new File(OPTS.getFile());
if(!qsyncFile.exists())
{
Log.e("Configuration file not found (" + OPTS.getFile() + ")");
System.exit(-1);
}
//Read file
QSync qsync = new QSync(qsyncFile);
qsync.debugPrint();
... | public static void main(String[] args)
{
OPTS = new Options(args);
File qsyncFile = new File(OPTS.getFile());
if(!qsyncFile.exists())
{
Log.e("Configuration file not found (" + OPTS.getFile() + ")");
System.exit(-1);
}
//Read file
QSync qsync = new QSync(qsyncFile);
qsync.debugPrint();
... |
diff --git a/src/org/digitalcampus/oppia/widgets/PageWidget.java b/src/org/digitalcampus/oppia/widgets/PageWidget.java
index 3a8f80b0..4cc72d66 100644
--- a/src/org/digitalcampus/oppia/widgets/PageWidget.java
+++ b/src/org/digitalcampus/oppia/widgets/PageWidget.java
@@ -1,222 +1,210 @@
/*
* This file is part of Opp... | false | true | public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
wv = (WebView) ((android.app.Activity) ctx).findViewById(R.id.page_webview);
// get the location data
String url = course.getLocation() + activity.getLocation(prefs.getString(ctx.getString(R.string.pre... | public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
wv = (WebView) ((android.app.Activity) ctx).findViewById(R.id.page_webview);
// get the location data
String url = course.getLocation() + activity.getLocation(prefs.getString(ctx.getString(R.string.pre... |
diff --git a/src/main/java/opentree/TaxonomyContext.java b/src/main/java/opentree/TaxonomyContext.java
index d532a77..3f5dbe4 100644
--- a/src/main/java/opentree/TaxonomyContext.java
+++ b/src/main/java/opentree/TaxonomyContext.java
@@ -1,127 +1,133 @@
package opentree;
import java.util.ArrayList;
import java.util... | false | true | public Node getRootNode() {
IndexHits<Node> rootMatches = taxonomy.ALLTAXA.getNodeIndex(NodeIndexDescription.PREFERRED_TAXON_BY_NAME).get("name", contextDescription.licaNodeName);
Node rn = null;
for (Node n : rootMatches) {
if (n.getProperty("taxcode").equals(contextDescription.... | public Node getRootNode() {
IndexHits<Node> rootMatches = taxonomy.ALLTAXA.getNodeIndex(NodeIndexDescription.PREFERRED_TAXON_BY_NAME).get("name", contextDescription.licaNodeName);
Node rn = null;
for (Node n : rootMatches) {
if (n.getProperty("name").equals(taxonomy.getLifeNode()... |
diff --git a/SWADroid/src/es/ugr/swad/swadroid/modules/tests/TestsMake.java b/SWADroid/src/es/ugr/swad/swadroid/modules/tests/TestsMake.java
index bc367fa5..8301b404 100644
--- a/SWADroid/src/es/ugr/swad/swadroid/modules/tests/TestsMake.java
+++ b/SWADroid/src/es/ugr/swad/swadroid/modules/tests/TestsMake.java
@@ -1,725... | false | true | private void showQuestion(int pos) {
TestQuestion question = test.getQuestions().get(pos);
List<TestAnswer> answers = question.getAnswers();
TestAnswer a;
ListView testMakeList = (ListView) findViewById(R.id.testMakeList);
TextView stem = (TextView) findViewById(R.id.testMakeText);
TextView score = (TextVi... | private void showQuestion(int pos) {
TestQuestion question = test.getQuestions().get(pos);
List<TestAnswer> answers = question.getAnswers();
TestAnswer a;
ListView testMakeList = (ListView) findViewById(R.id.testMakeList);
TextView stem = (TextView) findViewById(R.id.testMakeText);
TextView score = (TextVi... |
diff --git a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java
index 3c5d9b88..cb29af08 100644
--- a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener... | true | true | public void onPlayerInteract(final PlayerInteractEvent event)
{
// Do not return if cancelled, because the interact event has 2 cancelled states.
final User user = ess.getUser(event.getPlayer());
if (event.hasItem()
&& (event.getItem().getType() == Material.WATER_BUCKET
|| event.getItem().getType() == M... | public void onPlayerInteract(final PlayerInteractEvent event)
{
// Do not return if cancelled, because the interact event has 2 cancelled states.
final User user = ess.getUser(event.getPlayer());
if (event.hasItem()
&& (event.getItem().getType() == Material.WATER_BUCKET
|| event.getItem().getType() == M... |
diff --git a/src/org/tomahawk/libtomahawk/audio/PlaybackService.java b/src/org/tomahawk/libtomahawk/audio/PlaybackService.java
index ecf361de..3592062d 100644
--- a/src/org/tomahawk/libtomahawk/audio/PlaybackService.java
+++ b/src/org/tomahawk/libtomahawk/audio/PlaybackService.java
@@ -1,640 +1,642 @@
/* == This file ... | true | true | private void updatePlayingNotification() {
Track track = getCurrentTrack();
Resources resources = getResources();
Bitmap albumArtTemp;
String albumName = "";
String artistName = "";
if (track.getAlbum() != null)
albumName = track.getAlbum().getName();
... | private void updatePlayingNotification() {
Track track = getCurrentTrack();
if (track == null)
return;
Resources resources = getResources();
Bitmap albumArtTemp;
String albumName = "";
String artistName = "";
if (track.getAlbum() != null)
... |
diff --git a/src/main/java/com/metaweb/gridworks/expr/ExpressionUtils.java b/src/main/java/com/metaweb/gridworks/expr/ExpressionUtils.java
index f5b8574e..f5928f75 100644
--- a/src/main/java/com/metaweb/gridworks/expr/ExpressionUtils.java
+++ b/src/main/java/com/metaweb/gridworks/expr/ExpressionUtils.java
@@ -1,66 +1,7... | true | true | static public void bind(Properties bindings, Row row, int rowIndex, Cell cell) {
bindings.put("row", row);
bindings.put("rowIndex", rowIndex);
bindings.put("cells", row.getField("cells", bindings));
if (cell == null) {
bindings.remove("cell");
binding... | static public void bind(Properties bindings, Row row, int rowIndex, Cell cell) {
bindings.put("row", row);
bindings.put("rowIndex", rowIndex);
bindings.put("cells", row.getField("cells", bindings));
if (cell == null) {
bindings.remove("cell");
binding... |
diff --git a/src/main/java/kniemkiewicz/jqblocks/ingame/level/enemies/RoamingEnemiesController.java b/src/main/java/kniemkiewicz/jqblocks/ingame/level/enemies/RoamingEnemiesController.java
index bb85e3d..23a6c12 100644
--- a/src/main/java/kniemkiewicz/jqblocks/ingame/level/enemies/RoamingEnemiesController.java
+++ b/sr... | false | true | public void update(int delta) {
assert MAX_ACTIVE_ENEMIES >= 0;
cachedBiome = null;
Rectangle playerShape = playerController.getPlayer().getShape();
Iterator<KillablePhysicalObject> it = activeEnemies.iterator();
while (it.hasNext()) {
KillablePhysicalObject ob = it.next();
if (ob.getH... | public void update(int delta) {
assert MAX_ACTIVE_ENEMIES >= 0;
cachedBiome = null;
Rectangle playerShape = playerController.getPlayer().getShape();
Iterator<KillablePhysicalObject> it = activeEnemies.iterator();
while (it.hasNext()) {
KillablePhysicalObject ob = it.next();
if (ob.getH... |
diff --git a/tests/gdx-tests/src/com/badlogic/gdx/tests/ExternalMusicTest.java b/tests/gdx-tests/src/com/badlogic/gdx/tests/ExternalMusicTest.java
index e15646030..3911886cf 100644
--- a/tests/gdx-tests/src/com/badlogic/gdx/tests/ExternalMusicTest.java
+++ b/tests/gdx-tests/src/com/badlogic/gdx/tests/ExternalMusicTest.... | true | true | public void create () {
// copy an internal mp3 to the external storage
FileHandle src = Gdx.files.internal("data/iron.mp3");
FileHandle dst = Gdx.files.external("8.12.mp3");
src.copyTo(dst);
// create a music instance and start playback
Music music = Gdx.audio.newMusic(dst);
music.play();
}
| public void create () {
// copy an internal mp3 to the external storage
FileHandle src = Gdx.files.internal("data/8.12.mp3");
FileHandle dst = Gdx.files.external("8.12.mp3");
src.copyTo(dst);
// create a music instance and start playback
Music music = Gdx.audio.newMusic(dst);
music.play();
}
|
diff --git a/android/src/ru/net/jimm/Environment.java b/android/src/ru/net/jimm/Environment.java
index 1a7b89e..126b32a 100644
--- a/android/src/ru/net/jimm/Environment.java
+++ b/android/src/ru/net/jimm/Environment.java
@@ -1,104 +1,104 @@
package ru.net.jimm;
import android.app.Activity;
import android.content.C... | false | true | public static void initLogger() {
Logger.removeAllAppenders();
Logger.setLocationEnabled(false);
Logger.addAppender(new AndroidLoggerAppender());
System.setOut(new PrintStream(new OutputStream() {
StringBuffer line = new StringBuffer();
@Override
... | public static void initLogger() {
Logger.removeAllAppenders();
Logger.setLocationEnabled(false);
Logger.addAppender(new AndroidLoggerAppender());
System.setOut(new PrintStream(new OutputStream() {
StringBuffer line = new StringBuffer();
@Override
... |
diff --git a/src/com/android/browser/DownloadHandler.java b/src/com/android/browser/DownloadHandler.java
index dee10ae..208d4ce 100644
--- a/src/com/android/browser/DownloadHandler.java
+++ b/src/com/android/browser/DownloadHandler.java
@@ -1,232 +1,241 @@
/*
* Copyright (C) 2010 The Android Open Source Project
*
... | true | true | /*package */ static void onDownloadStartNoStream(Activity activity,
String url, String userAgent, String contentDisposition,
String mimetype, String referer, boolean privateBrowsing) {
String filename = URLUtil.guessFileName(url,
contentDisposition, mimetype);
... | /*package */ static void onDownloadStartNoStream(Activity activity,
String url, String userAgent, String contentDisposition,
String mimetype, String referer, boolean privateBrowsing) {
String filename = URLUtil.guessFileName(url,
contentDisposition, mimetype);
... |
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaExceptionBreakpoint.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaExceptionBreakpoint.java
index fc357817e..9bd67d514 100644
--- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaExceptionBr... | true | true | public JavaExceptionBreakpoint(final IType exception, final boolean caught, final boolean uncaught, final boolean checked) throws DebugException {
IWorkspaceRunnable wr= new IWorkspaceRunnable() {
public void run(IProgressMonitor monitor) throws CoreException {
IResource resource= null;
resource= excepti... | public JavaExceptionBreakpoint(final IType exception, final boolean caught, final boolean uncaught, final boolean checked) throws DebugException {
IWorkspaceRunnable wr= new IWorkspaceRunnable() {
public void run(IProgressMonitor monitor) throws CoreException {
IResource resource= null;
resource= excepti... |
diff --git a/src/org/jacorb/ir/QueryIR.java b/src/org/jacorb/ir/QueryIR.java
index 6cc9218b..e1916ec5 100644
--- a/src/org/jacorb/ir/QueryIR.java
+++ b/src/org/jacorb/ir/QueryIR.java
@@ -1,71 +1,72 @@
package org.jacorb.ir;
/*
* JacORB - a free Java ORB
*
* Copyright (C) 1997-2004 Gerald Brose.
*
... | true | true | public static void main( String[] args )
{
if( args.length != 1 )
{
System.err.println("Usage: qir <RepositoryID>");
System.exit(1);
}
try
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init( args, null );
org.omg.CORBA.Repos... | public static void main( String[] args )
{
if( args.length != 1 )
{
System.err.println("Usage: qir <RepositoryID>");
System.exit(1);
}
try
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init( args, null );
org.omg.CORBA.Repos... |
diff --git a/common/se/mickelus/modjam/creation/SaveCommand.java b/common/se/mickelus/modjam/creation/SaveCommand.java
index 2417629..f765c39 100644
--- a/common/se/mickelus/modjam/creation/SaveCommand.java
+++ b/common/se/mickelus/modjam/creation/SaveCommand.java
@@ -1,158 +1,158 @@
package se.mickelus.modjam.creatio... | true | true | public void processCommand(ICommandSender icommandsender, String[] astring) {
EntityPlayer player = (EntityPlayer) icommandsender;
if(astring.length != 8){
if(icommandsender instanceof EntityPlayer) {
player.addChatMessage(getCommandUsage(icommandsender));
}
return;
}
if(icommandsender instanceof ... | public void processCommand(ICommandSender icommandsender, String[] astring) {
EntityPlayer player = (EntityPlayer) icommandsender;
if(astring.length != 8){
if(icommandsender instanceof EntityPlayer) {
player.addChatMessage(getCommandUsage(icommandsender));
}
return;
}
if(icommandsender instanceof ... |
diff --git a/dspace/src/org/dspace/app/webui/jsptag/ItemListTag.java b/dspace/src/org/dspace/app/webui/jsptag/ItemListTag.java
index 5c954a64d..f9584e5d8 100644
--- a/dspace/src/org/dspace/app/webui/jsptag/ItemListTag.java
+++ b/dspace/src/org/dspace/app/webui/jsptag/ItemListTag.java
@@ -1,301 +1,303 @@
/*
* ItemLis... | true | true | public int doStartTag()
throws JspException
{
JspWriter out = pageContext.getOut();
boolean emphasiseDate = false;
boolean emphasiseTitle = false;
if (emphColumn != null)
{
emphasiseDate = emphColumn.equalsIgnoreCase("date");
... | public int doStartTag()
throws JspException
{
JspWriter out = pageContext.getOut();
boolean emphasiseDate = false;
boolean emphasiseTitle = false;
if (emphColumn != null)
{
emphasiseDate = emphColumn.equalsIgnoreCase("date");
... |
diff --git a/src/main/java/net/croxis/plugins/civilmineation/Civilmineation.java b/src/main/java/net/croxis/plugins/civilmineation/Civilmineation.java
index 8bb536b..f16b481 100644
--- a/src/main/java/net/croxis/plugins/civilmineation/Civilmineation.java
+++ b/src/main/java/net/croxis/plugins/civilmineation/Civilmineat... | true | true | public void onSignChangeEvent(SignChangeEvent event){
if (event.getLine(0).equalsIgnoreCase("[New Civ]")){
ResidentComponent resident = CivAPI.getResident(event.getPlayer().getName());
if (event.getLine(1).isEmpty() || event.getLine(2).isEmpty()){
event.getPlayer().sendMessage("Civ name on s... | public void onSignChangeEvent(SignChangeEvent event){
if (event.getLine(0).equalsIgnoreCase("[New Civ]")){
ResidentComponent resident = CivAPI.getResident(event.getPlayer().getName());
if (event.getLine(1).isEmpty() || event.getLine(2).isEmpty()){
event.getPlayer().sendMessage("Civ name on s... |
diff --git a/plugins/dk.itu.big_red/src/dk/itu/big_red/model/assistants/Line.java b/plugins/dk.itu.big_red/src/dk/itu/big_red/model/assistants/Line.java
index f38d829b..5bfffea1 100644
--- a/plugins/dk.itu.big_red/src/dk/itu/big_red/model/assistants/Line.java
+++ b/plugins/dk.itu.big_red/src/dk/itu/big_red/model/assist... | true | true | public Point getIntersection(Point target, Point p3) {
if (p3.equals(p1)) {
return target.setLocation(p1);
} else if (p3.equals(p2)) {
return target.setLocation(p2);
} else if (p1.x == p2.x) {
target.setLocation(p1.x, p3.y);
} else if (p1.y == p2.y){
target.setLocation(p3.x, p1.y);
} else {
do... | public Point getIntersection(Point target, Point p3) {
if (p3.equals(p1)) {
return target.setLocation(p1);
} else if (p3.equals(p2)) {
return target.setLocation(p2);
} else if (p1.x == p2.x) {
target.setLocation(p1.x, p3.y);
} else if (p1.y == p2.y){
target.setLocation(p3.x, p1.y);
} else {
do... |
diff --git a/browser/org/eclipse/cdt/core/browser/AllTypesCache.java b/browser/org/eclipse/cdt/core/browser/AllTypesCache.java
index a0b2c3905..d66340a51 100644
--- a/browser/org/eclipse/cdt/core/browser/AllTypesCache.java
+++ b/browser/org/eclipse/cdt/core/browser/AllTypesCache.java
@@ -1,159 +1,160 @@
/*************... | true | true | private static ITypeInfo[] getTypes(ICProject[] projects, final int[] kinds, IProgressMonitor monitor) throws CoreException {
IIndex index = CCorePlugin.getIndexManager().getIndex(projects);
try {
index.acquireReadLock();
long start = System.currentTimeMillis();
IIndexBinding[] all =
index.... | private static ITypeInfo[] getTypes(ICProject[] projects, final int[] kinds, IProgressMonitor monitor) throws CoreException {
IIndex index = CCorePlugin.getIndexManager().getIndex(projects);
try {
index.acquireReadLock();
long start = System.currentTimeMillis();
IIndexBinding[] all =
index.... |
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java
index d1ecd551b..75929e7a1 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/PatternParser.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/pat... | false | true | public Pointcut parseSinglePointcut() {
int start = tokenSource.getIndex();
IToken t = tokenSource.peek();
Pointcut p = t.maybeGetParsedPointcut();
if (p != null) {
tokenSource.next();
return p;
}
String kind = parseIdentifier();
// IToken possibleTypeVariableToken = tokenSource.peek();
// Strin... | public Pointcut parseSinglePointcut() {
int start = tokenSource.getIndex();
IToken t = tokenSource.peek();
Pointcut p = t.maybeGetParsedPointcut();
if (p != null) {
tokenSource.next();
return p;
}
String kind = parseIdentifier();
// IToken possibleTypeVariableToken = tokenSource.peek();
// Strin... |
diff --git a/src/com/era7/bioinfo/annotation/embl/ExportEmblFiles.java b/src/com/era7/bioinfo/annotation/embl/ExportEmblFiles.java
index 673f648..c96c64b 100644
--- a/src/com/era7/bioinfo/annotation/embl/ExportEmblFiles.java
+++ b/src/com/era7/bioinfo/annotation/embl/ExportEmblFiles.java
@@ -1,647 +1,647 @@
/*
* Cop... | true | true | private static void exportContigToEmbl(ContigXML currentContig,
EmblXML emblXml,
String outFileString,
String mainSequence,
HashMap<String, ContigXML> contigsRnaMap,
BufferedWriter mainOutFileBuff) throws IOException, XMLElementException {
File ou... | private static void exportContigToEmbl(ContigXML currentContig,
EmblXML emblXml,
String outFileString,
String mainSequence,
HashMap<String, ContigXML> contigsRnaMap,
BufferedWriter mainOutFileBuff) throws IOException, XMLElementException {
File ou... |
diff --git a/components/messaging/messaging-core/src/main/java/org/torquebox/messaging/core/RubyMessageProcessor.java b/components/messaging/messaging-core/src/main/java/org/torquebox/messaging/core/RubyMessageProcessor.java
index 4d0bbd58a..324bbc096 100644
--- a/components/messaging/messaging-core/src/main/java/org/t... | true | true | public void onMessage(Message message) {
Ruby ruby = null;
try {
ruby = getRubyRuntimePool().borrowRuntime();
IRubyObject processor = instantiateProcessor( ruby );
processMessage( processor, message );
if (session.getTransa... | public void onMessage(Message message) {
Ruby ruby = null;
try {
ruby = getRubyRuntimePool().borrowRuntime();
IRubyObject processor = instantiateProcessor( ruby );
processMessage( processor, message );
if (session.getTransa... |
diff --git a/src/com/dalthed/tucan/scraper/ScheduleScraper.java b/src/com/dalthed/tucan/scraper/ScheduleScraper.java
index 2575147..2cdb3dc 100644
--- a/src/com/dalthed/tucan/scraper/ScheduleScraper.java
+++ b/src/com/dalthed/tucan/scraper/ScheduleScraper.java
@@ -1,173 +1,173 @@
/**
* This file is part of TuCan Mob... | true | true | private void scrapeDates(int step, Iterator<Element> schedDays, int month, int day,int year) {
SimpleDateFormat sdf = new SimpleDateFormat("EEEE");
while (schedDays.hasNext()) {
Element next = schedDays.next();
String monthday = next.attr("title");
Iterator<Element> dayEvents = next.selec... | private void scrapeDates(int step, Iterator<Element> schedDays, int month, int day,int year) {
SimpleDateFormat sdf = new SimpleDateFormat("EEEE");
while (schedDays.hasNext()) {
Element next = schedDays.next();
String monthday = next.attr("title");
Iterator<Element> dayEvents = next.selec... |
diff --git a/src/com/mpower/controller/QueryLookupController.java b/src/com/mpower/controller/QueryLookupController.java
index c09d255f..cc103b96 100644
--- a/src/com/mpower/controller/QueryLookupController.java
+++ b/src/com/mpower/controller/QueryLookupController.java
@@ -1,75 +1,75 @@
package com.mpower.controller;... | true | true | public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
Map<String, String> queryParams = new HashMap<String, String>();
Enumeration<String> enu = request.getParameterNames();
while (enu.hasMoreElements()) {
String param = enu.nextElement();
String par... | public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
Map<String, String> queryParams = new HashMap<String, String>();
Enumeration<String> enu = request.getParameterNames();
while (enu.hasMoreElements()) {
String param = enu.nextElement();
String par... |
diff --git a/src/r/nodes/truffle/FunctionCall.java b/src/r/nodes/truffle/FunctionCall.java
index 4480104..60b0963 100644
--- a/src/r/nodes/truffle/FunctionCall.java
+++ b/src/r/nodes/truffle/FunctionCall.java
@@ -1,105 +1,106 @@
package r.nodes.truffle;
import r.*;
import r.data.*;
import r.nodes.*;
public cla... | false | true | public Object execute(RContext context, RFrame frame) {
RClosure tgt = (RClosure) closureExpr.execute(context, frame);
RFunction func = tgt.function();
RFrame fframe = new RFrame(tgt.environment(), func);
// FIXME: now only eager evaluation (no promises)
// FIXME: now no sup... | public Object execute(RContext context, RFrame frame) {
RClosure tgt = (RClosure) closureExpr.execute(context, frame);
RFunction func = tgt.function();
RFrame fframe = new RFrame(tgt.environment(), func);
// FIXME: now only eager evaluation (no promises)
// FIXME: now no sup... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.