diff stringlengths 262 553k | is_single_chunk bool 2
classes | is_single_function bool 1
class | buggy_function stringlengths 20 391k | fixed_function stringlengths 0 392k |
|---|---|---|---|---|
diff --git a/src/Test.java b/src/Test.java
index cfb4bec..859c8b4 100644
--- a/src/Test.java
+++ b/src/Test.java
@@ -1,86 +1,86 @@
import com.williballenthin.rejistry.Cell;
import com.williballenthin.rejistry.HBIN;
import com.williballenthin.rejistry.RegistryHiveFile;
import com.williballenthin.rejistry.RegistryPar... | true | true | public static void main(String[] args) throws IOException, RegistryParseException {
File f = new File(args[0]);
RegistryHiveFile reg = new RegistryHiveFile(f);
System.out.println("hive name: " + reg.getHeader().getHiveName());
System.out.println("major version: " + reg.getHeader().g... | public static void main(String[] args) throws IOException, RegistryParseException {
File f = new File(args[0]);
RegistryHiveFile reg = new RegistryHiveFile(f);
System.out.println("hive name: " + reg.getHeader().getHiveName());
System.out.println("major version: " + reg.getHeader().g... |
diff --git a/src/ch/jachen/dev/flickr/Syno2Flickr.java b/src/ch/jachen/dev/flickr/Syno2Flickr.java
index 5186073..28d8adb 100644
--- a/src/ch/jachen/dev/flickr/Syno2Flickr.java
+++ b/src/ch/jachen/dev/flickr/Syno2Flickr.java
@@ -1,467 +1,467 @@
package ch.jachen.dev.flickr;
import java.io.BufferedReader;
import ja... | true | true | private static User authenticationToFlickr(User user, Permission perm){
// Establish Flickr auth. or ask permission to
try {
user = Auth.getDefaultAuthUser(); // Check to see if we've already
// authenticated
} catch (FlickrException e1) {
user = null;
}
try {
// if need to authenti... | private static User authenticationToFlickr(User user, Permission perm){
// Establish Flickr auth. or ask permission to
try {
user = Auth.getDefaultAuthUser(); // Check to see if we've already
// authenticated
} catch (FlickrException e1) {
user = null;
}
try {
// if need to authenti... |
diff --git a/tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtend/ui/AbstractTreeTestLanguageUiModule.java b/tests/org.eclipse.xtext.xtend.tests/src-gen/org/eclipse/xtext/xtend/ui/AbstractTreeTestLanguageUiModule.java
index 46c3e9d3b..45bda6978 100644
--- a/tests/org.eclipse.xtext.xtend.tests/src-gen/org... | true | true | public Class<? extends org.eclipse.xtext.ui.ILocationInFileProvider> bindILocationInFileProvider() {
return org.eclipse.xtext.ui.DefaultLocationInFileProvider.class;
}
| public Class<? extends org.eclipse.xtext.resource.ILocationInFileProvider> bindILocationInFileProvider() {
return org.eclipse.xtext.resource.DefaultLocationInFileProvider.class;
}
|
diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaData.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaData.java
index bbe0d3285..01635c538 100644
--- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaData.java
+++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/MetaData.... | false | true | public void resolve (WebAppContext context)
throws Exception
{
//Ensure origins is fresh
_origins.clear();
// Set the ordered lib attribute
List<String> orderedLibs = new ArrayList<String>();
for (Resource webInfJar:_orderedWebInfJars)
{
/... | public void resolve (WebAppContext context)
throws Exception
{
//Ensure origins is fresh
_origins.clear();
// Set the ordered lib attribute
if (_ordering != null)
{
List<String> orderedLibs = new ArrayList<String>();
for (Resource webI... |
diff --git a/src/com/android/calculator2/CalculatorEditText.java b/src/com/android/calculator2/CalculatorEditText.java
index 8a29f72..3af08c7 100644
--- a/src/com/android/calculator2/CalculatorEditText.java
+++ b/src/com/android/calculator2/CalculatorEditText.java
@@ -1,48 +1,48 @@
/*
* Copyright (C) 2010 The Androi... | true | true | public boolean performLongClick() {
Editable text = getText();
if (TextUtils.isEmpty(text)) {
return false;
}
setSelection(0, text.length());
ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService(
Context.CLIPBOARD_SERVICE)... | public boolean performLongClick() {
Editable text = getText();
if (TextUtils.isEmpty(text)) {
return false;
}
setSelection(0, text.length());
ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService(
Context.CLIPBOARD_SERVICE)... |
diff --git a/plugins/maven-patch-tracker-plugin/src/main/java/org/apache/maven/plugins/patchtracker/PostPatchMojo.java b/plugins/maven-patch-tracker-plugin/src/main/java/org/apache/maven/plugins/patchtracker/PostPatchMojo.java
index 286dbddd3..5a82c5571 100644
--- a/plugins/maven-patch-tracker-plugin/src/main/java/org/... | true | true | public void execute()
throws MojoExecutionException
{
// TODO do a status before and complains if some files in to be added status ?
String patchContent = getPatchContent();
if ( StringUtils.isEmpty( patchContent ) )
{
getLog().info( "No patch content found ... | public void execute()
throws MojoExecutionException
{
// TODO do a status before and complains if some files in to be added status ?
String patchContent = getPatchContent();
if ( StringUtils.isEmpty( patchContent ) )
{
getLog().info( "No patch content found ... |
diff --git a/src/main/java/com/blockmar/persistence/mongo/MongoRepositoryQueryResult.java b/src/main/java/com/blockmar/persistence/mongo/MongoRepositoryQueryResult.java
index f7dcbf3..c0cd8a0 100644
--- a/src/main/java/com/blockmar/persistence/mongo/MongoRepositoryQueryResult.java
+++ b/src/main/java/com/blockmar/persi... | true | true | public List<T> limit(int count) {
List<T> result = new ArrayList<T>();
Iterator<? extends MongoRepositoryObject<T>> iterator = query.iterator();
while (iterator.hasNext() && result.size() <= count) {
result.add(iterator.next().get());
}
return result;
}
| public List<T> limit(int count) {
List<T> result = new ArrayList<T>();
Iterator<? extends MongoRepositoryObject<T>> iterator = query.iterator();
while (iterator.hasNext() && result.size() < count) {
result.add(iterator.next().get());
}
return result;
}
|
diff --git a/plugins-dev/ais/pt/up/fe/dceg/neptus/plugins/ais/AisOverlay.java b/plugins-dev/ais/pt/up/fe/dceg/neptus/plugins/ais/AisOverlay.java
index 1902f0383..adb555ff5 100644
--- a/plugins-dev/ais/pt/up/fe/dceg/neptus/plugins/ais/AisOverlay.java
+++ b/plugins-dev/ais/pt/up/fe/dceg/neptus/plugins/ais/AisOverlay.java... | true | true | public void paint(Graphics2D g, StateRenderer2D renderer) {
super.paint(g, renderer);
this.renderer = renderer;
if (showOnlyWhenInteractionIsActive && !active)
return;
if (lastThread != null) {
//String strUpdateAIS = I18n.text("Updating AIS layer...");
... | public void paint(Graphics2D g, StateRenderer2D renderer) {
super.paint(g, renderer);
this.renderer = renderer;
if (showOnlyWhenInteractionIsActive && !active)
return;
if (lastThread != null) {
//String strUpdateAIS = I18n.text("Updating AIS layer...");
... |
diff --git a/de.unisiegen.gtitool.ui/source/de/unisiegen/gtitool/ui/Start.java b/de.unisiegen.gtitool.ui/source/de/unisiegen/gtitool/ui/Start.java
index 5523e4e5..5833d5ac 100644
--- a/de.unisiegen.gtitool.ui/source/de/unisiegen/gtitool/ui/Start.java
+++ b/de.unisiegen.gtitool.ui/source/de/unisiegen/gtitool/ui/Start.ja... | true | true | public final static void main ( final String [] arguments )
{
/*
* Install TinyLaF, if it is not the last active look and feel. Otherwise it
* will be installed while set it up.
*/
if ( !PreferenceManager.getInstance ().getLookAndFeelItem ()
.getClassName ().equals ( "de.muntjak.tinyl... | public final static void main ( final String [] arguments )
{
/*
* Install TinyLaF, if it is not the last active look and feel. Otherwise it
* will be installed while set it up.
*/
if ( !PreferenceManager.getInstance ().getLookAndFeelItem ()
.getClassName ().equals ( "de.muntjak.tinyl... |
diff --git a/drools-pipeline/drools-camel/src/test/java/org/drools/camel/component/CamelEndpointWithJaxbXSDModelTest.java b/drools-pipeline/drools-camel/src/test/java/org/drools/camel/component/CamelEndpointWithJaxbXSDModelTest.java
index 6c5226495..2d896ec14 100644
--- a/drools-pipeline/drools-camel/src/test/java/org/... | true | true | protected StatefulKnowledgeSession registerKnowledgeRuntime(String identifier, String rule) {
KnowledgeBuilder kbuilder = serviceManager.getKnowledgeBuilderFactoryService().newKnowledgeBuilder();
Options xjcOpts = new Options();
xjcOpts.setSchemaLanguage( Language.XMLSCHEMA );
String classNames[] = null;
... | protected StatefulKnowledgeSession registerKnowledgeRuntime(String identifier, String rule) {
KnowledgeBuilder kbuilder = serviceManager.getKnowledgeBuilderFactoryService().newKnowledgeBuilder();
Options xjcOpts = new Options();
xjcOpts.setSchemaLanguage( Language.XMLSCHEMA );
String classNames[] = null;
... |
diff --git a/common/cpw/mods/fml/common/registry/GameRegistry.java b/common/cpw/mods/fml/common/registry/GameRegistry.java
index 06b05723..ea019b80 100644
--- a/common/cpw/mods/fml/common/registry/GameRegistry.java
+++ b/common/cpw/mods/fml/common/registry/GameRegistry.java
@@ -1,433 +1,433 @@
/*
* Forge Mod Loader
... | true | true | public static void registerBlock(net.minecraft.block.Block block, Class<? extends ItemBlock> itemclass, String name, String modId)
{
if (Loader.instance().isInState(LoaderState.CONSTRUCTING))
{
FMLLog.warning("The mod %s is attempting to register a block whilst it it being constructe... | public static void registerBlock(net.minecraft.block.Block block, Class<? extends ItemBlock> itemclass, String name, String modId)
{
if (Loader.instance().isInState(LoaderState.CONSTRUCTING))
{
FMLLog.warning("The mod %s is attempting to register a block whilst it it being constructe... |
diff --git a/src/com/hourlyweather/web/HourlyWeatherByCityForward.java b/src/com/hourlyweather/web/HourlyWeatherByCityForward.java
index 3b26f07..f91b2f2 100644
--- a/src/com/hourlyweather/web/HourlyWeatherByCityForward.java
+++ b/src/com/hourlyweather/web/HourlyWeatherByCityForward.java
@@ -1,44 +1,48 @@
package com.... | true | true | protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
Key cityKey = KeyFactory.createKey(City.ENTITY, request.getParameter("id"));
//query database for city geo data
DatastoreService ds = DatastoreServiceFactory.getDatastoreService();
Cit... | protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
//not finished, regex for getting ending?
/*int start = request.getRequestURI().lastIndexOf('/');
int end = request.getRequestURI().indexOf('#');
String cityName = request.getRequestURI(... |
diff --git a/SimSeqNBProject/src/simseq/SeqSampler.java b/SimSeqNBProject/src/simseq/SeqSampler.java
index 1b02e37..6aad5d8 100644
--- a/SimSeqNBProject/src/simseq/SeqSampler.java
+++ b/SimSeqNBProject/src/simseq/SeqSampler.java
@@ -1,258 +1,253 @@
/*
* To change this template, choose Tools | Templates
* and open ... | true | true | public void MPSample(SamRecord sr1,
SamRecord sr2, String qual1, String qual2,
int mate_ins, int mate_stdev, int read_ins, int read_stdev,
int read1_len, int read2_len, double p_bad_pulldown, Random r){
int i,b,l,p;
if(mate_ins > this.len){
throw new R... | public void MPSample(SamRecord sr1,
SamRecord sr2, String qual1, String qual2,
int mate_ins, int mate_stdev, int read_ins, int read_stdev,
int read1_len, int read2_len, double p_bad_pulldown, Random r){
int i,b,l,p;
if(mate_ins > this.len){
throw new R... |
diff --git a/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java b/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java
index 95505009..1b68db46 100644
--- a/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java
+++ b/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java
@@ -1,377 +1,379 @@
pack... | false | true | private void loadMap(Map<?, ?> map) throws InvalidDescriptionException {
try {
name = map.get("name").toString();
if (!name.matches("^[A-Za-z0-9 _.-]+$")) {
throw new InvalidDescriptionException("name '" + name + "' contains invalid characters.");
}
... | private void loadMap(Map<?, ?> map) throws InvalidDescriptionException {
try {
name = map.get("name").toString();
if (!name.matches("^[A-Za-z0-9 _.-]+$")) {
throw new InvalidDescriptionException("name '" + name + "' contains invalid characters.");
}
... |
diff --git a/src/org/meta_environment/uptr/SymbolAdapter.java b/src/org/meta_environment/uptr/SymbolAdapter.java
index ded30af199..6ac683704d 100644
--- a/src/org/meta_environment/uptr/SymbolAdapter.java
+++ b/src/org/meta_environment/uptr/SymbolAdapter.java
@@ -1,120 +1,121 @@
package org.meta_environment.uptr;
im... | true | true | public static boolean isCfOptLayout(IConstructor tree) {
if (isCf(tree)) {
if (isOpt(tree)) {
tree = getSymbol(tree);
if (isLayout(tree)) {
return true;
}
}
}
return false;
}
| public static boolean isCfOptLayout(IConstructor tree) {
if (isCf(tree)) {
tree = getSymbol(tree);
if (isOpt(tree)) {
tree = getSymbol(tree);
if (isLayout(tree)) {
return true;
}
}
}
return false;
}
|
diff --git a/src/savant/controller/PluginController.java b/src/savant/controller/PluginController.java
index be17a4d0..c31e2690 100644
--- a/src/savant/controller/PluginController.java
+++ b/src/savant/controller/PluginController.java
@@ -1,411 +1,414 @@
/*
* Copyright 2010-2011 University of Toronto
*
* L... | false | true | public void loadPlugins(File pluginsDir) {
File[] files = pluginsDir.listFiles(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
return name.toLowerCase().endsWith(".jar");
}
});
for (File f: files) {
... | public void loadPlugins(File pluginsDir) {
File[] files = pluginsDir.listFiles(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
return name.toLowerCase().endsWith(".jar");
}
});
for (File f: files) {
... |
diff --git a/src/java/org/apache/commons/beanutils/MethodUtils.java b/src/java/org/apache/commons/beanutils/MethodUtils.java
index 70bf511..c072c72 100644
--- a/src/java/org/apache/commons/beanutils/MethodUtils.java
+++ b/src/java/org/apache/commons/beanutils/MethodUtils.java
@@ -1,851 +1,851 @@
/*
* Copyright 2001-... | true | true | public static Method getMatchingAccessibleMethod(
Class clazz,
String methodName,
Class[] parameterTypes) {
// trace logging
if (log.isTraceEnabled()) {
... | public static Method getMatchingAccessibleMethod(
Class clazz,
String methodName,
Class[] parameterTypes) {
// trace logging
if (log.isTraceEnabled()) {
... |
diff --git a/src/edu/sc/seis/sod/status/MapPool.java b/src/edu/sc/seis/sod/status/MapPool.java
index a8641b17c..f80466d02 100755
--- a/src/edu/sc/seis/sod/status/MapPool.java
+++ b/src/edu/sc/seis/sod/status/MapPool.java
@@ -1,51 +1,51 @@
package edu.sc.seis.sod.status;
import edu.sc.seis.fissuresUtil.map.OpenMap;
... | true | true | public MapPool(int mapCount, EventColorizer colorizer){
maps = new OpenMap[mapCount];
free = new boolean[mapCount];
for (int i = 0; i < maps.length; i++) {
maps[i] =
new OpenMap("edu/sc/seis/fissuresUtil/data/maps/dcwpo-browse");
maps[i].setEtopoLayer("e... | public MapPool(int mapCount, EventColorizer colorizer){
maps = new OpenMap[mapCount];
free = new boolean[mapCount];
for (int i = 0; i < maps.length; i++) {
maps[i] =
new OpenMap("edu/sc/seis/fissuresUtil/data/maps/dcwpo-browse");
maps[i].setEtopoLayer("e... |
diff --git a/intro/assignment_4/ArrayAssignments.java b/intro/assignment_4/ArrayAssignments.java
index 83e1cfc..430d481 100644
--- a/intro/assignment_4/ArrayAssignments.java
+++ b/intro/assignment_4/ArrayAssignments.java
@@ -1,102 +1,102 @@
/**
* @author Ory Band
* @version 1.0
*/
public class ArrayAssignments ... | true | true | public ArrayAssignments(Assignment[] s) {
// Basic validity tests.
if (s == null) {
throw new RuntimeException("Assignment[] argument is null.");
} else if (s.length == 0) {
throw new RuntimeException("Assignment[] argument is of length 0!");
}
// Tes... | public ArrayAssignments(Assignment[] s) {
// Basic validity tests.
if (s == null) {
throw new RuntimeException("Assignment[] argument is null.");
} else if (s.length == 0) {
throw new RuntimeException("Assignment[] argument is of length 0!");
}
// Tes... |
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/AbstractMarkerSupport.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/AbstractMarkerSupport.java
index 6544f444b..478e5dc70 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/AbstractMarkerSupport.jav... | true | true | public void addMarker(IMarker marker) {
if (marker == null) {
return;
}
Collection<IMarker> oldValue = getMarkers();
if (markers == null) {
markers = new HashSet<IMarker>(1, 1.0f);
}
if (markers.add(marker)) {
// TODO scp updateMandatoryMarkers();
updateMarkers();
fireMarkerPropertyChangeEve... | public void addMarker(IMarker marker) {
if (marker == null) {
return;
}
Collection<IMarker> oldValue = getMarkers();
if (markers == null) {
markers = new HashSet<IMarker>(1, 1.0f);
}
if (markers.add(marker)) {
updateMarkers();
fireMarkerPropertyChangeEvent(oldValue);
marker.addAttributeChang... |
diff --git a/src/main/java/org/efreak/bukkitmanager/addon/ftpbackup/FTPStorage.java b/src/main/java/org/efreak/bukkitmanager/addon/ftpbackup/FTPStorage.java
index 449d288..68bcd70 100644
--- a/src/main/java/org/efreak/bukkitmanager/addon/ftpbackup/FTPStorage.java
+++ b/src/main/java/org/efreak/bukkitmanager/addon/ftpba... | true | true | public boolean storeFile() {
io.sendConsole(io.translate("FTPBackup.Start").replaceAll("%host%", hostString));
if (config.getBoolean("Notifications.Autobackup.FTP.Started")) NotificationsHandler.notify("Bukkitmanager", "FTPBackup Addon", "Uploading Backup to " + hostString);
boolean returnValue = true;
FTPClie... | public boolean storeFile() {
io.sendConsole(io.translate("FTPBackup.Start").replaceAll("%host%", hostString));
if (config.getBoolean("Notifications.Autobackup.FTP.Started")) NotificationsHandler.notify("Bukkitmanager", "FTPBackup Addon", "Uploading Backup to " + hostString);
boolean returnValue = true;
FTPClie... |
diff --git a/EDUkid/src/bu/edu/cs673/edukid/settings/AddCategoryView.java b/EDUkid/src/bu/edu/cs673/edukid/settings/AddCategoryView.java
index 959b38c..7b14ff4 100644
--- a/EDUkid/src/bu/edu/cs673/edukid/settings/AddCategoryView.java
+++ b/EDUkid/src/bu/edu/cs673/edukid/settings/AddCategoryView.java
@@ -1,17 +1,17 @@
... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.add_category);
}
| public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.add_category);
}
|
diff --git a/src/java/fedora/client/batch/BatchXforms.java b/src/java/fedora/client/batch/BatchXforms.java
index 94df0f8f2..81eb2505d 100755
--- a/src/java/fedora/client/batch/BatchXforms.java
+++ b/src/java/fedora/client/batch/BatchXforms.java
@@ -1,259 +1,259 @@
package fedora.client.batch;
import java.io.FileOut... | true | true | final void process() throws TransformerConfigurationException, Exception {
//System.err.println("before TransformerFactory.newInstance()"); //<<==
//System.err.println("xformPath=[" + xformPath + "]"); //<<==
//SAXTransformerFactory tfactory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
... | final void process() throws TransformerConfigurationException, Exception {
//System.err.println("before TransformerFactory.newInstance()"); //<<==
//System.err.println("xformPath=[" + xformPath + "]"); //<<==
//SAXTransformerFactory tfactory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
... |
diff --git a/src/jcube/manager/filter/InitialDataInsert.java b/src/jcube/manager/filter/InitialDataInsert.java
index d3bd602..af7afa2 100644
--- a/src/jcube/manager/filter/InitialDataInsert.java
+++ b/src/jcube/manager/filter/InitialDataInsert.java
@@ -1,78 +1,78 @@
package jcube.manager.filter;
import java.io.File... | false | true | public InitialDataInsert(Environ env, Properties properties) throws Exception
{
File file = new File("../.inited");
System.out.println("inside filer");
if (file.exists())
{
// Generate statuses
NewsStatus open_status = new NewsStatus();
open_status.title = "Open";
open_status.save();
NewsStatu... | public InitialDataInsert(Environ env, Properties properties) throws Exception
{
File file = new File("../.inited");
System.out.println("inside filer");
if (!file.exists())
{
// Generate statuses
NewsStatus open_status = new NewsStatus();
open_status.title = "Open";
open_status.save();
NewsStat... |
diff --git a/src/main/java/net/pms/network/RequestV2.java b/src/main/java/net/pms/network/RequestV2.java
index 815c6a318..7c640278b 100644
--- a/src/main/java/net/pms/network/RequestV2.java
+++ b/src/main/java/net/pms/network/RequestV2.java
@@ -1,916 +1,916 @@
/*
* PS3 Media Server, for streaming any medias to your ... | true | true | public ChannelFuture answer(
HttpResponse output,
MessageEvent e,
final boolean close,
final StartStopListenerDelegate startStopListenerDelegate) throws IOException {
ChannelFuture future = null;
long CLoverride = -2; // 0 and above are valid Content-Length values, -1 means omit
StringBuilder response = ... | public ChannelFuture answer(
HttpResponse output,
MessageEvent e,
final boolean close,
final StartStopListenerDelegate startStopListenerDelegate) throws IOException {
ChannelFuture future = null;
long CLoverride = -2; // 0 and above are valid Content-Length values, -1 means omit
StringBuilder response = ... |
diff --git a/codegen/src/main/java/org/exolab/castor/builder/TypeConversion.java b/codegen/src/main/java/org/exolab/castor/builder/TypeConversion.java
index ade3c6d1..3f60cfc9 100644
--- a/codegen/src/main/java/org/exolab/castor/builder/TypeConversion.java
+++ b/codegen/src/main/java/org/exolab/castor/builder/TypeConve... | true | true | public XSType convertType(final SimpleType simpleType, final String packageName,
final boolean useWrapper, final boolean useJava50) {
if (simpleType == null) {
return null;
}
XSType xsType = null;
//-- determine base type
SimpleType base = simpleType;... | public XSType convertType(final SimpleType simpleType, final String packageName,
final boolean useWrapper, final boolean useJava50) {
if (simpleType == null) {
return null;
}
XSType xsType = null;
//-- determine base type
SimpleType base = simpleType;... |
diff --git a/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java b/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java
index 46b8eab..8e61172 100644
--- a/trunk/core/src/main/java/org/apache/commons/vfs/provider/sftp/SftpFileObject.java
+++ b/trunk/core/src/ma... | false | true | protected FileObject[] doListChildrenResolved() throws Exception
{
// List the contents of the folder
Vector<LsEntry> vector = null;
final ChannelSftp channel = fileSystem.getChannel();
try
{
// try the direct way to list the directory on the server to avoid ... | protected FileObject[] doListChildrenResolved() throws Exception
{
// List the contents of the folder
Vector<?> vector = null;
final ChannelSftp channel = fileSystem.getChannel();
try
{
// try the direct way to list the directory on the server to avoid too ma... |
diff --git a/flex-pmd-maven-plugin/src/main/java/com/adobe/ac/pmd/maven/FlexPmdHtmlEngine.java b/flex-pmd-maven-plugin/src/main/java/com/adobe/ac/pmd/maven/FlexPmdHtmlEngine.java
index 3d1b82af..4286a3e1 100644
--- a/flex-pmd-maven-plugin/src/main/java/com/adobe/ac/pmd/maven/FlexPmdHtmlEngine.java
+++ b/flex-pmd-maven-... | true | true | private Report computeReport( final FlexPmdViolations pmd )
{
final Report report = new Report();
final RuleContext ruleContext = new RuleContext();
final PmdReportListener reportSink = new PmdReportListener( sink, bundle, aggregate );
report.addListener( reportSink );
ruleContext.s... | private Report computeReport( final FlexPmdViolations pmd )
{
final Report report = new Report();
final RuleContext ruleContext = new RuleContext();
final PmdReportListener reportSink = new PmdReportListener( sink, bundle, aggregate );
report.addListener( reportSink );
ruleContext.s... |
diff --git a/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java b/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java
index da25262d2..6ace8e2ee 100644
--- a/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java
+++ b/table-i... | true | true | public void start(BundleContext bc) {
CytoscapeServices.cyLayouts = getService(bc,CyLayoutAlgorithmManager.class);
CytoscapeServices.cyNetworkFactory = getService(bc,CyNetworkFactory.class);
CytoscapeServices.cyRootNetworkFactory = getService(bc,CyRootNetworkManager.class);
CytoscapeServices.cyNetworkViewFact... | public void start(BundleContext bc) {
CytoscapeServices.cyLayouts = getService(bc,CyLayoutAlgorithmManager.class);
CytoscapeServices.cyNetworkFactory = getService(bc,CyNetworkFactory.class);
CytoscapeServices.cyRootNetworkFactory = getService(bc,CyRootNetworkManager.class);
CytoscapeServices.cyNetworkViewFact... |
diff --git a/src/main/java/de/preusslerpark/android/tools/Converter.java b/src/main/java/de/preusslerpark/android/tools/Converter.java
index 1d1c599..39633b7 100644
--- a/src/main/java/de/preusslerpark/android/tools/Converter.java
+++ b/src/main/java/de/preusslerpark/android/tools/Converter.java
@@ -1,140 +1,140 @@
/*... | true | true | private InstrumentationResultParser createParser(String testSuite, final XMLResultFormatter outputter) {
ITestRunListener listener = new ITestRunListener() {
@Override
public void testEnded(TestIdentifier test, Map<String, String> arg1) {
System.out.println("testEn... | private InstrumentationResultParser createParser(String testSuite, final XMLResultFormatter outputter) {
ITestRunListener listener = new ITestRunListener() {
@Override
public void testEnded(TestIdentifier test, Map<String, String> arg1) {
System.out.println("testEn... |
diff --git a/src/main/java/ltg/ps/phenomena/wallcology/population_calculators/PopulationCalculator.java b/src/main/java/ltg/ps/phenomena/wallcology/population_calculators/PopulationCalculator.java
index e0e7a01..01cce7c 100644
--- a/src/main/java/ltg/ps/phenomena/wallcology/population_calculators/PopulationCalculator.j... | true | true | protected int[] addNoise(int[] ca) {
// Randomize +/- noisePercent
double dev;
int[] ra = new int[ca.length];
for(int i=0; i< ca.length; i++) {
dev = Math.round(Math.random()*((double)ca[i])*noisePercent);
if (dev < 1) dev = 1; // This makes sure that the deviation is always at least one
if(Math.rando... | protected int[] addNoise(int[] ca) {
// Randomize +/- noisePercent
double dev;
int[] ra = new int[ca.length];
for(int i=0; i< ca.length; i++) {
dev = Math.round(Math.random()*((double)ca[i])*noisePercent);
// Make sure that the deviation is always at least one for all creatures that are not 0
if (dev ... |
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/ResourceModelScopeParticipant.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/ResourceModelScopeParticipant.java
index e8caf288b..7dfee9b14 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal... | true | true | private void collectMappings(IProject project, Set result) {
ResourceMapping[] mappings = scope.getMappings(provider.getDescriptor().getId());
for (int i = 0; i < mappings.length; i++) {
ResourceMapping mapping = mappings[i];
boolean refresh = false;
Object modelObject = mapping.getModelObject();
if (m... | private void collectMappings(IProject project, Set result) {
ResourceMapping[] mappings = scope.getMappings(provider.getDescriptor().getId());
for (int i = 0; i < mappings.length; i++) {
ResourceMapping mapping = mappings[i];
boolean refresh = false;
Object modelObject = mapping.getModelObject();
if (m... |
diff --git a/trunk/src/webcamstudio/sources/VideoSourceDesktop.java b/trunk/src/webcamstudio/sources/VideoSourceDesktop.java
index dee93cc..50f31c4 100644
--- a/trunk/src/webcamstudio/sources/VideoSourceDesktop.java
+++ b/trunk/src/webcamstudio/sources/VideoSourceDesktop.java
@@ -1,164 +1,164 @@
/*
* To change this ... | true | true | public void run() {
long timestamp = 0;
while (!desktop.stopMe) {
timestamp = System.currentTimeMillis();
if (desktop.getOutputWidth() == 0 && desktop.getOutputHeight() == 0) {
desktop.setOutputWidth(320);
desktop.setOutputHeight(240);
... | public void run() {
long timestamp = 0;
while (!desktop.stopMe) {
timestamp = System.currentTimeMillis();
if (desktop.getOutputWidth() == 0 && desktop.getOutputHeight() == 0) {
desktop.setOutputWidth(320);
desktop.setOutputHeight(240);
... |
diff --git a/src/test/java/org/elasticsearch/percolator/PercolatorTests.java b/src/test/java/org/elasticsearch/percolator/PercolatorTests.java
index a40bf09294d..584fc0fa58e 100644
--- a/src/test/java/org/elasticsearch/percolator/PercolatorTests.java
+++ b/src/test/java/org/elasticsearch/percolator/PercolatorTests.java... | false | true | public void testPercolatorWithHighlighting() throws Exception {
Client client = client();
client.admin().indices().prepareCreate("test")
.setSettings(ImmutableSettings.settingsBuilder().put("index.number_of_shards", 2))
.execute().actionGet();
ensureGreen();
... | public void testPercolatorWithHighlighting() throws Exception {
Client client = client();
client.admin().indices().prepareCreate("test")
.setSettings(ImmutableSettings.settingsBuilder().put("index.number_of_shards", 2))
.execute().actionGet();
ensureGreen();
... |
diff --git a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/commands/ChangeOperation.java b/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/commands/ChangeOperation.java
index b9a4e352..8de2dcfe 100644
--- a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/commands/ChangeOperation... | true | true | public void execute(final EditorAdaptor editorAdaptor, final int count, final TextObject textObject) throws CommandExecutionException {
final Command beforeInsertCmd = getHintCommand(editorAdaptor, count, textObject);
final PositionlessSelection lastSel = editorAdaptor.getRegisterManager().getLastAc... | public void execute(final EditorAdaptor editorAdaptor, final int count, final TextObject textObject) throws CommandExecutionException {
final Command beforeInsertCmd = getHintCommand(editorAdaptor, count, textObject);
final PositionlessSelection lastSel = editorAdaptor.getRegisterManager().getLastAc... |
diff --git a/test/web/org/openmrs/web/patient/PatientDashboardGraphControllerTest.java b/test/web/org/openmrs/web/patient/PatientDashboardGraphControllerTest.java
index 10d0db01..75dddf77 100644
--- a/test/web/org/openmrs/web/patient/PatientDashboardGraphControllerTest.java
+++ b/test/web/org/openmrs/web/patient/Patien... | true | true | public void shouldReturnJSONWithPatientObservationDetails() throws Exception {
executeDataSet("org/openmrs/api/include/ObsServiceTest-initial.xml");
PatientDashboardGraphController controller = new PatientDashboardGraphController();
ModelMap map = new ModelMap();
controller.showGraphData(2, 1, map);
Pa... | public void shouldReturnJSONWithPatientObservationDetails() throws Exception {
executeDataSet("org/openmrs/api/include/ObsServiceTest-initial.xml");
PatientDashboardGraphController controller = new PatientDashboardGraphController();
ModelMap map = new ModelMap();
controller.showGraphData(2, 1, map);
Pa... |
diff --git a/src/mil/af/rl/EPTEstimator/client/EPTEstimator.java b/src/mil/af/rl/EPTEstimator/client/EPTEstimator.java
index a1de35a..6b70681 100755
--- a/src/mil/af/rl/EPTEstimator/client/EPTEstimator.java
+++ b/src/mil/af/rl/EPTEstimator/client/EPTEstimator.java
@@ -1,516 +1,516 @@
package mil.af.rl.EPTEstimator.cli... | true | true | public void onModuleLoad() {
try{
/* for use in setting focus in event naming dialog
final EventBus eventBus = GWT.create(SimpleEventBus.class);
class ReadyForFocus extends GwtEvent<EventHandler>{
public Type<EventHandler> TYPE = new Type<EventHandler>();
@Override
public com.google.gwt.event.share... | public void onModuleLoad() {
try{
/* for use in setting focus in event naming dialog
final EventBus eventBus = GWT.create(SimpleEventBus.class);
class ReadyForFocus extends GwtEvent<EventHandler>{
public Type<EventHandler> TYPE = new Type<EventHandler>();
@Override
public com.google.gwt.event.share... |
diff --git a/main/src/com/google/refine/sorting/DateCriterion.java b/main/src/com/google/refine/sorting/DateCriterion.java
index 28e1d8c4..b3e47f46 100644
--- a/main/src/com/google/refine/sorting/DateCriterion.java
+++ b/main/src/com/google/refine/sorting/DateCriterion.java
@@ -1,68 +1,68 @@
/*
Copyright 2010, Goog... | true | true | public KeyMaker createKeyMaker() {
return new KeyMaker() {
@Override
protected Object makeKey(Object value) {
if (ExpressionUtils.isNonBlankData(value)) {
if (value instanceof Date) {
return value;
} else if (value instanceof Calendar) {
return ((Calendar) value).getTime();
} els... | public KeyMaker createKeyMaker() {
return new KeyMaker() {
@Override
protected Object makeKey(Object value) {
if (ExpressionUtils.isNonBlankData(value)) {
if (value instanceof Date) {
return value;
} else if (value instanceof Calendar) {
return ((Calendar) value).getTime();
} els... |
diff --git a/CubicTestWatirExporter/src/main/java/org/cubictest/exporters/watir/converters/delegates/PageElementAsserterPlain.java b/CubicTestWatirExporter/src/main/java/org/cubictest/exporters/watir/converters/delegates/PageElementAsserterPlain.java
index 4bab3107..b13726db 100644
--- a/CubicTestWatirExporter/src/main... | true | true | public static void handle(WatirHolder watirHolder, PageElement pe) {
String idType = WatirUtils.getMainIdType(pe);
String idValue = WatirUtils.getIdValue(pe.getMainIdentifier());
Moderator moderator = pe.getMainIdentifier().getModerator();
if (pe instanceof Title) {
if (moderator.equals(EQUAL)) {
wa... | public static void handle(WatirHolder watirHolder, PageElement pe) {
String idType = WatirUtils.getMainIdType(pe);
String idValue = WatirUtils.getIdValue(pe.getMainIdentifier());
Moderator moderator = pe.getMainIdentifier().getModerator();
if (pe instanceof Title) {
if (moderator.equals(EQUAL)) {
wa... |
diff --git a/src/vooga/rts/gamedesign/sprite/gamesprites/interactive/InteractiveEntity.java b/src/vooga/rts/gamedesign/sprite/gamesprites/interactive/InteractiveEntity.java
index d6f0bf4f..fa5e24ce 100644
--- a/src/vooga/rts/gamedesign/sprite/gamesprites/interactive/InteractiveEntity.java
+++ b/src/vooga/rts/gamedesign... | true | true | public void paint(Graphics2D pen) {
//pen.rotate(getVelocity().getAngle());
//should probably use the getBottom, getHeight etc...implement them
Point2D selectLocation = Camera.instance().worldToView(getWorldLocation());
Rectangle2D healthBar = new Rectangle2D.Double((int)selectLocation.getX()-LOCATION_OFFSET,... | public void paint(Graphics2D pen) {
//pen.rotate(getVelocity().getAngle());
//should probably use the getBottom, getHeight etc...implement them
Point2D selectLocation = Camera.instance().worldToView(getWorldLocation());
Rectangle2D healthBar = new Rectangle2D.Double((int)selectLocation.getX()-LOCATION_OFFSET,... |
diff --git a/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/swt/basic/calendar/layout/MonthCellLayout.java b/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/swt/basic/calendar/layout/MonthCellLayout.java
index 209e3e832b..f1f92a4848 100644
--- a/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/s... | true | true | protected void layout(Composite composite, boolean flushCache) {
// get children (items)
Control[] children = composite.getChildren();
// clipRect of parent composite
Rectangle clipRect = composite.getClientArea();
//logger.debug("size: " + clipRect.width + " w, " + clipRect.height + " h.");
... | protected void layout(Composite composite, boolean flushCache) {
// get children (items)
Control[] children = composite.getChildren();
// clipRect of parent composite
Rectangle clipRect = composite.getClientArea();
//logger.debug("size: " + clipRect.width + " w, " + clipRect.height + " h.");
... |
diff --git a/src/com/android/exchange/provider/ExchangeDirectoryProvider.java b/src/com/android/exchange/provider/ExchangeDirectoryProvider.java
index 11b7230..b267da9 100644
--- a/src/com/android/exchange/provider/ExchangeDirectoryProvider.java
+++ b/src/com/android/exchange/provider/ExchangeDirectoryProvider.java
@@ ... | true | true | public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
String sortOrder) {
int match = sURIMatcher.match(uri);
MatrixCursor cursor;
Object[] row;
PackedString ps;
String lookupKey;
switch (match) {
case GAL... | public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
String sortOrder) {
int match = sURIMatcher.match(uri);
MatrixCursor cursor;
Object[] row;
PackedString ps;
String lookupKey;
switch (match) {
case GAL... |
diff --git a/pmd/src/net/sourceforge/pmd/rules/UnusedModifier.java b/pmd/src/net/sourceforge/pmd/rules/UnusedModifier.java
index 58d9c718d..d657f5b80 100644
--- a/pmd/src/net/sourceforge/pmd/rules/UnusedModifier.java
+++ b/pmd/src/net/sourceforge/pmd/rules/UnusedModifier.java
@@ -1,50 +1,50 @@
package net.sourceforge.... | true | true | public Object visit(ASTClassOrInterfaceDeclaration node, Object data) {
if (!node.isInterface() && node.isNested() && (node.isPublic() || node.isStatic())) {
ASTClassOrInterfaceDeclaration parent = (ASTClassOrInterfaceDeclaration) node.getFirstParentOfType(ASTClassOrInterfaceDeclaration.class);
... | public Object visit(ASTClassOrInterfaceDeclaration node, Object data) {
if (!node.isInterface() && node.isNested() && (node.isPublic() || node.isStatic())) {
ASTClassOrInterfaceDeclaration parent = (ASTClassOrInterfaceDeclaration) node.getFirstParentOfType(ASTClassOrInterfaceDeclaration.class);
... |
diff --git a/EasyMobArmory/src/main/java/com/runetooncraft/plugins/EasyMobArmory/EMAListener.java b/EasyMobArmory/src/main/java/com/runetooncraft/plugins/EasyMobArmory/EMAListener.java
index 19974f4..01f0e2f 100644
--- a/EasyMobArmory/src/main/java/com/runetooncraft/plugins/EasyMobArmory/EMAListener.java
+++ b/EasyMobA... | true | true | public void OnInventoryCloseEvent(InventoryCloseEvent event) {
if(Armoryenabled.get(event.getPlayer()) != null){ if(Armoryenabled.get(event.getPlayer())) {
if(event.getInventory().getName().equals("zombieinv")) {
Inventory i = event.getInventory();
Zombie z = (Zombie) PlayerMobDataMap.get(event.getPlayer());... | public void OnInventoryCloseEvent(InventoryCloseEvent event) {
if(Armoryenabled.get(event.getPlayer()) != null){ if(Armoryenabled.get(event.getPlayer())) {
if(event.getInventory().getName().equals("zombieinv")) {
Inventory i = event.getInventory();
Zombie z = (Zombie) PlayerMobDataMap.get(event.getPlayer());... |
diff --git a/src/com/wolvencraft/prison/mines/MineTask.java b/src/com/wolvencraft/prison/mines/MineTask.java
index 2bc707a..148b626 100644
--- a/src/com/wolvencraft/prison/mines/MineTask.java
+++ b/src/com/wolvencraft/prison/mines/MineTask.java
@@ -1,42 +1,42 @@
package com.wolvencraft.prison.mines;
import java.uti... | true | true | public void run() {
for(Mine curMine : PrisonMine.getMines()) {
if(curMine.getAutomatic() && Mine.get(curMine.getParent()) == null) {
int nextReset = curMine.getResetsInSafe();
List<Integer> warnTimes = curMine.getWarningTimes();
if(!curMine.getSilent() && curMine.getWarned() && warnTimes.indexOf... | public void run() {
for(Mine curMine : PrisonMine.getMines()) {
if(curMine.getAutomatic() && Mine.get(curMine.getParent()) == null) {
int nextReset = curMine.getResetsInSafe();
List<Integer> warnTimes = curMine.getWarningTimes();
if(!curMine.getSilent() && curMine.getWarned() && warnTimes.indexOf... |
diff --git a/APITestingCG/src/cz/cvut/fit/hybljan2/apitestingcg/apimodel/APIMethodParameter.java b/APITestingCG/src/cz/cvut/fit/hybljan2/apitestingcg/apimodel/APIMethodParameter.java
index bed9943..aa003d0 100644
--- a/APITestingCG/src/cz/cvut/fit/hybljan2/apitestingcg/apimodel/APIMethodParameter.java
+++ b/APITestingC... | true | true | public boolean isPrimitive() {
switch (getType().getName()) {
case "byte":
case "short":
case "int":
case "long":
case "float":
case "double":
case "boolean":
case "char":
return true;
... | public boolean isPrimitive() {
if(getType().isArray()) return false;
switch (getType().getName()) {
case "byte":
case "short":
case "int":
case "long":
case "float":
case "double":
case "boolean":
case "c... |
diff --git a/loci/formats/in/DeltavisionReader.java b/loci/formats/in/DeltavisionReader.java
index e7d71afb5..5a1ee4193 100644
--- a/loci/formats/in/DeltavisionReader.java
+++ b/loci/formats/in/DeltavisionReader.java
@@ -1,777 +1,778 @@
//
// DeltavisionReader.java
//
/*
LOCI Bio-Formats package for reading and ... | true | true | protected void initFile(String id) throws FormatException, IOException {
if (debug) debug("DeltavisionReader.initFile(" + id + ")");
super.initFile(id);
in = new RandomAccessStream(id);
// read in the image header data
header = new byte[1024];
in.read(header);
int endian = DataTools.byt... | protected void initFile(String id) throws FormatException, IOException {
if (debug) debug("DeltavisionReader.initFile(" + id + ")");
super.initFile(id);
in = new RandomAccessStream(id);
// read in the image header data
header = new byte[1024];
in.read(header);
int endian = DataTools.byt... |
diff --git a/orbisgis-core/src/main/java/org/orbisgis/javaManager/autocompletion/Completion.java b/orbisgis-core/src/main/java/org/orbisgis/javaManager/autocompletion/Completion.java
index 9d851a206..7c59beb72 100644
--- a/orbisgis-core/src/main/java/org/orbisgis/javaManager/autocompletion/Completion.java
+++ b/orbisgi... | true | true | private ArrayList<String> getValidText(String text, int caretPosition,
ParseException e) {
ArrayList<String> options = new ArrayList<String>();
if ((text.charAt(caretPosition - 1) == '.')
&& ((caretPosition >= text.length()) || (text
.charAt(caretPosition) != 'a'))) {
String newText = text.substrin... | private ArrayList<String> getValidText(String text, int caretPosition,
ParseException e) {
ArrayList<String> options = new ArrayList<String>();
if ((caretPosition > 0)
&& (text.charAt(caretPosition - 1) == '.')
&& ((caretPosition >= text.length()) || (text
.charAt(caretPosition) != 'a'))) {
Str... |
diff --git a/modules/management/src/main/java/org/mortbay/management/ObjectMBean.java b/modules/management/src/main/java/org/mortbay/management/ObjectMBean.java
index 516a6f942..1f31d6b3b 100644
--- a/modules/management/src/main/java/org/mortbay/management/ObjectMBean.java
+++ b/modules/management/src/main/java/org/mor... | false | true | public MBeanAttributeInfo defineAttribute(String name, String metaData)
{
String[] tokens=metaData.split(":",3);
int i=tokens.length-1;
String description=tokens[i--];
boolean writable= i<0 || "RW".equalsIgnoreCase(tokens[i--]);
boolean onMBean= i==0 && "MBean".equalsIgno... | public MBeanAttributeInfo defineAttribute(String name, String metaData)
{
String[] tokens=metaData.split(":",3);
int i=tokens.length-1;
String description=tokens[i--];
boolean writable= i<0 || "RW".equalsIgnoreCase(tokens[i--]);
boolean onMBean= i==0 && "MBean".equalsIgno... |
diff --git a/fabric/fabric-commands/src/main/java/org/fusesource/fabric/commands/MQCreate.java b/fabric/fabric-commands/src/main/java/org/fusesource/fabric/commands/MQCreate.java
index 45c81fba8..299d7e6b5 100644
--- a/fabric/fabric-commands/src/main/java/org/fusesource/fabric/commands/MQCreate.java
+++ b/fabric/fabric... | false | true | protected Object doExecute() throws Exception {
// create profile
MQService service = new MQServiceImpl(fabricService);
HashMap<String, String> configuration = new HashMap<String, String>();
if (data == null) {
data = System.getProperty("karaf.base") + System.getProper... | protected Object doExecute() throws Exception {
// create profile
MQService service = new MQServiceImpl(fabricService);
HashMap<String, String> configuration = new HashMap<String, String>();
if (data == null) {
data = System.getProperty("karaf.base") + System.getProper... |
diff --git a/src/org/reprap/geometry/polygons/RrPolygonList.java b/src/org/reprap/geometry/polygons/RrPolygonList.java
index 61bca52..19e0a6d 100644
--- a/src/org/reprap/geometry/polygons/RrPolygonList.java
+++ b/src/org/reprap/geometry/polygons/RrPolygonList.java
@@ -1,914 +1,915 @@
/*
RepRap
------
The R... | true | true | private RrCSG toCSGRecursive(List a, int level, boolean closed)
{
System.out.println("toCSGRecursive() - " + a.size());
flagSet(a, level);
level++;
List ch = convexHull(a);
boolean onePol = flagSet(ch, level);
RrCSG hull;
if(!onePol)
{
RrPolygonList op = outerPols(ch);
hull = RrCSG.nothing();
... | private RrCSG toCSGRecursive(List a, int level, boolean closed)
{
System.out.println("toCSGRecursive() - " + a.size());
flagSet(a, level);
level++;
List ch = convexHull(a);
boolean onePol = flagSet(ch, level);
RrCSG hull;
if(!onePol)
{
RrPolygonList op = outerPols(ch);
hull = RrCSG.nothing();
... |
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/tags/TagRefreshButtonArea.java
index 9cab40dd6..90804fb30 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/c... | true | true | public void createArea(Composite parent) {
final PixelConverter converter= SWTUtils.createDialogPixelConverter(parent);
final Composite buttonComp = new Composite(parent, SWT.NONE);
buttonComp.setLayoutData(SWTUtils.createHFillGridData());//SWT.DEFAULT, SWT.DEFAULT, SWT.END, SWT.TOP, false,... | public void createArea(Composite parent) {
final PixelConverter converter= SWTUtils.createDialogPixelConverter(parent);
final Composite buttonComp = new Composite(parent, SWT.NONE);
buttonComp.setLayoutData(SWTUtils.createHFillGridData());//SWT.DEFAULT, SWT.DEFAULT, SWT.END, SWT.TOP, false,... |
diff --git a/src/org/apache/fop/tools/anttasks/Manifest.java b/src/org/apache/fop/tools/anttasks/Manifest.java
index 3e285a7be..f0e7c68a0 100644
--- a/src/org/apache/fop/tools/anttasks/Manifest.java
+++ b/src/org/apache/fop/tools/anttasks/Manifest.java
@@ -1,239 +1,239 @@
/*
* Copyright (C) 2001 The Apache Software... | true | true | public void execute ()
throws BuildException
{
// System.out.println("Executing manifest task");
PrintWriter out;
try {
if (_manifestFilename != null) {
// open the file for writing
File f = new File(_manifestFilename);
if (f.exists()) {
if (_overwrite.booleanValue()) {
f.delete();
... | public void execute ()
throws BuildException
{
// System.out.println("Executing manifest task");
PrintWriter out;
try {
if (_manifestFilename != null) {
// open the file for writing
File f = new File(_manifestFilename);
if (f.exists()) {
if (_overwrite.booleanValue()) {
f.delete();
... |
diff --git a/ScrollingScoreBoardAnnouncer/src/de/MiniDigger/ScrollingScoreBoardAnnouncer/ScrollingScoreBoardAnnoucerCommands.java b/ScrollingScoreBoardAnnouncer/src/de/MiniDigger/ScrollingScoreBoardAnnouncer/ScrollingScoreBoardAnnoucerCommands.java
index c7cbe52..9d8e368 100644
--- a/ScrollingScoreBoardAnnouncer/src/de... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String lable,
String[] args) {
if (cmd.getName().equalsIgnoreCase("announce")) {
if (sender instanceof Player
&& !ScrollingScoreBoardAnnouncer.perms.has(sender,
"ssa.announce")) {
sender.sendMessage(ChatColor.RED
+ ScrollingScore... | public boolean onCommand(CommandSender sender, Command cmd, String lable,
String[] args) {
if (cmd.getName().equalsIgnoreCase("announce")) {
if (sender instanceof Player
&& !ScrollingScoreBoardAnnouncer.perms.has(sender,
"ssa.announce")) {
sender.sendMessage(ChatColor.RED
+ ScrollingScore... |
diff --git a/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java b/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
index 96363c624..c2b186c2c 100644
--- a/java/modules/core/src/main/java/org/apache/synapse/core/axis2/ProxyService.java
+++ b/java/modules/core/s... | false | true | public AxisService buildAxisService(SynapseConfiguration synCfg, AxisConfiguration axisCfg) {
auditInfo("Building Axis service for Proxy service : " + name);
AxisService proxyService = null;
// get the wsdlElement as an OMElement
if (trace()) {
trace.info("Loading the W... | public AxisService buildAxisService(SynapseConfiguration synCfg, AxisConfiguration axisCfg) {
auditInfo("Building Axis service for Proxy service : " + name);
AxisService proxyService = null;
// get the wsdlElement as an OMElement
if (trace()) {
trace.info("Loading the W... |
diff --git a/vme-service/src/main/java/org/fao/fi/vme/sync2/mapping/ObjectMapping.java b/vme-service/src/main/java/org/fao/fi/vme/sync2/mapping/ObjectMapping.java
index ed321f7c..de3bb694 100644
--- a/vme-service/src/main/java/org/fao/fi/vme/sync2/mapping/ObjectMapping.java
+++ b/vme-service/src/main/java/org/fao/fi/vm... | true | true | public VmeObservationDomain mapVme2Figis(Vme vme) {
// precondition
if (vme.getRfmo() == null) {
throw new VmeException("Detected Vme without Rfmo");
}
// logic
Map<Integer, List<YearObject<?>>> map = groupie.collect(vme);// not processed here InformationSource, To be done
Object[] years = map.keySet()... | public VmeObservationDomain mapVme2Figis(Vme vme) {
// precondition
if (vme.getRfmo() == null) {
throw new VmeException("Detected Vme without Rfmo");
}
// logic
Map<Integer, List<YearObject<?>>> map = groupie.collect(vme);// not processed here InformationSource, To be done
Object[] years = map.keySet()... |
diff --git a/payment/src/main/java/com/ning/billing/payment/core/PaymentMethodProcessor.java b/payment/src/main/java/com/ning/billing/payment/core/PaymentMethodProcessor.java
index 16faab9fc..d0f961204 100644
--- a/payment/src/main/java/com/ning/billing/payment/core/PaymentMethodProcessor.java
+++ b/payment/src/main/ja... | true | true | public List<PaymentMethod> refreshPaymentMethods(final String pluginName, final Account account, final CallContext context)
throws PaymentApiException {
return new WithAccountLock<List<PaymentMethod>>().processAccountWithLock(locker, account.getExternalKey(), new WithAccountLockCallback<List<Pa... | public List<PaymentMethod> refreshPaymentMethods(final String pluginName, final Account account, final CallContext context)
throws PaymentApiException {
return new WithAccountLock<List<PaymentMethod>>().processAccountWithLock(locker, account.getExternalKey(), new WithAccountLockCallback<List<Pa... |
diff --git a/atlassian-plugins-core/src/test/java/com/atlassian/plugin/TestDefaultPluginManagerLongRunning.java b/atlassian-plugins-core/src/test/java/com/atlassian/plugin/TestDefaultPluginManagerLongRunning.java
index c6c6c30b..8f3801cf 100644
--- a/atlassian-plugins-core/src/test/java/com/atlassian/plugin/TestDefault... | false | true | public void testInstallPluginTwiceWithSameName() throws Exception
{
createFillAndCleanTempPluginDirectory();
FileUtils.cleanDirectory(pluginsTestDir);
final File plugin = File.createTempFile("plugin", ".jar");
new PluginJarBuilder("plugin").addPluginInformation("some.key", "My n... | public void testInstallPluginTwiceWithSameName() throws Exception
{
createFillAndCleanTempPluginDirectory();
FileUtils.cleanDirectory(pluginsTestDir);
final File plugin = File.createTempFile("plugin", ".jar");
plugin.delete();
File jar = new PluginJarBuilder("plugin")
... |
diff --git a/wharf-core/src/main/java/org/jfrog/wharf/ivy/resource/WharfUrlResource.java b/wharf-core/src/main/java/org/jfrog/wharf/ivy/resource/WharfUrlResource.java
index 54e5571..908d631 100644
--- a/wharf-core/src/main/java/org/jfrog/wharf/ivy/resource/WharfUrlResource.java
+++ b/wharf-core/src/main/java/org/jfrog/... | true | true | public WharfUrlResource(Resource resource) {
if (resource instanceof FileResource) {
try {
url = ((FileResource) resource).getFile().toURI().toURL();
} catch (MalformedURLException e) {
throw new IllegalArgumentException("Malformed File URL", e);
... | public WharfUrlResource(Resource resource) {
if (resource instanceof FileResource) {
try {
url = ((FileResource) resource).getFile().toURI().toURL();
} catch (MalformedURLException e) {
throw new IllegalArgumentException("Malformed File URL", e);
... |
diff --git a/src/com/pindroid/fragment/AboutFragment.java b/src/com/pindroid/fragment/AboutFragment.java
index 051ddad..6a0614c 100644
--- a/src/com/pindroid/fragment/AboutFragment.java
+++ b/src/com/pindroid/fragment/AboutFragment.java
@@ -1,58 +1,58 @@
/*
* PinDroid - http://code.google.com/p/PinDroid/
*
* Cop... | true | true | public void onActivityCreated(Bundle savedInstanceState){
super.onActivityCreated(savedInstanceState);
base = (FragmentBaseActivity)getActivity();
base.setTitle(R.string.about_activity_title);
WebView content = (WebView) base.findViewById(R.id.about_text_view);
content.loadData(getString(R.string.ab... | public void onActivityCreated(Bundle savedInstanceState){
super.onActivityCreated(savedInstanceState);
base = (FragmentBaseActivity)getActivity();
base.setTitle(R.string.about_activity_title);
WebView content = (WebView) base.findViewById(R.id.about_text_view);
content.loadDataWithBaseURL(null, getS... |
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/FilterTest.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/FilterTest.java
index 4de8efbe1..73418350c 100644
--- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/FilterTest.java
+++ b/tests/org.eclipse.compare... | false | true | public void testMultiFilter() {
CompareFilter f= new CompareFilter();
f.setFilters("*.class, .cvsignore, bin/"); //$NON-NLS-1$
Assert.assertTrue("file foo.class should be filtered", f.filter("foo.class", false, false)); //$NON-NLS-1$ //$NON-NLS-2$
Assert.assertFalse("file foo.java shouldn't be filtered", f.fil... | public void testMultiFilter() {
CompareFilter f= new CompareFilter();
f.setFilters("*.class, .cvsignore, bin/, src/"); //$NON-NLS-1$
Assert.assertTrue("file foo.class should be filtered", f.filter("foo.class", false, false)); //$NON-NLS-1$ //$NON-NLS-2$
Assert.assertFalse("file foo.java shouldn't be filtered",... |
diff --git a/src/GUI/Tag.java b/src/GUI/Tag.java
index 8d7d343..4c248b9 100644
--- a/src/GUI/Tag.java
+++ b/src/GUI/Tag.java
@@ -1,250 +1,249 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package GUI;
import GUIListeners.TagMouseListener;
import TrolleyR... | true | true | public void setActions(){
PrintTag = new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {
PrinterJob printJob = PrinterJob.getPrinterJob();
printJob.setJobName("Utskrift av tralleseddel");
printJob.setPrintable(new Printable()... | public void setActions(){
PrintTag = new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {
PrinterJob printJob = PrinterJob.getPrinterJob();
printJob.setJobName("Utskrift av tralleseddel");
printJob.setPrintable(new Printable()... |
diff --git a/src/com/wickedspiral/jacss/parser/Parser.java b/src/com/wickedspiral/jacss/parser/Parser.java
index fb15310..e52cb8b 100644
--- a/src/com/wickedspiral/jacss/parser/Parser.java
+++ b/src/com/wickedspiral/jacss/parser/Parser.java
@@ -1,558 +1,558 @@
package com.wickedspiral.jacss.parser;
import com.wicke... | true | true | public void token(Token token, String value)
{
if (debug) System.err.printf("Token: %s, value: %s\n", token, value);
if (rgb)
{
if (NUMBER == token)
{
String h = Integer.toHexString(Integer.parseInt(value)).toLowerCase();
if (h.len... | public void token(Token token, String value)
{
if (debug) System.err.printf("Token: %s, value: %s\n", token, value);
if (rgb)
{
if (NUMBER == token)
{
String h = Integer.toHexString(Integer.parseInt(value)).toLowerCase();
if (h.len... |
diff --git a/toolkit/toolkit-view/src/main/java/org/bonitasoft/web/toolkit/client/ViewController.java b/toolkit/toolkit-view/src/main/java/org/bonitasoft/web/toolkit/client/ViewController.java
index 72003df4d..c7ff1e9f3 100644
--- a/toolkit/toolkit-view/src/main/java/org/bonitasoft/web/toolkit/client/ViewController.jav... | true | true | public static RawView showView(final RawView view, final Element rootElement, final TreeIndexed<String> params) {
// Set the parent Element to the view that will be displayed
view.setParentElement(rootElement);
if (ViewController.ROOT_DIV_ID.equals(rootElement.getId())) {
// Re... | public static RawView showView(final RawView view, final Element rootElement, final TreeIndexed<String> params) {
// Set the parent Element to the view that will be displayed
view.setParentElement(rootElement);
if (ViewController.ROOT_DIV_ID.equals(rootElement.getId())) {
// Re... |
diff --git a/core/src/main/java/edu/northwestern/bioinformatics/studycalendar/xml/writers/StudyXmlSerializerHelper.java b/core/src/main/java/edu/northwestern/bioinformatics/studycalendar/xml/writers/StudyXmlSerializerHelper.java
index d01adf1c4..82c47acd2 100644
--- a/core/src/main/java/edu/northwestern/bioinformatics/... | true | true | public void replaceActivityReferencesWithCorrespondingDefinitions(Study study, Element eStudy) {
Element eSource = eStudy.element("sources");
if (eSource != null) {
Collection<Source> sources = activitySourceXmlSerializer.readCollectionElement(eSource);
Collection<Activity> ... | public void replaceActivityReferencesWithCorrespondingDefinitions(Study study, Element eStudy) {
Element eSource = eStudy.element("sources");
if (eSource != null) {
Collection<Source> sources = activitySourceXmlSerializer.readCollectionElement(eSource);
Collection<Activity> ... |
diff --git a/src/main/java/org/dynmap/PlayerFaces.java b/src/main/java/org/dynmap/PlayerFaces.java
index 470d1038..19210b72 100644
--- a/src/main/java/org/dynmap/PlayerFaces.java
+++ b/src/main/java/org/dynmap/PlayerFaces.java
@@ -1,139 +1,144 @@
package org.dynmap;
import java.awt.image.BufferedImage;
import java... | false | true | public void run() {
BufferedImage img = null;
try {
URL url = new URL("http://s3.amazonaws.com/MinecraftSkins/" + playername + ".png");
img = ImageIO.read(url); /* Load skin for player */
} catch (IOException iox) {
Debug.deb... | public void run() {
BufferedImage img = null;
try {
URL url = new URL("http://s3.amazonaws.com/MinecraftSkins/" + playername + ".png");
img = ImageIO.read(url); /* Load skin for player */
} catch (IOException iox) {
Debug.deb... |
diff --git a/src/lib/com/izforge/izpack/installer/Unpacker.java b/src/lib/com/izforge/izpack/installer/Unpacker.java
index ca071d6c..efe82474 100644
--- a/src/lib/com/izforge/izpack/installer/Unpacker.java
+++ b/src/lib/com/izforge/izpack/installer/Unpacker.java
@@ -1,606 +1,606 @@
/*
* $Id$
* IzPack - Copyright 2... | true | true | public void run()
{
addToInstances();
try
{
//
// Initialisations
FileOutputStream out = null;
ArrayList<ParsableFile> parsables = new ArrayList<ParsableFile>();
ArrayList<ExecutableFile> executables = new ArrayList<ExecutableFi... | public void run()
{
addToInstances();
try
{
//
// Initialisations
FileOutputStream out = null;
ArrayList<ParsableFile> parsables = new ArrayList<ParsableFile>();
ArrayList<ExecutableFile> executables = new ArrayList<ExecutableFi... |
diff --git a/backend/src/com/mymed/controller/core/manager/AbstractManager.java b/backend/src/com/mymed/controller/core/manager/AbstractManager.java
index d4fbb9cb5..1e22cd75f 100644
--- a/backend/src/com/mymed/controller/core/manager/AbstractManager.java
+++ b/backend/src/com/mymed/controller/core/manager/AbstractMana... | false | true | public AbstractMBean introspection(final Class<? extends AbstractMBean> clazz, final Map<byte[], byte[]> args)
throws InternalBackEndException {
AbstractMBean mbean = null;
String fieldName = "";
// We create a new instance of the object we are reflecting on
Constructor<?> ctor;
try {
ctor = clazz.... | public AbstractMBean introspection(final Class<? extends AbstractMBean> clazz, final Map<byte[], byte[]> args)
throws InternalBackEndException {
AbstractMBean mbean = null;
String fieldName = "";
// We create a new instance of the object we are reflecting on
Constructor<?> ctor;
try {
ctor = clazz.... |
diff --git a/simulator/code/simulator/elevatorcontrol/DriveControl.java b/simulator/code/simulator/elevatorcontrol/DriveControl.java
index 5e9024d..d1315b8 100644
--- a/simulator/code/simulator/elevatorcontrol/DriveControl.java
+++ b/simulator/code/simulator/elevatorcontrol/DriveControl.java
@@ -1,369 +1,370 @@
/* 186... | false | true | public void timerExpired(Object callbackData) {
State newState = state;
switch (state) {
case STATE_DRIVE_STOPPED:
driveDir = getDriveDir(driveDir);
//state actions for DRIVE_STOPPED
localDrive.set(Speed.STOP, Direction.STOP);
... | public void timerExpired(Object callbackData) {
State newState = state;
switch (state) {
case STATE_DRIVE_STOPPED:
driveDir = getDriveDir(driveDir);
//state actions for DRIVE_STOPPED
localDrive.set(Speed.STOP, Direction.STOP);
... |
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/MergeWizard.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/MergeWizard.java
index 8e8b9a02d..83a753ec8 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizar... | true | true | public boolean performFinish() {
CVSTag startTag = page.getStartTag();
CVSTag endTag = page.getEndTag();
if (startTag == null || !page.isPreview()) {
// Perform the update (merge) in the background
UpdateOperation op = new UpdateOperation(getPart(), mappings, getLocalOptions(startTag, endTag... | public boolean performFinish() {
CVSTag startTag = page.getStartTag();
CVSTag endTag = page.getEndTag();
if (startTag == null || !page.isPreview()) {
// Perform the update (merge) in the background
UpdateOperation op = new UpdateOperation(getPart(), mappings, getLocalOptions(startTag, endTag... |
diff --git a/src/main/java/org/sonar/ide/intellij/model/ToolWindowModel.java b/src/main/java/org/sonar/ide/intellij/model/ToolWindowModel.java
index fd25b0c..36dea89 100644
--- a/src/main/java/org/sonar/ide/intellij/model/ToolWindowModel.java
+++ b/src/main/java/org/sonar/ide/intellij/model/ToolWindowModel.java
@@ -1,7... | true | true | public void refreshViolationsTable(VirtualFile newFile) {
sonarCache.loadViolations(newFile, new RefreshListener<Violation>() {
@Override
public void doneRefresh(final VirtualFile virtualFile, final List<Violation> violations) {
SwingUtilities.invokeLater(new Runnable() {
@Override
... | public void refreshViolationsTable(VirtualFile newFile) {
sonarCache.loadViolations(newFile, new RefreshListener<Violation>() {
@Override
public void doneRefresh(final VirtualFile virtualFile, final List<Violation> violations) {
SwingUtilities.invokeLater(new Runnable() {
@Override
... |
diff --git a/src/ajm/ruby.java b/src/ajm/ruby.java
index 4110f35..4926128 100644
--- a/src/ajm/ruby.java
+++ b/src/ajm/ruby.java
@@ -1,280 +1,281 @@
package ajm;
/*
Copyright (c) 2008-2009, Adam Murray (adam@compusition.com). All rights reserved.
Redistribution and use in source and binary forms, with or with... | true | true | protected void eval(CharSequence input) {
try {
if (ruby == null) {
err("not initialized yet. Did not evaluate: " + input
+ ". If you are loadbanging a script, try using a deferlow.");
return;
}
Object val = ruby.eval(input, evaloutlet >= 0);
if (evaloutlet >= 0... | protected void eval(CharSequence input) {
try {
if (ruby == null) {
err("not initialized yet. Did not evaluate: " + input
+ ". If you are loadbanging a script, try using a deferlow.");
return;
}
Object val = ruby.eval(input, evaloutlet >= 0);
if (evaloutlet >= 0... |
diff --git a/AndroidExploration/src/org/crazydays/android/sensor/SensorsActivity.java b/AndroidExploration/src/org/crazydays/android/sensor/SensorsActivity.java
index 14f74ac..c6e8b92 100644
--- a/AndroidExploration/src/org/crazydays/android/sensor/SensorsActivity.java
+++ b/AndroidExploration/src/org/crazydays/android... | false | true | public void onSensorChanged(SensorEvent event)
{
if (event.sensor == magnetic) {
EditText x = (EditText) findViewById(R.id.magneticDisplayX);
x.setText(Float.toString(event.values[0]));
EditText y = (EditText) findViewById(R.id.magneticDisplayX);
y.setText... | public void onSensorChanged(SensorEvent event)
{
if (event.sensor == magnetic) {
EditText x = (EditText) findViewById(R.id.magneticDisplayX);
x.setText(Float.toString(event.values[0]));
EditText y = (EditText) findViewById(R.id.magneticDisplayY);
y.setText... |
diff --git a/src/org/mariotaku/twidere/fragment/ActivitiesAboutMeFragment.java b/src/org/mariotaku/twidere/fragment/ActivitiesAboutMeFragment.java
index 3ac8ad93..7fc07153 100644
--- a/src/org/mariotaku/twidere/fragment/ActivitiesAboutMeFragment.java
+++ b/src/org/mariotaku/twidere/fragment/ActivitiesAboutMeFragment.ja... | false | true | public View getView(final int position, final View convertView, final ViewGroup parent) {
final View view = super.getView(position, convertView, parent);
final Object tag = view.getTag();
final ActivityViewHolder holder = tag instanceof ActivityViewHolder ? (ActivityViewHolder) tag
: new ActivityViewHol... | public View getView(final int position, final View convertView, final ViewGroup parent) {
final View view = super.getView(position, convertView, parent);
final Object tag = view.getTag();
final ActivityViewHolder holder = tag instanceof ActivityViewHolder ? (ActivityViewHolder) tag
: new ActivityViewHol... |
diff --git a/nanite-hadoop/src/main/java/uk/bl/wap/hadoop/profiler/FormatProfiler.java b/nanite-hadoop/src/main/java/uk/bl/wap/hadoop/profiler/FormatProfiler.java
index c112a8b..02039c0 100644
--- a/nanite-hadoop/src/main/java/uk/bl/wap/hadoop/profiler/FormatProfiler.java
+++ b/nanite-hadoop/src/main/java/uk/bl/wap/had... | true | true | public int run( String[] args ) throws IOException {
JobConf conf = new JobConf( getConf(), FormatProfiler.class );
log.info("Loading paths...");
String line = null;
List<Path> paths = new ArrayList<Path>();
BufferedReader br = new BufferedReader( new FileReader( args[ 0 ] ) );
while( ( line = br.readLine... | public int run( String[] args ) throws IOException {
JobConf conf = new JobConf( getConf(), FormatProfiler.class );
log.info("Loading paths...");
String line = null;
List<Path> paths = new ArrayList<Path>();
BufferedReader br = new BufferedReader( new FileReader( args[ 0 ] ) );
while( ( line = br.readLine... |
diff --git a/plugins/experimental/org.eclipse.uml2.diagram.sequence/custom-src/org/eclipse/uml2/diagram/sequence/figures/StateInvariantShape.java b/plugins/experimental/org.eclipse.uml2.diagram.sequence/custom-src/org/eclipse/uml2/diagram/sequence/figures/StateInvariantShape.java
index d22e90c08..98b4e3054 100644
--- a... | true | true | public StateInvariantShape () {
setOutline(false);
setBackgroundColor(ColorConstants.lightGray);
corner.width = DEFAULT_RADIUS;
corner.height = DEFAULT_RADIUS;
setLayoutManager(new BorderLayout());
int gapWidth = corner.width/2;
... | public StateInvariantShape () {
setLineWidth(1);
setOutline(false);
setBackgroundColor(ColorConstants.lightGray);
corner.width = DEFAULT_RADIUS;
corner.height = DEFAULT_RADIUS;
setLayoutManager(new BorderLayout());
int gapWidth = corner... |
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
index a45e869..3a6f682 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java... | true | true | public void done(IJobChangeEvent event) {
IStatus result = event.getResult();
if(result.getSeverity() == IStatus.CANCEL) {
return;
} else if(!result.isOK()) {
// XXX report errors
return;
}
if(projects.isEmpty()) {
log.info("No Maven projects to import"... | public void done(IJobChangeEvent event) {
IStatus result = event.getResult();
if(result.getSeverity() == IStatus.CANCEL) {
return;
} else if(!result.isOK()) {
// XXX report errors
return;
}
if(projects.isEmpty()) {
log.info("No Maven projects to import"... |
diff --git a/wayback-core/src/test/java/org/archive/wayback/accesscontrol/robotstxt/RobotExclusionFilterTest.java b/wayback-core/src/test/java/org/archive/wayback/accesscontrol/robotstxt/RobotExclusionFilterTest.java
index 43d513b5a..2a5f284fd 100644
--- a/wayback-core/src/test/java/org/archive/wayback/accesscontrol/ro... | false | true | public void testSearchResultToRobotUrlStrings() {
RobotExclusionFilter f = new RobotExclusionFilter(null,"",100);
String test1[] = {"www.foo.com","foo.com"};
compareListTo(f.searchResultToRobotUrlStrings("www.foo.com", HTTP_PREFIX),test1);
String test2[] = {"www.foo.com","foo.com"};
compareListTo(f.searchRe... | public void testSearchResultToRobotUrlStrings() {
RobotExclusionFilter f = new RobotExclusionFilter(null,"",100);
String test1[] = {"www.foo.com","foo.com"};
compareListTo(f.searchResultToRobotUrlStrings("www.foo.com", HTTP_PREFIX),test1);
String test2[] = {"foo.com","www.foo.com"};
compareListTo(f.searchRe... |
diff --git a/bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/custom/TableEditor.java b/bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/custom/TableEditor.java
index aca2dd363..4c4cff71e 100644
--- a/bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/custom/TableEditor.java
+++ b/bundles/org.eclipse.rap.rwt/src/org/eclipse... | true | true | Rectangle computeBounds () {
if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0);
Rectangle cell = item.getBounds(column);
Rectangle rect = item.getImageBounds(column);
cell.x = rect.x + rect.width;
cell.width -= rect.width;
Rectangle area = table.getClientArea();
if (cell.x <... | Rectangle computeBounds () {
if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0);
Rectangle cell = item.getBounds(column);
Rectangle rect = item.getImageBounds(column);
// [rst] Fix for bug 269065: [TableEditor] Cell editors misaligned when cell
// padding is set on table
//... |
diff --git a/src/cz/cvut/localtrade/FilterDialogFragment.java b/src/cz/cvut/localtrade/FilterDialogFragment.java
index d851096..9a2e51d 100644
--- a/src/cz/cvut/localtrade/FilterDialogFragment.java
+++ b/src/cz/cvut/localtrade/FilterDialogFragment.java
@@ -1,42 +1,42 @@
package cz.cvut.localtrade;
import android.ap... | true | true | public Dialog onCreateDialog(Bundle savedInstanceState) {
LayoutInflater inflater = getActivity().getLayoutInflater();
ScrollView v = new ScrollView(getActivity());
v.setPadding(15, 15, 15, 15);
v.addView(inflater.inflate(R.layout.filter_items_dialog, null));
// Use the Builder class for convenient dialog ... | public Dialog onCreateDialog(Bundle savedInstanceState) {
LayoutInflater inflater = getActivity().getLayoutInflater();
ScrollView v = new ScrollView(getActivity());
v.setPadding(15, 15, 15, 15);
v.addView(inflater.inflate(R.layout.filter_items_dialog, null));
// Use the Builder class for convenient dialog ... |
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java b/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
index 907aaebb8..596849967 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/LinkedPositionGroup.java
+++ b/org.eclipse.text/src/org/eclipse/jfac... | true | true | Map handleEvent(DocumentEvent event) {
if (fLastPosition != null) {
Map map= new HashMap();
int relativeOffset= event.getOffset() - fLastRegion.getOffset();
if (relativeOffset < 0) {
relativeOffset= 0;
}
int eventEnd= event.getOffset() + event.getLength();
int lastEnd= fLastRegion.ge... | Map handleEvent(DocumentEvent event) {
if (fLastPosition != null) {
Map map= new HashMap();
int relativeOffset= event.getOffset() - fLastRegion.getOffset();
if (relativeOffset < 0) {
relativeOffset= 0;
}
int eventEnd= event.getOffset() + event.getLength();
int lastEnd= fLastRegion.ge... |
diff --git a/onebusaway-transit-data-federation-builder/src/main/java/org/onebusaway/transit_data_federation/bundle/FederatedTransitDataBundleCreatorMain.java b/onebusaway-transit-data-federation-builder/src/main/java/org/onebusaway/transit_data_federation/bundle/FederatedTransitDataBundleCreatorMain.java
index c4b5ad2... | true | true | public void run(String[] args) {
try {
Parser parser = new GnuParser();
Options options = new Options();
buildOptions(options);
CommandLine commandLine = parser.parse(options, args);
String[] remainingArgs = commandLine.getArgs();
if (remainingArgs.length < 2) {
pr... | public void run(String[] args) {
try {
Parser parser = new GnuParser();
Options options = new Options();
buildOptions(options);
CommandLine commandLine = parser.parse(options, args);
String[] remainingArgs = commandLine.getArgs();
if (remainingArgs.length < 2) {
pr... |
diff --git a/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/DisplayStatisticsServlet.java b/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/DisplayStatisticsServlet.java
index 081de6648..7be70c7a3 100644
--- a/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/... | false | true | protected void displayStatistics(Context context, HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException,
SQLException, AuthorizeException
{
String handle = request.getParameter("handle");
DSpaceObject dso = HandleManager.resolveT... | protected void displayStatistics(Context context, HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException,
SQLException, AuthorizeException
{
String handle = request.getParameter("handle");
DSpaceObject dso = HandleManager.resolveT... |
diff --git a/src/main/java/com/github/kpacha/jkata/anagram/Anagram.java b/src/main/java/com/github/kpacha/jkata/anagram/Anagram.java
index 052aa86..2fbec86 100644
--- a/src/main/java/com/github/kpacha/jkata/anagram/Anagram.java
+++ b/src/main/java/com/github/kpacha/jkata/anagram/Anagram.java
@@ -1,56 +1,65 @@
package ... | true | true | public static Set<String> generate(String source) {
Set<String> result = new HashSet<String>();
List<Character> chars = getAsCharacterList(source);
if (chars.size() == 3) {
for (int currentChar = 0; currentChar < 3; currentChar++) {
Character character = chars.get(currentChar);
for (String part : Anagra... | public static Set<String> generate(String source) {
Set<String> result = new HashSet<String>();
List<Character> chars = getAsCharacterList(source);
if (chars.size() == 4) {
for (int currentChar = 0; currentChar < 4; currentChar++) {
Character character = chars.get(currentChar);
for (String part : Anagra... |
diff --git a/sokoban/solvers/BidirectionalIDS.java b/sokoban/solvers/BidirectionalIDS.java
index 2d8fe20..7694e22 100644
--- a/sokoban/solvers/BidirectionalIDS.java
+++ b/sokoban/solvers/BidirectionalIDS.java
@@ -1,80 +1,90 @@
package sokoban.solvers;
import java.util.HashMap;
import java.util.HashSet;
import s... | false | true | public String solve(final Board startBoard)
{
HashSet<Long> failedBoardsPuller = new HashSet<Long>();
HashSet<Long> failedBoardsPusher = new HashSet<Long>();
HashMap<Long, BoxPosDir> pullerStatesMap = new HashMap<Long, BoxPosDir>();
HashMap<Long, BoxPosDir> pusherStatesMap = new... | public String solve(final Board startBoard)
{
HashSet<Long> failedBoardsPuller = new HashSet<Long>();
HashSet<Long> failedBoardsPusher = new HashSet<Long>();
HashMap<Long, BoxPosDir> pullerStatesMap = new HashMap<Long, BoxPosDir>();
HashMap<Long, BoxPosDir> pusherStatesMap = new... |
diff --git a/v7/mediarouter/src/android/support/v7/media/RegisteredMediaRouteProvider.java b/v7/mediarouter/src/android/support/v7/media/RegisteredMediaRouteProvider.java
index 0bcfd0b..b179b85 100644
--- a/v7/mediarouter/src/android/support/v7/media/RegisteredMediaRouteProvider.java
+++ b/v7/mediarouter/src/android/su... | true | true | private boolean processMessage(Connection connection,
int what, int requestId, int arg, Object obj, Bundle data) {
switch (what) {
case MediaRouteProviderService.SERVICE_MSG_GENERIC_FAILURE:
connection.onGenericFailure(requestId);
... | private boolean processMessage(Connection connection,
int what, int requestId, int arg, Object obj, Bundle data) {
switch (what) {
case MediaRouteProviderService.SERVICE_MSG_GENERIC_FAILURE:
connection.onGenericFailure(requestId);
... |
diff --git a/kernel/src/main/java/com/qspin/qtaste/ui/xmleditor/TestRequirementEditor.java b/kernel/src/main/java/com/qspin/qtaste/ui/xmleditor/TestRequirementEditor.java
index af0552bc..c3bc04e6 100644
--- a/kernel/src/main/java/com/qspin/qtaste/ui/xmleditor/TestRequirementEditor.java
+++ b/kernel/src/main/java/com/qs... | false | true | private void genUI() {
getActionMap().put("Save", new SaveAction());
getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(
KeyStroke.getKeyStroke(KeyEvent.VK_S, InputEvent.CTRL_MASK),
"Save");
m_TestRequirementTable = new JTable() {
@Override
public String getToolTipText(MouseEvent e) {
Point p ... | private void genUI() {
getActionMap().put("Save", new SaveAction());
getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(
KeyStroke.getKeyStroke(KeyEvent.VK_S, InputEvent.CTRL_MASK),
"Save");
m_TestRequirementTable = new JTable() {
@Override
public String getToolTipText(MouseEvent e) {
Point p ... |
diff --git a/onebusaway-nyc-vehicle-tracking/src/main/java/org/onebusaway/nyc/vehicle_tracking/model/RecordLibrary.java b/onebusaway-nyc-vehicle-tracking/src/main/java/org/onebusaway/nyc/vehicle_tracking/model/RecordLibrary.java
index ff6e43f..444b4ac 100644
--- a/onebusaway-nyc-vehicle-tracking/src/main/java/org/onebu... | true | true | public static VehicleLocationRecord getNycTestLocationRecordAsVehicleLocationRecord(
NycTestLocationRecord record) {
VehicleLocationRecord vlr = new VehicleLocationRecord();
vlr.setTimeOfRecord(record.getTimestamp());
vlr.setTimeOfLocationUpdate(record.getTimestamp());
vlr.setBlockId(AgencyAndI... | public static VehicleLocationRecord getNycTestLocationRecordAsVehicleLocationRecord(
NycTestLocationRecord record) {
VehicleLocationRecord vlr = new VehicleLocationRecord();
vlr.setTimeOfRecord(record.getTimestamp());
vlr.setTimeOfLocationUpdate(record.getTimestamp());
vlr.setBlockId(AgencyAndI... |
diff --git a/de.walware.statet.r.ui/src/de/walware/statet/r/ui/pkgmanager/RPkgManagerUI.java b/de.walware.statet.r.ui/src/de/walware/statet/r/ui/pkgmanager/RPkgManagerUI.java
index 66414f70..dd62b875 100644
--- a/de.walware.statet.r.ui/src/de/walware/statet/r/ui/pkgmanager/RPkgManagerUI.java
+++ b/de.walware.statet.r.u... | true | true | public static boolean requestRequiredRPkgs(final IRPkgManager.Ext manager,
final List<String> pkgNames,
final IRToolService r, final IProgressMonitor monitor,
final IShellProvider shellProvider, final String message,
final Runnable okRunnable, final Runnable cancelRunnable) throws CoreException {
if (man... | public static boolean requestRequiredRPkgs(final IRPkgManager.Ext manager,
final List<String> pkgNames,
final IRToolService r, final IProgressMonitor monitor,
final IShellProvider shellProvider, final String message,
final Runnable okRunnable, final Runnable cancelRunnable) throws CoreException {
if (man... |
diff --git a/testFrameworkServer/src/ch/hsr/objectCaching/testFrameworkServer/Server.java b/testFrameworkServer/src/ch/hsr/objectCaching/testFrameworkServer/Server.java
index fc95ff5..99a2e19 100644
--- a/testFrameworkServer/src/ch/hsr/objectCaching/testFrameworkServer/Server.java
+++ b/testFrameworkServer/src/ch/hsr/o... | true | true | public void setResults(Scenario scenario, String clientIp)
{
//TODO: Auswertung der ankommenden Resultate
System.out.println("results setted");
System.out.println(scenario.getId());
for(int i = 0; i < scenario.getActionList().size(); i++)
{
Action action = scenario.getActionList().get(i);
if(action i... | public void setResults(Scenario scenario, String clientIp)
{
//TODO: Auswertung der ankommenden Resultate
System.out.println("results setted");
System.out.println(scenario.getId());
for(int i = 0; i < scenario.getActionList().size(); i++)
{
Action action = scenario.getActionList().get(i);
if(action i... |
diff --git a/src/instructions/USI_TRLK.java b/src/instructions/USI_TRLK.java
index 4527457..90e7f29 100644
--- a/src/instructions/USI_TRLK.java
+++ b/src/instructions/USI_TRLK.java
@@ -1,184 +1,184 @@
package instructions;
import static assemblernator.ErrorReporting.makeError;
import assemblernator.AbstractInstruc... | true | true | @Override public boolean check(ErrorHandler hErr, Module module) {
boolean isValid = true;
//operands less than two error
if (this.operands.size() < 2){
isValid=false;
hErr.reportError(makeError("instructionMissingOp", this.getOpId(), ""), this.lineNum, -1);
//checks combos for 2 operands
}else if(thi... | @Override public boolean check(ErrorHandler hErr, Module module) {
boolean isValid = true;
//operands less than two error
if (this.operands.size() < 2){
isValid=false;
hErr.reportError(makeError("instructionMissingOp", this.getOpId(), ""), this.lineNum, -1);
//checks combos for 2 operands
}else if(thi... |
diff --git a/src/main/java/bang/bang/App.java b/src/main/java/bang/bang/App.java
index f519b11..4da0b41 100644
--- a/src/main/java/bang/bang/App.java
+++ b/src/main/java/bang/bang/App.java
@@ -1,742 +1,743 @@
package bang.bang;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import... | true | true | public static void main( String[] args )
{
boolean start = true;
File file = new File("bang.txt");
//card holders
// String colorOfCard = "";
// String B1 = "";
// String B2 = "";
lastModifiedDate = file.lastModified();
BufferedReader reader = null;
try {
reader = new Bu... | public static void main( String[] args )
{
boolean start = true;
File file = new File("bang.txt");
//card holders
// String colorOfCard = "";
// String B1 = "";
// String B2 = "";
lastModifiedDate = file.lastModified();
BufferedReader reader = null;
try {
reader = new Bu... |
diff --git a/web-wf-design/src/java/net/sf/taverna/portal/wireit/Wiring.java b/web-wf-design/src/java/net/sf/taverna/portal/wireit/Wiring.java
index 4f9c341..ea00ef1 100644
--- a/web-wf-design/src/java/net/sf/taverna/portal/wireit/Wiring.java
+++ b/web-wf-design/src/java/net/sf/taverna/portal/wireit/Wiring.java
@@ -1,1... | false | true | public Wiring(JSONObject jsonInput, Resolver resolver)
throws JSONException, TavernaException, IOException{
JSONArray jsonArray = jsonInput.getJSONArray("modules");
modules = new Module[jsonArray.length()];
for (int i = 0; i < jsonArray.length(); i++){
Object json = ... | public Wiring(JSONObject jsonInput, Resolver resolver)
throws JSONException, TavernaException, IOException{
JSONArray jsonArray = jsonInput.getJSONArray("modules");
modules = new Module[jsonArray.length()];
for (int i = 0; i < jsonArray.length(); i++){
Object json = ... |
diff --git a/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java b/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
index 3d0142a3..7ab75cc8 100644
--- a/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
+++ b/src/org/apache/xerces/impl/xs/util/XSTypeHelper.java
@@ -1,83 +1,85 @@
/*
* Licensed to the Apache ... | true | true | public static boolean schemaTypesIdentical(XSTypeDefinition typeDefn1,
XSTypeDefinition typeDefn2) {
boolean typesIdentical = false;
String type1Name = typeDefn1.getName();
String type2Name = typeDefn2.getName();
if ("a... | public static boolean schemaTypesIdentical(XSTypeDefinition typeDefn1,
XSTypeDefinition typeDefn2) {
boolean typesIdentical = false;
String type1Name = typeDefn1.getName();
String type2Name = typeDefn2.getName();
if (("... |
diff --git a/src/gov/nih/nci/caintegrator/analysis/server/ClassComparisonTaskR.java b/src/gov/nih/nci/caintegrator/analysis/server/ClassComparisonTaskR.java
index 161a5cd..8225f03 100755
--- a/src/gov/nih/nci/caintegrator/analysis/server/ClassComparisonTaskR.java
+++ b/src/gov/nih/nci/caintegrator/analysis/server/Class... | false | true | public void run() {
ClassComparisonRequest ccRequest = (ClassComparisonRequest) getRequest();
ccResult = new ClassComparisonResult(ccRequest.getSessionId(), ccRequest.getTaskId());
logger.info(getExecutingThreadName() + ": processing class comparison request=" + ccRequest);
//set the data file... | public void run() {
ClassComparisonRequest ccRequest = (ClassComparisonRequest) getRequest();
ccResult = new ClassComparisonResult(ccRequest.getSessionId(), ccRequest.getTaskId());
logger.info(getExecutingThreadName() + ": processing class comparison request=" + ccRequest);
//set the data file... |
diff --git a/src/net/mayateck/ChatChannels/ChatHandler.java b/src/net/mayateck/ChatChannels/ChatHandler.java
index d3dfff3..1157147 100644
--- a/src/net/mayateck/ChatChannels/ChatHandler.java
+++ b/src/net/mayateck/ChatChannels/ChatHandler.java
@@ -1,98 +1,97 @@
package net.mayateck.ChatChannels;
import org.bukkit.... | false | true | public void onChatted(AsyncPlayerChatEvent e){
e.setCancelled(true); // I'm overriding the event and faking a chat. Sorry other plug-ins!
Player p = e.getPlayer();
String n = p.getName();
String m = e.getMessage();
Player[] pl = Bukkit.getOnlinePlayers();
String c = plugin.getPlayersList().getString("playe... | public void onChatted(AsyncPlayerChatEvent e){
e.setCancelled(true); // I'm overriding the event and faking a chat. Sorry other plug-ins!
Player p = e.getPlayer();
String n = p.getName();
String m = e.getMessage();
Player[] pl = Bukkit.getOnlinePlayers();
String c = plugin.getPlayersList().getString("playe... |
diff --git a/it.baeyens.arduino.common/src/it/baeyens/arduino/common/Common.java b/it.baeyens.arduino.common/src/it/baeyens/arduino/common/Common.java
index 9adc8636..9e9b63b3 100644
--- a/it.baeyens.arduino.common/src/it/baeyens/arduino/common/Common.java
+++ b/it.baeyens.arduino.common/src/it/baeyens/arduino/common/C... | false | true | static private void getSelectedProjects(ISelection selection) {
boolean badObject = false;
if (selection != null) {
if (selection instanceof IStructuredSelection) {
if (selection.isEmpty()) {
// could be a form editor or something. try to get the
// project from the active part
IWorkben... | static private void getSelectedProjects(ISelection selection) {
boolean badObject = false;
if (selection != null) {
if (selection instanceof IStructuredSelection) {
if (selection.isEmpty()) {
// could be a form editor or something. try to get the
// project from the active part
IWorkben... |
diff --git a/bitrepository-reference-pillar/src/test/java/org/bitrepository/pillar/referencepillar/DeleteFileOnReferencePillarTest.java b/bitrepository-reference-pillar/src/test/java/org/bitrepository/pillar/referencepillar/DeleteFileOnReferencePillarTest.java
index 71d5596a..68f1adf9 100644
--- a/bitrepository-referen... | true | true | public void pillarDeleteFileTestSuccessTest() throws Exception {
addDescription("Tests the DeleteFile functionality of the reference pillar for the successful scenario.");
addStep("Set up constants and variables.", "Should not fail here!");
addStep("Create and send the identify request mess... | public void pillarDeleteFileTestSuccessTest() throws Exception {
addDescription("Tests the DeleteFile functionality of the reference pillar for the successful scenario.");
addStep("Set up constants and variables.", "Should not fail here!");
addStep("Create and send the identify request mess... |
diff --git a/game/utils/FileSaver.java b/game/utils/FileSaver.java
index 7e4778f..fb97606 100644
--- a/game/utils/FileSaver.java
+++ b/game/utils/FileSaver.java
@@ -1,368 +1,370 @@
package game.utils;
import game.Game;
import game.Map;
import game.entity.Entity;
import game.entity.SerialEntity;
import game.tile... | true | true | public static Map loadMapFile(String path)
{
int readMode = 0;
Map map = new Map();
BufferedReader br;
try {
br = new BufferedReader(new FileReader(path));
String line;
while ((line = br.readLine()) != null) {
if (!(line.charAt(0) == "#".charAt(0))) {
String args[] = line.split(" ");
if... | public static Map loadMapFile(String path)
{
int readMode = 0;
Map map = new Map();
BufferedReader br;
try {
br = new BufferedReader(new FileReader(path));
String line;
while ((line = br.readLine()) != null) {
if (!(line.charAt(0) == "#".charAt(0))) {
String args[] = line.split(" ");
if... |
diff --git a/src/mitzi/MitziBrain.java b/src/mitzi/MitziBrain.java
index e140906..2ce13e8 100644
--- a/src/mitzi/MitziBrain.java
+++ b/src/mitzi/MitziBrain.java
@@ -1,518 +1,518 @@
package mitzi;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import jav... | true | true | private AnalysisResult negaMax(IPosition position, int total_depth,
int depth, int alpha, int beta) throws InterruptedException {
if (Thread.interrupted()) {
throw new InterruptedException();
}
// ---------------------------------------------------------------------------------------
// whose move is it... | private AnalysisResult negaMax(IPosition position, int total_depth,
int depth, int alpha, int beta) throws InterruptedException {
if (Thread.interrupted()) {
throw new InterruptedException();
}
// ---------------------------------------------------------------------------------------
// whose move is it... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.