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/atlas-web/src/main/java/uk/ac/ebi/gxa/tasks/DbStorage.java b/atlas-web/src/main/java/uk/ac/ebi/gxa/tasks/DbStorage.java
index 862fb0d76..fe2224189 100644
--- a/atlas-web/src/main/java/uk/ac/ebi/gxa/tasks/DbStorage.java
+++ b/atlas-web/src/main/java/uk/ac/ebi/gxa/tasks/DbStorage.java
@@ -1,398 +1,398 @@
/*... | true | true | public ExperimentList findExperiments(String search,
Date from, Date to,
ExperimentIncompleteness incompleteness,
int start, int number) {
StringBuilder sql = new StringBuilder(
... | public ExperimentList findExperiments(String search,
Date from, Date to,
ExperimentIncompleteness incompleteness,
int start, int number) {
StringBuilder sql = new StringBuilder(
... |
diff --git a/connectors/o2/src/de/ub0r/android/websms/connector/o2/ConnectorO2.java b/connectors/o2/src/de/ub0r/android/websms/connector/o2/ConnectorO2.java
index ab662aaf..f9119eee 100644
--- a/connectors/o2/src/de/ub0r/android/websms/connector/o2/ConnectorO2.java
+++ b/connectors/o2/src/de/ub0r/android/websms/connect... | false | true | private void sendData(final Context context,
final ConnectorCommand command, final boolean reuseSession)
throws WebSMSException {
Log.d(TAG, "sendData(" + reuseSession + ")");
ArrayList<Cookie> cookies;
if (staticCookies == null) {
cookies = new ArrayList<Cookie>();
} else {
cookies = (ArrayList<Co... | private void sendData(final Context context,
final ConnectorCommand command, final boolean reuseSession)
throws WebSMSException {
Log.d(TAG, "sendData(" + reuseSession + ")");
ArrayList<Cookie> cookies;
if (staticCookies == null) {
cookies = new ArrayList<Cookie>();
} else {
cookies = (ArrayList<Co... |
diff --git a/src/main/java/net/pms/encoders/TsMuxeRVideo.java b/src/main/java/net/pms/encoders/TsMuxeRVideo.java
index c50d16900..c32c2e56b 100644
--- a/src/main/java/net/pms/encoders/TsMuxeRVideo.java
+++ b/src/main/java/net/pms/encoders/TsMuxeRVideo.java
@@ -1,872 +1,869 @@
/*
* PS3 Media Server, for streaming any... | false | true | public ProcessWrapper launchTranscode(
DLNAResource dlna,
DLNAMediaInfo media,
OutputParams params
) throws IOException {
final String filename = dlna.getSystemName();
setAudioAndSubs(filename, media, params);
PipeIPCProcess ffVideoPipe;
ProcessWrapperImpl ffVideo;
PipeIPCProcess ffAudioPipe[] = nul... | public ProcessWrapper launchTranscode(
DLNAResource dlna,
DLNAMediaInfo media,
OutputParams params
) throws IOException {
final String filename = dlna.getSystemName();
setAudioAndSubs(filename, media, params);
PipeIPCProcess ffVideoPipe;
ProcessWrapperImpl ffVideo;
PipeIPCProcess ffAudioPipe[] = nul... |
diff --git a/src/de/ub0r/android/websms/connector/cherrysms/ConnectorCherrySMS.java b/src/de/ub0r/android/websms/connector/cherrysms/ConnectorCherrySMS.java
index fd171a3..e2ea0ce 100644
--- a/src/de/ub0r/android/websms/connector/cherrysms/ConnectorCherrySMS.java
+++ b/src/de/ub0r/android/websms/connector/cherrysms/Con... | false | true | private void sendData(final Context context, final ConnectorCommand command)
throws WebSMSException {
// do IO
try { // get Connection
final StringBuilder url = new StringBuilder(URL);
final ConnectorSpec cs = this.getSpec(context);
final SharedPreferences p = PreferenceManager
.getDefaultSharedPr... | private void sendData(final Context context, final ConnectorCommand command)
throws WebSMSException {
// do IO
try { // get Connection
final StringBuilder url = new StringBuilder(URL);
final ConnectorSpec cs = this.getSpec(context);
final SharedPreferences p = PreferenceManager
.getDefaultSharedPr... |
diff --git a/modules/org.restlet.ext.jetty/src/org/restlet/ext/jetty/internal/JettyCall.java b/modules/org.restlet.ext.jetty/src/org/restlet/ext/jetty/internal/JettyCall.java
index 00d1cb5d6..4d696baf3 100644
--- a/modules/org.restlet.ext.jetty/src/org/restlet/ext/jetty/internal/JettyCall.java
+++ b/modules/org.restlet... | true | true | public void sendResponse(Response response) throws IOException {
// Add call headers
Header header;
for (Iterator<Header> iter = getResponseHeaders().iterator(); iter
.hasNext();) {
header = iter.next();
getConnection().getResponse().addHeader(header.... | public void sendResponse(Response response) throws IOException {
// Add call headers
Header header;
for (Iterator<Header> iter = getResponseHeaders().iterator(); iter
.hasNext();) {
header = iter.next();
getConnection().getResponse().addHeader(header.... |
diff --git a/Taxman/src/mveritym/cashflow/CashFlow.java b/Taxman/src/mveritym/cashflow/CashFlow.java
index 48beed5..1f08ed0 100644
--- a/Taxman/src/mveritym/cashflow/CashFlow.java
+++ b/Taxman/src/mveritym/cashflow/CashFlow.java
@@ -1,233 +1,233 @@
package mveritym.cashflow;
import java.util.logging.Logger;
impo... | true | true | public void run() {
// Grab current time
log.info(prefix + " Running CatchUp");
final long currentTime = System.currentTimeMillis();
// Unit conversion
final double millisecondToSecond = 0.001;
final long hoursToSeconds = 3600;
final int tickToHour = 72000;
// Grab all enabled taxes and check ... | public void run() {
// Grab current time
log.info(prefix + " Running CatchUp");
final long currentTime = System.currentTimeMillis();
// Unit conversion
final double millisecondToSecond = 0.001;
final long hoursToSeconds = 3600;
final int tickToHour = 72000;
// Grab all enabled taxes and check ... |
diff --git a/src/main/java/org/spout/api/plugin/CommonPluginLoader.java b/src/main/java/org/spout/api/plugin/CommonPluginLoader.java
index d1dfe1d96..5228132b2 100644
--- a/src/main/java/org/spout/api/plugin/CommonPluginLoader.java
+++ b/src/main/java/org/spout/api/plugin/CommonPluginLoader.java
@@ -1,322 +1,323 @@
/*... | true | true | public synchronized Plugin loadPlugin(File paramFile, boolean ignoresoftdepends) throws InvalidPluginException, UnknownDependencyException, InvalidDescriptionFileException {
CommonPlugin result;
PluginDescriptionFile desc;
CommonClassLoader loader;
desc = getDescription(paramFile);
File dataFolder = new Fi... | public synchronized Plugin loadPlugin(File paramFile, boolean ignoresoftdepends) throws InvalidPluginException, UnknownDependencyException, InvalidDescriptionFileException {
CommonPlugin result;
PluginDescriptionFile desc;
CommonClassLoader loader;
desc = getDescription(paramFile);
File dataFolder = new Fi... |
diff --git a/org.openscada.da.datasource.average/src/org/openscada/da/datasource/average/AverageDataSource.java b/org.openscada.da.datasource.average/src/org/openscada/da/datasource/average/AverageDataSource.java
index 920f734f6..f121e6db9 100644
--- a/org.openscada.da.datasource.average/src/org/openscada/da/datasource... | false | true | protected void handleChange ()
{
final ArrayList<Double> validValues = new ArrayList<Double> ( this.sources.size () );
int numOfManualValues = 0;
int numOfErrorValues = 0;
int numOfDisconnected = 0;
Double sum = null;
Double min = null;
Double max = null;... | protected void handleChange ()
{
final ArrayList<Double> validValues = new ArrayList<Double> ( this.sources.size () );
int numOfManualValues = 0;
int numOfErrorValues = 0;
int numOfDisconnected = 0;
Double sum = null;
Double min = null;
Double max = null;... |
diff --git a/index/org/eclipse/cdt/internal/core/index/domsourceindexer/IndexEncoderUtil.java b/index/org/eclipse/cdt/internal/core/index/domsourceindexer/IndexEncoderUtil.java
index cd35b6349..97aae24f0 100644
--- a/index/org/eclipse/cdt/internal/core/index/domsourceindexer/IndexEncoderUtil.java
+++ b/index/org/eclips... | false | true | public static int calculateIndexFlags(DOMSourceIndexerRunner indexer, IASTName name) {
int fileNum= 0;
//Initialize the file number to be the file number for the file that triggerd
//the indexing. Note that we should always be able to get a number for this as
//the first ste... | public static int calculateIndexFlags(DOMSourceIndexerRunner indexer, IASTName name) {
int fileNum= 0;
//Initialize the file number to be the file number for the file that triggerd
//the indexing. Note that we should always be able to get a number for this as
//the first ste... |
diff --git a/xsite-core/src/main/java/org/codehaus/xsite/Main.java b/xsite-core/src/main/java/org/codehaus/xsite/Main.java
index 1019950..4dc73e0 100644
--- a/xsite-core/src/main/java/org/codehaus/xsite/Main.java
+++ b/xsite-core/src/main/java/org/codehaus/xsite/Main.java
@@ -1,297 +1,297 @@
package org.codehaus.xsite... | true | true | public Main(String[] args) throws Exception {
Options options = createOptions();
CommandLine cl = null;
try {
cl = getCommandLine(args, options);
} catch (ParseException e) {
throw new RuntimeException("Failed to parse arguments: ", e);
}
if (cl.hasOption(HELP_OPT)) {
printUsage(options);
} els... | public Main(String[] args) throws Exception {
Options options = createOptions();
CommandLine cl = null;
try {
cl = getCommandLine(args, options);
} catch (ParseException e) {
throw new RuntimeException("Failed to parse arguments: ", e);
}
if (cl.hasOption(HELP_OPT)) {
printUsage(options);
} els... |
diff --git a/src/main/java/org/jvnet/hudson/plugins/Jython.java b/src/main/java/org/jvnet/hudson/plugins/Jython.java
index ed1de4c..7a32700 100644
--- a/src/main/java/org/jvnet/hudson/plugins/Jython.java
+++ b/src/main/java/org/jvnet/hudson/plugins/Jython.java
@@ -1,89 +1,91 @@
package org.jvnet.hudson.plugins;
imp... | false | true | public boolean perform(Build build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException {
PySystemState.initialize();
PythonInterpreter interp = new PythonInterpreter();
interp.setOut(listener.getLogger());
interp.setErr(listener.getLogger());
... | public boolean perform(Build build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException {
PySystemState sys = new PySystemState();
sys.setCurrentWorkingDir(build.getProject().getWorkspace().getRemote());
PythonInterpreter interp = new PythonInterpreter(null, ... |
diff --git a/src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java b/src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
index bd0108b..70f3434 100644
--- a/src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
+++ b/src/main/java/hudson/plugins/persona/xml/XmlPersonaFinder.java
@@ -1,119 +... | false | true | public <T> Collection<ExtensionComponent<T>> find(Class<T> type, Hudson hudson) {
if ((type!=Persona.class) && (type != XmlBasedPersona.class)) {
return Collections.emptyList();
}
List<ExtensionComponent<XmlBasedPersona>> r = new ArrayList<ExtensionComponent<XmlBasedPersona>>();
// lo... | public <T> Collection<ExtensionComponent<T>> find(Class<T> type, Hudson hudson) {
if ((type!=Persona.class) && (type != XmlBasedPersona.class)) {
return Collections.emptyList();
}
List<ExtensionComponent<XmlBasedPersona>> r = new ArrayList<ExtensionComponent<XmlBasedPersona>>();
// lo... |
diff --git a/MonacaFramework/src/mobi/monaca/framework/MonacaPageActivity.java b/MonacaFramework/src/mobi/monaca/framework/MonacaPageActivity.java
index 0540984..cf9e903 100644
--- a/MonacaFramework/src/mobi/monaca/framework/MonacaPageActivity.java
+++ b/MonacaFramework/src/mobi/monaca/framework/MonacaPageActivity.java... | true | true | protected void applyUiToView() {
if (mPageComponent == null) {
applyScreenOrientationFromManifest();
return;
}
setupBackground(mPageComponent.getBackgroundDrawable());
applyScreenOrientation(mPageComponent.getScreenOrientation());
// clean up
root.removeAllViews();
ViewGroup appViewParent = ((Vie... | protected void applyUiToView() {
if (mPageComponent == null) {
applyScreenOrientationFromManifest();
return;
}
setupBackground(mPageComponent.getBackgroundDrawable());
applyScreenOrientation(mPageComponent.getScreenOrientation());
// clean up
root.removeAllViews();
ViewGroup appViewParent = ((Vie... |
diff --git a/src/main/java/org/qooxdoo/charless/buildtool/QooxdooBuildTool.java b/src/main/java/org/qooxdoo/charless/buildtool/QooxdooBuildTool.java
index 00a2dc1..aec39ec 100644
--- a/src/main/java/org/qooxdoo/charless/buildtool/QooxdooBuildTool.java
+++ b/src/main/java/org/qooxdoo/charless/buildtool/QooxdooBuildTool.... | true | true | public static void main(String[] args) throws ScriptException {
// Init config
QbtConfig cfg = QbtConfig.init();
qooxdooSdkPath = new File(cfg.getQooxdooPath());
if (qooxdooSdkPath == null) {
logger.error(
"Can not find Qooxdoo sdk path; set the \'QOOXDOO_PATH\' environment variable"
);
System.e... | public static void main(String[] args) throws ScriptException {
// Init config
QbtConfig cfg = QbtConfig.init();
qooxdooSdkPath = cfg.getQooxdooPath() == null ? null : new File(cfg.getQooxdooPath()) ;
if (qooxdooSdkPath == null) {
logger.error(
"Can not find Qooxdoo sdk path; set the \'QOOXDOO_PATH\' e... |
diff --git a/src/org/barberaware/client/OrderAggregate.java b/src/org/barberaware/client/OrderAggregate.java
index d5012c3..d4a75f9 100644
--- a/src/org/barberaware/client/OrderAggregate.java
+++ b/src/org/barberaware/client/OrderAggregate.java
@@ -1,319 +1,320 @@
/* GASdotto
* Copyright (C) 2013 Roberto -MadBob- ... | true | true | public OrderAggregate () {
super ( "orders" );
addFakeAttribute ( "name", FromServer.STRING, new ValueFromObjectClosure () {
public String retriveString ( FromServer obj ) {
String name;
String date;
Date tmp_ship;
ArrayList orders;
FromServer order;
orders = obj.getArray ( "orders" );... | public OrderAggregate () {
super ( "orders" );
addFakeAttribute ( "name", FromServer.STRING, new ValueFromObjectClosure () {
public String retriveString ( FromServer obj ) {
String name;
String date;
Date tmp_ship;
ArrayList orders;
FromServer order;
orders = obj.getArray ( "orders" );... |
diff --git a/bundles/org.eclipse.rap.design.example/src/org/eclipse/rap/internal/design/example/stacks/ViewStackPresentation.java b/bundles/org.eclipse.rap.design.example/src/org/eclipse/rap/internal/design/example/stacks/ViewStackPresentation.java
index 3530fae9c..ec521b14e 100644
--- a/bundles/org.eclipse.rap.design.... | false | true | private void createPartButton( final IPresentablePart part ) {
final Composite buttonArea = new Composite( tabBg, SWT.NONE );
buttonArea.setData( WidgetUtil.CUSTOM_VARIANT,
"inactiveButton" );
buttonArea.setLayout( new FormLayout() );
final Button partButton = new Button( butt... | private void createPartButton( final IPresentablePart part ) {
Composite buttonArea = new Composite( tabBg, SWT.NONE );
buttonArea.setData( WidgetUtil.CUSTOM_VARIANT,
"inactiveButton" );
buttonArea.setLayout( new FormLayout() );
final Button partButton = new Button( buttonArea... |
diff --git a/src/com/android/launcher3/LauncherModel.java b/src/com/android/launcher3/LauncherModel.java
index e8103f53d..d80c2ac7c 100644
--- a/src/com/android/launcher3/LauncherModel.java
+++ b/src/com/android/launcher3/LauncherModel.java
@@ -1,3148 +1,3148 @@
/*
* Copyright (C) 2008 The Android Open Source Projec... | true | true | static boolean shortcutExists(Context context, String title, Intent intent) {
final ContentResolver cr = context.getContentResolver();
Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
new String[] { "title", "intent" }, "title=? and intent=?",
new String[] { title,... | static boolean shortcutExists(Context context, String title, Intent intent) {
final ContentResolver cr = context.getContentResolver();
Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
new String[] { "title", "intent" }, "title=? and intent=?",
new String[] { title,... |
diff --git a/any-shop/src/main/java/com/ai/action/AddUserAction.java b/any-shop/src/main/java/com/ai/action/AddUserAction.java
index fbfe014..b610233 100755
--- a/any-shop/src/main/java/com/ai/action/AddUserAction.java
+++ b/any-shop/src/main/java/com/ai/action/AddUserAction.java
@@ -1,227 +1,230 @@
package com.ai.act... | false | true | private User setUserRoles(User u) {
if (u.getUserType().equalsIgnoreCase(UserType.ADMIN.getType())) {
UserRole ur = new UserRole(null, roleService.findRoleById(com.ai.util.Role.ADMIN.getRole()));
RolePermission rp1 = new RolePermission(null, permissionService.findPermissionById(Permi... | private User setUserRoles(User u) {
if (u.getUserType().equalsIgnoreCase(UserType.ADMIN.getType())) {
UserRole ur = new UserRole(null, roleService.findRoleById(com.ai.util.Role.ADMIN.getRole()));
RolePermission rp1 = new RolePermission(null, permissionService.findPermissionById(Permi... |
diff --git a/src/java/edu/umd/cs/findbugs/detect/DumbMethods.java b/src/java/edu/umd/cs/findbugs/detect/DumbMethods.java
index f56b2f2..858595c 100644
--- a/src/java/edu/umd/cs/findbugs/detect/DumbMethods.java
+++ b/src/java/edu/umd/cs/findbugs/detect/DumbMethods.java
@@ -1,55 +1,54 @@
/*
* FindBugs - Find bugs in J... | true | true | public void sawOpcode(int seen) {
if (seen == INVOKESTATIC && getClassConstantOperand().equals("java/lang/System")
&& getNameConstantOperand().equals("runFinalizersOnExit") || seen == INVOKEVIRTUAL
&& getClassConstantOperand().equals("java/lang/Runtime")
&& getNameConstantOperand().equals("runFinalizersO... | public void sawOpcode(int seen) {
if (seen == INVOKESTATIC && (getClassConstantOperand().equals("java/lang/System")
|| getClassConstantOperand().equals("java/lang/Runtime"))
&& getNameConstantOperand().equals("runFinalizersOnExit")) {
bugReporter.reportBug(new BugInstance(this, "DM_RUN_FINALIZERS_ON_EXIT"... |
diff --git a/src/server/analytics/AnalyticsServer.java b/src/server/analytics/AnalyticsServer.java
index c664104..09830e4 100644
--- a/src/server/analytics/AnalyticsServer.java
+++ b/src/server/analytics/AnalyticsServer.java
@@ -1,270 +1,274 @@
package server.analytics;
import java.io.FileNotFoundException;
import... | true | true | public void processEvent(Event e) throws RemoteException {
if(e instanceof UserEvent) {
createSessionTime(e);
}
if(e instanceof BidEvent) {
if(e.type.equals("BID_PLACED")) {
if(((BidEvent) e).getPrice()>maxBidPrice) {
maxBidPrice = ((BidEvent) e).getPrice();
StatisticsEvent se = new Statisti... | public void processEvent(Event e) throws RemoteException {
if(e instanceof UserEvent) {
createSessionTime(e);
}
if(e instanceof BidEvent) {
if(e.type.equals("BID_PLACED")) {
if(((BidEvent) e).getPrice()>maxBidPrice) {
maxBidPrice = ((BidEvent) e).getPrice();
StatisticsEvent se = new Statisti... |
diff --git a/core/src/processing/core/PShapeSVG.java b/core/src/processing/core/PShapeSVG.java
index db1bd9e88..0bbf2c51a 100644
--- a/core/src/processing/core/PShapeSVG.java
+++ b/core/src/processing/core/PShapeSVG.java
@@ -1,1469 +1,1473 @@
package processing.core;
import java.awt.Paint;
import java.awt.PaintCon... | true | true | protected void parsePath() {
family = PATH;
kind = 0;
String pathData = element.getStringAttribute("d");
if (pathData == null) return;
char[] pathDataChars = pathData.toCharArray();
StringBuffer pathBuffer = new StringBuffer();
boolean lastSeparate = false;
for (int i = 0; i < pathD... | protected void parsePath() {
family = PATH;
kind = 0;
String pathData = element.getStringAttribute("d");
if (pathData == null) return;
char[] pathDataChars = pathData.toCharArray();
StringBuffer pathBuffer = new StringBuffer();
boolean lastSeparate = false;
for (int i = 0; i < pathD... |
diff --git a/loci/plugins/browser/OptionsWindow.java b/loci/plugins/browser/OptionsWindow.java
index 21f189df6..8889ed86a 100644
--- a/loci/plugins/browser/OptionsWindow.java
+++ b/loci/plugins/browser/OptionsWindow.java
@@ -1,176 +1,176 @@
//
// OptionsWindow.java
//
/*
LOCI 4D Data Browser package for quick br... | true | true | public OptionsWindow(int numZ, int numT, CustomWindow c) {
super("LOCI Data Browser - Options");
setBackground(Color.gray);
cw = c;
Border etchB = BorderFactory.createEtchedBorder(
EtchedBorder.LOWERED);
// add Display Pane
JPanel disPane = new JPanel();
JPanel axesPane = new ... | public OptionsWindow(int numZ, int numT, CustomWindow c) {
super("LOCI Data Browser - Options");
setBackground(Color.gray);
cw = c;
Border etchB = BorderFactory.createEtchedBorder(
EtchedBorder.LOWERED);
// add Display Pane
JPanel disPane = new JPanel();
JPanel axesPane = new ... |
diff --git a/src/java/davmail/smtp/SmtpConnection.java b/src/java/davmail/smtp/SmtpConnection.java
index ddab9fc..646aba4 100644
--- a/src/java/davmail/smtp/SmtpConnection.java
+++ b/src/java/davmail/smtp/SmtpConnection.java
@@ -1,230 +1,232 @@
/*
* DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway
* Copyright (C... | true | true | public void run() {
String line;
StringTokenizer tokens;
List<String> recipients = new ArrayList<String>();
try {
ExchangeSessionFactory.checkConfig();
sendClient("220 DavMail SMTP ready at " + new Date());
for (; ;) {
line = readC... | public void run() {
String line;
StringTokenizer tokens;
List<String> recipients = new ArrayList<String>();
try {
ExchangeSessionFactory.checkConfig();
sendClient("220 DavMail SMTP ready at " + new Date());
for (; ;) {
line = readC... |
diff --git a/src/com/android/packageinstaller/PackageInstallerActivity.java b/src/com/android/packageinstaller/PackageInstallerActivity.java
index 570984b..ff82716 100644
--- a/src/com/android/packageinstaller/PackageInstallerActivity.java
+++ b/src/com/android/packageinstaller/PackageInstallerActivity.java
@@ -1,592 +... | false | true | private void startInstallConfirm() {
TabHost tabHost = (TabHost)findViewById(android.R.id.tabhost);
tabHost.setup();
ViewPager viewPager = (ViewPager)findViewById(R.id.pager);
TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager);
boolean permVisible = false;
... | private void startInstallConfirm() {
TabHost tabHost = (TabHost)findViewById(android.R.id.tabhost);
tabHost.setup();
final ViewPager viewPager = (ViewPager)findViewById(R.id.pager);
TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager);
boolean permVisible = false;... |
diff --git a/test/org/apache/pig/test/TestScriptingLanguagePython.java b/test/org/apache/pig/test/TestScriptingLanguagePython.java
index a35097cd..853e5a74 100644
--- a/test/org/apache/pig/test/TestScriptingLanguagePython.java
+++ b/test/org/apache/pig/test/TestScriptingLanguagePython.java
@@ -1,83 +1,83 @@
/*
* Lic... | true | true | public void varargTest() throws Exception {
System.setProperty("python.cachedir", "/Users/julien/tmp/python");
PigServer pigServer = new PigServer(ExecType.LOCAL);
String[] script = {
"#!/usr/bin/python",
"from org.apache.pig.scripting import *",
"@outputSchema(\"s:chararray\")",... | public void varargTest() throws Exception {
System.setProperty("python.cachedir", System.getProperty("java.io.tmpdir"));
PigServer pigServer = new PigServer(ExecType.LOCAL);
String[] script = {
"#!/usr/bin/python",
"from org.apache.pig.scripting import *",
"@outputSchema(\"s:char... |
diff --git a/src/com/android/music/MediaPlaybackService.java b/src/com/android/music/MediaPlaybackService.java
index da6b1b1..410fe4f 100644
--- a/src/com/android/music/MediaPlaybackService.java
+++ b/src/com/android/music/MediaPlaybackService.java
@@ -1,2194 +1,2196 @@
/*
* Copyright (C) 2007 The Android Open Sourc... | true | true | private void reloadQueue() {
String q = null;
boolean newstyle = false;
int id = mCardId;
if (mPreferences.contains("cardid")) {
newstyle = true;
id = mPreferences.getInt("cardid", ~mCardId);
}
if (id == mCardId) {
// Only ... | private void reloadQueue() {
String q = null;
boolean newstyle = false;
int id = mCardId;
if (mPreferences.contains("cardid")) {
newstyle = true;
id = mPreferences.getInt("cardid", ~mCardId);
}
if (id == mCardId) {
// Only ... |
diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardContext.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardContext.java
index 8d600a960..a761317ed 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardContext.... | true | true | public synchronized void start() throws LifecycleException {
if(logger.isInfoEnabled()) {
logger.info("Starting the sip context");
}
if( initialized ) {
prepareServletContext();
}
// Add missing components as necessary
if (getResources() == null) { // (1) Required by Loader
if ... | public synchronized void start() throws LifecycleException {
if(logger.isInfoEnabled()) {
logger.info("Starting the sip context");
}
if( initialized ) {
prepareServletContext();
}
// Add missing components as necessary
if (getResources() == null) { // (1) Required by Loader
if ... |
diff --git a/org.emftext.sdk.codegen/src/org/emftext/sdk/codegen/generators/ReferenceResolverSwitchGenerator.java b/org.emftext.sdk.codegen/src/org/emftext/sdk/codegen/generators/ReferenceResolverSwitchGenerator.java
index e5dc953dc..6d030aef8 100644
--- a/org.emftext.sdk.codegen/src/org/emftext/sdk/codegen/generators/... | false | true | private void generateResolveFuzzyMethod(StringComposite sc) {
String qualifiedFuzzyResolveResultClassName = getContext().getClassName(EArtifact.FUZZY_RESOLVE_RESULT);
sc.add("public void resolveFuzzy(" + STRING + " identifier, " + E_OBJECT + " container, " + E_REFERENCE + " reference, int position, " + getClass... | private void generateResolveFuzzyMethod(StringComposite sc) {
String qualifiedFuzzyResolveResultClassName = getContext().getClassName(EArtifact.FUZZY_RESOLVE_RESULT);
sc.add("public void resolveFuzzy(" + STRING + " identifier, " + E_OBJECT + " container, " + E_REFERENCE + " reference, int position, " + getClass... |
diff --git a/src/main/java/com/datastax/drivers/jdbc/pool/cassandra/connection/HConnectionManager.java b/src/main/java/com/datastax/drivers/jdbc/pool/cassandra/connection/HConnectionManager.java
index 9995006..f70c3a4 100644
--- a/src/main/java/com/datastax/drivers/jdbc/pool/cassandra/connection/HConnectionManager.java... | true | true | public void operateWithFailover(Operation<?> op) throws SQLException {
final Object timerToken = timer.start();
int retries = Math.min(failoverPolicy.numRetries, hostPools.size());
HClientPool pool = null;
boolean success = false;
boolean retryable = false;
boolean firstTime = true;
Cassa... | public void operateWithFailover(Operation<?> op) throws SQLException {
final Object timerToken = timer.start();
int retries = Math.min(failoverPolicy.numRetries, hostPools.size());
HClientPool pool = null;
boolean success = false;
boolean retryable = false;
boolean firstTime = true;
Cassa... |
diff --git a/com.palantir.typescript/src/com/palantir/typescript/TypeScriptBuilder.java b/com.palantir.typescript/src/com/palantir/typescript/TypeScriptBuilder.java
index 77b8026..1b26c0f 100644
--- a/com.palantir.typescript/src/com/palantir/typescript/TypeScriptBuilder.java
+++ b/com.palantir.typescript/src/com/palant... | true | true | private static void compile(LanguageService languageService, List<FileDelta> fileDeltas, IProgressMonitor monitor) throws CoreException {
for (FileDelta fileDelta : fileDeltas) {
Delta delta = fileDelta.getDelta();
if (delta == Delta.ADDED || delta == Delta.CHANGED) {
... | private static void compile(LanguageService languageService, List<FileDelta> fileDeltas, IProgressMonitor monitor) throws CoreException {
for (FileDelta fileDelta : fileDeltas) {
Delta delta = fileDelta.getDelta();
if (delta == Delta.ADDED || delta == Delta.CHANGED) {
... |
diff --git a/flexodesktop/model/flexofoundation/src/main/java/org/openflexo/foundation/rm/DefaultFlexoResourceUpdateHandler.java b/flexodesktop/model/flexofoundation/src/main/java/org/openflexo/foundation/rm/DefaultFlexoResourceUpdateHandler.java
index c2b25ddf0..1a686815a 100644
--- a/flexodesktop/model/flexofoundatio... | true | true | public void handlesResourceUpdate(final FlexoFileResource fileResource) {
if (fileResource instanceof FlexoGeneratedResource) {
FlexoGeneratedResource generatedResource = (FlexoGeneratedResource) fileResource;
if (logger.isLoggable(Level.INFO)) {
logger.info("Update detected on resource " + generatedReso... | public void handlesResourceUpdate(final FlexoFileResource fileResource) {
if (fileResource instanceof FlexoGeneratedResource) {
FlexoGeneratedResource generatedResource = (FlexoGeneratedResource) fileResource;
if (logger.isLoggable(Level.INFO)) {
logger.info("Update detected on resource " + generatedReso... |
diff --git a/src/main/java/net/h31ix/anticheat/util/Utilities.java b/src/main/java/net/h31ix/anticheat/util/Utilities.java
index bebae4e..0d63eea 100644
--- a/src/main/java/net/h31ix/anticheat/util/Utilities.java
+++ b/src/main/java/net/h31ix/anticheat/util/Utilities.java
@@ -1,227 +1,231 @@
/*
* AntiCheat for Bukki... | false | true | public static void alert(String[] message)
{
for (String msg : message)
{
Bukkit.broadcast(msg, "anticheat.alert");
}
if (Anticheat.getManager().getConfiguration().logConsole())
{
for (String msg : message)
{
Anticheat.g... | public static void alert(String[] message)
{
for(Player player : Bukkit.getOnlinePlayers())
{
if(player.hasPermission("anticheat.alert"));
for (String msg : message)
{
player.sendMessage(msg);
}
}
if (Anticheat.getMa... |
diff --git a/Project_Files/UI.java b/Project_Files/UI.java
index d2a2eca..c3faddc 100644
--- a/Project_Files/UI.java
+++ b/Project_Files/UI.java
@@ -1,187 +1,187 @@
import java.net.Socket;
import java.io.*;
import java.util.*;
public class UI
{
public static void main(String[] args)
{
//GroupServer is nam... | true | true | public static void main(String[] args)
{
//GroupServer is named "ALPHA" and is on 8766
//FileServer is named "FilePile" and is on 4321
System.out.println("Attempting to connect to GroupServer.");
GroupClient gUser = new GroupClient();
//gUser.connect(null, 8766);
FileClient fUser = new FileClient();
fU... | public static void main(String[] args)
{
//GroupServer is named "ALPHA" and is on 8766
//FileServer is named "FilePile" and is on 4321
System.out.println("Attempting to connect to GroupServer.");
GroupClient gUser = new GroupClient();
gUser.connect(null, 8766);
FileClient fUser = new FileClient();
fUse... |
diff --git a/sonar-core/src/test/java/org/sonar/core/resource/ResourceDaoTest.java b/sonar-core/src/test/java/org/sonar/core/resource/ResourceDaoTest.java
index 26f8513367..503056ee79 100644
--- a/sonar-core/src/test/java/org/sonar/core/resource/ResourceDaoTest.java
+++ b/sonar-core/src/test/java/org/sonar/core/resourc... | false | true | public void insertOrUpdate() {
setupData("insertOrUpdate");
// update because already persisted
ResourceDto project = new ResourceDto()
.setKey("org.struts:struts").setScope(Scopes.PROJECT).setQualifier(Qualifiers.PROJECT)
.setName("Struts").setLongName("Apache Struts").setLanguage("java").se... | public void insertOrUpdate() {
setupData("insertOrUpdate");
// to be updated
ResourceDto project = new ResourceDto()
.setKey("org.struts:struts").setScope(Scopes.PROJECT).setQualifier(Qualifiers.PROJECT)
.setName("Struts").setLongName("Apache Struts").setLanguage("java").setDescription("MVC F... |
diff --git a/src/net/ooici/eoi/netcdf/AttributeFactory.java b/src/net/ooici/eoi/netcdf/AttributeFactory.java
index d21fd60..19fa651 100644
--- a/src/net/ooici/eoi/netcdf/AttributeFactory.java
+++ b/src/net/ooici/eoi/netcdf/AttributeFactory.java
@@ -1,190 +1,194 @@
/*
* To change this template, choose Tools | Templat... | true | true | private static Number[] getMetadata(NetcdfDataset ncds, FeatureType ftype, AxisType atype, String vname, String sname) {
if (null == ftype) {
ftype = FeatureType.NONE;
}
Number min = Double.NaN;
Number max = Double.NaN;
CoordinateAxis ca = null;
Variable... | private static Number[] getMetadata(NetcdfDataset ncds, FeatureType ftype, AxisType atype, String vname, String sname) {
if (null == ftype) {
ftype = FeatureType.NONE;
}
Number min = Double.NaN;
Number max = Double.NaN;
CoordinateAxis ca = null;
Variable... |
diff --git a/Java/Algorithms/src/main/java/com/ilyagubarev/algorithms/adt/tools/Registry.java b/Java/Algorithms/src/main/java/com/ilyagubarev/algorithms/adt/tools/Registry.java
index 3caad4b..addc9ea 100644
--- a/Java/Algorithms/src/main/java/com/ilyagubarev/algorithms/adt/tools/Registry.java
+++ b/Java/Algorithms/src/... | true | true | public void add(double value) {
_total += value;
_values.increment();
if (_values.getValue() == 1) {
_maximum = value;
_minimum = value;
} else {
if (_maximum < value) {
_maximum = value;
}
if (_minimum > val... | public void add(double value) {
_total += value;
_values.increment();
if (_values.getValue() == 1) {
_maximum = value;
_minimum = value;
} else {
if (_maximum < value) {
_maximum = value;
}
if (_minimum > val... |
diff --git a/src/org/sqlite/NativeDB.java b/src/org/sqlite/NativeDB.java
index fb549a8..27e5793 100644
--- a/src/org/sqlite/NativeDB.java
+++ b/src/org/sqlite/NativeDB.java
@@ -1,184 +1,184 @@
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
*
* Permission to use, copy, modify, and/or distribute this s... | true | true | static boolean load(String[] errMsg) {
if (loaded != null) return loaded == Boolean.TRUE;
final String libpath = System.getProperty("org.sqlite.lib.path");
String libname = System.getProperty("org.sqlite.lib.name");
if (libname == null) libname = System.mapLibraryName("sqlitejdbc");... | static boolean load(String[] errMsg) {
if (loaded != null) return loaded == Boolean.TRUE;
final String libpath = System.getProperty("org.sqlite.lib.path");
String libname = System.getProperty("org.sqlite.lib.name");
if (libname == null) libname = System.mapLibraryName("sqlitejdbc");... |
diff --git a/src/org/eclipse/core/internal/localstore/FileSystemResourceManager.java b/src/org/eclipse/core/internal/localstore/FileSystemResourceManager.java
index 8ec80fe5..82c06105 100644
--- a/src/org/eclipse/core/internal/localstore/FileSystemResourceManager.java
+++ b/src/org/eclipse/core/internal/localstore/File... | false | true | public ProjectDescription read(IProject target, boolean creation) throws CoreException {
//read the project location if this project is being created
URI projectLocation = null;
ProjectDescription privateDescription = null;
if (creation) {
privateDescription = new ProjectDescription();
getWorkspace().get... | public ProjectDescription read(IProject target, boolean creation) throws CoreException {
//read the project location if this project is being created
URI projectLocation = null;
ProjectDescription privateDescription = null;
if (creation) {
privateDescription = new ProjectDescription();
getWorkspace().get... |
diff --git a/core/src/main/java/io/undertow/server/protocol/ajp/AbstractAjpParser.java b/core/src/main/java/io/undertow/server/protocol/ajp/AbstractAjpParser.java
index 14b921f23..127a44595 100644
--- a/core/src/main/java/io/undertow/server/protocol/ajp/AbstractAjpParser.java
+++ b/core/src/main/java/io/undertow/server... | false | true | protected StringHolder parseString(ByteBuffer buf, AbstractAjpParseState state, boolean header) {
boolean containsUrlCharacters = state.containsUrlCharacters;
if (!buf.hasRemaining()) {
return new StringHolder(null, false, false);
}
int stringLength = state.stringLength;
... | protected StringHolder parseString(ByteBuffer buf, AbstractAjpParseState state, boolean header) {
boolean containsUrlCharacters = state.containsUrlCharacters;
if (!buf.hasRemaining()) {
return new StringHolder(null, false, false);
}
int stringLength = state.stringLength;
... |
diff --git a/src/main/java/com/philihp/boatswag/action/Authenticate.java b/src/main/java/com/philihp/boatswag/action/Authenticate.java
index 383a939..7ed166d 100644
--- a/src/main/java/com/philihp/boatswag/action/Authenticate.java
+++ b/src/main/java/com/philihp/boatswag/action/Authenticate.java
@@ -1,97 +1,101 @@
pac... | true | true | public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
System.out.println("authenticating");
ServletContext servletContext = getServlet().getServletContext();
String code = (String) request.getParameter("code");
... | public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
System.out.println("authenticating");
ServletContext servletContext = getServlet().getServletContext();
String code = (String) request.getParameter("code");
... |
diff --git a/common/com/pahimar/ee3/core/handlers/TransmutationTargetOverlayHandler.java b/common/com/pahimar/ee3/core/handlers/TransmutationTargetOverlayHandler.java
index 9498f1e9..11afbf0e 100644
--- a/common/com/pahimar/ee3/core/handlers/TransmutationTargetOverlayHandler.java
+++ b/common/com/pahimar/ee3/core/handl... | true | true | private static void renderStoneHUD(Minecraft minecraft, EntityPlayer player, ItemStack stack, float partialTicks) {
float overlayScale = ConfigurationSettings.TARGET_BLOCK_OVERLAY_SCALE;
float blockScale = overlayScale / 2;
float overlayOpacity = ConfigurationSettings.TARGET_BLOCK_OVERLAY_O... | private static void renderStoneHUD(Minecraft minecraft, EntityPlayer player, ItemStack stack, float partialTicks) {
float overlayScale = ConfigurationSettings.TARGET_BLOCK_OVERLAY_SCALE;
float blockScale = overlayScale / 2;
float overlayOpacity = ConfigurationSettings.TARGET_BLOCK_OVERLAY_O... |
diff --git a/src/com/android/gallery3d/glrenderer/BasicTexture.java b/src/com/android/gallery3d/glrenderer/BasicTexture.java
index 82eb5a7ee..2e77b903f 100644
--- a/src/com/android/gallery3d/glrenderer/BasicTexture.java
+++ b/src/com/android/gallery3d/glrenderer/BasicTexture.java
@@ -1,212 +1,212 @@
/*
* Copyright (... | true | true | public void setSize(int width, int height) {
mWidth = width;
mHeight = height;
mTextureWidth = Utils.nextPowerOf2(width);
mTextureHeight = Utils.nextPowerOf2(height);
if (mTextureWidth > MAX_TEXTURE_SIZE || mTextureHeight > MAX_TEXTURE_SIZE) {
Log.w(TAG, String.fo... | public void setSize(int width, int height) {
mWidth = width;
mHeight = height;
mTextureWidth = width > 0 ? Utils.nextPowerOf2(width) : 0;
mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0;
if (mTextureWidth > MAX_TEXTURE_SIZE || mTextureHeight > MAX_TEXTURE_SIZE) {... |
diff --git a/src/com/mistphizzle/donationpoints/plugin/Commands.java b/src/com/mistphizzle/donationpoints/plugin/Commands.java
index b5078e2..1d6faf1 100644
--- a/src/com/mistphizzle/donationpoints/plugin/Commands.java
+++ b/src/com/mistphizzle/donationpoints/plugin/Commands.java
@@ -1,288 +1,290 @@
package com.mistph... | false | true | private void init() {
PluginCommand donationpoints = plugin.getCommand("donationpoints");
CommandExecutor exe;
exe = new CommandExecutor() {
@Override
public boolean onCommand(CommandSender s, Command c, String label, String[] args) {
if (args.length < 1) {
// Base Command
s.sendMessage("---... | private void init() {
PluginCommand donationpoints = plugin.getCommand("donationpoints");
CommandExecutor exe;
exe = new CommandExecutor() {
@Override
public boolean onCommand(CommandSender s, Command c, String label, String[] args) {
if (args.length < 1) {
// Base Command
s.sendMessage("---... |
diff --git a/easysoa-registry-v1/easysoa-registry-rest-server/src/main/java/org/easysoa/registry/indicators/rest/IndicatorsController.java b/easysoa-registry-v1/easysoa-registry-rest-server/src/main/java/org/easysoa/registry/indicators/rest/IndicatorsController.java
index 0d3d4d07..f92de07e 100755
--- a/easysoa-registr... | false | true | public Object doGet() throws Exception {
CoreSession session = SessionFactory.getSession(request);
HashMap<String, DocumentModelList> listMap = new HashMap<String, DocumentModelList>();
listMap.put("Service", session.query(NXQL_SELECT_FROM + "Service" + NXQL_WHERE_NO_PROXY));
... | public Object doGet() throws Exception {
CoreSession session = SessionFactory.getSession(request);
HashMap<String, DocumentModelList> listMap = new HashMap<String, DocumentModelList>();
listMap.put("Service", session.query(NXQL_SELECT_FROM + "Service" + NXQL_WHERE_NO_PROXY));
... |
diff --git a/ui/isometric/builder/IsoInterfaceWorldBuilder.java b/ui/isometric/builder/IsoInterfaceWorldBuilder.java
index 9eda7df..eee3e78 100644
--- a/ui/isometric/builder/IsoInterfaceWorldBuilder.java
+++ b/ui/isometric/builder/IsoInterfaceWorldBuilder.java
@@ -1,288 +1,290 @@
package ui.isometric.builder;
impor... | true | true | public IsoInterfaceWorldBuilder(String name, final GameWorld world, ClientMessageHandler logic) {
this.world = world;
this.frameName = name;
JMenuBar bar = new JMenuBar();
JMenu file = new JMenu("File");
JMenuItem save = new JMenuItem("Save");
file.add(save);
save.addActionListener(new ActionListener(... | public IsoInterfaceWorldBuilder(String name, final GameWorld world, ClientMessageHandler logic) {
this.world = world;
this.frameName = name;
JMenuBar bar = new JMenuBar();
JMenu file = new JMenu("File");
JMenuItem save = new JMenuItem("Save");
file.add(save);
save.addActionListener(new ActionListener(... |
diff --git a/src/main/java/net/frontlinesms/build/jet/compile/JetCompileProfile.java b/src/main/java/net/frontlinesms/build/jet/compile/JetCompileProfile.java
index b35878b..fcf70be 100644
--- a/src/main/java/net/frontlinesms/build/jet/compile/JetCompileProfile.java
+++ b/src/main/java/net/frontlinesms/build/jet/compil... | true | true | public static JetCompileProfile loadFromDirectory(File profileDirectory, File workingDirectory) throws IOException {
Map<String, String> props = PropertyUtils.loadProperties(new File(profileDirectory, "compile.profile.properties"));
JetCompileProfile compileProfile = new JetCompileProfile(new File(workingDirect... | public static JetCompileProfile loadFromDirectory(File profileDirectory, File workingDirectory) throws IOException {
Map<String, String> props = PropertyUtils.loadProperties(new File(profileDirectory, "compile.profile.properties"));
JetCompileProfile compileProfile = new JetCompileProfile(workingDirectory,
... |
diff --git a/tests/android/tests/src/com/getbeamapp/transit/common/MockTest.java b/tests/android/tests/src/com/getbeamapp/transit/common/MockTest.java
index 2685ec8..2dbd2fb 100644
--- a/tests/android/tests/src/com/getbeamapp/transit/common/MockTest.java
+++ b/tests/android/tests/src/com/getbeamapp/transit/common/MockT... | false | true | public void testJSFunction() {
TransitAdapter adapter = AndroidMock.createMock(TransitAdapter.class);
AndroidMock.expect(adapter.evaluate(contains("__TRANSIT_JS_FUNCTION_1(1)"))).andReturn(11);
AndroidMock.expect(adapter.evaluate(contains("__TRANSIT_JS_FUNCTION_1(2, 0, 0)"))).andReturn(12);... | public void testJSFunction() {
TransitAdapter adapter = AndroidMock.createMock(TransitAdapter.class);
AndroidMock.expect(adapter.evaluate(contains("__TRANSIT_JS_FUNCTION_1(1)"))).andReturn(11);
AndroidMock.expect(adapter.evaluate(contains("__TRANSIT_JS_FUNCTION_1(2, 0, 0)"))).andReturn(12);... |
diff --git a/src/helloworld/HelloWorld.java b/src/helloworld/HelloWorld.java
index 5b8ed8e..5826192 100644
--- a/src/helloworld/HelloWorld.java
+++ b/src/helloworld/HelloWorld.java
@@ -1,16 +1,17 @@
package helloworld;
/**
*
* @author WASD
*/
public class HelloWorld {
public static void main(String[] ar... | true | true | public static void main(String[] args) {
System.out.println("Hello World!");
System.out.println("kuk");
NewClass x = new NewClass(5);
}
| public static void main(String[] args) {
System.out.println("Hello World!");
System.out.println("kuk");
System.out.println("kukar");
NewClass x = new NewClass(5);
}
|
diff --git a/src/turtle/controller/Kernel.java b/src/turtle/controller/Kernel.java
index 394f7f4..581ae76 100644
--- a/src/turtle/controller/Kernel.java
+++ b/src/turtle/controller/Kernel.java
@@ -1,103 +1,103 @@
/*
* This file is part of the Turtle project
*
* (c) 2011 Julien Brochet <julien.brochet@etu.univ-ly... | true | true | public void run()
{
long frame = 0;
long elapsedTime = System.currentTimeMillis();
while (mThread.isInterrupted()) {
mFrameLimiter.start();
frame++;
elapsedTime = System.currentTimeMillis() - elapsedTime;
mGame.update(elapsedTime);
... | public void run()
{
long frame = 0;
long elapsedTime = System.currentTimeMillis();
while (!mThread.isInterrupted()) {
mFrameLimiter.start();
frame++;
elapsedTime = System.currentTimeMillis() - elapsedTime;
mGame.update(elapsedTime);
... |
diff --git a/pentaho-gwt-widgets/src/org/pentaho/mantle/client/dialogs/scheduling/NewScheduleDialogEntryPoint.java b/pentaho-gwt-widgets/src/org/pentaho/mantle/client/dialogs/scheduling/NewScheduleDialogEntryPoint.java
index 905e6401..3ca0a849 100644
--- a/pentaho-gwt-widgets/src/org/pentaho/mantle/client/dialogs/sched... | true | true | public void openScheduleDialog( String reportFile ) {
IScheduleCallback callback = new IScheduleCallback() {
@Override
public void okPressed() {
}
@Override
public void cancelPressed() {
}
@Override
public void scheduleJob() {
}
};
NewScheduleDialog... | public void openScheduleDialog( String reportFile ) {
IScheduleCallback callback = new IScheduleCallback() {
@Override
public void okPressed() {
}
@Override
public void cancelPressed() {
}
@Override
public void scheduleJob() {
}
};
NewScheduleDialog... |
diff --git a/test-case/src/test/java/pkg/XmlParser.java b/test-case/src/test/java/pkg/XmlParser.java
index dc2cc08..8909dd3 100644
--- a/test-case/src/test/java/pkg/XmlParser.java
+++ b/test-case/src/test/java/pkg/XmlParser.java
@@ -1,56 +1,56 @@
package pkg;
import static org.hamcrest.core.Is.is;
import static or... | true | true | void expectBugs(String className, int expectedBugs) {
final String filePath = "pkg/" + className + ".java";
try {
DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
Document doc = docBuilder.parse("target/findbugsXml.xml"... | void expectBugs(String className, int expectedBugs) {
final String filePath = "pkg/" + className + ".java";
try {
DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
Document doc = docBuilder.parse("target/findbugsXml.xml"... |
diff --git a/titan-hbase/src/main/java/com/thinkaurelius/titan/diskstorage/hbase/HBaseStoreManager.java b/titan-hbase/src/main/java/com/thinkaurelius/titan/diskstorage/hbase/HBaseStoreManager.java
index 9217cbb23..15087fddb 100644
--- a/titan-hbase/src/main/java/com/thinkaurelius/titan/diskstorage/hbase/HBaseStoreManag... | true | true | private void ensureColumnFamilyExists(String tableName, String columnFamily) throws StorageException {
HBaseAdmin adm = getAdminInterface();
HTableDescriptor desc = ensureTableExists(tableName);
Preconditions.checkNotNull(desc);
HColumnDescriptor cf = desc.getFamily(columnFamily.ge... | private void ensureColumnFamilyExists(String tableName, String columnFamily) throws StorageException {
HBaseAdmin adm = getAdminInterface();
HTableDescriptor desc = ensureTableExists(tableName);
Preconditions.checkNotNull(desc);
HColumnDescriptor cf = desc.getFamily(columnFamily.ge... |
diff --git a/splunk-external/com/splunk/external/ResultsReaderJson.java b/splunk-external/com/splunk/external/ResultsReaderJson.java
index 0c2cad9..b5eea37 100644
--- a/splunk-external/com/splunk/external/ResultsReaderJson.java
+++ b/splunk-external/com/splunk/external/ResultsReaderJson.java
@@ -1,80 +1,104 @@
/*
* ... | false | true | @Override public HashMap<String, String> getNextEvent() throws Exception {
HashMap<String, String> returnData = null;
int level = 0;
while (jsonReader.hasNext()) {
if (returnData == null) {
returnData = new HashMap<String, String>();
}
if ... | @Override public HashMap<String, String> getNextEvent() throws Exception {
HashMap<String, String> returnData = null;
int level = 0;
String name = "";
// events are almost flat and names and strings, so no need for a true
// general parser solution. But the Gson parser is a ... |
diff --git a/src/com/redhat/ceylon/compiler/codegen/StatementTransformer.java b/src/com/redhat/ceylon/compiler/codegen/StatementTransformer.java
index 4c82118fd..70caa68ec 100755
--- a/src/com/redhat/ceylon/compiler/codegen/StatementTransformer.java
+++ b/src/com/redhat/ceylon/compiler/codegen/StatementTransformer.java... | true | true | private List<JCStatement> transformCondition(Tree.Condition cond, int tag, Tree.Block thenPart, Tree.Block elsePart) {
JCExpression test;
JCVariableDecl decl = null;
JCBlock thenBlock = null;
JCBlock elseBlock = null;
if (cond instanceof Tree.ExistsCondition) {
Tr... | private List<JCStatement> transformCondition(Tree.Condition cond, int tag, Tree.Block thenPart, Tree.Block elsePart) {
JCExpression test;
JCVariableDecl decl = null;
JCBlock thenBlock = null;
JCBlock elseBlock = null;
if (cond instanceof Tree.ExistsCondition) {
Tr... |
diff --git a/tool/src/main/java/org/jcopybook/Marshaller.java b/tool/src/main/java/org/jcopybook/Marshaller.java
index e7a0e6a..76ecb48 100644
--- a/tool/src/main/java/org/jcopybook/Marshaller.java
+++ b/tool/src/main/java/org/jcopybook/Marshaller.java
@@ -1,121 +1,123 @@
package org.jcopybook;
import org.w3c.dom.D... | false | true | public static String handleType(String value, Map<String, String> nodeMeta) {
if (nodeMeta != null) {
int len = Integer.parseInt(nodeMeta.get("display-length"));
if ("true".equals(nodeMeta.get("numeric"))) {
int number = Integer.parseInt(value);
if (nodeMeta.containsKey("scale")) {
int scale = Int... | public static String handleType(String value, Map<String, String> nodeMeta) {
if (nodeMeta != null) {
int len = Integer.parseInt(nodeMeta.get("display-length"));
if ("true".equals(nodeMeta.get("numeric"))) {
if (nodeMeta.containsKey("scale")) {
double number = Double.parseDouble(value);
int scale... |
diff --git a/src/main/java/de/minestar/MineStarWarp/dataManager/BankManager.java b/src/main/java/de/minestar/MineStarWarp/dataManager/BankManager.java
index 4707e38..16c1735 100644
--- a/src/main/java/de/minestar/MineStarWarp/dataManager/BankManager.java
+++ b/src/main/java/de/minestar/MineStarWarp/dataManager/BankMana... | false | true | public void setBank(Player player, String playerName, Location bankLocation) {
if (banks.containsKey(playerName)) {
if (dbManager.updateBank(playerName, bankLocation)) {
PlayerUtils.sendSuccess(player, Core.NAME, "Eine Bank f�r Spieler '" + playerName + "' erstellt!");
... | public void setBank(Player player, String playerName, Location bankLocation) {
if (banks.containsKey(playerName)) {
if (dbManager.updateBank(playerName, bankLocation)) {
PlayerUtils.sendSuccess(player, Core.NAME, "Bank für Spieler '" + playerName + "' aktualisiert!");
... |
diff --git a/src/main/java/net/semanticmetadata/lire/clustering/KMeans.java b/src/main/java/net/semanticmetadata/lire/clustering/KMeans.java
index 1bc6aca..da3645e 100644
--- a/src/main/java/net/semanticmetadata/lire/clustering/KMeans.java
+++ b/src/main/java/net/semanticmetadata/lire/clustering/KMeans.java
@@ -1,287 +... | true | true | public void init() {
// create a set of all features:
features = new ArrayList<double[]>(countAllFeatures);
for (Image image : images) {
if (image.features.size() > 0)
for (double[] histogram : image.features) {
if (!hasNaNs(histogram)) feature... | public void init() {
// create a set of all features:
features = new ArrayList<double[]>(countAllFeatures);
for (Image image : images) {
if (image.features.size() > 0)
for (double[] histogram : image.features) {
if (!hasNaNs(histogram)) feature... |
diff --git a/wayback-core/src/main/java/org/archive/wayback/webapp/LiveWebAccessPoint.java b/wayback-core/src/main/java/org/archive/wayback/webapp/LiveWebAccessPoint.java
index b9c9b82ac..ed514ca8a 100644
--- a/wayback-core/src/main/java/org/archive/wayback/webapp/LiveWebAccessPoint.java
+++ b/wayback-core/src/main/jav... | true | true | public boolean handleRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
throws ServletException, IOException {
String urlString = translateRequestPathQuery(httpRequest);
urlString = UrlOperations.fixupHTTPUrlWithOneSlash(urlString);
boolean handled = true;
ArcResource r = null... | public boolean handleRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse)
throws ServletException, IOException {
String urlString = translateRequestPathQuery(httpRequest);
urlString = UrlOperations.fixupHTTPUrlWithOneSlash(urlString);
boolean handled = true;
ArcResource r = null... |
diff --git a/core/src/main/java/org/mule/ibeans/test/MockIBeanHandler.java b/core/src/main/java/org/mule/ibeans/test/MockIBeanHandler.java
index ebb3104..598c8b9 100644
--- a/core/src/main/java/org/mule/ibeans/test/MockIBeanHandler.java
+++ b/core/src/main/java/org/mule/ibeans/test/MockIBeanHandler.java
@@ -1,243 +1,24... | true | true | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
{
if (method.getName().equals("toString"))
{
return toString();
}
else if (method.getName().equals("setExceptionListener"))
{
exceptionListener = (ExceptionListener) ... | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
{
if (method.getName().equals("toString"))
{
return toString();
}
else if (method.getName().equals("setExceptionListener"))
{
exceptionListener = (ExceptionListener) ... |
diff --git a/src/info/mzimmermann/xposed/cputempstatusbar/widget/CpuTemp.java b/src/info/mzimmermann/xposed/cputempstatusbar/widget/CpuTemp.java
index 4df957b..398660c 100644
--- a/src/info/mzimmermann/xposed/cputempstatusbar/widget/CpuTemp.java
+++ b/src/info/mzimmermann/xposed/cputempstatusbar/widget/CpuTemp.java
@@ ... | true | true | private void updateTemperature() {
try {
FileInputStream fis = new FileInputStream(tempFile);
StringBuffer sbTemp = new StringBuffer("");
// read temperature
byte[] buffer = new byte[1024];
while (fis.read(buffer) != -1) {
sbTemp.append(new String(buffer));
}
fis.close();
// parse temp
... | private void updateTemperature() {
try {
FileInputStream fis = new FileInputStream(tempFile);
StringBuffer sbTemp = new StringBuffer("");
// read temperature
byte[] buffer = new byte[1024];
while (fis.read(buffer) != -1) {
sbTemp.append(new String(buffer));
}
fis.close();
// parse temp
... |
diff --git a/hospital_admissions_3/src/main/java/com/mulesoft/summit/service/EpisodeResource.java b/hospital_admissions_3/src/main/java/com/mulesoft/summit/service/EpisodeResource.java
index b13626e..4859f42 100644
--- a/hospital_admissions_3/src/main/java/com/mulesoft/summit/service/EpisodeResource.java
+++ b/hospital... | true | true | public JAXBElement<Episode> createEpisode(@PathParam("departmentName") String clinicName, @QueryParam("patientId") String patientId) {
Episode episode = new Episode();
episode.setEpisodeId("EP123412341");
episode.setMinDurationDays(BigInteger.valueOf(6));
episode.setPatientId(patientId);
episode.setStartDate... | public JAXBElement<Episode> createEpisode(@PathParam("departmentName") String clinicName, @QueryParam("patientId") String patientId) {
Episode episode = new Episode();
episode.setEpisodeId("EP123412341");
episode.setMinDurationDays(BigInteger.valueOf(6));
episode.setPatientId(patientId);
episode.setStartDate... |
diff --git a/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/internal/java/ui/JavaEditingMonitor.java b/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/internal/java/ui/JavaEditingMonitor.java
index 4a23e6df7..07cca16e3 100644
--- a/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/internal/java/ui/JavaEditingMonitor.jav... | true | true | public void handleWorkbenchPartSelection(IWorkbenchPart part, ISelection selection, boolean contributeToContext) {
try {
IJavaElement selectedElement = null;
if (selection instanceof StructuredSelection) {
StructuredSelection structuredSelection = (StructuredSelection) selection;
if (structuredSelecti... | public void handleWorkbenchPartSelection(IWorkbenchPart part, ISelection selection, boolean contributeToContext) {
try {
IJavaElement selectedElement = null;
if (selection instanceof StructuredSelection) {
StructuredSelection structuredSelection = (StructuredSelection) selection;
if (structuredSelecti... |
diff --git a/src/api/org/openmrs/arden/Call.java b/src/api/org/openmrs/arden/Call.java
index a34273b9..d3cfd227 100644
--- a/src/api/org/openmrs/arden/Call.java
+++ b/src/api/org/openmrs/arden/Call.java
@@ -1,106 +1,106 @@
/**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the... | true | true | public void write(Writer w) {
try {
w.append("\t\t\t\tString value = null;\n");
w.append("\t\t\t\tString variable = null;\n");
w.append("\t\t\t\tint varLen = 0;\n");
for (int i = 0; i < parameters.size(); i++) {
String currParam = parameters.get(i);
w.append("\t\t\t\tvarLen = " + "\"" + currP... | public void write(Writer w) {
try {
w.append("\t\t\t\tString value = null;\n");
w.append("\t\t\t\tString variable = null;\n");
w.append("\t\t\t\tint varLen = 0;\n");
for (int i = 0; i < parameters.size(); i++) {
String currParam = parameters.get(i);
w.append("\t\t\t\tvarLen = " + "\"" + currP... |
diff --git a/src/java/org/apache/cassandra/db/marshal/DateType.java b/src/java/org/apache/cassandra/db/marshal/DateType.java
index 671d31ca5..09f0ecd31 100644
--- a/src/java/org/apache/cassandra/db/marshal/DateType.java
+++ b/src/java/org/apache/cassandra/db/marshal/DateType.java
@@ -1,130 +1,129 @@
package org.apache... | true | true | public static long dateStringToTimestamp(String source) throws MarshalException
{
long millis;
source = source.toLowerCase();
if (source.toLowerCase().equals("now"))
{
millis = System.currentTimeMillis();
}
// Milliseconds since epoch?
else if (source.matches... | public static long dateStringToTimestamp(String source) throws MarshalException
{
long millis;
if (source.toLowerCase().equals("now"))
{
millis = System.currentTimeMillis();
}
// Milliseconds since epoch?
else if (source.matches("^\\d+$"))
{
try
... |
diff --git a/extrabiomes/src/extrabiomes/plugin/modsupport/buildcraft/OilGenerator.java b/extrabiomes/src/extrabiomes/plugin/modsupport/buildcraft/OilGenerator.java
index 70ec0a0b..2c088110 100644
--- a/extrabiomes/src/extrabiomes/plugin/modsupport/buildcraft/OilGenerator.java
+++ b/extrabiomes/src/extrabiomes/plugin/m... | true | true | private void doPopulate(Random rand, World world, int x, int z) {
final BiomeGenBase biome = world.getWorldChunkManager()
.getBiomeGenAt(x, z);
if (biome.biomeID == BiomeGenBase.sky.biomeID
|| biome.biomeID == BiomeGenBase.hell.biomeID) return;
if ((biome == BiomeManager.mountaindesert.get() || biome =... | private void doPopulate(Random rand, World world, int x, int z) {
final BiomeGenBase biome = world.getWorldChunkManager()
.getBiomeGenAt(x, z);
if (biome.biomeID == BiomeGenBase.sky.biomeID
|| biome.biomeID == BiomeGenBase.hell.biomeID) return;
if ((biome == BiomeManager.mountaindesert.get() || biome =... |
diff --git a/bundles/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/Worker.java b/bundles/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/Worker.java
index 7c5645730..6a319cb71 100644
--- a/bundles/org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/Worker.java
+++ b/bundles/org.eclipse.core.job... | true | true | public void run() {
setPriority(Thread.NORM_PRIORITY);
try {
while ((currentJob = pool.startJob(this)) != null) {
currentJob.setThread(this);
IStatus result = Status.OK_STATUS;
try {
result = currentJob.run(currentJob.getProgressMonitor());
} catch (OperationCanceledException e) {
resu... | public void run() {
setPriority(Thread.NORM_PRIORITY);
try {
while ((currentJob = pool.startJob(this)) != null) {
currentJob.setThread(this);
IStatus result = Status.OK_STATUS;
try {
result = currentJob.run(currentJob.getProgressMonitor());
} catch (OperationCanceledException e) {
resu... |
diff --git a/trunk/java/src/com/tigervnc/rfb/TightDecoder.java b/trunk/java/src/com/tigervnc/rfb/TightDecoder.java
index 4c10bb75..088d02f6 100644
--- a/trunk/java/src/com/tigervnc/rfb/TightDecoder.java
+++ b/trunk/java/src/com/tigervnc/rfb/TightDecoder.java
@@ -1,425 +1,426 @@
/* Copyright (C) 2000-2003 Constantin Ka... | true | true | public void readRect(Rect r, CMsgHandler handler)
{
InStream is = reader.getInStream();
int[] buf = reader.getImageBuf(r.width() * r.height());
boolean cutZeros = false;
PixelFormat myFormat = handler.cp.pf();
int bpp = handler.cp.pf().bpp;
if (bpp == 32) {
if (myFormat.is888()) {
... | public void readRect(Rect r, CMsgHandler handler)
{
InStream is = reader.getInStream();
int[] buf = reader.getImageBuf(r.width() * r.height());
boolean cutZeros = false;
PixelFormat myFormat = handler.cp.pf();
int bpp = handler.cp.pf().bpp;
if (bpp == 32) {
if (myFormat.is888()) {
... |
diff --git a/library/src/com/slidingmenu/lib/CustomViewAbove.java b/library/src/com/slidingmenu/lib/CustomViewAbove.java
index 9438469..8917902 100644
--- a/library/src/com/slidingmenu/lib/CustomViewAbove.java
+++ b/library/src/com/slidingmenu/lib/CustomViewAbove.java
@@ -1,1799 +1,1799 @@
package com.slidingmenu.lib;... | true | true | public boolean onInterceptTouchEvent(MotionEvent ev) {
/*
* This method JUST determines whether we want to intercept the motion.
* If we return true, onMotionEvent will be called and we do the actual
* scrolling there.
*/
if (!mEnabled) {
return false;
}
if (!thisTouchAllowed(ev.g... | public boolean onInterceptTouchEvent(MotionEvent ev) {
/*
* This method JUST determines whether we want to intercept the motion.
* If we return true, onMotionEvent will be called and we do the actual
* scrolling there.
*/
if (!mEnabled) {
return false;
}
if (!thisTouchAllowed(ev.g... |
diff --git a/src/Servlets/User.java b/src/Servlets/User.java
index 78f3f57..cbb917a 100644
--- a/src/Servlets/User.java
+++ b/src/Servlets/User.java
@@ -1,145 +1,145 @@
package Servlets;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.serv... | true | true | protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession(false);
Member member = (Member) session.getAttribute("member");
if (member != null) {
int rsUserid = member.GetMemberID();
String requestDestin... | protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession(false);
Member member = (Member) session.getAttribute("member");
if (member != null) {
int rsUserid = member.GetMemberID();
String requestDestin... |
diff --git a/trunk/src/main/java/ex3/navigation/Navigator.java b/trunk/src/main/java/ex3/navigation/Navigator.java
index c149ee9..0d734de 100644
--- a/trunk/src/main/java/ex3/navigation/Navigator.java
+++ b/trunk/src/main/java/ex3/navigation/Navigator.java
@@ -1,700 +1,701 @@
package ex3.navigation;
import ex3.PRM;... | true | true | public void onStart(ConnectedNode connectedNode) {
factory = connectedNode.getTopicMessageFactory();
AbstractLocaliser.setFactory(factory);
obstacleMarkers = new ArrayList<Point>();
System.out.println("Obstacle detection active: " + OBSTACLE_DETECTION_ACTIVE);
movementPub =... | public void onStart(ConnectedNode connectedNode) {
factory = connectedNode.getTopicMessageFactory();
AbstractLocaliser.setFactory(factory);
obstacleMarkers = new ArrayList<Point>();
System.out.println("Obstacle detection active: " + OBSTACLE_DETECTION_ACTIVE);
movementPub =... |
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java b/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java
index a64b43d92..0d2ea6fc3 100644
--- a/gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java
+++ b/gerrit-server/src/main/java/... | true | true | private PatchSet.Id doReplace(final ReplaceRequest request)
throws IOException, OrmException {
final RevCommit c = request.newCommit;
rp.getRevWalk().parseBody(c);
warnMalformedMessage(c);
final Account.Id me = currentUser.getAccountId();
final Set<Account.Id> reviewers = new HashSet<Accoun... | private PatchSet.Id doReplace(final ReplaceRequest request)
throws IOException, OrmException {
final RevCommit c = request.newCommit;
rp.getRevWalk().parseBody(c);
warnMalformedMessage(c);
final Account.Id me = currentUser.getAccountId();
final Set<Account.Id> reviewers = new HashSet<Accoun... |
diff --git a/src/de/aidger/view/forms/FinancialCategoryEditorForm.java b/src/de/aidger/view/forms/FinancialCategoryEditorForm.java
index 6d1de745..96158945 100644
--- a/src/de/aidger/view/forms/FinancialCategoryEditorForm.java
+++ b/src/de/aidger/view/forms/FinancialCategoryEditorForm.java
@@ -1,317 +1,316 @@
package ... | true | true | private void addNewFunds() {
GridBagConstraints gridBagConstraints;
JLabel lblFunds = new JLabel();
lblFunds.setText(_("Funds"));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = GridBagConstraints.RELATIVE;
... | private void addNewFunds() {
GridBagConstraints gridBagConstraints;
JLabel lblFunds = new JLabel();
lblFunds.setText(_("Funds"));
gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = GridBagConstraints.RELATIVE;
... |
diff --git a/core/tests/org.eclipse.dltk.debug.tests/src/org/eclipse/dltk/debug/tests/AllTests.java b/core/tests/org.eclipse.dltk.debug.tests/src/org/eclipse/dltk/debug/tests/AllTests.java
index 0116b2e61..6d1d05fb5 100644
--- a/core/tests/org.eclipse.dltk.debug.tests/src/org/eclipse/dltk/debug/tests/AllTests.java
+++ ... | true | true | public static Test suite() {
final TestSuite suite = new TestSuite("org.eclipse.dltk.debug");
// // $JUnit-BEGIN$
// Dbgp
final TestSuite dbgpSuite = new TestSuite("DBGP tests");
dbgpSuite.addTestSuite(DbgpRequestTests.class);
dbgpSuite.addTestSuite(DbgpStackLevelTests.class);
dbgpSuite.addTestSuite(Db... | public static Test suite() {
final TestSuite suite = new TestSuite("org.eclipse.dltk.debug");
// // $JUnit-BEGIN$
// Dbgp
final TestSuite dbgpSuite = new TestSuite("DBGP tests");
dbgpSuite.addTestSuite(DbgpRequestTests.class);
dbgpSuite.addTestSuite(DbgpStackLevelTests.class);
dbgpSuite.addTestSuite(Db... |
diff --git a/src/java/com/buglabs/bug/input/pub/InputEventProvider.java b/src/java/com/buglabs/bug/input/pub/InputEventProvider.java
index d19e7da..b5ebc0a 100644
--- a/src/java/com/buglabs/bug/input/pub/InputEventProvider.java
+++ b/src/java/com/buglabs/bug/input/pub/InputEventProvider.java
@@ -1,114 +1,118 @@
/*****... | true | true | public void run() {
InputDevice dev = new InputDevice();
if (dev.open(inputDevice, FCNTL_H.O_RDWR) < 0) {
log.log(LogService.LOG_ERROR, "Unable to open input device: " + inputDevice);
}
while (!isInterrupted()) {
try {
InputEvent[] inputEvents = dev.readEvents();
synchronized (listeners) {
... | public void run() {
InputDevice dev = new InputDevice();
if (dev.open(inputDevice, FCNTL_H.O_RDWR) < 0) {
log.log(LogService.LOG_ERROR, "Unable to open input device: " + inputDevice);
}
while (!isInterrupted()) {
try {
InputEvent[] inputEvents = dev.readEvents();
synchronized (listeners) {
... |
diff --git a/svnkit-cli/src/org/tmatesoft/svn/cli2/SVNCommandDaemon.java b/svnkit-cli/src/org/tmatesoft/svn/cli2/SVNCommandDaemon.java
index 902fd68a5..c97caf8cf 100644
--- a/svnkit-cli/src/org/tmatesoft/svn/cli2/SVNCommandDaemon.java
+++ b/svnkit-cli/src/org/tmatesoft/svn/cli2/SVNCommandDaemon.java
@@ -1,280 +1,281 @@... | true | true | public void run() {
ISVNDebugLog log = SVNDebugLog.getDefaultLog();
ServerSocket serverSocket = null;
try {
serverSocket = new ServerSocket(myPort);
} catch (IOException e) {
log.error("cannot create server socket at port " + myPort);
log.error(e);... | public void run() {
ISVNDebugLog log = SVNDebugLog.getDefaultLog();
ServerSocket serverSocket = null;
try {
serverSocket = new ServerSocket(myPort);
} catch (IOException e) {
log.error("cannot create server socket at port " + myPort);
log.error(e);... |
diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/document/mongodb/query/QueryMapper.java b/spring-data-mongodb/src/main/java/org/springframework/data/document/mongodb/query/QueryMapper.java
index d8b0aa3f9..a687e53af 100644
--- a/spring-data-mongodb/src/main/java/org/springframework/data/document... | false | true | public DBObject getMappedObject() {
String idKey = null;
if (null != entity && null != entity.getIdProperty()) {
idKey = entity.getIdProperty().getName();
} else if (query.containsField("id")) {
idKey = "id";
} else if (query.containsField("_id")) {
idKey = "_id";
}
DBObject newDbo = new BasicDBO... | public DBObject getMappedObject() {
String idKey = null;
if (null != entity && null != entity.getIdProperty()) {
idKey = entity.getIdProperty().getName();
} else if (query.containsField("id")) {
idKey = "id";
} else if (query.containsField("_id")) {
idKey = "_id";
}
DBObject newDbo = new BasicDBO... |
diff --git a/src/main/java/edu/sc/seis/sod/MotionVectorArm.java b/src/main/java/edu/sc/seis/sod/MotionVectorArm.java
index 1105ce433..597c00253 100644
--- a/src/main/java/edu/sc/seis/sod/MotionVectorArm.java
+++ b/src/main/java/edu/sc/seis/sod/MotionVectorArm.java
@@ -1,520 +1,523 @@
package edu.sc.seis.sod;
import... | true | true | public void processAvailableDataSubsetter(EventVectorPair ecp,
SeismogramSource seismogramSource,
RequestFilter[][] infilters,
RequestFilter[][] outfilters) {
StringTree ... | public void processAvailableDataSubsetter(EventVectorPair ecp,
SeismogramSource seismogramSource,
RequestFilter[][] infilters,
RequestFilter[][] outfilters) {
StringTree ... |
diff --git a/src/org/bodytrack/client/PlottablePoint.java b/src/org/bodytrack/client/PlottablePoint.java
index e44b4da..6627dd0 100644
--- a/src/org/bodytrack/client/PlottablePoint.java
+++ b/src/org/bodytrack/client/PlottablePoint.java
@@ -1,79 +1,84 @@
package org.bodytrack.client;
/**
* A class holding a date ... | true | true | public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (! (obj instanceof PlottablePoint))
return false;
return (long) Math.floor(myDate) ==
(long) Math.floor(((PlottablePoint) obj).myDate);
}
| public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (! (obj instanceof PlottablePoint))
return false;
// Two dates are equal if their floors are less than 0.5
// apart, which is an important distinction whenever we
// are dealing with numbers that a... |
diff --git a/src/java/org/apache/hama/bsp/JobInProgress.java b/src/java/org/apache/hama/bsp/JobInProgress.java
index e482a81..f6b1d01 100644
--- a/src/java/org/apache/hama/bsp/JobInProgress.java
+++ b/src/java/org/apache/hama/bsp/JobInProgress.java
@@ -1,223 +1,222 @@
/**
* Licensed to the Apache Software Foundation... | false | true | public JobInProgress(BSPJobID jobId, BSPMaster master, Configuration conf)
throws IOException {
this.conf = conf;
this.jobId = jobId;
this.tasks = new ArrayList<TaskInProgress>();
this.localFs = (LocalFileSystem) FileSystem.getNamed("local", conf);
this.master = master;
this.status = n... | public JobInProgress(BSPJobID jobId, BSPMaster master, Configuration conf)
throws IOException {
this.conf = conf;
this.jobId = jobId;
this.tasks = new ArrayList<TaskInProgress>();
this.localFs = FileSystem.getLocal(conf);
this.master = master;
this.status = new JobStatus(jobId, 0.0f, 0... |
diff --git a/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java b/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/NutchResource.java
index dfabe03e5..3a598c487 100644
--- a/src/contributions/resources/nutch/src/java/org/wyona/yanel/impl/resources/Nutch... | true | true | private InputStream getInputStream(String searchTerm, int start) {
// Create DOM document
org.w3c.dom.Document doc = null;
javax.xml.parsers.DocumentBuilderFactory dbf= javax.xml.parsers.DocumentBuilderFactory.newInstance();
try {
javax.xml.parsers.DocumentBuilder parser ... | private InputStream getInputStream(String searchTerm, int start) {
// Create DOM document
org.w3c.dom.Document doc = null;
javax.xml.parsers.DocumentBuilderFactory dbf= javax.xml.parsers.DocumentBuilderFactory.newInstance();
try {
javax.xml.parsers.DocumentBuilder parser ... |
diff --git a/src/replicatorg/app/GCodeParser.java b/src/replicatorg/app/GCodeParser.java
index e516903f..ae8f3897 100644
--- a/src/replicatorg/app/GCodeParser.java
+++ b/src/replicatorg/app/GCodeParser.java
@@ -1,1281 +1,1281 @@
/*
GCodeParser.java
Handles parsing GCode.
Part of the ReplicatorG project - ht... | true | true | private void executeGCodes() throws GCodeException, RetryException {
// start us off at our current position...
Point3d temp = driver.getCurrentPosition();
// initialize our points, etc.
double iVal = convertToMM(getCodeValue("I"), units); // / X offset
// for arcs
double jVal = convertToMM(... | private void executeGCodes() throws GCodeException, RetryException {
// start us off at our current position...
Point3d temp = driver.getCurrentPosition();
// initialize our points, etc.
double iVal = convertToMM(getCodeValue("I"), units); // / X offset
// for arcs
double jVal = convertToMM(... |
diff --git a/src/com/kamosoft/happycontacts/widget/HappyContactsWidget.java b/src/com/kamosoft/happycontacts/widget/HappyContactsWidget.java
index 5da38e0..f7c490b 100755
--- a/src/com/kamosoft/happycontacts/widget/HappyContactsWidget.java
+++ b/src/com/kamosoft/happycontacts/widget/HappyContactsWidget.java
@@ -1,193 +... | true | true | public void onStart( Intent intent, int startId )
{
super.onStart( intent, startId );
/*
* init and open database
*/
DbAdapter db = new DbAdapter( this );
db.open( true );
LinkedHashMap<String, ContactFeasts> eventsPe... | public void onStart( Intent intent, int startId )
{
super.onStart( intent, startId );
/*
* init and open database
*/
DbAdapter db = new DbAdapter( this );
db.open( true );
LinkedHashMap<String, ContactFeasts> eventsPe... |
diff --git a/ratpack-core/src/main/java/ratpack/path/internal/TokenPathBinder.java b/ratpack-core/src/main/java/ratpack/path/internal/TokenPathBinder.java
index 393d6dace..94bfb9c5b 100644
--- a/ratpack-core/src/main/java/ratpack/path/internal/TokenPathBinder.java
+++ b/ratpack-core/src/main/java/ratpack/path/internal/... | false | true | public TokenPathBinder(String path, boolean exact) {
Validations.noLeadingForwardSlash(path, "token path");
ImmutableList.Builder<String> namesBuilder = ImmutableList.builder();
String pattern = Pattern.quote(path);
Pattern placeholderPattern = Pattern.compile("(?:^|/)(:(\\w+)\\??)");
Matcher ma... | public TokenPathBinder(String path, boolean exact) {
Validations.noLeadingForwardSlash(path, "token path");
ImmutableList.Builder<String> namesBuilder = ImmutableList.builder();
String pattern = Pattern.quote(path);
Pattern placeholderPattern = Pattern.compile("((?:^|/):(\\w+)\\??)");
Matcher ma... |
diff --git a/src/edu/wpi/first/wpilibj/templates/Main.java b/src/edu/wpi/first/wpilibj/templates/Main.java
index 19edec0..56e566a 100644
--- a/src/edu/wpi/first/wpilibj/templates/Main.java
+++ b/src/edu/wpi/first/wpilibj/templates/Main.java
@@ -1,80 +1,81 @@
/*
* To change this template, choose Tools | Templates
*... | true | true | public void main() {
try {
init();
} catch (Exception ex) {
ex.printStackTrace();
}
if (controls.FOV_Top()) {
imageCalc.setCurrentTarget(imageCalc.topTarget);
} else if (controls.FOV_Bottom()) {
imageCalc.setCurrentTarget(imageC... | public void main() {
try {
init();
} catch (Exception ex) {
ex.printStackTrace();
}
if (controls.FOV_Top()) {
imageCalc.setCurrentTarget(imageCalc.topTarget);
} else if (controls.FOV_Bottom()) {
imageCalc.setCurrentTarget(imageC... |
diff --git a/hu.ppke.itk.swt.demo/src/hu/ppke/itk/swt/demo/LazyTableContentProvider.java b/hu.ppke.itk.swt.demo/src/hu/ppke/itk/swt/demo/LazyTableContentProvider.java
index 8a736ea..1705501 100644
--- a/hu.ppke.itk.swt.demo/src/hu/ppke/itk/swt/demo/LazyTableContentProvider.java
+++ b/hu.ppke.itk.swt.demo/src/hu/ppke/it... | true | true | public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
if (viewer instanceof TableViewer && newInput instanceof Collection) {
this.viewer = (TableViewer) viewer;
input = new ArrayList<Object>((Collection<?>) newInput);
}
}
| public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
if (viewer instanceof TableViewer && newInput instanceof Collection) {
this.viewer = (TableViewer) viewer;
input = new ArrayList<Object>((Collection<?>) newInput);
this.viewer.setItemCount(input == null ? 0 : input.size());
}
}
|
diff --git a/org.caleydo.view.datagraph/src/org/caleydo/view/datagraph/layout/ForceDirectedGraphLayout.java b/org.caleydo.view.datagraph/src/org/caleydo/view/datagraph/layout/ForceDirectedGraphLayout.java
index 3f0879099..a00846f83 100644
--- a/org.caleydo.view.datagraph/src/org/caleydo/view/datagraph/layout/ForceDirec... | false | true | public void layout(Rectangle2D area) {
if (area == null)
return;
boolean equalAreas = area.equals(layoutingArea);
layoutingArea = area;
running = false;
if (graph == null)
return;
if (graph.getNumberOfNodes() == 0)
return;
nodesToLayout = getNodesToLayout();
if (nodesToLayout == null)
re... | public void layout(Rectangle2D area) {
if (area == null)
return;
boolean equalAreas = area.equals(layoutingArea);
layoutingArea = area;
running = false;
if (graph == null)
return;
if (graph.getNumberOfNodes() == 0)
return;
nodesToLayout = getNodesToLayout();
if (nodesToLayout == null)
re... |
diff --git a/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ResourcesUtils.java b/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ResourcesUtils.java
index be9d6faaf..ee057c454 100644
--- a/tests/plugins/org.jboss.tools.tests/src/org/jboss/tools/test/util/ResourcesUtils.java
+++ b/t... | true | true | static public IProject importProjectIntoWorkspace(String path, String projectName, String protocol) {
IProject project = null;
try {
boolean state = ResourcesUtils.setBuildAutomatically(false);
project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
project.create(null);
proj... | static public IProject importProjectIntoWorkspace(String path, String projectName, String protocol) {
IProject project = null;
try {
boolean state = ResourcesUtils.setBuildAutomatically(false);
project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
if (!project.exists())
pr... |
diff --git a/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/PluginConverterImpl.java b/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/PluginConverterImpl.java
index e1ab4a3b..8947bf0d 100644
--- a/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/ru... | false | true | private Set getExports() {
Map libs = pluginInfo.getLibraries();
if (libs == null)
return null;
//If we are in dev mode, then add the binary folders on the list libs with the export clause set to be the cumulation of the export clause of the real libs
if (devProperties != null || DevClassPathHelper.inDe... | private Set getExports() {
Map libs = pluginInfo.getLibraries();
if (libs == null)
return null;
//If we are in dev mode, then add the binary folders on the list libs with the export clause set to be the cumulation of the export clause of the real libs
if (devProperties != null || DevClassPathHelper.inDe... |
diff --git a/com.amd.aparapi/src/java/com/amd/aparapi/KernelRunner.java b/com.amd.aparapi/src/java/com/amd/aparapi/KernelRunner.java
index 0fb8e8d..93fd87a 100644
--- a/com.amd.aparapi/src/java/com/amd/aparapi/KernelRunner.java
+++ b/com.amd.aparapi/src/java/com/amd/aparapi/KernelRunner.java
@@ -1,1725 +1,1725 @@
/*
... | false | true | synchronized Kernel execute(String _entrypointName, final Range _range, final int _passes) {
long executeStartTime = System.currentTimeMillis();
if (_range == null) {
throw new IllegalStateException("range can't be null");
}
/* for backward compatibility reasons we sti... | synchronized Kernel execute(String _entrypointName, final Range _range, final int _passes) {
long executeStartTime = System.currentTimeMillis();
if (_range == null) {
throw new IllegalStateException("range can't be null");
}
/* for backward compatibility reasons we sti... |
diff --git a/tool/src/java/org/sakaiproject/assignment2/tool/entity/Assignment2SubmissionEntityProvider.java b/tool/src/java/org/sakaiproject/assignment2/tool/entity/Assignment2SubmissionEntityProvider.java
index 40102847..0285a308 100644
--- a/tool/src/java/org/sakaiproject/assignment2/tool/entity/Assignment2Submissio... | true | true | public List<?> getEntities(EntityReference ref, Search search) {
Long assignmentId = requestStorage.getStoredValueAsType(Long.class, "asnnid");
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT, assignmentBundleLogic.getLocale());
List togo = new ArrayList(... | public List<?> getEntities(EntityReference ref, Search search) {
Long assignmentId = requestStorage.getStoredValueAsType(Long.class, "asnnid");
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT, assignmentBundleLogic.getLocale());
List togo = new ArrayList(... |
diff --git a/bitrepository-monitoring-service/src/test/java/org/bitrepository/monitoringservice/collector/StatusEventHandlerTest.java b/bitrepository-monitoring-service/src/test/java/org/bitrepository/monitoringservice/collector/StatusEventHandlerTest.java
index 1350a7f0..25b49284 100644
--- a/bitrepository-monitoring-... | true | true | public void testStatusEventHandler() throws Exception {
addDescription("Test the GetStatusEventHandler handling of events");
addStep("Setup", "");
MockStatusStore store = new MockStatusStore();
MockAlerter alerter = new MockAlerter();
GetStatusEventHandler eventHandler = new ... | public void testStatusEventHandler() throws Exception {
addDescription("Test the GetStatusEventHandler handling of events");
addStep("Setup", "");
MockStatusStore store = new MockStatusStore();
MockAlerter alerter = new MockAlerter();
GetStatusEventHandler eventHandler = new ... |
diff --git a/src/main/java/org/tal/basiccircuits/pisoregister.java b/src/main/java/org/tal/basiccircuits/pisoregister.java
index e90a03d..591126d 100644
--- a/src/main/java/org/tal/basiccircuits/pisoregister.java
+++ b/src/main/java/org/tal/basiccircuits/pisoregister.java
@@ -1,59 +1,59 @@
package org.tal.basiccircuit... | true | true | protected boolean init(Player player, String[] args) {
if (inputs.length<3) {
player.sendMessage("Expecting at least 3 inputs.");
return false;
} if (outputs.length!=1) {
player.sendMessage("Expecting exactly 1 input. ");
return false;
}
... | protected boolean init(Player player, String[] args) {
if (inputs.length<3) {
player.sendMessage("Expecting at least 3 inputs.");
return false;
} if (outputs.length!=1) {
player.sendMessage("Expecting exactly 1 output. ");
return false;
}
... |
diff --git a/Madz.DatabaseMetaData/src/main/java/net/madz/db/core/meta/immutable/types/SortDirectionEnum.java b/Madz.DatabaseMetaData/src/main/java/net/madz/db/core/meta/immutable/types/SortDirectionEnum.java
index d189592..73cb989 100644
--- a/Madz.DatabaseMetaData/src/main/java/net/madz/db/core/meta/immutable/types/S... | true | true | public static SortDirectionEnum getSortDirection(String direction) {
if ( direction.equalsIgnoreCase("A") ) {
return SortDirectionEnum.ascending;
} else if ( direction.equalsIgnoreCase("D") ) {
return SortDirectionEnum.descending;
} else {
return SortDirec... | public static SortDirectionEnum getSortDirection(String direction) {
if ( null == direction ) {
return SortDirectionEnum.unknown;
}
if ( direction.equalsIgnoreCase("A") ) {
return SortDirectionEnum.ascending;
} else if ( direction.equalsIgnoreCase("D") ) {
... |
diff --git a/brix-wrapper/src/main/java/brix/jcr/base/wrapper/QueryWrapper.java b/brix-wrapper/src/main/java/brix/jcr/base/wrapper/QueryWrapper.java
index 6f961b6..12a3396 100644
--- a/brix-wrapper/src/main/java/brix/jcr/base/wrapper/QueryWrapper.java
+++ b/brix-wrapper/src/main/java/brix/jcr/base/wrapper/QueryWrapper.... | true | true | public static QueryWrapper wrap(Query delegate, SessionWrapper session)
{
if (delegate == null)
{
return null;
}
else
{
return QueryWrapper.wrap(delegate, session);
}
}
| public static QueryWrapper wrap(Query delegate, SessionWrapper session)
{
if (delegate == null)
{
return null;
}
else
{
return new QueryWrapper(delegate, session);
}
}
|
diff --git a/splat/src/main/uk/ac/starlink/splat/data/TableColumnChooser.java b/splat/src/main/uk/ac/starlink/splat/data/TableColumnChooser.java
index 123c5038f..eaa5fc34f 100644
--- a/splat/src/main/uk/ac/starlink/splat/data/TableColumnChooser.java
+++ b/splat/src/main/uk/ac/starlink/splat/data/TableColumnChooser.java... | true | true | private TableColumnChooser()
{
// Default patterns for column names and utypes.
coordNamePatterns = new ArrayList();
addCoordNamePattern( "wave.*" );
addCoordNamePattern( "freq.*" );
addCoordNamePattern( "velo.*" );
addCoordNamePattern( "redshift.*" );
ad... | private TableColumnChooser()
{
// Default patterns for column names and utypes.
coordNamePatterns = new ArrayList();
addCoordNamePattern( "wave.*" );
addCoordNamePattern( "freq.*" );
addCoordNamePattern( "velo.*" );
addCoordNamePattern( "redshift.*" );
ad... |
diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java
index 349f5989..41ea68a0 100644
--- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardPlayerListener.java
+++ b/src/main/java/com/sk89q/worldguard/bukkit/Wor... | true | true | private void handleBlockRightClick(PlayerInteractEvent event) {
if (event.isCancelled()) {
return;
}
Block block = event.getClickedBlock();
World world = block.getWorld();
int type = block.getTypeId();
Player player = event.getPlayer();
ItemStack ... | private void handleBlockRightClick(PlayerInteractEvent event) {
if (event.isCancelled()) {
return;
}
Block block = event.getClickedBlock();
World world = block.getWorld();
int type = block.getTypeId();
Player player = event.getPlayer();
ItemStack ... |
diff --git a/src/common/IE/src/BlockCSand.java b/src/common/IE/src/BlockCSand.java
index 98eb706..934ee5a 100644
--- a/src/common/IE/src/BlockCSand.java
+++ b/src/common/IE/src/BlockCSand.java
@@ -1,139 +1,140 @@
package IE.src;
import java.util.List;
import java.util.Random;
import net.minecraft.src.Block;
im... | false | true | private void tryToFall(World par1World, int par2, int par3, int par4)
{
if (canFallBelow(par1World, par2, par3 - 1, par4) && par3 >= 0)
{
byte var8 = 32;
if (!fallInstantly && par1World.checkChunksExist(par2 - var8, par3 - var8, par4 - var8, par2 + var8, par3 + var8, par... | private void tryToFall(World par1World, int par2, int par3, int par4)
{
int meta = par1World.getBlockMetadata(par2, par3, par4);
if (canFallBelow(par1World, par2, par3 - 1, par4) && par3 >= 0)
{
byte var8 = 32;
if (!fallInstantly && par1World.checkChunksExist(par2 -... |
diff --git a/org.eclipse.bpmn2.modeler.ui/src/org/eclipse/bpmn2/modeler/ui/property/AbstractBpmn2TableComposite.java b/org.eclipse.bpmn2.modeler.ui/src/org/eclipse/bpmn2/modeler/ui/property/AbstractBpmn2TableComposite.java
index 06631fcc..9a90a010 100644
--- a/org.eclipse.bpmn2.modeler.ui/src/org/eclipse/bpmn2/modeler/... | false | true | public void bindList(final EObject theobject, final EStructuralFeature thefeature) {
if (!(theobject.eGet(thefeature) instanceof EList<?>)) {
return;
}
Class<?> clazz = thefeature.getEType().getInstanceClass();
if (!EObject.class.isAssignableFrom(clazz)) {
return;
}
final BPMN2Editor bpmn2Editor = g... | public void bindList(final EObject theobject, final EStructuralFeature thefeature) {
if (!(theobject.eGet(thefeature) instanceof EList<?>)) {
return;
}
Class<?> clazz = thefeature.getEType().getInstanceClass();
if (!EObject.class.isAssignableFrom(clazz)) {
return;
}
final BPMN2Editor bpmn2Editor = g... |
diff --git a/extrabiomes/src/extrabiomes/module/summa/block/BlockGreenLeaves.java b/extrabiomes/src/extrabiomes/module/summa/block/BlockGreenLeaves.java
index 74805177..e3bc2321 100644
--- a/extrabiomes/src/extrabiomes/module/summa/block/BlockGreenLeaves.java
+++ b/extrabiomes/src/extrabiomes/module/summa/block/BlockGr... | true | true | public void updateTick(World world, int x, int y, int z, Random rand)
{
if (world.isRemote) return;
final int metadata = world.getBlockMetadata(x, y, z);
if (isUserPlaced(metadata) || !isDecaying(metadata)) return;
final int rangeWood = 4;
final int rangeCheckChunk = rangeWood + 1;
final byte var9 = 32... | public void updateTick(World world, int x, int y, int z, Random rand)
{
if (world.isRemote) return;
final int metadata = world.getBlockMetadata(x, y, z);
if (isUserPlaced(metadata) || !isDecaying(metadata)) return;
final int rangeWood = 6;
final int rangeCheckChunk = rangeWood + 1;
final byte var9 = 32... |
diff --git a/wingx/src/java/org/wingx/plaf/css/DivisionCG.java b/wingx/src/java/org/wingx/plaf/css/DivisionCG.java
index 5e58545..be7fbd4 100644
--- a/wingx/src/java/org/wingx/plaf/css/DivisionCG.java
+++ b/wingx/src/java/org/wingx/plaf/css/DivisionCG.java
@@ -1,110 +1,110 @@
package org.wingx.plaf.css;
import org.... | true | true | public void writeInternal(Device device, SComponent component) throws IOException {
XDivision division = (XDivision)component;
device.print("<table");
Utils.writeAllAttributes(device, component);
Utils.writeEvents(device, component, null);
device.print("><colgroup><col width... | public void writeInternal(Device device, SComponent component) throws IOException {
XDivision division = (XDivision)component;
device.print("<table");
Utils.writeAllAttributes(device, component);
Utils.writeEvents(device, component, null);
device.print("><colgroup><col width... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.