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/filter2-impl/src/main/java/org/cytoscape/filter/internal/FilterSettingsManager.java b/filter2-impl/src/main/java/org/cytoscape/filter/internal/FilterSettingsManager.java
index 47ad76807..ea8f04e07 100644
--- a/filter2-impl/src/main/java/org/cytoscape/filter/internal/FilterSettingsManager.java
+++ b/filter2... | false | true | public void handleEvent(SessionLoadedEvent event) {
List<File> files = event.getLoadedSession().getAppFileListMap().get(SESSION_NAMESPACE);
if (files == null) {
return;
}
FilterPanelController filterPanelController = filterPanel.getController();
filterPanelController.reset();
TransformerPanelContr... | public void handleEvent(SessionLoadedEvent event) {
List<File> files = event.getLoadedSession().getAppFileListMap().get(SESSION_NAMESPACE);
if (files == null) {
return;
}
FilterPanelController filterPanelController = filterPanel.getController();
filterPanelController.reset();
TransformerPanelContr... |
diff --git a/uk.ac.diamond.scisoft.analysis/test/uk/ac/diamond/scisoft/analysis/fitting/OptimizerTest.java b/uk.ac.diamond.scisoft.analysis/test/uk/ac/diamond/scisoft/analysis/fitting/OptimizerTest.java
index fe3a7b4eb..557a9a7eb 100644
--- a/uk.ac.diamond.scisoft.analysis/test/uk/ac/diamond/scisoft/analysis/fitting/Op... | true | true | public void testOptimizer() {
DoubleDataset gaussian = Generic1DDatasetCreator.createGaussianDataset();
List<IdentifiedPeak> peaks = Generic1DFitter.parseDataDerivative(Generic1DDatasetCreator.xAxis, gaussian, Generic1DDatasetCreator.smoothing);
IdentifiedPeak iniPeak = peaks.get(0);
int[] start = { iniPeak ... | public void testOptimizer() {
DoubleDataset gaussian = Generic1DDatasetCreator.createGaussianDataset();
List<IdentifiedPeak> peaks = Generic1DFitter.parseDataDerivative(Generic1DDatasetCreator.xAxis, gaussian, Generic1DDatasetCreator.smoothing);
IdentifiedPeak iniPeak = peaks.get(0);
int[] start = { iniPeak ... |
diff --git a/modules/org.restlet.test/src/org/restlet/test/LuceneTestCase.java b/modules/org.restlet.test/src/org/restlet/test/LuceneTestCase.java
index e40380966..a67926f81 100644
--- a/modules/org.restlet.test/src/org/restlet/test/LuceneTestCase.java
+++ b/modules/org.restlet.test/src/org/restlet/test/LuceneTestCase.... | true | true | public void testTika() throws Exception {
Client clapClient = new Client("clap");
Representation rtfSample = clapClient.get(
"clap://system/org/restlet/test/LuceneTestCase.rtf")
.getEntity();
// rtfSample.write(System.out);
// Prepare a SAX content h... | public void testTika() throws Exception {
Client clapClient = new Client("clap");
Representation rtfSample = clapClient.get(
"clap://system/org/restlet/test/LuceneTestCase.rtf")
.getEntity();
// rtfSample.write(System.out);
// Prepare a SAX content h... |
diff --git a/servicemix-beanflow/src/main/java/org/apache/servicemix/beanflow/AbstractActivity.java b/servicemix-beanflow/src/main/java/org/apache/servicemix/beanflow/AbstractActivity.java
index ea341db0e..30cf81ec9 100644
--- a/servicemix-beanflow/src/main/java/org/apache/servicemix/beanflow/AbstractActivity.java
+++ ... | false | true | public void join() {
while (!isStopped()) {
final CountDownLatch latch = new CountDownLatch(1);
onStop(new Runnable() {
public void run() {
latch.countDown();
}
});
try {
latch.await();
... | public void join() {
final CountDownLatch latch = new CountDownLatch(1);
onStop(new Runnable() {
public void run() {
latch.countDown();
}
});
while (!isStopped()) {
try {
latch.await();
}
catc... |
diff --git a/calendar-webapp/src/main/java/org/exoplatform/calendar/webui/UIFormDateTimePicker.java b/calendar-webapp/src/main/java/org/exoplatform/calendar/webui/UIFormDateTimePicker.java
index e72e9f02..e35e1de0 100644
--- a/calendar-webapp/src/main/java/org/exoplatform/calendar/webui/UIFormDateTimePicker.java
+++ b/... | false | true | public void processRender(WebuiRequestContext context) throws Exception {
Locale locale = context.getParentAppRequestContext().getLocale() ;
locale_ = locale ;
//context.getJavascriptManager().loadScriptResource("eXo.cs.UIDateTimePicker");
String input_id = "DateTimePicker-"+context.getJavascriptM... | public void processRender(WebuiRequestContext context) throws Exception {
Locale locale = context.getParentAppRequestContext().getLocale() ;
locale_ = locale ;
//context.getJavascriptManager().loadScriptResource("eXo.cs.UIDateTimePicker");
String input_id = "DateTimePicker-"+context.getJavascriptM... |
diff --git a/src/cli/src/main/java/org/geogit/cli/plumbing/MergeBase.java b/src/cli/src/main/java/org/geogit/cli/plumbing/MergeBase.java
index 99f137f0..c2d3de06 100644
--- a/src/cli/src/main/java/org/geogit/cli/plumbing/MergeBase.java
+++ b/src/cli/src/main/java/org/geogit/cli/plumbing/MergeBase.java
@@ -1,64 +1,64 @@... | false | true | public void runInternal(GeogitCLI cli) throws IOException {
checkParameter(commits.size() == 2, "Two commit references must be provided");
ConsoleReader console = cli.getConsole();
GeoGIT geogit = cli.getGeogit();
Optional<RevObject> left = geogit.command(RevObjectParse.class).setR... | public void runInternal(GeogitCLI cli) throws IOException {
checkParameter(commits.size() == 2, "Two commit references must be provided");
ConsoleReader console = cli.getConsole();
GeoGIT geogit = cli.getGeogit();
Optional<RevObject> left = geogit.command(RevObjectParse.class).setR... |
diff --git a/android/src/fq/router2/feedback/HandleAlertIntent.java b/android/src/fq/router2/feedback/HandleAlertIntent.java
index a73d59b..d3647ff 100644
--- a/android/src/fq/router2/feedback/HandleAlertIntent.java
+++ b/android/src/fq/router2/feedback/HandleAlertIntent.java
@@ -1,93 +1,100 @@
package fq.router2.feed... | true | true | private static void showHostsModifiedAlert(Context context) {
final File ignoredFile = new File("/data/data/fq.router2/etc/hosts-modified-alert-ignored");
if (ignoredFile.exists()) {
return;
}
new AlertDialog.Builder(context)
.setIcon(android.R.drawable.ic... | private static void showHostsModifiedAlert(Context context) {
final File ignoredFile = new File("/data/data/fq.router2/etc/hosts-modified-alert-ignored");
if (ignoredFile.exists()) {
return;
}
new AlertDialog.Builder(context)
.setIcon(android.R.drawable.ic... |
diff --git a/cogroo-base/src/main/java/br/ccsl/cogroo/util/TextUtils.java b/cogroo-base/src/main/java/br/ccsl/cogroo/util/TextUtils.java
index 722547d..fde32c6 100644
--- a/cogroo-base/src/main/java/br/ccsl/cogroo/util/TextUtils.java
+++ b/cogroo-base/src/main/java/br/ccsl/cogroo/util/TextUtils.java
@@ -1,105 +1,105 @@... | true | true | public static String nicePrint(Document document) {
StringBuilder output = new StringBuilder();
output.append("Entered text: ").append(document.getText()).append("\n\n");
if (document.getSentences() != null) {
int cont = 0;
for (Sentence sentence : document.getSentences()) {
cont++;
... | public static String nicePrint(Document document) {
StringBuilder output = new StringBuilder();
output.append("Entered text: ").append(document.getText()).append("\n\n");
if (document.getSentences() != null) {
int cont = 0;
for (Sentence sentence : document.getSentences()) {
cont++;
... |
diff --git a/src/java/CommandLineInterpreter.java b/src/java/CommandLineInterpreter.java
index aee7cc8..9e44154 100644
--- a/src/java/CommandLineInterpreter.java
+++ b/src/java/CommandLineInterpreter.java
@@ -1,213 +1,213 @@
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Scanner;
impor... | true | true | public static String useGnuParser(final String[] commandLineArguments) throws ClassNotFoundException, SQLException{
final CommandLineParser cmdLineGnuParser = new GnuParser();
final Options gnuOptions = new CommandLineConstructors().getCommands();
CommandLine commandLine;
String result = "";
... | public static String useGnuParser(final String[] commandLineArguments) throws ClassNotFoundException, SQLException{
final CommandLineParser cmdLineGnuParser = new GnuParser();
final Options gnuOptions = new CommandLineConstructors().getCommands();
CommandLine commandLine;
String result = "";
... |
diff --git a/src/FE_SRC_COMMON/com/ForgeEssentials/playerLogger/types/blockChangeLog.java b/src/FE_SRC_COMMON/com/ForgeEssentials/playerLogger/types/blockChangeLog.java
index 476eb8b02..5ae4fab30 100644
--- a/src/FE_SRC_COMMON/com/ForgeEssentials/playerLogger/types/blockChangeLog.java
+++ b/src/FE_SRC_COMMON/com/ForgeE... | true | true | public blockChangeLog(blockChangeLogCategory cat, EntityPlayer player, String block, int X, int Y, int Z, TileEntity te)
{
super();
SerialBlob teBlob = null;
if (te != null)
{
NBTTagCompound nbt = new NBTTagCompound();
te.writeToNBT(nbt);
try
{
teBlob = new SerialBlob(new JSONObject().put(te.... | public blockChangeLog(blockChangeLogCategory cat, EntityPlayer player, String block, int X, int Y, int Z, TileEntity te)
{
super();
SerialBlob teBlob = null;
if (te != null)
{
NBTTagCompound nbt = new NBTTagCompound();
te.writeToNBT(nbt);
try
{
teBlob = new SerialBlob(new JSONObject().put(te.... |
diff --git a/src/cn/iver/controller/TopicController.java b/src/cn/iver/controller/TopicController.java
index 62c1788..004d159 100644
--- a/src/cn/iver/controller/TopicController.java
+++ b/src/cn/iver/controller/TopicController.java
@@ -1,70 +1,70 @@
package cn.iver.controller;
import cn.iver.interceptor.AdminInter... | true | true | public void save(){
Topic topic = getModel(Topic.class);
topic.set("userID", getSessionAttr("userID")).set("topicID", null);
Post post = getModel(Post.class);
post.set("userID", getSessionAttr("userID"));
topic.save(post);
redirect("/post/" + topic.getInt("id"));
... | public void save(){
Topic topic = getModel(Topic.class);
topic.set("userID", getSessionAttr("userID"));
Post post = getModel(Post.class);
post.set("userID", getSessionAttr("userID"));
topic.save(post);
redirect("/post/" + topic.getInt("id"));
}
|
diff --git a/x10.compiler/src/x10c/ExtensionInfo.java b/x10.compiler/src/x10c/ExtensionInfo.java
index 610147385..4acc353d0 100644
--- a/x10.compiler/src/x10c/ExtensionInfo.java
+++ b/x10.compiler/src/x10c/ExtensionInfo.java
@@ -1,185 +1,187 @@
/*
* This file is part of the X10 project (http://x10-lang.org).
*
... | false | true | public List<Goal> goals(Job job) {
List<Goal> superGoals = super.goals(job);
ArrayList<Goal> goals = new ArrayList<Goal>(superGoals.size()+10);
for (Goal g : superGoals) {
if (g == Desugarer(job)) {
goals.add(ExpressionFlattenerForAtExpr(jo... | public List<Goal> goals(Job job) {
List<Goal> superGoals = super.goals(job);
ArrayList<Goal> goals = new ArrayList<Goal>(superGoals.size()+10);
for (Goal g : superGoals) {
if (g == Desugarer(job)) {
goals.add(ExpressionFlattenerForAtExpr(jo... |
diff --git a/src/org/bombusim/lime/activity/ChatActivity.java b/src/org/bombusim/lime/activity/ChatActivity.java
index 493a3eb..e64c580 100644
--- a/src/org/bombusim/lime/activity/ChatActivity.java
+++ b/src/org/bombusim/lime/activity/ChatActivity.java
@@ -1,629 +1,630 @@
/*
* Copyright (c) 2005-2011, Eugene Stahov ... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.chat);
serviceBinding = new XmppServiceBinding(this);
contactHead = findViewById(R.id.contact_head);
... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.chat);
serviceBinding = new XmppServiceBinding(this);
contactHead = findViewById(R.id.contact_head);
... |
diff --git a/src/com/android/bluetooth/pan/PanService.java b/src/com/android/bluetooth/pan/PanService.java
index 5184517..e851433 100755
--- a/src/com/android/bluetooth/pan/PanService.java
+++ b/src/com/android/bluetooth/pan/PanService.java
@@ -1,559 +1,560 @@
/*
* Copyright (C) 2012 Google Inc.
*/
package com.... | false | true | void handlePanDeviceStateChange(BluetoothDevice device,
String iface, int state, int local_role, int remote_role) {
if(DBG) Log.d(TAG, "handlePanDeviceStateChange: device: " + device + ", iface: " + iface +
", state: " + state + ", local_role:" + local... | void handlePanDeviceStateChange(BluetoothDevice device,
String iface, int state, int local_role, int remote_role) {
if(DBG) Log.d(TAG, "handlePanDeviceStateChange: device: " + device + ", iface: " + iface +
", state: " + state + ", local_role:" + local... |
diff --git a/crawler/src/main/java/tv/notube/crawler/requester/request/TwitterRequest.java b/crawler/src/main/java/tv/notube/crawler/requester/request/TwitterRequest.java
index 9616611..bfa2465 100644
--- a/crawler/src/main/java/tv/notube/crawler/requester/request/TwitterRequest.java
+++ b/crawler/src/main/java/tv/notu... | true | true | public ServiceResponse call() throws RequestException {
String serviceEndpoint = service.getEndpoint().toString();
OAuthAuth oaa = (OAuthAuth) auth;
OAuthService twitterOAuth = new ServiceBuilder()
.provider(TwitterApi.class)
.apiKey(service.getApikey())
... | public ServiceResponse call() throws RequestException {
String serviceEndpoint = service.getEndpoint().toString();
OAuthAuth oaa = (OAuthAuth) auth;
OAuthService twitterOAuth = new ServiceBuilder()
.provider(TwitterApi.class)
.apiKey(service.getApikey())
... |
diff --git a/src/main/java/org/jblas/Singular.java b/src/main/java/org/jblas/Singular.java
index 424eb12..8195b88 100644
--- a/src/main/java/org/jblas/Singular.java
+++ b/src/main/java/org/jblas/Singular.java
@@ -1,193 +1,193 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the ... | true | true | public static ComplexDoubleMatrix[] sparseSVD(ComplexDoubleMatrix A) {
int m = A.rows;
int n = A.columns;
ComplexDoubleMatrix U = new ComplexDoubleMatrix(m, min(m, n));
DoubleMatrix S = new DoubleMatrix(min(m, n));
ComplexDoubleMatrix V = new ComplexDoubleMatrix(min(m, n), n... | public static ComplexDoubleMatrix[] sparseSVD(ComplexDoubleMatrix A) {
int m = A.rows;
int n = A.columns;
ComplexDoubleMatrix U = new ComplexDoubleMatrix(m, min(m, n));
DoubleMatrix S = new DoubleMatrix(min(m, n));
ComplexDoubleMatrix V = new ComplexDoubleMatrix(min(m, n), n... |
diff --git a/src/main/java/eu/europeana/portal2/web/controllers/TimelineController.java b/src/main/java/eu/europeana/portal2/web/controllers/TimelineController.java
index e6f07a47..59ec848b 100644
--- a/src/main/java/eu/europeana/portal2/web/controllers/TimelineController.java
+++ b/src/main/java/eu/europeana/portal2/w... | true | true | public ModelAndView searchJson(
@RequestParam(value = "query", required = false, defaultValue = "") String q,
@RequestParam(value = "startFrom", required = false, defaultValue = "1") int start,
@RequestParam(value = "rows", required = false, defaultValue = "1000") int rows,
HttpServletRequest request,
H... | public ModelAndView searchJson(
@RequestParam(value = "query", required = false, defaultValue = "") String q,
@RequestParam(value = "startFrom", required = false, defaultValue = "1") int start,
@RequestParam(value = "rows", required = false, defaultValue = "1000") int rows,
HttpServletRequest request,
H... |
diff --git a/src/webapp/src/java/org/wyona/yanel/servlet/SessionCounter.java b/src/webapp/src/java/org/wyona/yanel/servlet/SessionCounter.java
index 66169b651..701c21460 100644
--- a/src/webapp/src/java/org/wyona/yanel/servlet/SessionCounter.java
+++ b/src/webapp/src/java/org/wyona/yanel/servlet/SessionCounter.java
@@ ... | true | true | public void sessionCreated(HttpSessionEvent event) {
activeSessions.put(event.getSession().getId(), event.getSession());
log.warn("New session created! Current number of active sessions: " + activeSessions.size());
}
| public void sessionCreated(HttpSessionEvent event) {
activeSessions.put(event.getSession().getId(), event.getSession());
log.info("New session created! Current number of active sessions: " + activeSessions.size());
}
|
diff --git a/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/PreCompilerBuilder.java b/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/PreCompilerBuilder.java
index ae5583d7..eb8fc53b 100644
--- a/tools/eclipse/plugins/com... | true | true | protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
throws CoreException {
try {
mDerivedProgressMonitor.reset();
// First thing we do is go through the resource delta to not
// lose it if we have to abort the build for any reason.
... | protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
throws CoreException {
try {
mDerivedProgressMonitor.reset();
// First thing we do is go through the resource delta to not
// lose it if we have to abort the build for any reason.
... |
diff --git a/sandbox/camp/src/test/java/io/brooklyn/camp/brooklyn/YamlLauncher.java b/sandbox/camp/src/test/java/io/brooklyn/camp/brooklyn/YamlLauncher.java
index 260596f54..afaf247c6 100644
--- a/sandbox/camp/src/test/java/io/brooklyn/camp/brooklyn/YamlLauncher.java
+++ b/sandbox/camp/src/test/java/io/brooklyn/camp/br... | true | true | public void launchAppYaml(String filename) {
try {
Reader input = Streams.reader(new ResourceUtils(this).getResourceFromUrl(filename));
AssemblyTemplate at = platform.pdp().registerDeploymentPlan(input);
Assembly assembly = at.getInstantiator().newInstance().instantiate(... | public void launchAppYaml(String filename) {
try {
Reader input = Streams.reader(new ResourceUtils(this).getResourceFromUrl(filename));
AssemblyTemplate at = platform.pdp().registerDeploymentPlan(input);
Assembly assembly = at.getInstantiator().newInstance().instantiate(... |
diff --git a/src/main/java/net/aufdemrand/denizen/scripts/commands/core/ZapCommand.java b/src/main/java/net/aufdemrand/denizen/scripts/commands/core/ZapCommand.java
index d6ebfd2a6..3701990cd 100644
--- a/src/main/java/net/aufdemrand/denizen/scripts/commands/core/ZapCommand.java
+++ b/src/main/java/net/aufdemrand/deniz... | true | true | public void execute(final ScriptEntry scriptEntry) throws CommandExecutionException {
final dScript script = (dScript) scriptEntry.getObject("script");
Duration duration = (Duration) scriptEntry.getObject("duration");
dB.report(getName(), scriptEntry.getPlayer().debug() + script.debug()
... | public void execute(final ScriptEntry scriptEntry) throws CommandExecutionException {
final dScript script = (dScript) scriptEntry.getObject("script");
Duration duration = (Duration) scriptEntry.getObject("duration");
dB.report(getName(), scriptEntry.getPlayer().debug() + script.debug()
... |
diff --git a/java/src/com/android/inputmethod/voice/RecognitionView.java b/java/src/com/android/inputmethod/voice/RecognitionView.java
index 1e99c3cf..7cec0b04 100644
--- a/java/src/com/android/inputmethod/voice/RecognitionView.java
+++ b/java/src/com/android/inputmethod/voice/RecognitionView.java
@@ -1,324 +1,323 @@
... | false | true | private void showWave(ShortBuffer waveBuffer, int startPosition, int endPosition) {
final int w = ((View) mImage.getParent()).getWidth();
final int h = mImage.getHeight();
if (w <= 0 || h <= 0) {
// view is not visible this time. Skip drawing.
return;
}
... | private void showWave(ShortBuffer waveBuffer, int startPosition, int endPosition) {
final int w = ((View) mImage.getParent()).getWidth();
final int h = mImage.getHeight();
if (w <= 0 || h <= 0) {
// view is not visible this time. Skip drawing.
return;
}
... |
diff --git a/nexus/nexus-proxy/src/main/java/org/sonatype/nexus/proxy/repository/AbstractGroupRepositoryValidator.java b/nexus/nexus-proxy/src/main/java/org/sonatype/nexus/proxy/repository/AbstractGroupRepositoryValidator.java
index 4f578f990..47c789b29 100644
--- a/nexus/nexus-proxy/src/main/java/org/sonatype/nexus/pr... | false | true | public void doValidate( ApplicationConfiguration configuration, CRepository repo,
ExternalConfiguration externalConfiguration )
throws InvalidConfigurationException
{
super.doValidate( configuration, repo, externalConfiguration );
AbstractGroupRepositoryConfi... | public void doValidate( ApplicationConfiguration configuration, CRepository repo,
ExternalConfiguration externalConfiguration )
throws InvalidConfigurationException
{
super.doValidate( configuration, repo, externalConfiguration );
AbstractGroupRepositoryConfi... |
diff --git a/src/com/fsck/k9/fragment/MessageListFragment.java b/src/com/fsck/k9/fragment/MessageListFragment.java
index 30760d9bf..6f4d7daa2 100644
--- a/src/com/fsck/k9/fragment/MessageListFragment.java
+++ b/src/com/fsck/k9/fragment/MessageListFragment.java
@@ -1,3431 +1,3433 @@
package com.fsck.k9.fragment;
imp... | false | true | public void bindView(View view, Context context, Cursor cursor) {
Account account = getAccountFromCursor(cursor);
String fromList = cursor.getString(SENDER_LIST_COLUMN);
String toList = cursor.getString(TO_LIST_COLUMN);
String ccList = cursor.getString(CC_LIST_CO... | public void bindView(View view, Context context, Cursor cursor) {
Account account = getAccountFromCursor(cursor);
String fromList = cursor.getString(SENDER_LIST_COLUMN);
String toList = cursor.getString(TO_LIST_COLUMN);
String ccList = cursor.getString(CC_LIST_CO... |
diff --git a/srcj/com/sun/electric/tool/logicaleffort/LENetlister1.java b/srcj/com/sun/electric/tool/logicaleffort/LENetlister1.java
index 182d25a8f..da9031379 100644
--- a/srcj/com/sun/electric/tool/logicaleffort/LENetlister1.java
+++ b/srcj/com/sun/electric/tool/logicaleffort/LENetlister1.java
@@ -1,681 +1,681 @@
/*... | false | true | public boolean visitNodeInst(Nodable ni, HierarchyEnumerator.CellInfo info) {
float leX = (float)0.0;
boolean wire = false;
boolean primitiveTransistor = false;
// Check if this NodeInst is tagged as a logical effort node
Instance.Type type = null;
Variable var = nul... | public boolean visitNodeInst(Nodable ni, HierarchyEnumerator.CellInfo info) {
float leX = (float)0.0;
boolean wire = false;
boolean primitiveTransistor = false;
// Check if this NodeInst is tagged as a logical effort node
Instance.Type type = null;
Variable var = nul... |
diff --git a/src/test/java/functional/com/thoughtworks/twu/TalksHomePage.java b/src/test/java/functional/com/thoughtworks/twu/TalksHomePage.java
index 645f76a..c700c57 100644
--- a/src/test/java/functional/com/thoughtworks/twu/TalksHomePage.java
+++ b/src/test/java/functional/com/thoughtworks/twu/TalksHomePage.java
@@ ... | true | true | public void shouldBeAbleToCreateNewTalk() throws InterruptedException {
WebElement myTalksButton = webDriver.findElement(By.id("my_talks_button"));
myTalksButton.click();
WaitForAjax(webDriver);
assertTrue(webDriver.findElement(By.id("new_talk")).isDisplayed());
webDriver.fin... | public void shouldBeAbleToCreateNewTalk() throws InterruptedException {
WebElement myTalksButton = webDriver.findElement(By.id("my_talks_button"));
myTalksButton.click();
WaitForAjax(webDriver);
assertTrue(webDriver.findElement(By.id("new_talk")).isDisplayed());
webDriver.fin... |
diff --git a/application/src/nl/sogeti/android/gpstracker/viewer/TrackList.java b/application/src/nl/sogeti/android/gpstracker/viewer/TrackList.java
index a99ff4e9..9220e764 100644
--- a/application/src/nl/sogeti/android/gpstracker/viewer/TrackList.java
+++ b/application/src/nl/sogeti/android/gpstracker/viewer/TrackLis... | true | true | public void run()
{
int eventType;
ContentValues lastPosition = null;
Vector<ContentValues> bulk = new Vector<ContentValues>();
boolean speed = false;
boolean accuracy = false;
boolean bearing = false;
boolean elevatio... | public void run()
{
int eventType;
ContentValues lastPosition = null;
Vector<ContentValues> bulk = new Vector<ContentValues>();
boolean speed = false;
boolean accuracy = false;
boolean bearing = false;
boolean elevatio... |
diff --git a/buildSrc/src/main/java/com/pieceof8/gradle/snapshot/GitScmProvider.java b/buildSrc/src/main/java/com/pieceof8/gradle/snapshot/GitScmProvider.java
index c7b19d2..899945d 100644
--- a/buildSrc/src/main/java/com/pieceof8/gradle/snapshot/GitScmProvider.java
+++ b/buildSrc/src/main/java/com/pieceof8/gradle/snap... | true | true | public Commit getCommit() {
if (repoDir == null) {
throw new IllegalArgumentException("'repoDir' must not be null");
}
FileRepositoryBuilder builder = new FileRepositoryBuilder();
@Cleanup Repository repo = builder.setGitDir(repoDir)
.readEnvironment()
... | public Commit getCommit() {
if (repoDir == null) {
throw new IllegalArgumentException("'repoDir' must not be null");
}
FileRepositoryBuilder builder = new FileRepositoryBuilder();
@Cleanup Repository repo = builder.setGitDir(repoDir)
.readEnvironment()
... |
diff --git a/src/test/java/algorithm/TestAlgorithmNew.java b/src/test/java/algorithm/TestAlgorithmNew.java
index fde9b5d..f6d3180 100644
--- a/src/test/java/algorithm/TestAlgorithmNew.java
+++ b/src/test/java/algorithm/TestAlgorithmNew.java
@@ -1,153 +1,153 @@
package algorithm;
import java.text.DateFormat;
import... | true | true | public void testAlgorithmNew(){
System.setProperty("test", "true");
boolean labs = false;
if(labs){
//Clean the database
DbInitialiser.init();
//Lets create some annotators with id's 1 - numPeople and place them in array
annotators = new AnnotatorModel[numPeople];
for(int i = 0; i < numPeople... | public void testAlgorithmNew(){
System.setProperty("test", "true");
boolean labs = false;
if(labs){
//Clean the database
DbInitialiser.init();
//Lets create some annotators with id's 1 - numPeople and place them in array
annotators = new AnnotatorModel[numPeople];
for(int i = 0; i < numPeople... |
diff --git a/example/calabash-android-plugin/src/java/com/trollsahead/qcumberless/plugins/calabash/CalabashAndroidPlugin.java b/example/calabash-android-plugin/src/java/com/trollsahead/qcumberless/plugins/calabash/CalabashAndroidPlugin.java
index 68926f8..4c07ef3 100644
--- a/example/calabash-android-plugin/src/java/co... | true | true | public List<StepDefinition[]> getStepDefinitions() {
ProgressBar progressBar = new ProgressBar("Importing step definitions");
FlashingMessageManager.addMessage(progressBar);
try {
final URL[] urls = new URL[] {
new URL("https://raw.github.com/calabash/calabash... | public Map<String, List<StepDefinition>> getStepDefinitions() {
ProgressBar progressBar = new ProgressBar("Importing step definitions");
FlashingMessageManager.addMessage(progressBar);
try {
final URL[] urls = new URL[] {
new URL("https://raw.github.com/calaba... |
diff --git a/src/aco/ACO.java b/src/aco/ACO.java
index ae7212f..603b387 100644
--- a/src/aco/ACO.java
+++ b/src/aco/ACO.java
@@ -1,34 +1,34 @@
package aco;
import java.util.ArrayList;
import java.util.Arrays;
public class ACO {
//TODO: Testar essa função.
public static float[][] calculateAggregatedQoS(
... | false | true | public static float[][] calculateAggregatedQoS(
ArrayList<QoSAttribute> qosValues) {
float[][] aggregatedQoSValues;
aggregatedQoSValues = new float[qosValues.get(0).getValues().length][qosValues
.get(0).getValues()[0].length];
for (int i = 0; i < aggregatedQoSValues.length; i++) {
Arrays.fill(aggregat... | public static float[][] calculateAggregatedQoS(
ArrayList<QoSAttribute> qosValues) {
float[][] aggregatedQoSValues;
aggregatedQoSValues = new float[qosValues.get(0).getValues().length][];
for (int i = 0; i < aggregatedQoSValues.length; i++) {
aggregatedQoSValues[i] = new float[qosValues.get(0).getValues()... |
diff --git a/src/edu/sc/seis/sod/database/HSqlNetworkDb.java b/src/edu/sc/seis/sod/database/HSqlNetworkDb.java
index d74879684..00e801a91 100644
--- a/src/edu/sc/seis/sod/database/HSqlNetworkDb.java
+++ b/src/edu/sc/seis/sod/database/HSqlNetworkDb.java
@@ -1,42 +1,42 @@
package edu.sc.seis.sod.database;
import java... | false | true | public void create() {
try {
Statement stmt = connection.createStatement();
stmt.executeUpdate(" CREATE TABLE networkdatabase "+
" networkid int IDENTITY PRIMARY KEY, "+
" serverName VARCHAR, "+
" serverDNS VARCHAR, "+
" network_code VARCHAR, "+
" statio... | public void create() {
try {
Statement stmt = connection.createStatement();
stmt.executeUpdate(" CREATE TABLE networkdatabase "+
" (networkid int IDENTITY PRIMARY KEY, "+
" serverName VARCHAR, "+
" serverDNS VARCHAR, "+
" network_code VARCHAR, "+
" stati... |
diff --git a/src/ibis/impl/nameServer/tcp/NameServer.java b/src/ibis/impl/nameServer/tcp/NameServer.java
index ee6a6d4d..9ff0cc7b 100644
--- a/src/ibis/impl/nameServer/tcp/NameServer.java
+++ b/src/ibis/impl/nameServer/tcp/NameServer.java
@@ -1,737 +1,735 @@
package ibis.impl.nameServer.tcp;
import ibis.connect.con... | false | true | public static void main(String [] args) {
boolean single = false;
boolean control_hub = false;
boolean pool_server = true;
NameServer ns = null;
int port = TCP_IBIS_NAME_SERVER_PORT_NR;
String poolport = null;
String hubport = null;
ControlHub h = null;
for (int i = 0; i < args.length; i++) {
if... | public static void main(String [] args) {
boolean single = false;
boolean control_hub = false;
boolean pool_server = true;
NameServer ns = null;
int port = TCP_IBIS_NAME_SERVER_PORT_NR;
String poolport = null;
String hubport = null;
ControlHub h = null;
for (int i = 0; i < args.length; i++) {
if... |
diff --git a/src/main/java/novemberkilo/irc/bot/gaming/GameBot.java b/src/main/java/novemberkilo/irc/bot/gaming/GameBot.java
index 244a7ba..a6cfad3 100644
--- a/src/main/java/novemberkilo/irc/bot/gaming/GameBot.java
+++ b/src/main/java/novemberkilo/irc/bot/gaming/GameBot.java
@@ -1,49 +1,48 @@
package novemberkilo.irc... | false | true | public static void main(String[] args) throws Exception {
Configuration configuration;
if (args.length != 5) {
System.err.println("Required args: bot_name, bot_password, host_mask, host, channel");
return;
}
if ("-".equals(args[2])) {
configuration = ... | public static void main(String[] args) throws Exception {
Configuration configuration;
if (args.length == 4) {
configuration = new Configuration.Builder()
.setName(args[0])
.setNickservPassword(args[1])
.setAutoNickChange(true)... |
diff --git a/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlArea.java b/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlArea.java
index e3ff9df73..e60abc34f 100644
--- a/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlArea.java
+++ b/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlA... | false | true | boolean containsPoint(final int x, final int y) {
final String shape = StringUtils.defaultIfEmpty(getShapeAttribute(), "rect").toLowerCase();
if ("default".equals(shape) && getCoordsAttribute() != null) {
return true;
}
else if ("rect".equals(shape) && getCoordsAttribute... | boolean containsPoint(final int x, final int y) {
final String shape = StringUtils.defaultIfEmpty(getShapeAttribute(), "rect").toLowerCase();
if ("default".equals(shape) && getCoordsAttribute() != null) {
return true;
}
else if ("rect".equals(shape) && getCoordsAttribute... |
diff --git a/src/org/dyndns/pawitp/muwifiautologin/MuWifiLogin.java b/src/org/dyndns/pawitp/muwifiautologin/MuWifiLogin.java
index 052716a..ef1632b 100644
--- a/src/org/dyndns/pawitp/muwifiautologin/MuWifiLogin.java
+++ b/src/org/dyndns/pawitp/muwifiautologin/MuWifiLogin.java
@@ -1,136 +1,136 @@
package org.dyndns.paw... | false | true | protected void onHandleIntent(Intent intent) {
mNotifMan.cancel(LOGIN_ERROR_ID); // clear any old notification
MuWifiClient loginClient = new MuWifiClient(mPrefs.getString(Preferences.KEY_USERNAME, null), mPrefs.getString(Preferences.KEY_PASSWORD, null));
try {
updateOngoingNotification(getString(R.stri... | protected void onHandleIntent(Intent intent) {
mNotifMan.cancel(LOGIN_ERROR_ID); // clear any old notification
MuWifiClient loginClient = new MuWifiClient(mPrefs.getString(Preferences.KEY_USERNAME, null), mPrefs.getString(Preferences.KEY_PASSWORD, null));
try {
updateOngoingNotification(getString(R.stri... |
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java
index 00b17549..6560c5d3 100644
--- a/src/com/android/launcher2/LauncherModel.java
+++ b/src/com/android/launcher2/LauncherModel.java
@@ -1,1397 +1,1397 @@
/*
* Copyright (C) 2008 The Android Open Source Project
... | 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/src/main/java/org/elasticsearch/sorting/nativescript/script/ActivitySortScript.java b/src/main/java/org/elasticsearch/sorting/nativescript/script/ActivitySortScript.java
index 0d78872..4ed31bb 100644
--- a/src/main/java/org/elasticsearch/sorting/nativescript/script/ActivitySortScript.java
+++ b/src/main/ja... | true | true | public double runAsDouble() {
double total = (Long.parseLong(getFieldValue("like")) * 5)
+ (Long.parseLong(getFieldValue("participate")) * 100)
+ Long.parseLong(getFieldValue("status"));
Date start_time = BaseModule
.parse_date(getFieldValue("start_time"));
Date end_time = BaseModule.parse_da... | public double runAsDouble() {
double total = (Long.parseLong(getFieldValue("like")) * 5)
+ (Long.parseLong(getFieldValue("participate")) * 100)
+ Long.parseLong(getFieldValue("status"));
Date start_time = BaseModule
.parse_date(getFieldValue("start_time"));
Date end_time = BaseModule.parse_da... |
diff --git a/COMP20050-2008/project/Thrust/src/thrust/audio/SoundEffect.java b/COMP20050-2008/project/Thrust/src/thrust/audio/SoundEffect.java
index e6ac150c..c6a5b467 100644
--- a/COMP20050-2008/project/Thrust/src/thrust/audio/SoundEffect.java
+++ b/COMP20050-2008/project/Thrust/src/thrust/audio/SoundEffect.java
@@ -1... | true | true | public /*@ pure @*/ SoundEffect make(File the_sound_effect_file) {
assert false; //@ assert false;
return null;
}
| public static /*@ pure @*/ SoundEffect make(File the_sound_effect_file) {
assert false; //@ assert false;
return null;
}
|
diff --git a/src/main/java/br/ufrj/jfirn/intelligent/evaluation/QuickCollisionEvaluator.java b/src/main/java/br/ufrj/jfirn/intelligent/evaluation/QuickCollisionEvaluator.java
index bae477a..b885546 100644
--- a/src/main/java/br/ufrj/jfirn/intelligent/evaluation/QuickCollisionEvaluator.java
+++ b/src/main/java/br/ufrj/j... | false | true | private Collision evaluateCollision(Point myPosition, double myDirection, double mySpeed, Point otherPosition, double otherDirection, double otherSpeed, int id) {
//TODO I fear this will perform poorly for something supposed to be fast...
//here we forecast if a collision may happen
final Point collisionPositio... | private Collision evaluateCollision(Point myPosition, double myDirection, double mySpeed, Point otherPosition, double otherDirection, double otherSpeed, int id) {
//TODO I fear this will perform poorly for something supposed to be fast...
//here we forecast if a collision may happen
final Point collisionPositio... |
diff --git a/com.buglabs.common/com/buglabs/util/simplerestclient/HTTPRequest.java b/com.buglabs.common/com/buglabs/util/simplerestclient/HTTPRequest.java
index 5b9dce1..ecc7823 100644
--- a/com.buglabs.common/com/buglabs/util/simplerestclient/HTTPRequest.java
+++ b/com.buglabs.common/com/buglabs/util/simplerestclient/... | true | true | public HTTPResponse postMultipart(String url, Map<String, String> parameters) throws IOException {
HttpURLConnection conn = getAndConfigureConnection(url);
conn.setRequestMethod("POST");
String boundary = createMultipartBoundary();
conn.setRequestProperty(HEADER_TYPE, CONTENT_TYPE +"; "+ BOUNDARY + boundary... | public HTTPResponse postMultipart(String url, Map<String, Object> parameters) throws IOException {
HttpURLConnection conn = getAndConfigureConnection(url);
conn.setRequestMethod("POST");
String boundary = createMultipartBoundary();
conn.setRequestProperty(HEADER_TYPE, CONTENT_TYPE +"; "+ BOUNDARY + boundary... |
diff --git a/src/me/FluffyWolfers/Jet/JetListener.java b/src/me/FluffyWolfers/Jet/JetListener.java
index 910fdba..6fb229e 100644
--- a/src/me/FluffyWolfers/Jet/JetListener.java
+++ b/src/me/FluffyWolfers/Jet/JetListener.java
@@ -1,138 +1,140 @@
package me.FluffyWolfers.Jet;
import java.util.ArrayList;
import org... | true | true | public void addFuel(PlayerInteractEvent e){
Player p = e.getPlayer();
//if(!p.getGameMode().equals(GameMode.CREATIVE)){
if(p.hasPermission("jet.fly")){
if(e.getAction().equals(Action.RIGHT_CLICK_AIR)||e.getAction().equals(Action.RIGHT_CLICK_BLOCK)){
if(p.getInventory().getChestplate() !... | public void addFuel(PlayerInteractEvent e){
Player p = e.getPlayer();
//if(!p.getGameMode().equals(GameMode.CREATIVE)){
if(p.hasPermission("jet.fly")){
if(e.getAction().equals(Action.RIGHT_CLICK_AIR)||e.getAction().equals(Action.RIGHT_CLICK_BLOCK)){
if(p.getInventory().getChestplate() !... |
diff --git a/TextAndImage/src/main/java/it/gmariotti/android/examples/spantext/MainActivity.java b/TextAndImage/src/main/java/it/gmariotti/android/examples/spantext/MainActivity.java
index d4c75e0..a5805c1 100644
--- a/TextAndImage/src/main/java/it/gmariotti/android/examples/spantext/MainActivity.java
+++ b/TextAndImag... | true | true | private void makeSpan() {
/**
* Get the text
*/
String plainText=getResources().getString(R.string.text_sample);
Spanned htmlText = Html.fromHtml(plainText);
SpannableString mSpannableString= new SpannableString(htmlText);
int allTextStart = 0;
int... | private void makeSpan() {
/**
* Get the text
*/
String plainText=getResources().getString(R.string.text_sample);
Spanned htmlText = Html.fromHtml(plainText);
SpannableString mSpannableString= new SpannableString(htmlText);
int allTextStart = 0;
int... |
diff --git a/src/plugins/Library/util/SkeletonBTreeMap.java b/src/plugins/Library/util/SkeletonBTreeMap.java
index 153c3f8..e2199db 100644
--- a/src/plugins/Library/util/SkeletonBTreeMap.java
+++ b/src/plugins/Library/util/SkeletonBTreeMap.java
@@ -1,1571 +1,1571 @@
/* This code is part of Freenet. It is distributed u... | false | true | protected <X extends Exception> void update(
SortedSet<K> putkey, SortedSet<K> remkey,
final SortedMap<K, V> putmap, Closure<Map.Entry<K, V>, X> value_handler,
ExceptionConvertor<X> conv
) throws TaskAbortException {
while(true) {
SortedSet<K> rejected;
if (value_handler == null) {
// synchro... | protected <X extends Exception> void update(
SortedSet<K> putkey, SortedSet<K> remkey,
final SortedMap<K, V> putmap, Closure<Map.Entry<K, V>, X> value_handler,
ExceptionConvertor<X> conv
) throws TaskAbortException {
while(true) {
final SortedSet<K> rejected;
if (value_handler == null) {
// s... |
diff --git a/src/org/jarvisland/level/level0/TutorialRoom.java b/src/org/jarvisland/level/level0/TutorialRoom.java
index 55b392d..93a3a46 100644
--- a/src/org/jarvisland/level/level0/TutorialRoom.java
+++ b/src/org/jarvisland/level/level0/TutorialRoom.java
@@ -1,72 +1,72 @@
package org.jarvisland.level.level0;
impo... | false | true | public String execute(String s) {
if (s.matches("OUVRIR.* COFFRE")) {
if (coffreOuvert)
return "Le coffre est déjà ouvert.";
coffreOuvert = true;
return "Le coffre s'ouvre et un épais nuage de poussière en sort. Il y a une clé dans le fond.";
} else if (s.matches("PRENDRE.* CLÉ")) {
if (coffreO... | public String execute(String s) {
if (s.matches("OUVRIR.* COFFRE")) {
if (coffreOuvert)
return "Le coffre est déjà ouvert.";
coffreOuvert = true;
return "Le coffre s'ouvre et un épais nuage de poussière en sort. Il y a une clé dans le fond.";
} else if (s.matches("PRENDRE.* CLE")) {
if (coffreO... |
diff --git a/src/main/java/us/yuxin/hump/io/SymlinkRCFileInputFormat.java b/src/main/java/us/yuxin/hump/io/SymlinkRCFileInputFormat.java
index e78356a..77342f1 100644
--- a/src/main/java/us/yuxin/hump/io/SymlinkRCFileInputFormat.java
+++ b/src/main/java/us/yuxin/hump/io/SymlinkRCFileInputFormat.java
@@ -1,232 +1,232 @@... | true | true | public void rework(HiveConf job, MapredWork work) throws IOException {
Map<String, PartitionDesc> pathToParts = work.getPathToPartitionInfo();
List<String> toRemovePaths = new ArrayList<String>();
Map<String, PartitionDesc> toAddPathToPart = new HashMap<String, PartitionDesc>();
Map<String, ArrayList<... | public void rework(HiveConf job, MapredWork work) throws IOException {
Map<String, PartitionDesc> pathToParts = work.getPathToPartitionInfo();
List<String> toRemovePaths = new ArrayList<String>();
Map<String, PartitionDesc> toAddPathToPart = new HashMap<String, PartitionDesc>();
Map<String, ArrayList<... |
diff --git a/Stimpack/Stimpack-war/src/java/servlets/EditStudentServlet.java b/Stimpack/Stimpack-war/src/java/servlets/EditStudentServlet.java
index 9887fd2..1afd6a5 100644
--- a/Stimpack/Stimpack-war/src/java/servlets/EditStudentServlet.java
+++ b/Stimpack/Stimpack-war/src/java/servlets/EditStudentServlet.java
@@ -1,1... | false | true | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String method, surname, firstname, username, password, phone, email;
Integer studentId = 0;
Short age;
try {
try {
studentId = Integer.parseInt(request.getParameter("stud... | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String surname, firstname, username, password, phone, email;
Integer studentId = 0;
Short age;
try {
try {
studentId = Integer.parseInt(request.getParameter("student_id")... |
diff --git a/api/src/main/java/org/qi4j/service/Configuration.java b/api/src/main/java/org/qi4j/service/Configuration.java
index 5e53db0b9..c7d571945 100644
--- a/api/src/main/java/org/qi4j/service/Configuration.java
+++ b/api/src/main/java/org/qi4j/service/Configuration.java
@@ -1,135 +1,133 @@
/*
* Copyright (c) 2... | true | true | public ConfigurationMixin( @Structure Qi4j api,
@This Composite me,
@Structure UnitOfWorkFactory uowf,
@Uses ServiceDescriptor descriptor )
throws Exception
{
Class configurat... | public ConfigurationMixin( @Structure Qi4j api,
@This Composite me,
@Structure UnitOfWorkFactory uowf,
@Uses ServiceDescriptor descriptor )
throws Exception
{
Class configurat... |
diff --git a/src/dctc/java/com/dataiku/dip/shaker/services/smartdate/DateFormatGuesser.java b/src/dctc/java/com/dataiku/dip/shaker/services/smartdate/DateFormatGuesser.java
index 851e6cd..0f921ae 100644
--- a/src/dctc/java/com/dataiku/dip/shaker/services/smartdate/DateFormatGuesser.java
+++ b/src/dctc/java/com/dataiku/... | true | true | void observeRec(List<FormatChunk> oCandidates, List<String> chunks, int curIdx, boolean monthDone, boolean dayDone, boolean hoursDone, boolean minutesDone, boolean secondDone) {
String c = chunks.get(curIdx);
if (c.length() <= 1) {
if (StringUtils.isNumeric(c)) {
// Coul... | void observeRec(List<FormatChunk> oCandidates, List<String> chunks, int curIdx, boolean monthDone, boolean dayDone, boolean hoursDone, boolean minutesDone, boolean secondDone) {
String c = chunks.get(curIdx);
if (c.length() <= 1) {
if (c.length() > 0 && StringUtils.isNumeric(c)) {
... |
diff --git a/org.caleydo.view.tourguide/src/org/caleydo/view/tourguide/vendingmachine/ScoreQueryUI.java b/org.caleydo.view.tourguide/src/org/caleydo/view/tourguide/vendingmachine/ScoreQueryUI.java
index 2229e928c..fe5f181f3 100644
--- a/org.caleydo.view.tourguide/src/org/caleydo/view/tourguide/vendingmachine/ScoreQuery... | true | true | private ElementLayout createScoreValue(AGLView view, ScoringElement elem, SortableColumnHeader header, int id) {
Row row = new Row();
row.setGrabY(true);
IScore underlyingScore = header.getScoreID();
if (underlyingScore instanceof ProductScore)
underlyingScore = elem.getSelected((ProductScore) underlyingSco... | private ElementLayout createScoreValue(AGLView view, ScoringElement elem, SortableColumnHeader header, int id) {
Row row = new Row();
row.setGrabY(true);
row.setXDynamic(true);
IScore underlyingScore = header.getScoreID();
if (underlyingScore instanceof ProductScore)
underlyingScore = elem.getSelected((Pr... |
diff --git a/src/test/java/org/arbeitspferde/groningen/validator/ValidatorTest.java b/src/test/java/org/arbeitspferde/groningen/validator/ValidatorTest.java
index 41b6d64..9f4c3ac 100644
--- a/src/test/java/org/arbeitspferde/groningen/validator/ValidatorTest.java
+++ b/src/test/java/org/arbeitspferde/groningen/validato... | false | true | public void testProfiledRun() throws Exception {
final Experiment mockExperiment = EasyMock.createMock(Experiment.class);
final SubjectStateBridge mockSubjectA = EasyMock.createMock(SubjectStateBridge.class);
final SubjectStateBridge mockSubjectB = EasyMock.createMock(SubjectStateBridge.class);
final ... | public void testProfiledRun() throws Exception {
final Experiment mockExperiment = EasyMock.createMock(Experiment.class);
final SubjectStateBridge mockSubjectA = EasyMock.createMock(SubjectStateBridge.class);
final SubjectStateBridge mockSubjectB = EasyMock.createMock(SubjectStateBridge.class);
final ... |
diff --git a/trunk/xmlvm/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java b/trunk/xmlvm/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java
index 840ef2dc..50eee34f 100755
--- a/trunk/xmlvm/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactory.java
+++ b/trunk/xmlvm/src/xmlvm/org/xmlvm/proc/out/OutputProcessFactor... | true | true | public XmlvmProcess<?> createTargetProcess(Targets target, String out) {
switch (target) {
case JS:
return new JavaScriptOutputProcess(arguments);
case PYTHON:
return new PythonOutputProcess(arguments);
case CPP:
return new CppOutputProcess(argumen... | public XmlvmProcess<?> createTargetProcess(Targets target, String out) {
switch (target) {
case JS:
return new JavaScriptOutputProcess(arguments);
case PYTHON:
return new PythonOutputProcess(arguments);
case CPP:
return new CppOutputProcess(argumen... |
diff --git a/src/java/org/jivesoftware/sparkimpl/plugin/gateways/transports/TransportUtils.java b/src/java/org/jivesoftware/sparkimpl/plugin/gateways/transports/TransportUtils.java
index 00bbbfe6..5ef3f21b 100644
--- a/src/java/org/jivesoftware/sparkimpl/plugin/gateways/transports/TransportUtils.java
+++ b/src/java/org... | true | true | public static void registerUser(XMPPConnection con, String gatewayDomain, String username, String password, String nickname) throws XMPPException {
Registration registration = new Registration();
registration.setType(IQ.Type.SET);
registration.setTo(gatewayDomain);
registration.addEx... | public static void registerUser(XMPPConnection con, String gatewayDomain, String username, String password, String nickname) throws XMPPException {
Registration registration = new Registration();
registration.setType(IQ.Type.SET);
registration.setTo(gatewayDomain);
registration.addEx... |
diff --git a/src/com/iBank/Commands/CommandHelp.java b/src/com/iBank/Commands/CommandHelp.java
index f8f8222..2357773 100644
--- a/src/com/iBank/Commands/CommandHelp.java
+++ b/src/com/iBank/Commands/CommandHelp.java
@@ -1,74 +1,74 @@
package com.iBank.Commands;
import org.bukkit.command.CommandSender;
import org.... | false | true | public void handle(CommandSender sender, String[] arguments) {
//Display possible help for this command
if(!(sender instanceof Player)) {
MessageManager.send(sender, "iBank "+iBank.description.getVersion()+" ("+iBank.CodeName+")");
String args = "";
for(String name : CommandHandler.getCommands("bank"))
... | public void handle(CommandSender sender, String[] arguments) {
//Display possible help for this command
if(!(sender instanceof Player)) {
MessageManager.send(sender, "iBank "+iBank.description.getVersion());
String args = "";
for(String name : CommandHandler.getCommands("bank"))
{
args = CommandHa... |
diff --git a/src/java/org/jamwiki/persistency/db/DatabaseUpgrades.java b/src/java/org/jamwiki/persistency/db/DatabaseUpgrades.java
index d1c30b5f..b1912238 100644
--- a/src/java/org/jamwiki/persistency/db/DatabaseUpgrades.java
+++ b/src/java/org/jamwiki/persistency/db/DatabaseUpgrades.java
@@ -1,147 +1,147 @@
/**
* ... | true | true | public static Vector upgrade031(Vector messages) throws Exception {
Connection conn = null;
try {
// FIXME - hard coding
conn = DatabaseConnection.getConnection();
conn.setAutoCommit(false);
// add redirection column
String sql = "alter table jam_topic add column redirect_to VARCHAR(200) ";
Datab... | public static Vector upgrade031(Vector messages) throws Exception {
Connection conn = null;
try {
// FIXME - hard coding
conn = DatabaseConnection.getConnection();
conn.setAutoCommit(false);
// add redirection column
String sql = "alter table jam_topic add column redirect_to VARCHAR(200) ";
Datab... |
diff --git a/src/org/openplans/rcavl/GpsService.java b/src/org/openplans/rcavl/GpsService.java
index d94f619..91a6d40 100644
--- a/src/org/openplans/rcavl/GpsService.java
+++ b/src/org/openplans/rcavl/GpsService.java
@@ -1,211 +1,211 @@
/* This program is free software: you can redistribute it and/or
modify it under... | false | true | private void ping(Location location) {
HttpClient client = new DefaultHttpClient();
HttpPost request = new HttpPost(url);
try {
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(
4);
nameValuePairs.add(new BasicNameValuePair("email", email));
nameValuePairs
.add(new B... | private void ping(Location location) {
HttpClient client = new DefaultHttpClient();
HttpPost request = new HttpPost(url);
try {
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(
4);
nameValuePairs.add(new BasicNameValuePair("email", email));
nameValuePairs
.add(new B... |
diff --git a/src/HelloWorld.java b/src/HelloWorld.java
index 4ec52e9..dcb5d95 100644
--- a/src/HelloWorld.java
+++ b/src/HelloWorld.java
@@ -1,40 +1,35 @@
/**
* ハローワールドクラス
*
* @author 3567
*
*/
public class HelloWorld {
/**
* システムアウトします
*
* @param args
*/
public static void main(String[]... | true | true | public static void main(String[] args) {
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
Syst... | public static void main(String[] args) {
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
System.out.println("test");
Syst... |
diff --git a/iq4j-faces/src/main/java/com/iq4j/faces/taghandler/EntityConverterHandler.java b/iq4j-faces/src/main/java/com/iq4j/faces/taghandler/EntityConverterHandler.java
index a70e90c..46920b1 100644
--- a/iq4j-faces/src/main/java/com/iq4j/faces/taghandler/EntityConverterHandler.java
+++ b/iq4j-faces/src/main/java/c... | true | true | public void apply(FaceletContext ctx, UIComponent parent) throws IOException {
if(entity == null) { // if entry attribute not setted. entityConverter would not be registered.
return;
}
parent.getAttributes().put("entity", entity.getValue(ctx));
parent.getAttributes().put("noSelectionValue", noSelectio... | public void apply(FaceletContext ctx, UIComponent parent) throws IOException {
if(entity == null || entity.getValue() == null) { // if entry attribute not setted. entityConverter would not be registered.
return;
}
parent.getAttributes().put("entity", entity.getValue(ctx));
parent.getAttributes().put("... |
diff --git a/src/net/mdcreator/tpplus/PlayerListener.java b/src/net/mdcreator/tpplus/PlayerListener.java
index fe1044c..978a782 100644
--- a/src/net/mdcreator/tpplus/PlayerListener.java
+++ b/src/net/mdcreator/tpplus/PlayerListener.java
@@ -1,50 +1,51 @@
package net.mdcreator.tpplus;
import org.bukkit.ChatColor;
i... | true | true | public void onPlayerJoin(PlayerJoinEvent event){
Player player = event.getPlayer();
if(!player.hasPlayedBefore()){
FileConfiguration config = plugin.configYML;
Location loc = new Location(
plugin.getServer().getWorld(config.getString("spawn.world")),
... | public void onPlayerJoin(PlayerJoinEvent event){
Player player = event.getPlayer();
if(!player.hasPlayedBefore()){
FileConfiguration config = plugin.configYML;
Location loc = new Location(
plugin.getServer().getWorld(config.getString("spawn.world")),
... |
diff --git a/src/tetrix/core/tetrominos/L.java b/src/tetrix/core/tetrominos/L.java
index c266593..1f937aa 100644
--- a/src/tetrix/core/tetrominos/L.java
+++ b/src/tetrix/core/tetrominos/L.java
@@ -1,124 +1,124 @@
package tetrix.core.tetrominos;
/**
*
* @author Magnus Huttu
*
*/
import org.newdawn.slick.... | false | true | public void build() {
Square[] s = super.getSquares();
int rand = (int) (Math.random() * 40);
if (rand < 10) {
for (int i = 0; i < 4; i++) {
s[i] = new Square(new Position(
super.getLeftIn(Util.SQUARE_SIZE * 3)
+ (Util.SQUARE_SIZE * super.getStartX()) - i
* Util.SQUARE_SIZE, Util.B4_BOX... | public void build() {
Square[] s = super.getSquares();
int rand = (int) (Math.random() * 40);
if (rand < 10) {
for (int i = 0; i < 4; i++) {
s[i] = new Square(new Position(
super.getLeftIn(Util.SQUARE_SIZE * 3)
+ (Util.SQUARE_SIZE * super.getStartX()) - i
* Util.SQUARE_SIZE, Util.B4_BOX... |
diff --git a/src/com/shade/lighting/LightMask.java b/src/com/shade/lighting/LightMask.java
index db17042..6f6cc7e 100644
--- a/src/com/shade/lighting/LightMask.java
+++ b/src/com/shade/lighting/LightMask.java
@@ -1,168 +1,165 @@
package com.shade.lighting;
import java.util.Arrays;
import java.util.LinkedList;
i... | false | true | private void renderEntities(StateBasedGame game, Graphics g,
LuminousEntity... entities) {
Arrays.sort(entities);
int i = 0;
// GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_STENCIL_TEST);
GL11.glStencilFunc(GL11.GL_ALWAYS, 1, 1);
... | private void renderEntities(StateBasedGame game, Graphics g,
LuminousEntity... entities) {
Arrays.sort(entities);
int i = 0;
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_STENCIL_TEST);
GL11.glAlphaFunc(GL11.GL_GREATER, 0);
G... |
diff --git a/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java b/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java
index 9eda3c1d..e418194a 100644
--- a/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java
+++ b/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java
@@ -1,2580 +1,2580 @@
/* The MIT... | true | true | protected void renderTokens(Graphics2D g, List<Token> tokenList, ZoneView view) {
Rectangle viewport = new Rectangle(0, 0, getSize().width, getSize().height);
Rectangle clipBounds = g.getClipBounds();
float scale = zoneScale.getScale();
for (Token token : tokenList) {
... | protected void renderTokens(Graphics2D g, List<Token> tokenList, ZoneView view) {
Rectangle viewport = new Rectangle(0, 0, getSize().width, getSize().height);
Rectangle clipBounds = g.getClipBounds();
float scale = zoneScale.getScale();
for (Token token : tokenList) {
... |
diff --git a/src/edu/drexel/psal/anonymouth/gooie/DriverEditor.java b/src/edu/drexel/psal/anonymouth/gooie/DriverEditor.java
index db86120..12a5cc1 100644
--- a/src/edu/drexel/psal/anonymouth/gooie/DriverEditor.java
+++ b/src/edu/drexel/psal/anonymouth/gooie/DriverEditor.java
@@ -1,1369 +1,1362 @@
package edu.drexel.p... | false | true | protected static void initListeners(final GUIMain main) {
/***********************************************************************************************************************************************
*############################################################################################################*... | protected static void initListeners(final GUIMain main) {
/***********************************************************************************************************************************************
*############################################################################################################*... |
diff --git a/VSPLogin/src/vsp/servlet/handler/SubmitPasswordUpdateHandler.java b/VSPLogin/src/vsp/servlet/handler/SubmitPasswordUpdateHandler.java
index ee58f30..6c32ce6 100644
--- a/VSPLogin/src/vsp/servlet/handler/SubmitPasswordUpdateHandler.java
+++ b/VSPLogin/src/vsp/servlet/handler/SubmitPasswordUpdateHandler.java... | true | true | public void process(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
try{
errors.clear();
UpdatePasswordForm passwordForm = new UpdatePasswordForm();
String uri = request.getRequestURI();
int lastIndex = uri.lastIndexOf("/");
S... | public void process(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
try{
errors.clear();
UpdatePasswordForm passwordForm = new UpdatePasswordForm();
String uri = request.getRequestURI();
int lastIndex = uri.lastIndexOf("/");
S... |
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
index 69f13ce99..0d1bb1baf 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
+... | true | true | public UnresolvedType fromBinding(TypeBinding binding) {
if (binding instanceof HelperInterfaceBinding) {
return ((HelperInterfaceBinding) binding).getTypeX();
}
if (binding == null || binding.qualifiedSourceName() == null) {
return ResolvedType.MISSING;
}
// first piece of generics support!
if (bind... | public UnresolvedType fromBinding(TypeBinding binding) {
if (binding instanceof HelperInterfaceBinding) {
return ((HelperInterfaceBinding) binding).getTypeX();
}
if (binding == null || binding.qualifiedSourceName() == null) {
return ResolvedType.MISSING;
}
// first piece of generics support!
if (bind... |
diff --git a/src/main/java/nl/topicus/onderwijs/dashboard/datatypes/Event.java b/src/main/java/nl/topicus/onderwijs/dashboard/datatypes/Event.java
index ae7bdf3..6f04755 100644
--- a/src/main/java/nl/topicus/onderwijs/dashboard/datatypes/Event.java
+++ b/src/main/java/nl/topicus/onderwijs/dashboard/datatypes/Event.java... | false | true | public int getDaysUntil() {
Calendar nowDate = Calendar.getInstance();
nowDate.set(Calendar.MILLISECOND, 0);
nowDate.set(Calendar.SECOND, 0);
nowDate.set(Calendar.MINUTE, 0);
nowDate.set(Calendar.HOUR, 0);
Calendar eventDate = Calendar.getInstance();
eventDate.setTime(getDateTime());
eventDate.set(Cal... | public int getDaysUntil() {
Calendar nowDate = Calendar.getInstance();
nowDate.set(Calendar.MILLISECOND, 0);
nowDate.set(Calendar.SECOND, 0);
nowDate.set(Calendar.MINUTE, 0);
nowDate.set(Calendar.HOUR_OF_DAY, 0);
Calendar eventDate = Calendar.getInstance();
eventDate.setTime(getDateTime());
eventDate.... |
diff --git a/fabric/fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/ZNodeCompleter.java b/fabric/fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/ZNodeCompleter.java
index 0fed76d7d..4f4db31df 100644
--- a/fabric/fabric-zookeeper-commands/src/main/java/or... | true | true | public int complete(String buffer, int cursor, List candidates) {
// Guarantee that the final token is the one we're expanding
if (buffer == null) {
candidates.add("/");
return 1;
}
buffer = buffer.substring(0, cursor);
String path = buffer;
in... | public int complete(String buffer, int cursor, List candidates) {
// Guarantee that the final token is the one we're expanding
if (buffer == null) {
candidates.add("/");
return 1;
} else if (!buffer.startsWith("/")) {
return 0;
}
buffer = b... |
diff --git a/source/com/mucommander/ui/dialog/file/PackDialog.java b/source/com/mucommander/ui/dialog/file/PackDialog.java
index 2e52b693..723eb854 100644
--- a/source/com/mucommander/ui/dialog/file/PackDialog.java
+++ b/source/com/mucommander/ui/dialog/file/PackDialog.java
@@ -1,263 +1,263 @@
/*
* This file is part... | true | true | public PackDialog(MainFrame mainFrame, FileSet files, boolean isShiftDown) {
super(mainFrame, Translator.get(com.mucommander.ui.action.PackAction.class.getName()+".label"), mainFrame);
this.mainFrame = mainFrame;
this.files = files;
// Retrieve available formats for single file o... | public PackDialog(MainFrame mainFrame, FileSet files, boolean isShiftDown) {
super(mainFrame, Translator.get(com.mucommander.ui.action.PackAction.class.getName()+".label"), mainFrame);
this.mainFrame = mainFrame;
this.files = files;
// Retrieve available formats for single file o... |
diff --git a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/ui/actions/AbstractApplyMylarAction.java b/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/ui/actions/AbstractApplyMylarAction.java
index 6962291fd..acaa926a8 100644
--- a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/ui/... | false | true | protected boolean installInterestFilter(StructuredViewer viewer) {
if (viewer == null) {
MylarStatusHandler.log("The viewer to install InterestFilter is null", this);
return false;
}
try {
viewer.getControl().setRedraw(false);
viewer.addFilter(interestFilter);
previousFilters.addAll(Arrays.asLi... | protected boolean installInterestFilter(StructuredViewer viewer) {
if (viewer == null) {
MylarStatusHandler.log("The viewer to install InterestFilter is null", this);
return false;
}
try {
viewer.getControl().setRedraw(false);
previousFilters.addAll(Arrays.asList(viewer.getFilters()));
List<Cla... |
diff --git a/plugins/javalib/org/munin/plugin/jmx/GetUsage.java b/plugins/javalib/org/munin/plugin/jmx/GetUsage.java
index 085a1f0b..8e58c371 100644
--- a/plugins/javalib/org/munin/plugin/jmx/GetUsage.java
+++ b/plugins/javalib/org/munin/plugin/jmx/GetUsage.java
@@ -1,69 +1,69 @@
package org.munin.plugin.jmx;
import ... | true | true | public String[] GC() throws IOException, MalformedObjectNameException {
ObjectName gcName = null;
gcName = new ObjectName(ManagementFactory.MEMORY_POOL_MXBEAN_DOMAIN_TYPE+",*");//GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE + ",*");
Set mbeans = connection.queryNames(gcName, null);
if (m... | public String[] GC() throws IOException, MalformedObjectNameException {
ObjectName gcName = null;
gcName = new ObjectName(ManagementFactory.MEMORY_POOL_MXBEAN_DOMAIN_TYPE+",*");//GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE + ",*");
Set mbeans = connection.queryNames(gcName, null);
if (m... |
diff --git a/framework/restlet/src/main/java/org/tuml/restlet/visitor/clazz/AddIdLiteralsToRuntimeEnum.java b/framework/restlet/src/main/java/org/tuml/restlet/visitor/clazz/AddIdLiteralsToRuntimeEnum.java
index 0b850d59..0c8d5b97 100644
--- a/framework/restlet/src/main/java/org/tuml/restlet/visitor/clazz/AddIdLiteralsT... | true | true | private void addField(OJAnnotatedClass annotatedClass, OJEnum ojEnum, String fieldName) {
OJAnnotatedOperation fromLabel = ojEnum.findOperation("fromLabel", new OJPathName("String"));
OJAnnotatedOperation fromQualifiedName = ojEnum.findOperation("fromQualifiedName", new OJPathName("String"));
OJAnnotatedOperatio... | private void addField(OJAnnotatedClass annotatedClass, OJEnum ojEnum, String fieldName) {
OJAnnotatedOperation fromLabel = ojEnum.findOperation("fromLabel", new OJPathName("String"));
OJAnnotatedOperation fromQualifiedName = ojEnum.findOperation("fromQualifiedName", new OJPathName("String"));
OJAnnotatedOperatio... |
diff --git a/src/edu/grinnell/csc207/nikakath/hw4/Fraction.java b/src/edu/grinnell/csc207/nikakath/hw4/Fraction.java
index ef782cd..1edeea9 100644
--- a/src/edu/grinnell/csc207/nikakath/hw4/Fraction.java
+++ b/src/edu/grinnell/csc207/nikakath/hw4/Fraction.java
@@ -1,287 +1,287 @@
package edu.grinnell.csc207.nikakath.h... | true | true | public Fraction(String fraction) {
if (!fraction.contains("/")) {
this.numerator = new BigInteger(fraction);
this.denominator = BigInteger.ONE;
} else {
int j = 0;
boolean afterSlash = false;
for (int i = 0; i < fraction.length(); i++) {
if (fraction.charAt(i) == '/') {
afterSlash = true;... | public Fraction(String fraction) {
if (!fraction.contains("/")) {
this.numerator = new BigInteger(fraction);
this.denominator = BigInteger.ONE;
} else {
int j = 0;
boolean afterSlash = false;
for (int i = 0; i < fraction.length(); i++) {
if (fraction.charAt(i) == '/') {
afterSlash = true;... |
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/mail/FromAddressGeneratorProvider.java b/gerrit-server/src/main/java/com/google/gerrit/server/mail/FromAddressGeneratorProvider.java
index 2d739ea1a..afcfccd34 100644
--- a/gerrit-server/src/main/java/com/google/gerrit/server/mail/FromAddressGeneratorPro... | true | true | FromAddressGeneratorProvider(@GerritServerConfig final Config cfg,
@GerritPersonIdent final PersonIdent myIdent,
final AccountCache accountCache) {
final String from = cfg.getString("sendemail", null, "from");
final Address srvAddr = toAddress(myIdent);
if (from == null || "MIXED".equalsIgno... | FromAddressGeneratorProvider(@GerritServerConfig final Config cfg,
@GerritPersonIdent final PersonIdent myIdent,
final AccountCache accountCache) {
final String from = cfg.getString("sendemail", null, "from");
final Address srvAddr = toAddress(myIdent);
if (from == null || "MIXED".equalsIgno... |
diff --git a/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogWriterTest.java b/tests/org.eclipse.wst.xml.catalog.tests/src/org/eclipse/wst/xml/catalog/tests/internal/CatalogWriterTest.java
index 9a155bd27..cfdab447f 100644
--- a/tests/org.eclipse.wst.xml.catalog.tests/src/o... | false | true | public final void testWrite() throws Exception {
// read catalog
String catalogFile = "/data/catalog1.xml";
URL catalogUrl = TestPlugin.getDefault().getBundle().getEntry(
catalogFile);
assertNotNull(catalogUrl);
URL resolvedURL = Platform.resolve(catalogUrl);
Catalog testCatalog = (Catalog) getCatalo... | public final void testWrite() throws Exception {
// read catalog
String catalogFile = "/data/catalog1.xml";
URL catalogUrl = TestPlugin.getDefault().getBundle().getEntry(
catalogFile);
assertNotNull(catalogUrl);
URL resolvedURL = Platform.resolve(catalogUrl);
Catalog testCatalog = (Catalog) getCatalo... |
diff --git a/src/test/java/com/db/exporter/main/DumpTest.java b/src/test/java/com/db/exporter/main/DumpTest.java
index 9ae8c6a..8379d86 100644
--- a/src/test/java/com/db/exporter/main/DumpTest.java
+++ b/src/test/java/com/db/exporter/main/DumpTest.java
@@ -1,107 +1,107 @@
package com.db.exporter.main;
import com.db... | true | true | public static void setUp() throws Exception {
String url = StringUtils.getDerbyUrl("memory:testdb", "", "");
url.replace("create=false", "create=true");
connection = DBConnectionManager.getConnection(url);
config = Configuration.getConfiguration("", "", RESOURCE_DATABASE_PATH,
RESOURCE_DRIVER_NAME, RESOUR... | public static void setUp() throws Exception {
String url = StringUtils.getDerbyUrl("memory:testdb", "", "");
url = url.replace("create=false", "create=true");
connection = DBConnectionManager.getConnection(url);
config = Configuration.getConfiguration("", "", RESOURCE_DATABASE_PATH,
RESOURCE_DRIVER_NAME, ... |
diff --git a/src/main/java/dmk/mail/MailSenderServiceDefaultImpl.java b/src/main/java/dmk/mail/MailSenderServiceDefaultImpl.java
index 5dec27c..7f52ade 100644
--- a/src/main/java/dmk/mail/MailSenderServiceDefaultImpl.java
+++ b/src/main/java/dmk/mail/MailSenderServiceDefaultImpl.java
@@ -1,104 +1,104 @@
package dmk.ma... | true | true | public void send(final String subject, final String content, final String... recipients) {
Validate.notBlank(subject);
Validate.notBlank(content);
Validate.notNull(recipients);
Validate.notEmpty(recipients);
logger.debug("sending message to " + recipients.toString());
Properties props = new Propertie... | public void send(final String subject, final String content, final String... recipients) {
Validate.notBlank(subject);
Validate.notBlank(content);
Validate.notNull(recipients);
Validate.notEmpty(recipients);
logger.debug("sending message to " + recipients.toString());
Properties props = new Propertie... |
diff --git a/org.openscada.hd.server.storage/src/org/openscada/hd/server/storage/ShiService.java b/org.openscada.hd.server.storage/src/org/openscada/hd/server/storage/ShiService.java
index 8e0ff2222..aa26fe1e2 100644
--- a/org.openscada.hd.server.storage/src/org/openscada/hd/server/storage/ShiService.java
+++ b/org.ope... | true | true | public void updateData ( final DataItemValue value )
{
final long now = System.currentTimeMillis ();
logger.debug ( "receiving data at: " + now );
if ( dataReceiver != null )
{
dataReceiver.submit ( new Runnable () {
public void run ()
... | public void updateData ( final DataItemValue value )
{
final long now = System.currentTimeMillis ();
logger.debug ( "receiving data at: " + now );
if ( dataReceiver != null )
{
dataReceiver.submit ( new Runnable () {
public void run ()
... |
diff --git a/src/gnu/io/RXTXCommDriver.java b/src/gnu/io/RXTXCommDriver.java
index 8aa2797..7ebd3e7 100644
--- a/src/gnu/io/RXTXCommDriver.java
+++ b/src/gnu/io/RXTXCommDriver.java
@@ -1,693 +1,693 @@
/*-------------------------------------------------------------------------
| A wrapper to convert RXTX into Linux ... | true | true | private void registerScannedPorts(int PortType)
{
String[] CandidateDeviceNames;
if (debug)
System.out.println("scanning device directory "+deviceDirectory+" for ports of type "+PortType);
if(osName.toLowerCase().indexOf("windows") != -1 )
{
String[] temp = { "COM1", "COM2","COM3","COM4" };
/*FIXME U... | private void registerScannedPorts(int PortType)
{
String[] CandidateDeviceNames;
if (debug)
System.out.println("scanning device directory "+deviceDirectory+" for ports of type "+PortType);
if(osName.toLowerCase().indexOf("windows") != -1 )
{
String[] temp = { "COM1", "COM2","COM3","COM4" };
/*FIXME U... |
diff --git a/src/com/github/nutomic/controldlna/gui/MainActivity.java b/src/com/github/nutomic/controldlna/gui/MainActivity.java
index 79a4399..d50ecd9 100644
--- a/src/com/github/nutomic/controldlna/gui/MainActivity.java
+++ b/src/com/github/nutomic/controldlna/gui/MainActivity.java
@@ -1,240 +1,240 @@
/*
Copyright ... | false | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
onNewIntent(getIntent());
final ActionBar actionBar = getSupportActionBar();
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
actionBar.setDisplayShowTitleEnabled(false);
... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
final ActionBar actionBar = getSupportActionBar();
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
actionBar.setDisplayShowTitleEnabled(false);
actionBar.setDisplayShowHomeEna... |
diff --git a/src/main/java/me/limebyte/endercraftessentials/commands/FixMobsCommand.java b/src/main/java/me/limebyte/endercraftessentials/commands/FixMobsCommand.java
index 685042c..7a4b2da 100644
--- a/src/main/java/me/limebyte/endercraftessentials/commands/FixMobsCommand.java
+++ b/src/main/java/me/limebyte/endercraf... | true | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (args[0] == null) {
if (sender instanceof Player) {
Player player = (Player) sender;
fixMobs(player.getWorld());
player.sendMessage(ChatColor.GREEN + "Mobs Fixed!");
}
} else {
if (Bukkit.getWorld... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (args[0].isEmpty()) {
if (sender instanceof Player) {
Player player = (Player) sender;
fixMobs(player.getWorld());
player.sendMessage(ChatColor.GREEN + "Mobs Fixed!");
}
} else {
if (Bukkit.getWor... |
diff --git a/src/main/java/org/basex/core/MainProp.java b/src/main/java/org/basex/core/MainProp.java
index c3ecb1b44..2ddf7ad8e 100644
--- a/src/main/java/org/basex/core/MainProp.java
+++ b/src/main/java/org/basex/core/MainProp.java
@@ -1,133 +1,137 @@
package org.basex.core;
import java.util.*;
import org.basex... | true | true | protected void finish() {
// set some static properties
Prop.language = get(LANG);
Prop.langkeys = is(LANGKEYS);
Prop.debug = is(DEBUG);
System.setProperty("http.proxyHost", get(PROXYHOST));
System.setProperty("http.proxyPort", Integer.toString(num(PROXYPORT)));
System.setProperty("http.no... | protected void finish() {
// set some static properties
Prop.language = get(LANG);
Prop.langkeys = is(LANGKEYS);
Prop.debug = is(DEBUG);
final String ph = get(PROXYHOST);
final String pp = Integer.toString(num(PROXYPORT));
System.setProperty("http.proxyHost", ph);
System.setProperty("h... |
diff --git a/src/main/java/org/mule/tools/jshint/JSHint.java b/src/main/java/org/mule/tools/jshint/JSHint.java
index 95837df..706043b 100644
--- a/src/main/java/org/mule/tools/jshint/JSHint.java
+++ b/src/main/java/org/mule/tools/jshint/JSHint.java
@@ -1,99 +1,99 @@
/**
* Copyright (c) MuleSoft, Inc. All rights res... | true | true | public void executeJavascript(Context ctx, Global global) {
global.put("__dirname", global, Context.toString(jshintModule.getPath()));
Function require = (Function)global.get("require", global);
Object jshintRequire = require.call(ctx,global,global,new String [] {"jshint"});
NativeO... | public void executeJavascript(Context ctx, Global global) {
global.put("__dirname", global, Context.toString(jshintModule.getPath()));
Function require = (Function)global.get("require", global);
Object jshintRequire = require.call(ctx,global,global,new String [] {"jshint"});
NativeO... |
diff --git a/src/de/snertlab/xdccBee/ui/PacketFilterComposite.java b/src/de/snertlab/xdccBee/ui/PacketFilterComposite.java
index 1077f07..cc933b2 100644
--- a/src/de/snertlab/xdccBee/ui/PacketFilterComposite.java
+++ b/src/de/snertlab/xdccBee/ui/PacketFilterComposite.java
@@ -1,122 +1,124 @@
/*
* Project: xdccBee
... | false | true | public PacketFilterComposite(Composite parent, FormData formData, final PacketViewer packetViewer) {
super(parent, SWT.NONE);
setLayoutData(formData);
Layout layout = new GridLayout(4, false);
setLayout(layout);
GridData gridDataCompControls = new GridData(SWT.FILL, SWT.FILL, true, false);
gridDataCompCont... | public PacketFilterComposite(Composite parent, FormData formData, final PacketViewer packetViewer) {
super(parent, SWT.NONE);
setLayoutData(formData);
Layout layout = new GridLayout(4, false);
setLayout(layout);
GridData gridDataCompControls = new GridData(SWT.FILL, SWT.FILL, true, false);
gridDataCompCont... |
diff --git a/NPlayer/src/main/java/fr/ribesg/bukkit/nplayer/punishment/PunishmentListener.java b/NPlayer/src/main/java/fr/ribesg/bukkit/nplayer/punishment/PunishmentListener.java
index 9fef9fdc..a6b5c790 100644
--- a/NPlayer/src/main/java/fr/ribesg/bukkit/nplayer/punishment/PunishmentListener.java
+++ b/NPlayer/src/mai... | true | true | public void onPlayerLogin(final PlayerLoginEvent event) {
if (event.getResult() == PlayerLoginEvent.Result.ALLOWED) {
final String playerName = event.getPlayer().getName();
final String playerIp = event.getAddress().getHostAddress();
if (punishmentDb.isNickBanned(playerName)) {
final Punishment ban = pu... | public void onPlayerLogin(final PlayerLoginEvent event) {
if (event.getResult() == PlayerLoginEvent.Result.ALLOWED) {
final String playerName = event.getPlayer().getName();
final String playerIp = event.getAddress().getHostAddress();
if (punishmentDb.isNickBanned(playerName)) {
final Punishment ban = pu... |
diff --git a/Game/src/game/Game.java b/Game/src/game/Game.java
index cf7fe45..707a73a 100644
--- a/Game/src/game/Game.java
+++ b/Game/src/game/Game.java
@@ -1,230 +1,230 @@
package game;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.DisplayMode;
import java.awt.Font;
... | true | true | public void run() {
// Create game window...
int ups = 0;
app.setIgnoreRepaint(true);
app.setUndecorated(true);
// Sätter muspekaren till ett hårkors
app.setCursor(Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
// Add ESC listener to quit...
app.addKeyListener(new KeyAdapter() {
public vo... | public void run() {
// Create game window...
int ups = 0;
app.setIgnoreRepaint(true);
app.setUndecorated(true);
// Sätter muspekaren till ett hårkors
app.setCursor(Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
// Add ESC listener to quit...
app.addKeyListener(new KeyAdapter() {
public vo... |
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java b/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java
index ec460d1e5..3bd6f656f 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java
@@ -1,140 +1,140 @@
/*
@ITMillApache2LicenseF... | true | true | public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
// Save details
this.client = client;
id = uidl.getId();
// Ensure correct implementation
if (client.updateComponent(this, uidl, false)) {
return;
}
if (uidl.hasAttribute("erro... | public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
// Save details
this.client = client;
id = uidl.getId();
// Ensure correct implementation
if (client.updateComponent(this, uidl, false)) {
return;
}
if (uidl.hasAttribute("erro... |
diff --git a/src/org/jacorb/idl/MultExpr.java b/src/org/jacorb/idl/MultExpr.java
index 6d77b6750..8df9dbd4a 100644
--- a/src/org/jacorb/idl/MultExpr.java
+++ b/src/org/jacorb/idl/MultExpr.java
@@ -1,119 +1,125 @@
package org.jacorb.idl;
/*
* JacORB - a free Java ORB
*
* Copyright (C) 1997-2004 Gerald... | false | true | int pos_int_const()
{
int y = unary_expr.pos_int_const();
if( mult_expr != null )
{
int z = mult_expr.pos_int_const();
if( operator.equals( "*" ) )
y *= z;
else if( operator.equals( "/" ) )
y /= z;
else if( o... | int pos_int_const()
{
int y = unary_expr.pos_int_const();
if( mult_expr != null )
{
int z = mult_expr.pos_int_const();
if( operator.equals( "*" ) )
{
y = z * y;
}
else if( operator.equals( "/" ) )
{
... |
diff --git a/OpERP/src/main/java/devopsdistilled/operp/client/items/panes/EditItemPane.java b/OpERP/src/main/java/devopsdistilled/operp/client/items/panes/EditItemPane.java
index e5090c0f..53ddba93 100644
--- a/OpERP/src/main/java/devopsdistilled/operp/client/items/panes/EditItemPane.java
+++ b/OpERP/src/main/java/devo... | true | true | public EditItemPane() {
pane = new JPanel();
pane.setLayout(new MigLayout("debug, flowy", "[][][grow][]",
"[][][][][][]"));
JLabel lblItemId_1 = new JLabel("Item ID");
pane.add(lblItemId_1, "cell 0 0,alignx right");
itemIdField = new JTextField();
itemIdField.setEditable(false);
pane.add(itemIdFiel... | public EditItemPane() {
pane = new JPanel();
pane.setLayout(new MigLayout("debug, flowy", "[][][grow][]",
"[][][][][][]"));
JLabel lblItemId_1 = new JLabel("Item ID");
pane.add(lblItemId_1, "cell 0 0,alignx right");
itemIdField = new JTextField();
itemIdField.setEditable(false);
pane.add(itemIdFiel... |
diff --git a/src/com/herocraftonline/dev/heroes/damage/HeroesDamageListener.java b/src/com/herocraftonline/dev/heroes/damage/HeroesDamageListener.java
index 7391147c..12f00a3b 100644
--- a/src/com/herocraftonline/dev/heroes/damage/HeroesDamageListener.java
+++ b/src/com/herocraftonline/dev/heroes/damage/HeroesDamageLis... | true | true | private void onEntityDamageCore(EntityDamageEvent event) {
if (event.isCancelled() || plugin.getConfigManager().getProperties().disabledWorlds.contains(event.getEntity().getWorld().getName()))
return;
if (ignoreNextDamageEventBecauseBukkitCallsTwoEventsGRRR) {
ignoreNextDama... | private void onEntityDamageCore(EntityDamageEvent event) {
if (event.isCancelled() || plugin.getConfigManager().getProperties().disabledWorlds.contains(event.getEntity().getWorld().getName()))
return;
if (ignoreNextDamageEventBecauseBukkitCallsTwoEventsGRRR) {
ignoreNextDama... |
diff --git a/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java b/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/CertificateValidationPreferencePage.java
index fc2bcdf2e..af771a07b 100644
--- a/plu... | true | true | protected Control createContents( Composite parent )
{
Composite composite = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
// enable/disable certificate validation
Preferences preferences = ConnectionCorePlugin.getDefault().getPluginPreferences();
boolean validateCertif... | protected Control createContents( Composite parent )
{
Composite composite = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
// enable/disable certificate validation
Preferences preferences = ConnectionCorePlugin.getDefault().getPluginPreferences();
boolean validateCertif... |
diff --git a/core/src/main/java/hudson/tasks/_ant/AntTargetNote.java b/core/src/main/java/hudson/tasks/_ant/AntTargetNote.java
index f123cdf..39586bc 100644
--- a/core/src/main/java/hudson/tasks/_ant/AntTargetNote.java
+++ b/core/src/main/java/hudson/tasks/_ant/AntTargetNote.java
@@ -1,61 +1,61 @@
/*
* The MIT Licen... | true | true | public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos) {
// still under development. too early to put into production
if (!ENABLED) return null;
MarkupText.SubText t = text.findToken(Pattern.compile("^[^:]+(?=:)"));
if (t!=null)
t.addMarkup(0,t.... | public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos) {
// still under development. too early to put into production
if (!ENABLED) return null;
MarkupText.SubText t = text.findToken(Pattern.compile(".*(?=:)"));
if (t!=null)
t.addMarkup(0,t.leng... |
diff --git a/source/RMG/jing/rxn/Reaction.java b/source/RMG/jing/rxn/Reaction.java
index a9f59243..13eecb70 100644
--- a/source/RMG/jing/rxn/Reaction.java
+++ b/source/RMG/jing/rxn/Reaction.java
@@ -1,1661 +1,1662 @@
////////////////////////////////////////////////////////////////////////////////
//
// RMG - Reactio... | true | true | public void addAdditionalKinetics(Kinetics p_kinetics, int red) {
if (finalized)
return;
if (p_kinetics == null)
return;
if (kinetics == null){
kinetics[0] = p_kinetics;
structure.redundancy = 1;
}
else {
boolean kineticsAlreadyPresent = false;
for (int numKinetics=0; numKinetics<kinetics.l... | public void addAdditionalKinetics(Kinetics p_kinetics, int red) {
if (finalized)
return;
if (p_kinetics == null)
return;
if (kinetics == null){
kinetics = new Kinetics[1];
kinetics[0] = p_kinetics;
structure.redundancy = 1;
}
else {
boolean kineticsAlreadyPresent = false;
for (int numKin... |
diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java
index a1de56675..0bf77a9d4 100644
--- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java
+++ b/xwords4/android/XWords4/src/org/eehouse/androi... | true | true | public void run()
{
boolean[] barr = new boolean[2]; // scratch boolean
while ( !m_stopped ) {
QueueElem elem;
Object[] args;
try {
elem = m_queue.take();
} catch ( InterruptedException ie ) {
Utils.logf( "interrupt... | public void run()
{
boolean[] barr = new boolean[2]; // scratch boolean
while ( !m_stopped ) {
QueueElem elem;
Object[] args;
try {
elem = m_queue.take();
} catch ( InterruptedException ie ) {
Utils.logf( "interrupt... |
diff --git a/components/bio-formats/src/loci/formats/in/PDSReader.java b/components/bio-formats/src/loci/formats/in/PDSReader.java
index d9d3d1b20..4ad9e8ce6 100644
--- a/components/bio-formats/src/loci/formats/in/PDSReader.java
+++ b/components/bio-formats/src/loci/formats/in/PDSReader.java
@@ -1,284 +1,287 @@
//
//... | true | true | protected void initFile(String id) throws FormatException, IOException {
if (!checkSuffix(id, "hdr")) {
String headerFile = id.substring(0, id.lastIndexOf(".")) + ".hdr";
if (!new Location(headerFile).exists()) {
headerFile = id.substring(0, id.lastIndexOf(".")) + ".HDR";
if (!new Loca... | protected void initFile(String id) throws FormatException, IOException {
if (!checkSuffix(id, "hdr")) {
String headerFile = id.substring(0, id.lastIndexOf(".")) + ".hdr";
if (!new Location(headerFile).exists()) {
headerFile = id.substring(0, id.lastIndexOf(".")) + ".HDR";
if (!new Loca... |
diff --git a/maven-gae-plugin/src/main/java/net/kindleit/gae/CronInfoGoal.java b/maven-gae-plugin/src/main/java/net/kindleit/gae/CronInfoGoal.java
index 33d1279..6dfa2a6 100644
--- a/maven-gae-plugin/src/main/java/net/kindleit/gae/CronInfoGoal.java
+++ b/maven-gae-plugin/src/main/java/net/kindleit/gae/CronInfoGoal.java... | true | true | public void execute() throws MojoExecutionException, MojoFailureException {
getLog().info("Getting cron info...");
runAppCfg("cron_info");
}
| public void execute() throws MojoExecutionException, MojoFailureException {
getLog().info("Getting cron info...");
runAppCfg("cron_info", appDir);
}
|
diff --git a/src/husacct/define/domain/module/modules/Component.java b/src/husacct/define/domain/module/modules/Component.java
index 300adbd8..d6b139da 100644
--- a/src/husacct/define/domain/module/modules/Component.java
+++ b/src/husacct/define/domain/module/modules/Component.java
@@ -1,38 +1,39 @@
package husacct.de... | true | true | public void set(String name, String description){
this.id = STATIC_ID;
STATIC_ID++;
this.name = name;
this.description = description;
this.type = "Component";
this.mappedSUunits = new ArrayList<SoftwareUnitDefinition>();
this.mappedRegExSUunits = new ArrayList<SoftwareUnitRegExDefinition>();
this.subMo... | public void set(String name, String description){
this.id = STATIC_ID;
STATIC_ID++;
this.name = name;
this.description = description;
this.type = "Component";
this.mappedSUunits = new ArrayList<SoftwareUnitDefinition>();
this.mappedRegExSUunits = new ArrayList<SoftwareUnitRegExDefinition>();
this.subMo... |
diff --git a/utils/js/RunScript.java b/utils/js/RunScript.java
index afe602a..82d1f3e 100644
--- a/utils/js/RunScript.java
+++ b/utils/js/RunScript.java
@@ -1,70 +1,73 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0
... | true | true | public static void main(String args[]) throws IOException
{
Context cx = Context.enter();
try {
Scriptable scope = cx.initStandardObjects();
// Add a global variable "out" that is a JavaScript reflection
// of System.out
Object jsOut = Context.jav... | public static void main(String args[]) throws IOException
{
Context cx = Context.enter();
try {
Scriptable scope = cx.initStandardObjects();
// Add a global variable "out" that is a JavaScript reflection
// of System.out
Object jsOut = Context.jav... |
diff --git a/AppServer/src/org/prot/appserver/runtime/java/JavaRuntime.java b/AppServer/src/org/prot/appserver/runtime/java/JavaRuntime.java
index 9509816f..38b49281 100644
--- a/AppServer/src/org/prot/appserver/runtime/java/JavaRuntime.java
+++ b/AppServer/src/org/prot/appserver/runtime/java/JavaRuntime.java
@@ -1,97 ... | true | true | public void launch(AppInfo appInfo) throws Exception
{
logger.debug("Launching java runtime");
XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource("/etc/spring_java.xml", getClass()));
// Configure server port
int port = Configuration.getInstance().getAppServerPort();
logger.debug("Configuri... | public void launch(AppInfo appInfo) throws Exception
{
logger.debug("Launching java runtime");
XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource("/etc/spring_java.xml", getClass()));
// Configure server port
int port = Configuration.getInstance().getAppServerPort();
logger.debug("Configuri... |
diff --git a/src/java/com/eviware/soapui/impl/wsdl/teststeps/WsdlMessageAssertion.java b/src/java/com/eviware/soapui/impl/wsdl/teststeps/WsdlMessageAssertion.java
index 5868e5fc0..31acb98b7 100644
--- a/src/java/com/eviware/soapui/impl/wsdl/teststeps/WsdlMessageAssertion.java
+++ b/src/java/com/eviware/soapui/impl/wsdl... | true | true | public AssertionStatus assertResponse( MessageExchange messageExchange, SubmitContext context )
{
AssertionStatus oldStatus = assertionStatus;
AssertionError[] oldErrors = getErrors();
ImageIcon oldIcon = getIcon();
if( isDisabled() )
{
assertionStatus = AssertionStatus.UNKNOWN;
assertionErrors = nul... | public AssertionStatus assertResponse( MessageExchange messageExchange, SubmitContext context )
{
AssertionStatus oldStatus = assertionStatus;
AssertionError[] oldErrors = getErrors();
ImageIcon oldIcon = getIcon();
if( isDisabled() )
{
assertionStatus = AssertionStatus.UNKNOWN;
assertionErrors = nul... |
diff --git a/src/mozeq/irc/bot/plugins/BugzillaPlugin.java b/src/mozeq/irc/bot/plugins/BugzillaPlugin.java
index de4f67d..4fd262b 100644
--- a/src/mozeq/irc/bot/plugins/BugzillaPlugin.java
+++ b/src/mozeq/irc/bot/plugins/BugzillaPlugin.java
@@ -1,66 +1,66 @@
package mozeq.irc.bot.plugins;
import java.net.MalformedU... | true | true | public ArrayList<String> run(IrcMessage message, String command) {
clearResponses();
String[] params = message.body.split("#");
if (params.length < 2) {
System.err.println("Can't parse the ticket id from the message");
return responses;
}
BugzillaProxy bz = new BugzillaProxy(BZ_URL);
try {
bz.con... | public ArrayList<String> run(IrcMessage message, String command) {
clearResponses();
String[] params = message.body.split("#");
if (params.length < 2) {
System.err.println("Can't parse the ticket id from the message");
return responses;
}
BugzillaProxy bz = new BugzillaProxy(BZ_URL);
try {
bz.con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.