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/TFC_Shared/src/TFC/Entities/Mobs/EntitySheepTFC.java b/TFC_Shared/src/TFC/Entities/Mobs/EntitySheepTFC.java
index 222dbfcc0..77d5a32e6 100644
--- a/TFC_Shared/src/TFC/Entities/Mobs/EntitySheepTFC.java
+++ b/TFC_Shared/src/TFC/Entities/Mobs/EntitySheepTFC.java
@@ -1,463 +1,467 @@
package TFC.Entities.Mobs;... | false | true | public void onLivingUpdate()
{
if (this.worldObj.isRemote)
{
this.sheepTimer = Math.max(0, this.sheepTimer - 1);
}
//Handle Hunger ticking
if (hunger > 168000)
{
hunger = 168000;
}
if (hunger > 0)
{
hunger--;
}
if(super.inLove > 0){
super.inLove = 0;
setInLove(true);
}
sync... | public void onLivingUpdate()
{
if (this.worldObj.isRemote)
{
this.sheepTimer = Math.max(0, this.sheepTimer - 1);
}
//Handle Hunger ticking
if (hunger > 168000)
{
hunger = 168000;
}
if (hunger > 0)
{
hunger--;
}
if(super.inLove > 0){
super.inLove = 0;
setInLove(true);
}
sync... |
diff --git a/electric/electric-core/src/main/java/com/sun/electric/util/config/XmlInitSax.java b/electric/electric-core/src/main/java/com/sun/electric/util/config/XmlInitSax.java
index ba1d499c6..c1223fc7c 100644
--- a/electric/electric-core/src/main/java/com/sun/electric/util/config/XmlInitSax.java
+++ b/electric/elec... | false | true | public void init(EConfigContainer config) {
ConfigEntries.refresh();
Map<String, Injection> injections = CollectionFactory.createHashMap();
List<Include> includes = CollectionFactory.createArrayList();
SAXParser saxParser = null;
Set<Include> visitedIncludes = CollectionFactory.createHashSet();
try {
SA... | public void init(EConfigContainer config) {
ConfigEntries.refresh();
Map<String, Injection> injections = CollectionFactory.createHashMap();
List<Include> includes = CollectionFactory.createArrayList();
SAXParser saxParser = null;
Set<Include> visitedIncludes = CollectionFactory.createHashSet();
try {
SA... |
diff --git a/src/de/schildbach/wallet/TransactionFragment.java b/src/de/schildbach/wallet/TransactionFragment.java
index 3d032e0..83df7f6 100644
--- a/src/de/schildbach/wallet/TransactionFragment.java
+++ b/src/de/schildbach/wallet/TransactionFragment.java
@@ -1,227 +1,227 @@
/*
* Copyright 2010 the original author ... | false | true | public Dialog onCreateDialog(final Bundle savedInstanceState)
{
final Wallet wallet = ((Application) activity.getApplication()).getWallet();
tx = (Transaction) getArguments().getSerializable(KEY_TRANSACTION);
final byte[] serializedTx = tx.unsafeBitcoinSerialize();
Address from = null;
boolean fromMine = ... | public Dialog onCreateDialog(final Bundle savedInstanceState)
{
final Wallet wallet = ((Application) activity.getApplication()).getWallet();
tx = (Transaction) getArguments().getSerializable(KEY_TRANSACTION);
final byte[] serializedTx = tx.unsafeBitcoinSerialize();
Address from = null;
boolean fromMine = ... |
diff --git a/immibis/core/covers/CoverImpl.java b/immibis/core/covers/CoverImpl.java
index f4c69ae..e420d14 100644
--- a/immibis/core/covers/CoverImpl.java
+++ b/immibis/core/covers/CoverImpl.java
@@ -1,410 +1,410 @@
package immibis.core.covers;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;... | false | true | public MovingObjectPosition collisionRayTrace(World var1, int var2, int var3, int var4, Vec3D var5, Vec3D var6)
{
int var7 = 0;
var5 = var5.add((double)(-var2), (double)(-var3), (double)(-var4));
var6 = var6.add((double)(-var2), (double)(-var3), (double)(-var4));
double var8 = va... | public MovingObjectPosition collisionRayTrace(World var1, int var2, int var3, int var4, Vec3D var5, Vec3D var6)
{
int var7 = 0;
var5 = var5.add((double)(-var2), (double)(-var3), (double)(-var4));
var6 = var6.add((double)(-var2), (double)(-var3), (double)(-var4));
double var8 = va... |
diff --git a/src/org/hackystat/projectbrowser/Start.java b/src/org/hackystat/projectbrowser/Start.java
index 6eec156..e31d1fb 100644
--- a/src/org/hackystat/projectbrowser/Start.java
+++ b/src/org/hackystat/projectbrowser/Start.java
@@ -1,48 +1,49 @@
package org.hackystat.projectbrowser;
import org.mortbay.jetty.Co... | true | true | public static void main(String[] args) throws Exception {
ProjectBrowserProperties properties = new ProjectBrowserProperties();
int port = properties.getPort();
String contextPath = properties.getContextRoot();
Server server = new Server();
SocketConnector connector = new SocketConnector();
connector.se... | public static void main(String[] args) throws Exception {
ProjectBrowserProperties properties = new ProjectBrowserProperties();
int port = properties.getPort();
String contextPath = properties.getContextRoot();
Server server = new Server();
SocketConnector connector = new SocketConnector();
connector.se... |
diff --git a/src/org/intellij/erlang/psi/impl/ErlangVarProcessor.java b/src/org/intellij/erlang/psi/impl/ErlangVarProcessor.java
index ee493cdd..159a04cb 100644
--- a/src/org/intellij/erlang/psi/impl/ErlangVarProcessor.java
+++ b/src/org/intellij/erlang/psi/impl/ErlangVarProcessor.java
@@ -1,96 +1,96 @@
/*
* Copyrig... | true | true | public boolean execute(@NotNull PsiElement psiElement, ResolveState resolveState) {
if (psiElement instanceof ErlangFunction) return false;
if (psiElement instanceof ErlangSpecification) return false;
ErlangFunctionClause functionClause = PsiTreeUtil.getTopmostParentOfType(myOrigin, ErlangFunctionClause.c... | public boolean execute(@NotNull PsiElement psiElement, ResolveState resolveState) {
if (psiElement instanceof ErlangFunction) return false;
if (psiElement instanceof ErlangSpecification) return false;
ErlangFunctionClause functionClause = PsiTreeUtil.getTopmostParentOfType(myOrigin, ErlangFunctionClause.c... |
diff --git a/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java b/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java
index 3d16659..4aa190e 100644
--- a/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java
+++ b/src/main/java/net/sourceforge/subsonic/dao/MusicFolderDao.java
@@ -1,92 +1... | true | true | public void createMusicFolder(MusicFolder musicFolder) {
String sql = "insert into music_folder (" + COLUMNS_FOR_INSERT + ") values (" + questionMarks(COLUMNS_FOR_INSERT) + ")";
update(sql, musicFolder.getPath(), musicFolder.getName(), musicFolder.isEnabled(), musicFolder.getChanged());
LOG.... | public void createMusicFolder(MusicFolder musicFolder) {
String sql = "insert into music_folder (" + COLUMNS_FOR_INSERT + ") values (" + questionMarks(COLUMNS_FOR_INSERT) + ")";
update(sql, musicFolder.getPath().getPath(), musicFolder.getName(), musicFolder.isEnabled(), musicFolder.getChanged());
... |
diff --git a/web/src/test/java/org/mule/galaxy/web/server/RegistryServiceTest.java b/web/src/test/java/org/mule/galaxy/web/server/RegistryServiceTest.java
index 553b733f..ee670373 100755
--- a/web/src/test/java/org/mule/galaxy/web/server/RegistryServiceTest.java
+++ b/web/src/test/java/org/mule/galaxy/web/server/Regist... | true | true | public void testArtifactOperations() throws Exception {
Collection workspaces = gwtRegistry.getWorkspaces();
assertEquals(1, workspaces.size());
Collection artifactTypes = gwtRegistry.getArtifactTypes();
assertTrue(artifactTypes.size() > 0);
Collection artif... | public void testArtifactOperations() throws Exception {
Collection workspaces = gwtRegistry.getWorkspaces();
assertEquals(1, workspaces.size());
Collection artifactTypes = gwtRegistry.getArtifactTypes();
assertTrue(artifactTypes.size() > 0);
Collection artif... |
diff --git a/src/core/org/luaj/vm/LString.java b/src/core/org/luaj/vm/LString.java
index 2e9a864..cb968f0 100644
--- a/src/core/org/luaj/vm/LString.java
+++ b/src/core/org/luaj/vm/LString.java
@@ -1,451 +1,451 @@
/*******************************************************************************
* Copyright (c) 2007 Lua... | true | true | public int compareTo( LString o ) {
final byte[] a = this.m_bytes;
final byte[] b = o.m_bytes;
int i = this.m_offset;
int j = o.m_offset;
final int imax = i + m_length;
final int jmax = j + o.m_length;
if ( a == b && i == j && imax == jmax )
return 0;
while ( i < imax && j < jmax ) {
if ( a... | public int compareTo( LString o ) {
final byte[] a = this.m_bytes;
final byte[] b = o.m_bytes;
int i = this.m_offset;
int j = o.m_offset;
final int imax = i + m_length;
final int jmax = j + o.m_length;
if ( a == b && i == j && imax == jmax )
return 0;
while ( i < imax && j < jmax ) {
if ( a... |
diff --git a/sources/gomoku/jeu/Partie.java b/sources/gomoku/jeu/Partie.java
index 7488f19..97c43b5 100644
--- a/sources/gomoku/jeu/Partie.java
+++ b/sources/gomoku/jeu/Partie.java
@@ -1,166 +1,174 @@
package gomoku.jeu;
import java.util.Set;
import gomoku.regles.Variante;
import gomoku.regles.RegleCoup;
import ... | true | true | public void jouer(Coordonnees c) {
if (c == null)
this.CLIouGUI = "CLI";
else
this.CLIouGUI = "GUI";
String str;
if (this.coupAjouer()) {
if(this.demanderDeJouer(c))
this.visualiser.afficherLaGrille();
if (this.gagnant != 0) {
if (this.getGagnant() == Joueur.NOI... | public void jouer(Coordonnees c) {
int cpt = 0;
for (int x = 0; x < this.plateau.largeur() ; x++)
for (int y = 0; y < this.plateau.hauteur() ; y++)
if (this.plateau.contenu(new PierreCoordonnees(x, y)) == Joueur.VIDE) {
cpt++;
}
if (cpt == 0)
this.visualiser.laPartieE... |
diff --git a/br.org.archimedes.io.svg/trunk/src/br/org/archimedes/io/svg/SVGExporter.java b/br.org.archimedes.io.svg/trunk/src/br/org/archimedes/io/svg/SVGExporter.java
index bc2b448e..6847761d 100644
--- a/br.org.archimedes.io.svg/trunk/src/br/org/archimedes/io/svg/SVGExporter.java
+++ b/br.org.archimedes.io.svg/trunk... | true | true | public void exportDrawing (Drawing drawing, OutputStream output) throws IOException {
String charset = "UTF-8"; //$NON-NLS-1$
// TODO Forçar locale
Rectangle boundaryRectangle = getBoundaryRectangle(drawing);
exportSVGHeader(drawing, output, charset, boundaryRectangle);
b... | public void exportDrawing (Drawing drawing, OutputStream output) throws IOException {
String charset = "UTF-8"; //$NON-NLS-1$
// TODO Forçar locale
Rectangle boundaryRectangle = getBoundaryRectangle(drawing);
exportSVGHeader(drawing, output, charset, boundaryRectangle);
b... |
diff --git a/src/com/android/settings/applications/RunningState.java b/src/com/android/settings/applications/RunningState.java
index beb960578..1b5310de0 100644
--- a/src/com/android/settings/applications/RunningState.java
+++ b/src/com/android/settings/applications/RunningState.java
@@ -1,1154 +1,1156 @@
/*
* Copyr... | false | true | private boolean update(Context context, ActivityManager am) {
final PackageManager pm = context.getPackageManager();
mSequence++;
boolean changed = false;
// Retrieve list of services, filtering out anything that definitely
// won't be shown in the UI.
... | private boolean update(Context context, ActivityManager am) {
final PackageManager pm = context.getPackageManager();
mSequence++;
boolean changed = false;
// Retrieve list of services, filtering out anything that definitely
// won't be shown in the UI.
... |
diff --git a/src/gov/nih/ncgc/bard/tools/PluginValidator.java b/src/gov/nih/ncgc/bard/tools/PluginValidator.java
index 31d6ca0..eea4f84 100644
--- a/src/gov/nih/ncgc/bard/tools/PluginValidator.java
+++ b/src/gov/nih/ncgc/bard/tools/PluginValidator.java
@@ -1,265 +1,265 @@
package gov.nih.ncgc.bard.tools;
import gov... | true | true | public boolean validate(Class klass, String warName) throws IllegalAccessException, InstantiationException {
// check appropriate interface
boolean implementsInterface = implementsPluginInterface(klass);
if (!implementsInterface) {
errors.add("Does not implement IPlugin");
... | public boolean validate(Class klass, String warName) throws IllegalAccessException, InstantiationException {
// check appropriate interface
boolean implementsInterface = implementsPluginInterface(klass);
if (!implementsInterface) {
errors.add("Does not implement IPlugin");
... |
diff --git a/src/com/uiproject/meetingplanner/TrackerEtaList.java b/src/com/uiproject/meetingplanner/TrackerEtaList.java
index e2541f0..de21ef6 100644
--- a/src/com/uiproject/meetingplanner/TrackerEtaList.java
+++ b/src/com/uiproject/meetingplanner/TrackerEtaList.java
@@ -1,150 +1,150 @@
package com.uiproject.meetingp... | false | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.trackeretalist);
db = new MeetingPlannerDatabaseManager(this, MeetingPlannerDatabaseHelper.DATABASE_VERSION);
SharedPreferences settings = getSharedPreferences(PREFE... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.trackeretalist);
db = new MeetingPlannerDatabaseManager(this, MeetingPlannerDatabaseHelper.DATABASE_VERSION);
SharedPreferences settings = getSharedPreferences(PREFE... |
diff --git a/hds/src/main/uk/ac/starlink/hds/NDFNdxImpl.java b/hds/src/main/uk/ac/starlink/hds/NDFNdxImpl.java
index d6864c751..e2518e864 100644
--- a/hds/src/main/uk/ac/starlink/hds/NDFNdxImpl.java
+++ b/hds/src/main/uk/ac/starlink/hds/NDFNdxImpl.java
@@ -1,431 +1,433 @@
package uk.ac.starlink.hds;
import java.io.... | true | true | private static NDArray[] makeArrayData( HDSObject ndf, URL persistentUrl,
AccessMode mode )
throws HDSException {
NDArray inda = null;
NDArray vnda = null;
NDArray qnda = null;
/* In the below we subvert the HDSReference clas... | private static NDArray[] makeArrayData( HDSObject ndf, URL persistentUrl,
AccessMode mode )
throws HDSException {
NDArray inda = null;
NDArray vnda = null;
NDArray qnda = null;
/* In the below we subvert the HDSReference clas... |
diff --git a/generic.sesam/search-command-control/default/src/main/java/no/sesat/search/mode/command/SolrSearchCommand.java b/generic.sesam/search-command-control/default/src/main/java/no/sesat/search/mode/command/SolrSearchCommand.java
index 6ff49fd55..cb688942e 100644
--- a/generic.sesam/search-command-control/defaul... | true | true | public ResultList<ResultItem> execute() {
final ResultList<ResultItem> searchResult = new BasicResultList<ResultItem>();
try {
// set up query
final SolrQuery query = new SolrQuery()
.setQuery(getTransformedQuery())
.setStart(getOffse... | public ResultList<ResultItem> execute() {
final ResultList<ResultItem> searchResult = new BasicResultList<ResultItem>();
try {
// set up query
final SolrQuery query = new SolrQuery()
.setQuery(getTransformedQuery())
.setStart(getOffse... |
diff --git a/ChairGame/src/mygame/Projectile.java b/ChairGame/src/mygame/Projectile.java
index 9a16c2f..3f9e09c 100644
--- a/ChairGame/src/mygame/Projectile.java
+++ b/ChairGame/src/mygame/Projectile.java
@@ -1,59 +1,60 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor... | true | true | public Projectile(OfficeChair owner, Vector2f location, Vector2f velocity, int damage) {
super(new CircleF(location, 0.5f));
this.owner = owner;
this.type = GameObjectType.PROJECTILE;
this.velocity = velocity;
this.damage = damage;
}
| public Projectile(OfficeChair owner, Vector2f location, Vector2f velocity, int damage) {
super(new CircleF(location.add(location.normalize().mult(2)), 0.5f));
//super(new CircleF(location, 0.5f));
this.owner = owner;
this.type = GameObjectType.PROJECTILE;
this.velocity = velo... |
diff --git a/src/com/android/bluetooth/hfp/AtPhonebook.java b/src/com/android/bluetooth/hfp/AtPhonebook.java
index 88b2a73..e2c1227 100755
--- a/src/com/android/bluetooth/hfp/AtPhonebook.java
+++ b/src/com/android/bluetooth/hfp/AtPhonebook.java
@@ -1,612 +1,612 @@
/*
* Copyright (C) 2008 The Android Open Source Proj... | true | true | /*package*/ int processCpbrCommand()
{
log("processCpbrCommand");
int atCommandResult = HeadsetHalConstants.AT_RESPONSE_ERROR;
int atCommandErrorCode = -1;
String atCommandResponse = null;
StringBuilder response = new StringBuilder();
String record;
// Sh... | /*package*/ int processCpbrCommand()
{
log("processCpbrCommand");
int atCommandResult = HeadsetHalConstants.AT_RESPONSE_ERROR;
int atCommandErrorCode = -1;
String atCommandResponse = null;
StringBuilder response = new StringBuilder();
String record;
// Sh... |
diff --git a/SpectroEdit/src/net/bluecow/spectro/detection/Beat.java b/SpectroEdit/src/net/bluecow/spectro/detection/Beat.java
index 401e460..d65229e 100644
--- a/SpectroEdit/src/net/bluecow/spectro/detection/Beat.java
+++ b/SpectroEdit/src/net/bluecow/spectro/detection/Beat.java
@@ -1,63 +1,65 @@
package net.bluecow.... | true | true | public static void writeBeatsToFile(ArrayList<Beat> beats)
{
System.out.println("Writing beats to file");
try {
String fileName = SpectroEditSession.fileName;
fileName.substring(0,fileName.indexOf("."));
File f = new File(SpectroEditSession.fileName);
/*
int counter = 0;
while(f.exists())
{
... | public static void writeBeatsToFile(ArrayList<Beat> beats)
{
System.out.println("Writing beats to file");
try {
String fileName = SpectroEditSession.fileName;
fileName = fileName.substring(0,fileName.indexOf("."));
fileName = fileName +".txt";
System.out.println(fileName);
File f = new File(fileNam... |
diff --git a/modules/org.restlet.ext.spring_2.5/src/org/restlet/ext/spring/SpringComponent.java b/modules/org.restlet.ext.spring_2.5/src/org/restlet/ext/spring/SpringComponent.java
index 22bc57614..485c60976 100644
--- a/modules/org.restlet.ext.spring_2.5/src/org/restlet/ext/spring/SpringComponent.java
+++ b/modules/or... | true | true | public synchronized void setClientsList(List<Object> clients) {
for (final Object client : clients) {
if (client instanceof String) {
getClients().add(Protocol.valueOf((String) client));
} else if (client instanceof Protocol) {
getClients().add((Protoc... | public synchronized void setClientsList(List<Object> clients) {
for (final Object client : clients) {
if (client instanceof String) {
getClients().add(Protocol.valueOf((String) client));
} else if (client instanceof Protocol) {
getClients().add((Protoc... |
diff --git a/hale/eu.esdihumboldt.hale/src/eu/esdihumboldt/hale/rcp/views/table/tree/DefinitionFeatureTreeViewer.java b/hale/eu.esdihumboldt.hale/src/eu/esdihumboldt/hale/rcp/views/table/tree/DefinitionFeatureTreeViewer.java
index d5ca85c60..d2a6d3293 100644
--- a/hale/eu.esdihumboldt.hale/src/eu/esdihumboldt/hale/rcp/... | true | true | public void setInput(SchemaElement type, Iterable<Feature> features) {
// remove old columns
TreeColumn[] columns = treeViewer.getTree().getColumns();
if (columns != null) {
for (TreeColumn column : columns) {
column.dispose();
}
}
// create row definitions from type definition
if (type != nul... | public void setInput(SchemaElement type, Iterable<Feature> features) {
// remove old columns
TreeColumn[] columns = treeViewer.getTree().getColumns();
if (columns != null) {
for (TreeColumn column : columns) {
column.dispose();
}
}
// create row definitions from type definition
if (type != nul... |
diff --git a/otp-standalone/src/main/java/org/opentripplanner/standalone/OTPMain.java b/otp-standalone/src/main/java/org/opentripplanner/standalone/OTPMain.java
index f56bb5558..6b33d4170 100644
--- a/otp-standalone/src/main/java/org/opentripplanner/standalone/OTPMain.java
+++ b/otp-standalone/src/main/java/org/opentri... | true | true | public static void main(String[] args) {
OTPMain main = new OTPMain();
JCommander jc = new JCommander(main, args);
if (main.help) {
jc.usage();
System.exit(0);
}
main.run();
}
| public static void main(String[] args) {
OTPMain main = new OTPMain();
JCommander jc = new JCommander(main, args);
if (main.help) {
jc.usage();
System.exit(0);
}
while (true) {
try {
main.run();
return;
... |
diff --git a/source/RMG/jing/chem/Species.java b/source/RMG/jing/chem/Species.java
index c18ef599..41df8e22 100644
--- a/source/RMG/jing/chem/Species.java
+++ b/source/RMG/jing/chem/Species.java
@@ -1,1988 +1,1988 @@
////////////////////////////////////////////////////////////////////////////////
//
// RMG - Reactio... | false | true | public static String mol2AdjList (String inchi, String filePath) {
// Read in the .mol file
FileReader in = null;
try {
in = new FileReader(filePath);
} catch (FileNotFoundException e) {
String err = "Error reading .mol file: " + e.toString();
System.out.println(err);
}
BufferedRead... | public static String mol2AdjList (String inchi, String filePath) {
// Read in the .mol file
FileReader in = null;
try {
in = new FileReader(filePath);
} catch (FileNotFoundException e) {
String err = "Error reading .mol file: " + e.toString();
System.out.println(err);
}
BufferedRead... |
diff --git a/org.caleydo.core/src/org/caleydo/core/view/opengl/canvas/storagebased/SerializedHierarchicalHeatMapView.java b/org.caleydo.core/src/org/caleydo/core/view/opengl/canvas/storagebased/SerializedHierarchicalHeatMapView.java
index 736998e79..7854082e8 100644
--- a/org.caleydo.core/src/org/caleydo/core/view/open... | true | true | public ECommandType getCreationCommandType() {
return ECommandType.CMD_ID;
}
| public ECommandType getCreationCommandType() {
return ECommandType.CREATE_GL_TEXTURE_HEAT_MAP_3D;
}
|
diff --git a/src/share/classes/com/sun/tools/javafx/comp/JavafxCheck.java b/src/share/classes/com/sun/tools/javafx/comp/JavafxCheck.java
index 23f41ce89..d0e9764b2 100755
--- a/src/share/classes/com/sun/tools/javafx/comp/JavafxCheck.java
+++ b/src/share/classes/com/sun/tools/javafx/comp/JavafxCheck.java
@@ -1,2537 +1,2... | true | true | public void checkForwardReferences(JFXTree tree) {
class ForwardReferenceChecker extends JavafxTreeScanner {
ForwardReferenceChecker() {
warnOnly = options.get("fwdRefError") == null ||
!options.get("fwdRefError").contains("true");
}
class VarScope {
... | public void checkForwardReferences(JFXTree tree) {
class ForwardReferenceChecker extends JavafxTreeScanner {
ForwardReferenceChecker() {
warnOnly = options.get("fwdRefError") != null &&
options.get("fwdRefError").contains("false");
}
class VarScope {
... |
diff --git a/encuestame-business/src/main/java/org/encuestame/business/service/PollService.java b/encuestame-business/src/main/java/org/encuestame/business/service/PollService.java
index 57f83420c..625a5125b 100644
--- a/encuestame-business/src/main/java/org/encuestame/business/service/PollService.java
+++ b/encuestame... | true | true | public Poll createPoll(final String questionName, final String[] answers,
final Boolean showResults, final String commentOption,
final Boolean notification, final List<HashTagBean> hashtags)
throws EnMeExpcetion {
final UserAccount user = getUserAccount(getUserPrincipalUsername());
Assert.not... | public Poll createPoll(final String questionName, final String[] answers,
final Boolean showResults, final String commentOption,
final Boolean notification, final List<HashTagBean> hashtags)
throws EnMeExpcetion {
final UserAccount user = getUserAccount(getUserPrincipalUsername());
Assert.not... |
diff --git a/ratpack-core/src/main/java/ratpack/http/internal/HeaderHandler.java b/ratpack-core/src/main/java/ratpack/http/internal/HeaderHandler.java
index 2089cf7b7..0a4733507 100644
--- a/ratpack-core/src/main/java/ratpack/http/internal/HeaderHandler.java
+++ b/ratpack-core/src/main/java/ratpack/http/internal/Header... | true | true | public void handle(Context context) throws Exception {
if (context.getRequest().getHeaders().get(headerName).equals(headerValue)) {
handler.handle(context);
} else {
context.next();
}
}
| public void handle(Context context) throws Exception {
String value = context.getRequest().getHeaders().get(headerName);
if (value != null && value.equals(headerValue)) {
handler.handle(context);
} else {
context.next();
}
}
|
diff --git a/d2s-tools/src/main/java/org/data2semantics/tools/experiments/LinkPredictionExperiment.java b/d2s-tools/src/main/java/org/data2semantics/tools/experiments/LinkPredictionExperiment.java
index 502535e..a719584 100644
--- a/d2s-tools/src/main/java/org/data2semantics/tools/experiments/LinkPredictionExperiment.j... | true | true | public void run() {
double acc = 0, f = 0;
double p5 = 0, p10 = 0, p20 = 0;
double map = 0, rPrec = 0;
double ndcg = 0;
double[] accScores = new double[seeds.length];
double[] fScores = new double[seeds.length];
double[] mapScores = new double[seeds.length];
double[] rPrecScores = new double[seeds.l... | public void run() {
double acc = 0, f = 0;
double p5 = 0, p10 = 0, p20 = 0;
double map = 0, rPrec = 0;
double ndcg = 0;
double[] accScores = new double[seeds.length];
double[] fScores = new double[seeds.length];
double[] mapScores = new double[seeds.length];
double[] rPrecScores = new double[seeds.l... |
diff --git a/src/main/java/org/mashupmedia/controller/ajax/AjaxSearchController.java b/src/main/java/org/mashupmedia/controller/ajax/AjaxSearchController.java
index c29416e..c1440da 100644
--- a/src/main/java/org/mashupmedia/controller/ajax/AjaxSearchController.java
+++ b/src/main/java/org/mashupmedia/controller/ajax/A... | true | true | public String handleMediaItems(@RequestParam(value = "mediaType", required = false) String mediaTypeValue, @RequestParam(value = "page", required = false) Integer pageNumber, @RequestParam("searchWords") String searchWords, Model model) {
MediaItemSearchCriteria mediaItemSearchCriteria = new MediaItemSearchCriteria(... | public String handleMediaItems(@RequestParam(value = "mediaType", required = false) String mediaTypeValue, @RequestParam(value = "pageNumber", required = false) Integer pageNumber, @RequestParam("searchWords") String searchWords, Model model) {
MediaItemSearchCriteria mediaItemSearchCriteria = new MediaItemSearchCri... |
diff --git a/src/main/java/hudson/plugins/clearcase/ClearToolExec.java b/src/main/java/hudson/plugins/clearcase/ClearToolExec.java
index 91c0d27..3feef71 100755
--- a/src/main/java/hudson/plugins/clearcase/ClearToolExec.java
+++ b/src/main/java/hudson/plugins/clearcase/ClearToolExec.java
@@ -1,181 +1,181 @@
package hu... | true | true | public List<ClearCaseChangeLogEntry> lshistory(ClearToolLauncher launcher, Date lastBuildDate, String viewName, String branch) throws IOException,
InterruptedException {
SimpleDateFormat formatter = new SimpleDateFormat("d-MMM.HH:mm:ss");
FilePath viewPath = launcher.getWorkspace().child(viewName);
String[] v... | public List<ClearCaseChangeLogEntry> lshistory(ClearToolLauncher launcher, Date lastBuildDate, String viewName, String branch) throws IOException,
InterruptedException {
SimpleDateFormat formatter = new SimpleDateFormat("d-MMM.HH:mm:ss");
FilePath viewPath = launcher.getWorkspace().child(viewName);
String[] v... |
diff --git a/java/gadgets/src/main/java/org/apache/shindig/gadgets/FeedProcessor.java b/java/gadgets/src/main/java/org/apache/shindig/gadgets/FeedProcessor.java
index 4ade93045..d92f9a7a1 100644
--- a/java/gadgets/src/main/java/org/apache/shindig/gadgets/FeedProcessor.java
+++ b/java/gadgets/src/main/java/org/apache/sh... | true | true | public JSONObject process(String feedUrl, String feedXml,
boolean getSummaries, int numEntries) throws GadgetException {
try {
SyndFeed feed = new SyndFeedInput().build(new StringReader(feedXml));
JSONObject json = new JSONObject();
json.put("Title", feed.getTitle());
json.put("URL",... | public JSONObject process(String feedUrl, String feedXml,
boolean getSummaries, int numEntries) throws GadgetException {
try {
SyndFeed feed = new SyndFeedInput().build(new StringReader(feedXml));
JSONObject json = new JSONObject();
json.put("Title", feed.getTitle());
json.put("URL",... |
diff --git a/core/src/visad/data/text/TextAdapter.java b/core/src/visad/data/text/TextAdapter.java
index a3391eb28..58442fed8 100644
--- a/core/src/visad/data/text/TextAdapter.java
+++ b/core/src/visad/data/text/TextAdapter.java
@@ -1,1845 +1,1846 @@
//
// TextAdapter.java
//
/*
VisAD system for interactive anal... | false | true | void readit(InputStream is, String map, String params)
throws IOException, VisADException {
// read the ASCII file, using commas as field separators
// first line is a header line
List realTypes = new ArrayList();
ff = null;
field = null;
if (debug) System.out.... | void readit(InputStream is, String map, String params)
throws IOException, VisADException {
// read the ASCII file, using commas as field separators
// first line is a header line
List realTypes = new ArrayList();
ff = null;
field = null;
if (debug) System.out.... |
diff --git a/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map/FOAFRealm.java b/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map/FOAFRealm.java
index 692f3c8..ed21e14 100644
--- a/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map/FOAFRealm.java
+++ b/realms/foaf/src/resourc... | false | true | public FOAFRealm(String name, String id, String mountPoint, java.io.File configFile) throws Exception {
super(name, id, mountPoint, configFile);
log.error("DEBUG: Custom FOAF Realm implementation!");
DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder(true);
Confi... | public FOAFRealm(String name, String id, String mountPoint, java.io.File configFile) throws Exception {
super(name, id, mountPoint, configFile);
log.debug("Custom FOAF Realm implementation!");
DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder(true);
Configuratio... |
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/OpenCommitAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/OpenCommitAction.java
index 1d5d5db7..50e22d97 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/OpenCommitAction.java
+++ b/org.eclipse.egi... | true | true | public void run(IAction action) {
CommitSelectionDialog dialog = new CommitSelectionDialog(shell, true);
if (Window.OK == dialog.open())
for (Object result : dialog.getResult())
CommitEditor.openQuiet((RepositoryCommit) result);
}
| public void run(IAction action) {
CommitSelectionDialog dialog = new CommitSelectionDialog(shell, true);
if (Window.OK != dialog.open())
return;
Object[] results = dialog.getResult();
if (results == null || results.length == 0)
return;
for (Object result : results)
CommitEditor.openQuiet((Repository... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/MethodActionFilter.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/MethodActionFilter.java
index f7de9ec1e..4c77f15b3 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/MethodActionFilter.java
+++ b/o... | false | true | public boolean testAttribute(Object target, String name, String value) {
if (name.equals("MethodActionFilter") //$NON-NLS-1$
&& value.equals("isNotAbstract")) { //$NON-NLS-1$
if (target instanceof IMethod) {
IMethod method = (IMethod) target;
try {
return !Flags.isAbstract(method.getFlags());
... | public boolean testAttribute(Object target, String name, String value) {
if (name.equals("MethodActionFilter") //$NON-NLS-1$
&& value.equals("isAbstract")) { //$NON-NLS-1$
if (target instanceof IMethod) {
IMethod method = (IMethod) target;
try {
return Flags.isAbstract(method.getFlags());
} ca... |
diff --git a/src/main/java/hudson/scm/subversion/CheckoutUpdater.java b/src/main/java/hudson/scm/subversion/CheckoutUpdater.java
index d6f36c3..5ffc6ca 100755
--- a/src/main/java/hudson/scm/subversion/CheckoutUpdater.java
+++ b/src/main/java/hudson/scm/subversion/CheckoutUpdater.java
@@ -1,135 +1,135 @@
/*
* The MIT... | true | true | public UpdateTask createTask() {
return new UpdateTask() {
private static final long serialVersionUID = 8349986526712487762L;
@Override
public List<External> perform() throws IOException, InterruptedException {
final SVNUpdateClient svnuc = clientManager.... | public UpdateTask createTask() {
return new UpdateTask() {
private static final long serialVersionUID = 8349986526712487762L;
@Override
public List<External> perform() throws IOException, InterruptedException {
final SVNUpdateClient svnuc = clientManager.... |
diff --git a/src/Servlets/MailManagementServlet.java b/src/Servlets/MailManagementServlet.java
index d7d03f9..59cad8a 100755
--- a/src/Servlets/MailManagementServlet.java
+++ b/src/Servlets/MailManagementServlet.java
@@ -1,139 +1,139 @@
package Servlets;
import helpers.HTMLHelper;
import java.io.IOException;
im... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
MailManager mm = (MailManager) request.getServletContext().getAttribute("mail");
String user = request.getParameter("user");
response.setContentType("text/html");
PrintWriter out... | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
MailManager mm = (MailManager) request.getServletContext().getAttribute("mail");
String user = request.getParameter("user");
response.setContentType("text/html");
PrintWriter out... |
diff --git a/src/main/java/com/admob/rocksteady/reactor/Mongodb.java b/src/main/java/com/admob/rocksteady/reactor/Mongodb.java
index 382a186..96af4c2 100644
--- a/src/main/java/com/admob/rocksteady/reactor/Mongodb.java
+++ b/src/main/java/com/admob/rocksteady/reactor/Mongodb.java
@@ -1,122 +1,122 @@
/**
**/
package... | true | true | public void update(EventBean[] newEvents, EventBean[] oldEvents) {
if (newEvents == null) {
return;
}
for (EventBean newEvent : newEvents) {
try {
String retention;
String app;
String name;
String colo;
String value;
String hostname;
String timestamp;
retention = newEvent.get("retentio... | public void update(EventBean[] newEvents, EventBean[] oldEvents) {
if (newEvents == null) {
return;
}
for (EventBean newEvent : newEvents) {
try {
String retention;
String app;
String name;
String colo;
String value;
String hostname;
String timestamp;
retention = newEvent.get("retentio... |
diff --git a/src/edu/sc/seis/sod/database/network/JDBCNetworkUnifier.java b/src/edu/sc/seis/sod/database/network/JDBCNetworkUnifier.java
index e05b602ef..aeb3fac53 100755
--- a/src/edu/sc/seis/sod/database/network/JDBCNetworkUnifier.java
+++ b/src/edu/sc/seis/sod/database/network/JDBCNetworkUnifier.java
@@ -1,166 +1,18... | false | true | public NetworkDbObject getNet(int netDbId, ProxyNetworkDC ndc)
throws NetworkNotFound, NotFound, SQLException {
NetworkId id = netDb.get(netDbId).get_id();
ProxyNetworkAccess na;
synchronized(ndc) {
try {
na = (ProxyNetworkAccess)ndc.a_finder().retriev... | public NetworkDbObject getNet(int netDbId, ProxyNetworkDC ndc)
throws NetworkNotFound, NotFound, SQLException {
NetworkId id = netDb.get(netDbId).get_id();
ProxyNetworkAccess na;
synchronized(ndc) {
try {
return new NetworkDbObject(netDbId, (ProxyNetworkA... |
diff --git a/grails/test/commons/grails/util/GrailsUtilTests.java b/grails/test/commons/grails/util/GrailsUtilTests.java
index 805808b3e..9c86d2b5b 100644
--- a/grails/test/commons/grails/util/GrailsUtilTests.java
+++ b/grails/test/commons/grails/util/GrailsUtilTests.java
@@ -1,53 +1,53 @@
/* Copyright 2004-2005 Graem... | true | true | public void testEnvironment() {
System.setProperty(GrailsApplication.ENVIRONMENT, "");
assertEquals(GrailsApplication.ENV_APPLICATION, GrailsUtil.getEnvironment());
System.setProperty(GrailsApplication.ENVIRONMENT, "prod");
assertEquals(GrailsApplication.ENV_PRODUCTION, GrailsUtil.... | public void testEnvironment() {
System.setProperty(GrailsApplication.ENVIRONMENT, "");
assertEquals(GrailsApplication.ENV_DEVELOPMENT, GrailsUtil.getEnvironment());
System.setProperty(GrailsApplication.ENVIRONMENT, "prod");
assertEquals(GrailsApplication.ENV_PRODUCTION, GrailsUtil.... |
diff --git a/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java b/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java
index 3166f7c70..b75374674 100644
--- a/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java
+++ b/router/java/src/net/i2p/rout... | true | true | public void runJob() {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Handling database lookup message for " + _message.getSearchKey());
Hash fromKey = _message.getFrom();
if (_log.shouldLog(Log.DEBUG)) {
if (_message.getReplyTunnel() != null)
_log.debug... | public void runJob() {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Handling database lookup message for " + _message.getSearchKey());
Hash fromKey = _message.getFrom();
if (_log.shouldLog(Log.DEBUG)) {
if (_message.getReplyTunnel() != null)
_log.debug... |
diff --git a/src/main/java/org/mvel2/MacroProcessor.java b/src/main/java/org/mvel2/MacroProcessor.java
index 4eb5d520..7700245d 100644
--- a/src/main/java/org/mvel2/MacroProcessor.java
+++ b/src/main/java/org/mvel2/MacroProcessor.java
@@ -1,120 +1,122 @@
/**
* MVEL 2.0
* Copyright (C) 2007 The Codehaus
* Mike Br... | true | true | public char[] parse(char[] input) {
setExpression(input);
StringAppender appender = new StringAppender();
int start;
boolean macroArmed = true;
String token;
for (; cursor < length; cursor++) {
start = cursor;
while (cursor < length && isIde... | public char[] parse(char[] input) {
setExpression(input);
StringAppender appender = new StringAppender();
int start;
boolean macroArmed = true;
String token;
for (; cursor < length; cursor++) {
start = cursor;
while (cursor < length && isIde... |
diff --git a/deegree-misc/deegree-maven-plugin/src/main/java/org/deegree/maven/CopyMojo.java b/deegree-misc/deegree-maven-plugin/src/main/java/org/deegree/maven/CopyMojo.java
index fb539815bd..66c591ded9 100644
--- a/deegree-misc/deegree-maven-plugin/src/main/java/org/deegree/maven/CopyMojo.java
+++ b/deegree-misc/deeg... | true | true | public void execute()
throws MojoExecutionException, MojoFailureException {
Log log = getLog();
if ( files == null ) {
log.debug( "No files configured." );
return;
}
File basedir = project.getBasedir();
for ( Copy copy : fi... | public void execute()
throws MojoExecutionException, MojoFailureException {
Log log = getLog();
if ( files == null ) {
log.debug( "No files configured." );
return;
}
File basedir = project.getBasedir();
for ( Copy copy : fi... |
diff --git a/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/JFlexLexer.java b/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/JFlexLexer.java
index 41c31102..8a7716b8 100644
--- a/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/JFlexLexer.java
+++ b/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/JFlex... | true | true | protected void processListStack(String wikiSyntax) {
int previousDepth = this.currentListDepth();
int currentDepth = wikiSyntax.length();
String tagType;
// if list was previously open to a greater depth, close the old list down to the
// current depth.
int tagsToPop = (previousDepth - currentDepth);
if ... | protected void processListStack(String wikiSyntax) {
// before adding to a list, first make sure that any open inline tags or paragraph tags
// have been closed (example: "<i><ul>" is invalid. close the <i> first).
while (!JFlexParserUtil.isRootTag(this.peekTag().getTagType()) && (this.peekTag().getTagType().eq... |
diff --git a/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java b/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java
index cd73b5e6646..90c3359ac5d 100644
--- a/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java
+++ b/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java... | true | true | void handleNewClusterStateFromMaster(final ClusterState newState) {
if (master) {
clusterService.submitStateUpdateTask("zen-disco-master_receive_cluster_state_from_another_master [" + newState.nodes().masterNode() + "]", new ClusterStateUpdateTask() {
@Override
pu... | void handleNewClusterStateFromMaster(final ClusterState newState) {
if (master) {
clusterService.submitStateUpdateTask("zen-disco-master_receive_cluster_state_from_another_master [" + newState.nodes().masterNode() + "]", new ClusterStateUpdateTask() {
@Override
pu... |
diff --git a/src/main/java/org/elasticsearch/indices/store/TransportNodesListShardStoreMetaData.java b/src/main/java/org/elasticsearch/indices/store/TransportNodesListShardStoreMetaData.java
index f8671e1d84a..7c7f57843f2 100644
--- a/src/main/java/org/elasticsearch/indices/store/TransportNodesListShardStoreMetaData.ja... | true | true | private StoreFilesMetaData listStoreMetaData(ShardId shardId) throws IOException {
IndexService indexService = indicesService.indexService(shardId.index().name());
if (indexService != null) {
InternalIndexShard indexShard = (InternalIndexShard) indexService.shard(shardId.id());
... | private StoreFilesMetaData listStoreMetaData(ShardId shardId) throws IOException {
IndexService indexService = indicesService.indexService(shardId.index().name());
if (indexService != null) {
InternalIndexShard indexShard = (InternalIndexShard) indexService.shard(shardId.id());
... |
diff --git a/src/test/java/ch/bergturbenthal/hs485/frontend/gwtfrontend/client/EventBuilderTest.java b/src/test/java/ch/bergturbenthal/hs485/frontend/gwtfrontend/client/EventBuilderTest.java
index 9f02d63..2486ad9 100644
--- a/src/test/java/ch/bergturbenthal/hs485/frontend/gwtfrontend/client/EventBuilderTest.java
+++ b... | true | true | public void testBuilder() {
final EventTypeManager panelBuilder = new EventTypeManager(new LabelGenerator() {
@Override
public String makeLabelForInputConnector(final InputConnector inputConnector) {
// TODO Auto-generated method stub
return "";
}
@Override
public String makeLabelForOutputDe... | public void testBuilder() {
final EventTypeManager panelBuilder = new EventTypeManager(new LabelGenerator() {
@Override
public String makeLabelForInputConnector(final InputConnector inputConnector) {
// TODO Auto-generated method stub
return "";
}
@Override
public String makeLabelForOutputDe... |
diff --git a/src/test/java/com/rightmove/es/service/PropertySearchServiceTest.java b/src/test/java/com/rightmove/es/service/PropertySearchServiceTest.java
index 12e1ed1..d551ee9 100644
--- a/src/test/java/com/rightmove/es/service/PropertySearchServiceTest.java
+++ b/src/test/java/com/rightmove/es/service/PropertySearch... | true | true | public void getSearchResultFilteredWithFacets() {
indexProperty(1L, "London", "NW1");
indexProperty(2L, "London", "NW1");
indexProperty(3L, "London", "NW2");
indexProperty(4L, "London", "NW3");
indexProperty(5L, "London", "NW4");
PropertyFilter propertyFilter = new PropertyFilter();
propertyFilter.... | public void getSearchResultFilteredWithFacets() {
indexProperty(1L, "London", "NW1", "AB1", "summary test", null);
indexProperty(2L, "London", "NW1", "AB2", "summary test", null);
indexProperty(3L, "London", "NW2", "AB3", "summary test", null);
indexProperty(4L, "London", "NW3", "AB4", "summary test", null)... |
diff --git a/src/de/schildbach/pte/AbstractHafasProvider.java b/src/de/schildbach/pte/AbstractHafasProvider.java
index 9836e97..3413a93 100644
--- a/src/de/schildbach/pte/AbstractHafasProvider.java
+++ b/src/de/schildbach/pte/AbstractHafasProvider.java
@@ -1,888 +1,890 @@
/*
* Copyright 2010 the original author or a... | true | true | public QueryConnectionsResult queryConnections(Location from, Location via, Location to, final Date date, final boolean dep,
final String products, final WalkSpeed walkSpeed) throws IOException
{
if (from.type == LocationType.ANY)
{
final List<Location> autocompletes = autocompleteStations(from.name);
if... | public QueryConnectionsResult queryConnections(Location from, Location via, Location to, final Date date, final boolean dep,
final String products, final WalkSpeed walkSpeed) throws IOException
{
if (from.type == LocationType.ANY)
{
final List<Location> autocompletes = autocompleteStations(from.name);
if... |
diff --git a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolver.java b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestVariableResolver.java
index c4d5845ba..2766f82a7 100644
--- a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler... | true | true | public void testFunctionNamespace1() throws Exception {
VariableResolver resolver = new VariableResolver();
final List<Map<String,String>> l = new ArrayList<Map<String,String>>();
Map<String,String> m = new HashMap<String,String>();
m.put("name", "test");
m.put("class", E.class.getName());
l.a... | public void testFunctionNamespace1() throws Exception {
VariableResolver resolver = new VariableResolver();
final List<Map<String,String>> l = new ArrayList<Map<String,String>>();
Map<String,String> m = new HashMap<String,String>();
m.put("name", "test");
m.put("class", E.class.getName());
l.a... |
diff --git a/src/nodebox/client/FileUtils.java b/src/nodebox/client/FileUtils.java
index 76c5aac1..5beb3d4a 100644
--- a/src/nodebox/client/FileUtils.java
+++ b/src/nodebox/client/FileUtils.java
@@ -1,172 +1,173 @@
package nodebox.client;
import javax.swing.filechooser.FileFilter;
import java.awt.*;
import java.i... | false | true | private static File showFileDialog(Frame owner, String pathName, String extensions, String description, int fileDialogType) {
FileDialog fileDialog = new FileDialog(owner, pathName, fileDialogType);
if (pathName == null || pathName.trim().length() == 0) {
NodeBoxDocument document = NodeB... | private static File showFileDialog(Frame owner, String pathName, String extensions, String description, int fileDialogType) {
FileDialog fileDialog = new FileDialog(owner, pathName, fileDialogType);
if (pathName == null || pathName.trim().length() == 0) {
NodeBoxDocument document = NodeB... |
diff --git a/src/edu/jas/application/ReductionTest.java b/src/edu/jas/application/ReductionTest.java
index 8305d828..1abeb39f 100644
--- a/src/edu/jas/application/ReductionTest.java
+++ b/src/edu/jas/application/ReductionTest.java
@@ -1,300 +1,300 @@
/*
* $Id$
*/
package edu.jas.application;
import java.util... | false | true | public void xtestRatPolReduction() {
RingFactory<BigRational> bi = new BigRational(0);
GenPolynomialRing<BigRational> pr
= new GenPolynomialRing<BigRational>(bi,2, new String[] { "a", "b" } );
GenPolynomialRing<GenPolynomial<BigRational>> fac
= new GenPolynomialRing<GenPolynomial<Big... | public void xtestRatPolReduction() {
RingFactory<BigRational> bi = new BigRational(0);
GenPolynomialRing<BigRational> pr
= new GenPolynomialRing<BigRational>(bi,2, new String[] { "a", "b" } );
GenPolynomialRing<GenPolynomial<BigRational>> fac
= new GenPolynomialRing<GenPolynomial<Big... |
diff --git a/src/edu/sru/andgate/bitbot/graphics/NickGameActivity.java b/src/edu/sru/andgate/bitbot/graphics/NickGameActivity.java
index 7d4d90e..0a2d065 100644
--- a/src/edu/sru/andgate/bitbot/graphics/NickGameActivity.java
+++ b/src/edu/sru/andgate/bitbot/graphics/NickGameActivity.java
@@ -1,429 +1,429 @@
//File: Ga... | false | true | public void startGameLoop()
{
Runnable gR = new Runnable()
{
//Proof of concept variables
int shotCount = 0;
boolean thisFrameDrawn = false;
//Testing FPS Only
long startTime = 0;
long endTime = 0;
long timeCount = 0;
int frameCount = 0;
... | public void startGameLoop()
{
Runnable gR = new Runnable()
{
//Proof of concept variables
int shotCount = 0;
boolean thisFrameDrawn = false;
//Testing FPS Only
long startTime = 0;
long endTime = 0;
long timeCount = 0;
int frameCount = 0;
... |
diff --git a/src/com/android/music/MediaPlaybackActivityStarter.java b/src/com/android/music/MediaPlaybackActivityStarter.java
index 373c61c..248a5f1 100644
--- a/src/com/android/music/MediaPlaybackActivityStarter.java
+++ b/src/com/android/music/MediaPlaybackActivityStarter.java
@@ -1,40 +1,41 @@
/*
* Copyright (C)... | true | true | public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
Intent i = new Intent(this, MediaPlaybackActivity.class);
startActivity(i);
finish();
}
| public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
Intent i = new Intent(getIntent());
i.setClass(this, MediaPlaybackActivity.class);
startActivity(i);
finish();
}
|
diff --git a/proxy/src/main/java/org/fedoraproject/candlepin/resteasy/interceptor/AuthInterceptor.java b/proxy/src/main/java/org/fedoraproject/candlepin/resteasy/interceptor/AuthInterceptor.java
index b19962593..83d22ed12 100644
--- a/proxy/src/main/java/org/fedoraproject/candlepin/resteasy/interceptor/AuthInterceptor.... | true | true | public ServerResponse preProcess(HttpRequest request, ResourceMethod method)
throws Failure, WebApplicationException {
I18n i18n = injector.getInstance(I18n.class);
Principal principal = null;
boolean noAuthAllowed = false;
if (log.isDebugEnabled()) {
log.debug(... | public ServerResponse preProcess(HttpRequest request, ResourceMethod method)
throws Failure, WebApplicationException {
I18n i18n = injector.getInstance(I18n.class);
Principal principal = null;
boolean noAuthAllowed = false;
if (log.isDebugEnabled()) {
log.debug(... |
diff --git a/LaneDemo.java b/LaneDemo.java
index a56e922..99d9d0f 100644
--- a/LaneDemo.java
+++ b/LaneDemo.java
@@ -1,207 +1,207 @@
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import javax.swing.JPanel;
//TODO: fix diverter arm being blocked by... | false | true | public void paint(Graphics gfx)
{
Graphics2D g = (Graphics2D)gfx;
if (gl.shouldReset(System.currentTimeMillis())) gl.reset(System.currentTimeMillis());
if( lane1.getActiveLane() == 1 ){ //if top lane
//top lane moving parts
if( lastPart != null && lastPart == gp3 ){ //box had cornflakes
if (pain... | public void paint(Graphics gfx)
{
Graphics2D g = (Graphics2D)gfx;
if (gl.shouldReset(System.currentTimeMillis())) gl.reset(System.currentTimeMillis());
if( lane1.getActiveLane() == 1 ){ //if top lane
//top lane moving parts
if( lastPart != null && lastPart == gp3 ){ //box had cornflakes
if (pain... |
diff --git a/software/camod/src/gov/nih/nci/camod/webapp/action/ViewTOCSearchResultsAction.java b/software/camod/src/gov/nih/nci/camod/webapp/action/ViewTOCSearchResultsAction.java
index 620ef852..353c76c4 100755
--- a/software/camod/src/gov/nih/nci/camod/webapp/action/ViewTOCSearchResultsAction.java
+++ b/software/cam... | true | true | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
log.info("In ViewTOCSearchResultsAction.execute");
// get and clean header to prevent SQL injection
String sID = null;
if (req... | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
log.info("In ViewTOCSearchResultsAction.execute");
// get and clean header to prevent SQL injection
String sID = null;
if (req... |
diff --git a/src/java/cz/cuni/mff/d3s/spl/core/impl/formula/LogicOr.java b/src/java/cz/cuni/mff/d3s/spl/core/impl/formula/LogicOr.java
index 6d70824..cbabfab 100644
--- a/src/java/cz/cuni/mff/d3s/spl/core/impl/formula/LogicOr.java
+++ b/src/java/cz/cuni/mff/d3s/spl/core/impl/formula/LogicOr.java
@@ -1,47 +1,47 @@
pack... | true | true | public Result evaluate() {
Result leftResult = left.evaluate();
/*
* If the left one is TRUE, we do not need
* to evaluate the right one.
*/
if (leftResult == Result.TRUE) {
return Result.TRUE;
}
Result rightResult = right.evaluate();
/*
* The same works other way round.
*/
if ... | public Result evaluate() {
Result leftResult = left.evaluate();
/*
* If the left one is TRUE, we do not need
* to evaluate the right one.
*/
if (leftResult == Result.TRUE) {
return Result.TRUE;
}
Result rightResult = right.evaluate();
/*
* The same works other way round.
*/
if ... |
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VCssLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VCssLayout.java
index 4813dbcd2..e0a74735b 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VCssLayout.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VCssLayout.java
@@ -1,318 +1,323 @@
/*
@ITMillApache2Lic... | true | true | public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
// for later requests
this.client = client;
final ArrayList<Widget> oldWidgets = new ArrayList<Widget>();
for (final Iterator<Widget> iterator = iterator(); iterator
.hasNe... | public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
// for later requests
this.client = client;
final ArrayList<Widget> oldWidgets = new ArrayList<Widget>();
for (final Iterator<Widget> iterator = iterator(); iterator
.hasNe... |
diff --git a/src/main/java/org/thymeleaf/context/AbstractProcessingContext.java b/src/main/java/org/thymeleaf/context/AbstractProcessingContext.java
index ec856244..2703c7b6 100644
--- a/src/main/java/org/thymeleaf/context/AbstractProcessingContext.java
+++ b/src/main/java/org/thymeleaf/context/AbstractProcessingContex... | true | true | protected AbstractProcessingContext(
final IContext context, final Map<String,Object> localVariables,
final Object selectionTarget, final boolean selectionTargetSet) {
super();
Validate.notNull(context, "Context cannot be null");
this.conte... | protected AbstractProcessingContext(
final IContext context, final Map<String,Object> localVariables,
final Object selectionTarget, final boolean selectionTargetSet) {
super();
Validate.notNull(context, "Context cannot be null");
this.conte... |
diff --git a/plugins/org.bonitasoft.studio.common.diagram/src/org/bonitasoft/studio/common/gmf/tools/tree/EmptyOperationViewFilter.java b/plugins/org.bonitasoft.studio.common.diagram/src/org/bonitasoft/studio/common/gmf/tools/tree/EmptyOperationViewFilter.java
index c6c50f3c14..5fc706cd9d 100644
--- a/plugins/org.bonit... | true | true | public boolean select(Viewer viewer, Object parentElement, Object element) {
if (element instanceof Operation){
Operation op = (Operation)element;
if ((op.getLeftOperand().getContent()==null || op.getLeftOperand().getContent().isEmpty()) && (op.getRightOperand().getContent()==null || op.getRightOperand().getCo... | public boolean select(Viewer viewer, Object parentElement, Object element) {
if (element instanceof Operation){
Operation op = (Operation)element;
if (( op.getLeftOperand()==null || op.getLeftOperand().getContent()==null || op.getLeftOperand().getContent().isEmpty()) && ( op.getRightOperand()==null || op.getRi... |
diff --git a/src/minecraft/andrew/powersuits/modules/LeafBlowerModule.java b/src/minecraft/andrew/powersuits/modules/LeafBlowerModule.java
index 9e2b334..a439257 100644
--- a/src/minecraft/andrew/powersuits/modules/LeafBlowerModule.java
+++ b/src/minecraft/andrew/powersuits/modules/LeafBlowerModule.java
@@ -1,129 +1,12... | false | true | public void onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) {
int blockID = world.getBlockId(x, y, z);
Block block = Block.blocksList[blockID];
int plant = (int) ModuleManager.computeModularProperty(itemStack... | public void onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) {
int blockID = world.getBlockId(x, y, z);
Block block = Block.blocksList[blockID];
int plant = (int) ModuleManager.computeModularProperty(itemStack... |
diff --git a/lib/java/src/protocol/TProtocolUtil.java b/lib/java/src/protocol/TProtocolUtil.java
index 935163c..ad333bc 100644
--- a/lib/java/src/protocol/TProtocolUtil.java
+++ b/lib/java/src/protocol/TProtocolUtil.java
@@ -1,93 +1,104 @@
// Copyright (c) 2006- Facebook
// Distributed under the Thrift Software Licen... | false | true | public static void skip(TProtocol prot, byte type)
throws TException {
switch (type) {
case TType.BOOL:
{
prot.readBool();
}
case TType.BYTE:
{
prot.readByte();
}
case TType.I16:
{
prot.readI16();
}
case TType.I32:
{
pr... | public static void skip(TProtocol prot, byte type)
throws TException {
switch (type) {
case TType.BOOL:
{
prot.readBool();
break;
}
case TType.BYTE:
{
prot.readByte();
break;
}
case TType.I16:
{
prot.readI16();
break;
... |
diff --git a/src/com/dmdirc/config/ConfigSource.java b/src/com/dmdirc/config/ConfigSource.java
index f0e8ec34d..76ebc7a6f 100644
--- a/src/com/dmdirc/config/ConfigSource.java
+++ b/src/com/dmdirc/config/ConfigSource.java
@@ -1,252 +1,252 @@
/*
* Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
... | true | true | public boolean hasOptionColour(final String domain, final String option) {
if (hasOption(domain, option)) {
String value = getOption(domain, option);
String colour;
if (value.startsWith("false:")) {
return false;
} else if (value.startsWith("t... | public boolean hasOptionColour(final String domain, final String option) {
if (hasOption(domain, option)) {
String value = getOption(domain, option);
String colour;
if (value.startsWith("false:")) {
return false;
} else if (value.startsWith("t... |
diff --git a/src/game/GameplayState.java b/src/game/GameplayState.java
index 1b80898..929b483 100644
--- a/src/game/GameplayState.java
+++ b/src/game/GameplayState.java
@@ -1,112 +1,112 @@
package game;
import lights.PointLight;
import map.Cell;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.World;
... | false | true | public void update(GameContainer gc, StateBasedGame sbg, int delta)
throws SlickException {
//update map
currentCell = MapLoader.getCurrentCell();
//check input
Input input = gc.getInput();
if (input.isKeyPressed(Input.KEY_ESCAPE)){
if(gui.anyWindowOpen()){
gui.closeWindow();
}else{
gc.sleep... | public void update(GameContainer gc, StateBasedGame sbg, int delta)
throws SlickException {
//update map
currentCell = MapLoader.getCurrentCell();
//check input
Input input = gc.getInput();
if (input.isKeyPressed(Input.KEY_ESCAPE)){
if(gui.anyWindowOpen()){
gui.closeWindow();
}else{
gc.sleep... |
diff --git a/portal/src/hot/org/vamdc/portal/session/queryLog/ResponseFacade.java b/portal/src/hot/org/vamdc/portal/session/queryLog/ResponseFacade.java
index 60681a9..a29eba6 100644
--- a/portal/src/hot/org/vamdc/portal/session/queryLog/ResponseFacade.java
+++ b/portal/src/hot/org/vamdc/portal/session/queryLog/Respons... | true | true | public String getId(){
String result=null;
if (response!=null){
result = response.getRecordID().toString();
}
if (result==null || result.length()==0)
result = UUID.randomUUID().toString();
return result;
}
| public String getId(){
String result=null;
if (response!=null && response.getRecordID()!=null){
result = response.getRecordID().toString();
}
if (result==null || result.length()==0)
result = UUID.randomUUID().toString();
return result;
}
|
diff --git a/src/main/java/com/netflix/postreview/p4/P4Runner.java b/src/main/java/com/netflix/postreview/p4/P4Runner.java
index 6784e32..a655610 100644
--- a/src/main/java/com/netflix/postreview/p4/P4Runner.java
+++ b/src/main/java/com/netflix/postreview/p4/P4Runner.java
@@ -1,25 +1,25 @@
package com.netflix.postrevi... | true | true | public P4Runner(String port, String client, String user, String passwd) throws IOException {
if (port != null) environment.put("P4PORT", port);
if (client != null) environment.put("P4CLIENT", client);
if (user != null) environment.put("P4USER", user);
if (passwd != null) environment... | public P4Runner(String port, String client, String user, String passwd) throws IOException {
if (port != null) environment.put("P4PORT", port);
if (client != null) environment.put("P4CLIENT", client);
if (user != null) environment.put("P4USER", user);
if (passwd != null) environment.... |
diff --git a/src/ussr/remote/facade/SimulationTabControl.java b/src/ussr/remote/facade/SimulationTabControl.java
index 00a11739..ed141e5e 100644
--- a/src/ussr/remote/facade/SimulationTabControl.java
+++ b/src/ussr/remote/facade/SimulationTabControl.java
@@ -1,88 +1,88 @@
package ussr.remote.facade;
import java.rmi... | true | true | public void deleteModules(List<Integer> ids)throws RemoteException{
//jmeSimulation.getModules().clear();
for(int moduleID=0;moduleID<ids.size();moduleID++){
amountModules = jmeSimulation.getModules().size();
System.out.println("Size List:"+ jmeSimulation.getModules().size());
for (int index=0... | public void deleteModules(List<Integer> ids)throws RemoteException{
//jmeSimulation.getModules().clear();
for(int moduleID=0;moduleID<ids.size();moduleID++){
amountModules = jmeSimulation.getModules().size();
System.out.println("Size List:"+ jmeSimulation.getModules().size());
for (int index=0... |
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/preferences/PreferencesInitializer.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/preferences/PreferencesInitializer.java
index b... | true | true | public static void addMRUInterval(int interval){
IPreferenceStore prefStore = UIPlugin.getDefault().getPreferenceStore();
String mruList = prefStore.getString(PREF_INTERVAL_MRU_LIST);
if (mruList == null || mruList.trim().length() == 0) {
mruList = "" + interval; //$NON-NLS-1$
... | public static void addMRUInterval(int interval){
if (interval <= 0 || DEFAULT_INTERVAL_GRADES.contains(":" + interval)) return; //$NON-NLS-1$
IPreferenceStore prefStore = UIPlugin.getDefault().getPreferenceStore();
String mruList = prefStore.getString(PREF_INTERVAL_MRU_LIST);
if (mruList == n... |
diff --git a/servers/jain-slee/core/jar/src/main/java/org/mobicents/slee/container/management/SbbManagement.java b/servers/jain-slee/core/jar/src/main/java/org/mobicents/slee/container/management/SbbManagement.java
index 19df8324f..c0046c86f 100644
--- a/servers/jain-slee/core/jar/src/main/java/org/mobicents/slee/conta... | true | true | private void setupSbbEnvironment(SbbComponent sbbComponent) throws Exception {
Context ctx = (Context) new InitialContext().lookup("java:comp");
if (logger.isDebugEnabled()) {
logger.debug("Setting up SBB env. Initial context is " + ctx);
}
Context envCtx = null;
try {
envCtx = ctx.createSubcontext(... | private void setupSbbEnvironment(SbbComponent sbbComponent) throws Exception {
Context ctx = (Context) new InitialContext().lookup("java:comp");
if (logger.isDebugEnabled()) {
logger.debug("Setting up SBB env. Initial context is " + ctx);
}
Context envCtx = null;
try {
envCtx = ctx.createSubcontext(... |
diff --git a/WEB-INF/src/edu/wustl/common/beans/NameValueBean.java b/WEB-INF/src/edu/wustl/common/beans/NameValueBean.java
index 4514c08a3..e700725d6 100644
--- a/WEB-INF/src/edu/wustl/common/beans/NameValueBean.java
+++ b/WEB-INF/src/edu/wustl/common/beans/NameValueBean.java
@@ -1,88 +1,88 @@
/**
*<p>Title: </p>
... | true | true | public int compareTo(Object obj)
{
if(obj instanceof NameValueBean)
{
NameValueBean nameValueBean = (NameValueBean)obj;
return name.compareTo(nameValueBean.getName());
}
return 0;
}
| public int compareTo(Object obj)
{
if(obj instanceof NameValueBean)
{
NameValueBean nameValueBean = (NameValueBean)obj;
return name.toLowerCase().compareTo(nameValueBean.getName().toLowerCase());
}
return 0;
}
|
diff --git a/src/PongBall.java b/src/PongBall.java
index 417d0f4..a355a49 100644
--- a/src/PongBall.java
+++ b/src/PongBall.java
@@ -1,54 +1,54 @@
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
public class PongBall extends MoveableObject {
private double speedX = 1f;
private double s... | true | true | public void playerBounce(MoveableObject player){
double ballLength = this.object.getHeight();
double ballCenterY = this.py + ballLength/2;
double paddleLength = player.object.getWidth();
double paddleCenterY = player.getPositionY() + paddleLength/2;
// This number decides the influence... | public void playerBounce(MoveableObject player){
double ballLength = this.object.getHeight();
double ballCenterY = this.py + ballLength/2;
double paddleLength = player.object.getHeight();
double paddleCenterY = player.getPositionY() + paddleLength/2;
// This number decides the influenc... |
diff --git a/src/com/android/gallery3d/app/CropImage.java b/src/com/android/gallery3d/app/CropImage.java
index 03cd48f..14d8be0 100644
--- a/src/com/android/gallery3d/app/CropImage.java
+++ b/src/com/android/gallery3d/app/CropImage.java
@@ -1,955 +1,955 @@
/*
* Copyright (C) 2010 The Android Open Source Project
*
... | true | true | private Bitmap getCroppedImage(Rect rect) {
Utils.assertTrue(rect.width() > 0 && rect.height() > 0);
Bundle extras = getIntent().getExtras();
// (outputX, outputY) = the width and height of the returning bitmap.
int outputX = rect.width();
int outputY = rect.height();
... | private Bitmap getCroppedImage(Rect rect) {
Utils.assertTrue(rect.width() > 0 && rect.height() > 0);
Bundle extras = getIntent().getExtras();
// (outputX, outputY) = the width and height of the returning bitmap.
int outputX = rect.width();
int outputY = rect.height();
... |
diff --git a/drools-core/src/main/java/org/drools/common/AbstractRuleBase.java b/drools-core/src/main/java/org/drools/common/AbstractRuleBase.java
index 173d435847..8d55e8df43 100644
--- a/drools-core/src/main/java/org/drools/common/AbstractRuleBase.java
+++ b/drools-core/src/main/java/org/drools/common/AbstractRuleBas... | true | true | public synchronized void addPackage(final Package newPkg) {
newPkg.checkValidity();
synchronized ( this.pkgs ) {
final Package pkg = (Package) this.pkgs.get( newPkg.getName() );
// only acquire the lock if it hasn't been done explicitely
boolean doUnlock = false;... | public synchronized void addPackage(final Package newPkg) {
newPkg.checkValidity();
synchronized ( this.pkgs ) {
final Package pkg = (Package) this.pkgs.get( newPkg.getName() );
// only acquire the lock if it hasn't been done explicitely
boolean doUnlock = false;... |
diff --git a/MercredyMurderParty/src/fr/mercredymurderparty/ihm/composants/ComposantGestionIndices.java b/MercredyMurderParty/src/fr/mercredymurderparty/ihm/composants/ComposantGestionIndices.java
index 406aa4c..c5d6d11 100644
--- a/MercredyMurderParty/src/fr/mercredymurderparty/ihm/composants/ComposantGestionIndices.j... | true | true | public ComposantGestionIndices(FenetreAdmin _fenetre, final SpringLayout _springLayout, CoeurServeur _coeurServeur)
{
coeurServeur = _coeurServeur;
panelGestionIndices = new JPanel();
panelGestionIndices.setOpaque(false);
_springLayout.putConstraint(SpringLayout.NORTH, panelGestionIndices, -200, SpringLayout.... | public ComposantGestionIndices(FenetreAdmin _fenetre, final SpringLayout _springLayout, CoeurServeur _coeurServeur)
{
coeurServeur = _coeurServeur;
panelGestionIndices = new JPanel();
panelGestionIndices.setOpaque(false);
_springLayout.putConstraint(SpringLayout.NORTH, panelGestionIndices, -200, SpringLayout.... |
diff --git a/src/net/wehi/socrates/AnnotatePairedClusters.java b/src/net/wehi/socrates/AnnotatePairedClusters.java
index 52f26ef..b4681ce 100644
--- a/src/net/wehi/socrates/AnnotatePairedClusters.java
+++ b/src/net/wehi/socrates/AnnotatePairedClusters.java
@@ -1,451 +1,450 @@
package net.wehi.socrates;
/**
*
*/
... | true | true | public static void main(String[] args) {
CommandLineParser parser = new GnuParser();
try {
/*
* Parsing options from command line
*/
CommandLine cmd = parser.parse( options, args );
String norm = ((String)cmd.getParsedOptionValue("normal"));
int flank = cmd.hasOption("fla... | public static void main(String[] args) {
CommandLineParser parser = new GnuParser();
try {
/*
* Parsing options from command line
*/
CommandLine cmd = parser.parse( options, args );
String norm = ((String)cmd.getParsedOptionValue("normal"));
int flank = cmd.hasOption("fla... |
diff --git a/src/java/com/idega/block/news/data/News.java b/src/java/com/idega/block/news/data/News.java
index 6ab5501..4c23cc0 100755
--- a/src/java/com/idega/block/news/data/News.java
+++ b/src/java/com/idega/block/news/data/News.java
@@ -1,130 +1,130 @@
//idega 2000 - �gir og eiki
package com.idega.block.news.da... | true | true | public void initializeAttributes(){
addAttribute(getIDColumnName());
addAttribute(getNewsCategoryIdColumnName(), "Category", true, true, "java.lang.Integer", "many-to-one","com.idega.jmodule.news.data.NewsCategory");
addAttribute(getHeadLineColumnName(), "Headline", true, true, "java.lang.String");
ad... | public void initializeAttributes(){
addAttribute(getIDColumnName());
addAttribute(getNewsCategoryIdColumnName(), "Category", true, true, Integer.class, "many-to-one",NewsCategory.class);
addAttribute(getHeadLineColumnName(), "Headline", true, true, String.class);
addAttribute(getNewsTextColumnName(), ... |
diff --git a/src/main/java/hex/gbm/GBM.java b/src/main/java/hex/gbm/GBM.java
index d7bd66553..7aa5bc0f6 100644
--- a/src/main/java/hex/gbm/GBM.java
+++ b/src/main/java/hex/gbm/GBM.java
@@ -1,468 +1,468 @@
package hex.gbm;
import static water.util.Utils.div;
import hex.gbm.DTree.DecidedNode;
import hex.gbm.DTree.L... | true | true | private DTree[] buildNextKTrees(Frame fr) {
// We're going to build K (nclass) trees - each focused on correcting
// errors for a single class.
final DTree[] ktrees = new DTree[_nclass];
// Initial set of histograms. All trees; one leaf per tree (the root
// leaf); all columns
DHistogram hcs... | private DTree[] buildNextKTrees(Frame fr) {
// We're going to build K (nclass) trees - each focused on correcting
// errors for a single class.
final DTree[] ktrees = new DTree[_nclass];
// Initial set of histograms. All trees; one leaf per tree (the root
// leaf); all columns
DHistogram hcs... |
diff --git a/runtime/src/org/aspectj/lang/Aspects.java b/runtime/src/org/aspectj/lang/Aspects.java
index 2b0c8540c..2f6fa5329 100644
--- a/runtime/src/org/aspectj/lang/Aspects.java
+++ b/runtime/src/org/aspectj/lang/Aspects.java
@@ -1,92 +1,92 @@
/***********************************************************************... | true | true | private static Method checkAspectOf(Method method, Class aspectClass)
throws NoSuchMethodException {
method.setAccessible(true);
if (!method.isAccessible()
|| !Modifier.isPublic(method.getModifiers())
|| !Modifier.isStatic(method.getModifiers())) {
... | private static Method checkAspectOf(Method method, Class aspectClass)
throws NoSuchMethodException {
method.setAccessible(true);
if (!method.isAccessible()
|| !Modifier.isPublic(method.getModifiers())
|| !Modifier.isStatic(method.getModifiers())) {
... |
diff --git a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/ServerKeyVerifierImpl.java b/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/ServerKeyVerifierImpl.java
index 61f1717e5..ab337cdcd 100644
--- a/shell/ssh/src/main/java/org/apache/karaf/shell/ssh/ServerKeyVerifierImpl.java
+++ b/shell/ssh/src/main/java/o... | false | true | public boolean verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress, PublicKey serverKey) {
PublicKey knownKey;
try {
knownKey = knownHostsManager.getKnownKey(remoteAddress, serverKey.getAlgorithm());
} catch (InvalidKeySpecException e) {
System.out.println("Invalid key stored for... | public boolean verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress, PublicKey serverKey) {
PublicKey knownKey;
try {
knownKey = knownHostsManager.getKnownKey(remoteAddress, serverKey.getAlgorithm());
} catch (InvalidKeySpecException e) {
System.err.println("Invalid key stored for... |
diff --git a/code/src/at/photoselector/ui/MyApplicationWindow.java b/code/src/at/photoselector/ui/MyApplicationWindow.java
index 913922b..7468d65 100644
--- a/code/src/at/photoselector/ui/MyApplicationWindow.java
+++ b/code/src/at/photoselector/ui/MyApplicationWindow.java
@@ -1,57 +1,62 @@
package at.photoselector.ui;... | true | true | protected void configureShell(Shell shell) {
super.configureShell(shell);
// restore window size and location
control = this.getClass().getSimpleName().replaceAll("s?Dialog$", "")
.toLowerCase();
Rectangle tmp = Settings.rememberWindowPosition(control);
shell.setLocation(tmp.x, tmp.y);
shell.setSize(... | protected void configureShell(Shell shell) {
super.configureShell(shell);
// restore window size and location
control = this.getClass().getSimpleName().replaceAll("s?Dialog$", "")
.toLowerCase();
Rectangle tmp = Settings.rememberWindowPosition(control);
shell.setLocation(tmp.x, tmp.y);
shell.setSize(... |
diff --git a/src/org/waveprotocol/wave/client/wavepanel/impl/toolbar/ToolbarSwitcher.java b/src/org/waveprotocol/wave/client/wavepanel/impl/toolbar/ToolbarSwitcher.java
index 0c8f12da..639f84d1 100644
--- a/src/org/waveprotocol/wave/client/wavepanel/impl/toolbar/ToolbarSwitcher.java
+++ b/src/org/waveprotocol/wave/clie... | true | true | private void init() {
viewToolbar.init();
editToolbar.init();
editSession.addListener(this);
if (editSession.isEditing()) {
startEditSession(editSession.getEditor());
} else if(panel.hasContents()){
startViewSession();
}
}
| private void init() {
viewToolbar.init();
editToolbar.init();
editSession.addListener(this);
if (editSession.isEditing()) {
startEditSession(editSession.getEditor());
} else if (panel.hasContents()) {
startViewSession();
}
}
|
diff --git a/lucene/backwards/src/test/org/apache/lucene/index/TestIndexReader.java b/lucene/backwards/src/test/org/apache/lucene/index/TestIndexReader.java
index 0c0a2c3a..5330d0cf 100644
--- a/lucene/backwards/src/test/org/apache/lucene/index/TestIndexReader.java
+++ b/lucene/backwards/src/test/org/apache/lucene/inde... | true | true | public void testDiskFull() throws IOException {
Term searchTerm = new Term("content", "aaa");
int START_COUNT = 157;
int END_COUNT = 144;
// First build up a starting index:
MockDirectoryWrapper startDir = newDirectory();
IndexWriter writer = new IndexWriter(startDir, new... | public void testDiskFull() throws IOException {
Term searchTerm = new Term("content", "aaa");
int START_COUNT = 157;
int END_COUNT = 144;
// First build up a starting index:
MockDirectoryWrapper startDir = newDirectory();
IndexWriter writer = new IndexWriter(startDir, new... |
diff --git a/web/src/main/java/org/alx/stripestemplate/stripes/ext/HibernateTxInterceptor.java b/web/src/main/java/org/alx/stripestemplate/stripes/ext/HibernateTxInterceptor.java
index 47f56b9..ed945da 100644
--- a/web/src/main/java/org/alx/stripestemplate/stripes/ext/HibernateTxInterceptor.java
+++ b/web/src/main/java... | true | true | public Resolution intercept(ExecutionContext context) throws Exception {
LifecycleStage stage = context.getLifecycleStage();
if (stage==LifecycleStage.RequestInit) {
Transaction tx = getSessionFactory(context).getCurrentSession().beginTransaction();
log.debug("Started transaction : " + tx);
}... | public Resolution intercept(ExecutionContext context) throws Exception {
LifecycleStage stage = context.getLifecycleStage();
if (stage==LifecycleStage.RequestInit) {
Transaction tx = getSessionFactory(context).getCurrentSession().beginTransaction();
log.debug("Started transaction : " + tx);
}... |
diff --git a/NAKJava/src/de/nordakademie/nakjava/gamelogic/cards/zauberlabor/Weihnachtsmann.java b/NAKJava/src/de/nordakademie/nakjava/gamelogic/cards/zauberlabor/Weihnachtsmann.java
index 20cf82c..ac6aa66 100644
--- a/NAKJava/src/de/nordakademie/nakjava/gamelogic/cards/zauberlabor/Weihnachtsmann.java
+++ b/NAKJava/src... | false | true | protected void performAction(Map<Target, PlayerState> states) {
super.performAction(states);
CardSet selfCards = ((InGameSpecificModel) states.get(Target.SELF)
.getStateSpecificModel()).getCards();
int passedCards = 0;
String drawnCard;
while (passedCards < selfCards.getCardSetSize()) {
drawnCard = se... | protected void performAction(Map<Target, PlayerState> states) {
super.performAction(states);
CardSet selfCards = ((InGameSpecificModel) states.get(Target.SELF)
.getStateSpecificModel()).getCards();
int passedCards = 0;
String drawnCard;
boolean cardFound = false;
while (!cardFound && passedCards < self... |
diff --git a/src/logicamente/drawer/SyntaxTreeDrawer.java b/src/logicamente/drawer/SyntaxTreeDrawer.java
index 31f710f..e9d7db6 100644
--- a/src/logicamente/drawer/SyntaxTreeDrawer.java
+++ b/src/logicamente/drawer/SyntaxTreeDrawer.java
@@ -1,487 +1,487 @@
package logicamente.drawer;
import java.awt.BorderLayout;
... | true | true | private JPanel createComplexLayout() {
GroupLayout topPanelLayout = new GroupLayout(topPanel);
topPanel.setLayout(topPanelLayout);
topPanelLayout.setHorizontalGroup(topPanelLayout.createParallelGroup(
GroupLayout.Alignment.LEADING).addGroup(
topPanelLayout.createSequentialGroup().addComponent(
inpu... | private JPanel createComplexLayout() {
GroupLayout topPanelLayout = new GroupLayout(topPanel);
topPanel.setLayout(topPanelLayout);
topPanelLayout.setHorizontalGroup(topPanelLayout.createParallelGroup(
GroupLayout.Alignment.LEADING).addGroup(
topPanelLayout.createSequentialGroup().addComponent(
inpu... |
diff --git a/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/InquiryServiceImpl.java b/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/service/InquiryServiceImpl.java
index a552167bd..79235351a 100644
--- a/juddi-console/uddi-portlets/src/main/java/org/apach... | true | true | public InquiryResponse getBusinessDetail(String authToken, String businessKey)
{
HttpServletRequest request = this.getThreadLocalRequest();
String lang = request.getLocale().getLanguage();
GetBusinessDetail getBusinessDetail = new GetBusinessDetail();
getBusinessDetail.setAuthInfo(authToken);
getBusines... | public InquiryResponse getBusinessDetail(String authToken, String businessKey)
{
HttpServletRequest request = this.getThreadLocalRequest();
String lang = request.getLocale().getLanguage();
GetBusinessDetail getBusinessDetail = new GetBusinessDetail();
getBusinessDetail.setAuthInfo(authToken);
getBusines... |
diff --git a/src/backend/Backend.java b/src/backend/Backend.java
index dd25b7d..be0c7c7 100644
--- a/src/backend/Backend.java
+++ b/src/backend/Backend.java
@@ -1,58 +1,58 @@
package backend;
import intermediate.IntermediateCode;
import intermediate.SymbolTable;
import intermediate.SymbolTableEntry;
import inter... | true | true | public void printParseTree(IntermediateCode intermediateCode) {
if (intermediateCode == null) {
return;
}
if (intermediateCode.getText() != null) {
if (intermediateCode.getText().compareTo("'") == 0) {
System.out.print(intermediateCode.getText());
... | public void printParseTree(IntermediateCode intermediateCode) {
if (intermediateCode == null) {
return;
}
if (intermediateCode.getText() != null) {
if (intermediateCode.getText().compareTo("'") == 0) {
System.out.print(intermediateCode.getText());
... |
diff --git a/modules/webutil/src/com/caucho/xtpdoc/Figure.java b/modules/webutil/src/com/caucho/xtpdoc/Figure.java
index 11b7e88e3..fdb35e859 100644
--- a/modules/webutil/src/com/caucho/xtpdoc/Figure.java
+++ b/modules/webutil/src/com/caucho/xtpdoc/Figure.java
@@ -1,220 +1,220 @@
/*
* Copyright (c) 1998-2011 Caucho ... | true | true | public void writeAsciiDoc(PrintWriter out)
throws IOException
{
int dot = _source.lastIndexOf('.');
String basename = _source.substring(0, dot);
out.println();
out.println();
String pdfName = baseName + ".pdf";
boolean isPdf = false;
if (new File(pdfName).exists()) {
ou... | public void writeAsciiDoc(PrintWriter out)
throws IOException
{
int dot = _source.lastIndexOf('.');
String baseName = _source.substring(0, dot);
out.println();
out.println();
String pdfName = baseName + ".pdf";
boolean isPdf = false;
if (new File(pdfName).exists()) {
ou... |
diff --git a/src/nuthatch/engine/impl/EnvEngine.java b/src/nuthatch/engine/impl/EnvEngine.java
index 40feaa0..1f31c71 100644
--- a/src/nuthatch/engine/impl/EnvEngine.java
+++ b/src/nuthatch/engine/impl/EnvEngine.java
@@ -1,121 +1,123 @@
package nuthatch.engine.impl;
import java.util.ArrayList;
import java.util.Ide... | true | true | public TreeCursor<Value, Type> go(int i) throws BranchNotFoundError {
int j = BranchUtil.normalBranch(i, getNumChildren());
if(j == 0) {
int k = subtreeScoping.size();
Map<String, Object> map = subtreeScoping.remove(k - 1);
if(map != null) {
for(Entry<String, Object> entry : map.entrySet()) {
if(... | public TreeCursor<Value, Type> go(int i) throws BranchNotFoundError {
int j = BranchUtil.normalBranch(i, getNumChildren());
if(j == 0) {
int k = subtreeScoping.size();
if(k > 0) {
Map<String, Object> map = subtreeScoping.remove(k - 1);
if(map != null) {
for(Entry<String, Object> entry : map.entr... |
diff --git a/src/jaxrs/java/org/codehaus/jackson/jaxrs/MapperConfigurator.java b/src/jaxrs/java/org/codehaus/jackson/jaxrs/MapperConfigurator.java
index 11d1e5b1..0ead76c3 100644
--- a/src/jaxrs/java/org/codehaus/jackson/jaxrs/MapperConfigurator.java
+++ b/src/jaxrs/java/org/codehaus/jackson/jaxrs/MapperConfigurator.ja... | true | true | protected AnnotationIntrospector _resolveIntrospector(Annotations ann)
{
System.err.println("Resolve: "+ann);
switch (ann) {
case JACKSON:
return new JacksonAnnotationIntrospector();
case JAXB:
/* For this, need to use indirection just so that error occurs
... | protected AnnotationIntrospector _resolveIntrospector(Annotations ann)
{
switch (ann) {
case JACKSON:
return new JacksonAnnotationIntrospector();
case JAXB:
/* For this, need to use indirection just so that error occurs
* when we get here, and not whe... |
diff --git a/src/com/edinarobotics/zephyr/Components.java b/src/com/edinarobotics/zephyr/Components.java
index a1d4e29..e2f83fc 100644
--- a/src/com/edinarobotics/zephyr/Components.java
+++ b/src/com/edinarobotics/zephyr/Components.java
@@ -1,47 +1,48 @@
package com.edinarobotics.zephyr;
import edu.wpi.first.wpilib... | true | true | private Components(){
leftJaguar = new Jaguar(LEFT_JAGUAR_PORT);
rightJaguar = new Jaguar(RIGHT_JAGUAR_PORT);
shooterJaguar = new Jaguar(SHOOTER_JAGUAR_PORT);
driveControl = new RobotDrive(leftJaguar,rightJaguar);
compressor = new Compressor(COMPRESSOR_PRESSURE_SENSOR,COMPRE... | private Components(){
leftJaguar = new Jaguar(LEFT_JAGUAR_PORT);
rightJaguar = new Jaguar(RIGHT_JAGUAR_PORT);
shooterJaguar = new Jaguar(SHOOTER_JAGUAR_PORT);
driveControl = new RobotDrive(leftJaguar,rightJaguar);
compressor = new Compressor(COMPRESSOR_PRESSURE_SENSOR,COMPRE... |
diff --git a/src/com/chess/genesis/widget/RegGameState.java b/src/com/chess/genesis/widget/RegGameState.java
index 1626e2e..89e2418 100644
--- a/src/com/chess/genesis/widget/RegGameState.java
+++ b/src/com/chess/genesis/widget/RegGameState.java
@@ -1,407 +1,407 @@
/* GenesisChess, an Android chess application
Copyri... | true | true | private void applyMove(final RegMove move, final boolean erase, final boolean localmove)
{
if (hindex >= 0) {
// undo last move highlight
final BoardButton to = (BoardButton) activity.findViewById(history.get(hindex).to);
to.setLast(false);
if (hindex > 1) {
// legal move always ends with king not ... | private void applyMove(final RegMove move, final boolean erase, final boolean localmove)
{
if (hindex >= 0) {
// undo last move highlight
final BoardButton to = (BoardButton) activity.findViewById(history.get(hindex).to);
to.setLast(false);
if (hindex > 1) {
// legal move always ends with king not ... |
diff --git a/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tools/jst/firstrun/JBossASAdapterInitializer.java b/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tools/jst/firstrun/JBossASAdapterInitializer.java
index f34fa7e7..8f91824e 100644
--- a/plugins/org.jboss.tools.jst.firstrun/src/org/jboss/tools/jst/firs... | true | true | public void earlyStartup() {
try {
JstFirstRunPlugin.getDefault().getPreferenceStore().setDefault(FIRST_START_PREFERENCE_NAME, true);
boolean firstStart = JstFirstRunPlugin.getDefault().getPreferenceStore().getBoolean(FIRST_START_PREFERENCE_NAME);
if(!firstStart) {
return;
}
JstFirstRunPlugin... | public void earlyStartup() {
try {
JstFirstRunPlugin.getDefault().getPreferenceStore().setDefault(FIRST_START_PREFERENCE_NAME, true);
boolean firstStart = JstFirstRunPlugin.getDefault().getPreferenceStore().getBoolean(FIRST_START_PREFERENCE_NAME);
if(!firstStart) {
return;
}
JstFirstRunPlugin... |
diff --git a/src/main/java/org/makersoft/shards/strategy/exit/impl/ExitOperationsSelectOneCollector.java b/src/main/java/org/makersoft/shards/strategy/exit/impl/ExitOperationsSelectOneCollector.java
index b91fa97..e0066a6 100644
--- a/src/main/java/org/makersoft/shards/strategy/exit/impl/ExitOperationsSelectOneCollecto... | false | true | public List<Object> apply(List<Object> result) {
if(statement.endsWith("count")){
return new AggregateExitOperation("sum").apply(result);
}else if(statement.endsWith("sum")){
return new AggregateExitOperation("sum").apply(result);
}else if(statement.endsWith("min")){
return new AggregateExitOperation("m... | public List<Object> apply(List<Object> result) {
if(statement.endsWith("count")){
return new RowCountExitOperation().apply(result);
}else if(statement.endsWith("sum")){
return new AggregateExitOperation("sum").apply(result);
}else if(statement.endsWith("min")){
return new AggregateExitOperation("min").a... |
diff --git a/plugins/org.eclipse.m2m.atl.core.ui/src/org/eclipse/m2m/atl/core/ui/launch/AdvancedTab.java b/plugins/org.eclipse.m2m.atl.core.ui/src/org/eclipse/m2m/atl/core/ui/launch/AdvancedTab.java
index 8bb9a828..a53a7e02 100644
--- a/plugins/org.eclipse.m2m.atl.core.ui/src/org/eclipse/m2m/atl/core/ui/launch/Advanced... | true | true | public void createControl(Composite parent) {
container = new Composite(parent, SWT.NULL);
groupSuperimpose = new Group(container, SWT.NULL);
buttonSuperimpose = new Button(groupSuperimpose, SWT.CENTER);
tableSuperimpose = new Table(groupSuperimpose, SWT.FULL_SELECTION | SWT.BORDER);
buttonRemoveSuperimpos... | public void createControl(Composite parent) {
container = new Composite(parent, SWT.NULL);
groupSuperimpose = new Group(container, SWT.NULL);
buttonSuperimpose = new Button(groupSuperimpose, SWT.CENTER);
tableSuperimpose = new Table(groupSuperimpose, SWT.FULL_SELECTION | SWT.BORDER);
buttonRemoveSuperimpos... |
diff --git a/src/main/java/com/gitblit/LogoServlet.java b/src/main/java/com/gitblit/LogoServlet.java
index 166bf40f..c8820ed3 100644
--- a/src/main/java/com/gitblit/LogoServlet.java
+++ b/src/main/java/com/gitblit/LogoServlet.java
@@ -1,93 +1,95 @@
/*
* Copyright 2013 gitblit.com.
*
* Licensed under the Apache L... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
InputStream is = null;
try {
String contentType = null;
File file = GitBlit.getFileOrFolder(Keys.web.headerLogo, "${baseFolder}/logo.png");
if (file.exists()) {
// custom logo
S... | protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
InputStream is = null;
try {
String contentType = null;
File file = GitBlit.getFileOrFolder(Keys.web.headerLogo, "${baseFolder}/logo.png");
if (file.exists()) {
// custom logo
S... |
diff --git a/src/java/org/wings/tree/SDefaultTreeCellRenderer.java b/src/java/org/wings/tree/SDefaultTreeCellRenderer.java
index 89be5d05..f291ebf8 100644
--- a/src/java/org/wings/tree/SDefaultTreeCellRenderer.java
+++ b/src/java/org/wings/tree/SDefaultTreeCellRenderer.java
@@ -1,218 +1,218 @@
/*
* Copyright 2000,20... | true | true | public SComponent getTreeCellRendererComponent(STree tree,
Object value,
boolean selected,
boolean expanded,
boo... | public SComponent getTreeCellRendererComponent(STree tree,
Object value,
boolean selected,
boolean expanded,
boo... |
diff --git a/src/main/java/com/github/croesch/micro_debug/argument/AError.java b/src/main/java/com/github/croesch/micro_debug/argument/AError.java
index 17ee411..08b7bd6 100644
--- a/src/main/java/com/github/croesch/micro_debug/argument/AError.java
+++ b/src/main/java/com/github/croesch/micro_debug/argument/AError.java... | true | true | final boolean printError(final String[] params, final Text errorText, final AArgument errorArgument) {
if (params == null || params.length == 0) {
// if there are no arguments then calling this method might be a mistake
Logger.getLogger(getClass().getName()).warning("No parameters passed to execution ... | final boolean printError(final String[] params, final Text errorText, final AArgument errorArgument) {
if (params == null || params.length == 0) {
// if there are no arguments then calling this method might be a mistake
Logger.getLogger(getClass().getName()).warning("No parameters passed to execution ... |
diff --git a/core/src/main/java/hudson/model/RunMap.java b/core/src/main/java/hudson/model/RunMap.java
index faeb2b08b..19b816911 100644
--- a/core/src/main/java/hudson/model/RunMap.java
+++ b/core/src/main/java/hudson/model/RunMap.java
@@ -1,186 +1,190 @@
package hudson.model;
import java.io.File;
import java.io.... | true | true | public synchronized void load(Job job, Constructor<R> cons) {
TreeMap<Integer,R> builds = new TreeMap<Integer,R>(RunMap.COMPARATOR);
File buildDir = job.getBuildDir();
buildDir.mkdirs();
String[] buildDirs = buildDir.list(new FilenameFilter() {
public boolean accept(File ... | public synchronized void load(Job job, Constructor<R> cons) {
TreeMap<Integer,R> builds = new TreeMap<Integer,R>(RunMap.COMPARATOR);
File buildDir = job.getBuildDir();
buildDir.mkdirs();
String[] buildDirs = buildDir.list(new FilenameFilter() {
public boolean accept(File ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.