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/proxy/src/main/java/org/fedoraproject/candlepin/resteasy/interceptor/BasicAuth.java b/proxy/src/main/java/org/fedoraproject/candlepin/resteasy/interceptor/BasicAuth.java
index 5e40bf043..0d69b0f87 100644
--- a/proxy/src/main/java/org/fedoraproject/candlepin/resteasy/interceptor/BasicAuth.java
+++ b/proxy/s... | true | true | Principal getPrincipal(HttpRequest request) throws Exception {
List<String> header = request.getHttpHeaders().getRequestHeader("Authorization");
String auth = null;
if (null != header && header.size() > 0) {
auth = header.get(0);
}
if (auth != null && auth.toUpp... | Principal getPrincipal(HttpRequest request) throws Exception {
List<String> header = request.getHttpHeaders().getRequestHeader("Authorization");
String auth = null;
if (null != header && header.size() > 0) {
auth = header.get(0);
}
if (auth != null && auth.toUpp... |
diff --git a/src/Issue.java b/src/Issue.java
index cc53e98..d6d1e32 100644
--- a/src/Issue.java
+++ b/src/Issue.java
@@ -1,183 +1,183 @@
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.io.IOException... | true | true | private void createIssue(Message message) throws IssueException {
String issueTitle = message.getMessage().substring(5);
String issueBody = "This message was generated automatically by " +
message.getUser() + " in " + message.getChannel() +
". Once confirmed, please remove `unconfirmed` tag... | private void createIssue(Message message) throws IssueException {
String issueTitle = message.getMessage().substring(5);
String issueBody = "This message was generated automatically by " +
message.getUser() + " in " + message.getChannel() +
". Once confirmed, please remove `unconfirmed` tag... |
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileMetadataRepositoryTest.java
index b15120e8a..af7f0a587 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/... | false | true | public void testDefaultAgentRepoAndBundlePoolFromProfileRepo() {
File testData = getTestData("0.1", "testData/sdkpatchingtest");
// /p2/org.eclipse.equinox.p2.engine/profileRegistry");
File tempFolder = getTempFolder();
copy("0.2", testData, tempFolder);
new SimpleArtifactRepositoryFactory().create(tempFolde... | public void testDefaultAgentRepoAndBundlePoolFromProfileRepo() throws InterruptedException {
File testData = getTestData("0.1", "testData/sdkpatchingtest");
// /p2/org.eclipse.equinox.p2.engine/profileRegistry");
File tempFolder = getTempFolder();
copy("0.2", testData, tempFolder);
new SimpleArtifactReposito... |
diff --git a/com/buglabs/bug/module/lcd/accelerometer/LCDAccelerometerSampleInputStream.java b/com/buglabs/bug/module/lcd/accelerometer/LCDAccelerometerSampleInputStream.java
index bad8707..9bcf872 100644
--- a/com/buglabs/bug/module/lcd/accelerometer/LCDAccelerometerSampleInputStream.java
+++ b/com/buglabs/bug/module/... | true | true | public AccelerometerSample readSample() throws IOException {
byte data[] = new byte[6];
short sample[] = null;
int result = read(data);
if(result == data.length) {
sample = new short[3];
for(int i = 0; i < sample.length; ++i) {
sample[i] = (short)((short)(data[i*2] << 8) + (short)data[i*2 +... | public AccelerometerSample readSample() throws IOException {
byte data[] = new byte[6];
short sample[] = null;
int result = read(data);
if(result == data.length) {
sample = new short[3];
for(int i = 0; i < sample.length; ++i) {
sample[i] = (short)((short)(data[i*2] << 8) + (short)data[i*2 +... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/container/JettyWebSocketUtil.java b/modules/cpr/src/main/java/org/atmosphere/container/JettyWebSocketUtil.java
index 925b41334..e3a37217e 100644
--- a/modules/cpr/src/main/java/org/atmosphere/container/JettyWebSocketUtil.java
+++ b/modules/cpr/src/main/java/org/atmo... | true | true | public final static WebSocketFactory getFactory(final AtmosphereConfig config, final WebSocketProcessor webSocketProcessor) {
WebSocketFactory webSocketFactory = new WebSocketFactory(new WebSocketFactory.Acceptor() {
public boolean checkOrigin(HttpServletRequest request, String origin) {
... | public final static WebSocketFactory getFactory(final AtmosphereConfig config, final WebSocketProcessor webSocketProcessor) {
WebSocketFactory webSocketFactory = new WebSocketFactory(new WebSocketFactory.Acceptor() {
public boolean checkOrigin(HttpServletRequest request, String origin) {
... |
diff --git a/src/org/encog/solve/anneal/SimulatedAnnealing.java b/src/org/encog/solve/anneal/SimulatedAnnealing.java
index 09567aae7..23d7e8851 100644
--- a/src/org/encog/solve/anneal/SimulatedAnnealing.java
+++ b/src/org/encog/solve/anneal/SimulatedAnnealing.java
@@ -1,242 +1,242 @@
/*
* Encog Artificial Intelligen... | true | true | public void iteration() {
UNIT_TYPE[] bestArray;
setScore(calculateScore());
bestArray = this.getArrayCopy();
this.temperature = this.getStartTemperature();
for (int i = 0; i < this.cycles; i++) {
double curScore;
randomize();
curScore = calculateScore();
if (this.shouldMinimize) {
if ... | public void iteration() {
UNIT_TYPE[] bestArray;
setScore(calculateScore());
bestArray = this.getArrayCopy();
this.temperature = this.getStartTemperature();
for (int i = 0; i < this.cycles; i++) {
double curScore;
randomize();
curScore = calculateScore();
if (!this.shouldMinimize) {
if... |
diff --git a/src/edu/umn/se/trap/db/GrantDBWrapper.java b/src/edu/umn/se/trap/db/GrantDBWrapper.java
index 448c885..ecbd39c 100644
--- a/src/edu/umn/se/trap/db/GrantDBWrapper.java
+++ b/src/edu/umn/se/trap/db/GrantDBWrapper.java
@@ -1,70 +1,70 @@
/***********************************************************************... | true | true | public static boolean isValidGrant(String accountName) throws KeyNotFoundException
{
try
{
grantDB.getGrantInfo(accountName);
return true;
}
catch (KeyNotFoundException e)
{
return false;
}
}
| public static boolean isValidGrant(String accountName)
{
try
{
grantDB.getGrantInfo(accountName);
return true;
}
catch (KeyNotFoundException e)
{
return false;
}
}
|
diff --git a/src/com/mistphizzle/donationpoints/plugin/SignListener.java b/src/com/mistphizzle/donationpoints/plugin/SignListener.java
index 5afb88a..12a5918 100644
--- a/src/com/mistphizzle/donationpoints/plugin/SignListener.java
+++ b/src/com/mistphizzle/donationpoints/plugin/SignListener.java
@@ -1,154 +1,155 @@
pa... | true | true | public void HangingEvent(HangingBreakByEntityEvent e) {
Hanging broken = e.getEntity();
Entity remover = e.getRemover();
if (remover instanceof Player) {
Player player = (Player) remover;
if (broken instanceof ItemFrame) {
Double x = broken.getLocation().getX();
Double y = broken.getLocation().get... | public void HangingEvent(HangingBreakByEntityEvent e) {
Hanging broken = e.getEntity();
Entity remover = e.getRemover();
if (remover instanceof Player) {
Player player = (Player) remover;
if (broken instanceof ItemFrame) {
Double x = broken.getLocation().getX();
Double y = broken.getLocation().get... |
diff --git a/src/java/com/tracker/backend/webinterface/TorrentUpload.java b/src/java/com/tracker/backend/webinterface/TorrentUpload.java
index 21ba455..ac48237 100644
--- a/src/java/com/tracker/backend/webinterface/TorrentUpload.java
+++ b/src/java/com/tracker/backend/webinterface/TorrentUpload.java
@@ -1,422 +1,422 @@... | false | true | public static TreeMap<String,String> addTorrent(InputStream torrent,
String torrentName, String torrentDescription, String contextPath) throws Exception {
Long torrentLength = new Long(0L);
Torrent t;
TorrentData tData;
TorrentFile tFile;
// list of files and the... | public static TreeMap<String,String> addTorrent(InputStream torrent,
String torrentName, String torrentDescription, String contextPath) throws Exception {
Long torrentLength = new Long(0L);
Torrent t;
TorrentData tData;
TorrentFile tFile;
// list of files and the... |
diff --git a/xwiki-rendering-syntaxes/xwiki-rendering-syntax-markdown/src/main/java/org/xwiki/rendering/internal/parser/markdown/AbstractLinkAndImagePegdownVisitor.java b/xwiki-rendering-syntaxes/xwiki-rendering-syntax-markdown/src/main/java/org/xwiki/rendering/internal/parser/markdown/AbstractLinkAndImagePegdownVisito... | true | true | public void visit(RefLinkNode refLinkNode)
{
// Since XWiki doesn't support reference links, we generate a standard link instead
String label = extractText(refLinkNode.referenceKey);
ReferenceNode referenceNode = this.references.get(label);
if (referenceNode != null) {
... | public void visit(RefLinkNode refLinkNode)
{
// Since XWiki doesn't support reference links, we generate a standard link instead
// If the reference key is null then the node content is considered to be the key!
String label;
if (refLinkNode.referenceKey == null) {
la... |
diff --git a/com.yoursway.utils/src/com/yoursway/utils/os/YsOSUtils.java b/com.yoursway.utils/src/com/yoursway/utils/os/YsOSUtils.java
index 120b1c5..0a90676 100644
--- a/com.yoursway.utils/src/com/yoursway/utils/os/YsOSUtils.java
+++ b/com.yoursway.utils/src/com/yoursway/utils/os/YsOSUtils.java
@@ -1,42 +1,42 @@
pack... | false | true | private static OSUtils os() {
if (os == null) {
String osName = System.getProperty("os.name");
if (os.equals("Mac OS X"))
os = new MacUtils();
else if (os.equals("Windows NT"))
os = new WinUtils();
if (... | private static OSUtils os() {
if (os == null) {
String osName = System.getProperty("os.name");
if (osName.equals("Mac OS X"))
os = new MacUtils();
else if (osName.equals("Windows NT"))
os = new WinUtils();
... |
diff --git a/main/src/com/google/gridworks/commands/project/ImportProjectCommand.java b/main/src/com/google/gridworks/commands/project/ImportProjectCommand.java
index 586b7c8e..93fe6ff2 100644
--- a/main/src/com/google/gridworks/commands/project/ImportProjectCommand.java
+++ b/main/src/com/google/gridworks/commands/pro... | true | true | public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
ProjectManager.singleton.setBusy(true);
try {
Properties options = ParsingUtilities.parseUrlParameters(request);
long projectID = Project.generate... | public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
ProjectManager.singleton.setBusy(true);
try {
Properties options = ParsingUtilities.parseUrlParameters(request);
long projectID = Project.generate... |
diff --git a/SHMail.java b/SHMail.java
index 7d1bfa6..d47ef12 100644
--- a/SHMail.java
+++ b/SHMail.java
@@ -1,235 +1,236 @@
/* SHMail.java - sends and gets mail
* Copyright (C) 1999 Fredrik Ehnbom
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | true | true | public void run() {
frame.status.progress(0);
frame.status.setStatus("");
File files[] = new File(YAMM.home + "/servers/").listFiles();
for(int i=0;i<files.length;i++) {
/* load the config */
try {
InputStream in = new FileInputStream(files[i]);
props.load(in);
i... | public void run() {
frame.status.progress(0);
frame.status.setStatus("");
File files[] = new File(YAMM.home + "/servers/").listFiles();
for(int i=0;i<files.length;i++) {
/* load the config */
try {
InputStream in = new FileInputStream(files[i]);
props.load(in);
i... |
diff --git a/wicket-contrib-scriptaculous-examples/src/java/wicket/contrib/scriptaculous/examples/CustomLayoutAjaxAutocompleteExamplePageContribution.java b/wicket-contrib-scriptaculous-examples/src/java/wicket/contrib/scriptaculous/examples/CustomLayoutAjaxAutocompleteExamplePageContribution.java
index 623c1b141..5927... | true | true | protected ListView buildListView(String input) {
List results = new ArrayList();
results.add(new CustomResultObject("ryan.gif", "Ryan Sonnek", "ryan@youremail.com"));
results.add(new CustomResultObject("billy.gif", "Bill Gates", "bill.gates@microsoft.com"));
results.add(new CustomResultObject("janet.gif", "Jan... | protected ListView buildListView(String input) {
List results = new ArrayList();
results.add(new CustomResultObject("ryan.gif", "Ryan Sonnek", "ryan@youremail.com"));
results.add(new CustomResultObject("billy.gif", "Bill Gates", "bill.gates@microsoft.com"));
results.add(new CustomResultObject("janet.gif", "Jan... |
diff --git a/smos-reader/src/test/java/org/esa/beam/dataio/smos/BandDescriptorRegistryTest.java b/smos-reader/src/test/java/org/esa/beam/dataio/smos/BandDescriptorRegistryTest.java
index 8fbbb0db..eebdc464 100644
--- a/smos-reader/src/test/java/org/esa/beam/dataio/smos/BandDescriptorRegistryTest.java
+++ b/smos-reader/... | true | true | public void getDescriptorsFor_DBL_SM_XXXX_AUX_ECMWF__0200() {
final String formatName = "DBL_SM_XXXX_AUX_ECMWF__0200";
final BandDescriptors descriptors = BandDescriptorRegistry.getInstance().getDescriptors(formatName);
assertEquals(38, descriptors.asList().size());
final BandDescri... | public void getDescriptorsFor_DBL_SM_XXXX_AUX_ECMWF__0200() {
final String formatName = "DBL_SM_XXXX_AUX_ECMWF__0200";
final BandDescriptors descriptors = BandDescriptorRegistry.getInstance().getDescriptors(formatName);
assertEquals(38, descriptors.asList().size());
final BandDescri... |
diff --git a/farrago/src/net/sf/farrago/ddl/DdlHandler.java b/farrago/src/net/sf/farrago/ddl/DdlHandler.java
index 7a6f1cf7a..0c50cc348 100644
--- a/farrago/src/net/sf/farrago/ddl/DdlHandler.java
+++ b/farrago/src/net/sf/farrago/ddl/DdlHandler.java
@@ -1,614 +1,614 @@
/*
// $Id$
// Farrago is an extensible data mana... | true | true | private void validateTypedElement(
FemSqltypedElement element,
CwmNamespace cwmNamespace)
{
final FemAbstractTypedElement abstractElement = element.getModelElement();
SqlDataTypeSpec dataType = (SqlDataTypeSpec)
validator.getSqlDefinition(abstractElement);
if... | private void validateTypedElement(
FemSqltypedElement element,
CwmNamespace cwmNamespace)
{
final FemAbstractTypedElement abstractElement = element.getModelElement();
SqlDataTypeSpec dataType = (SqlDataTypeSpec)
validator.getSqlDefinition(abstractElement);
if... |
diff --git a/mmstudio/src/org/micromanager/conf/AddDeviceDlg.java b/mmstudio/src/org/micromanager/conf/AddDeviceDlg.java
index 654f54e5a..9dd279bf3 100644
--- a/mmstudio/src/org/micromanager/conf/AddDeviceDlg.java
+++ b/mmstudio/src/org/micromanager/conf/AddDeviceDlg.java
@@ -1,329 +1,329 @@
//////////////////////////... | true | true | public AddDeviceDlg(MicroscopeModel model, DevicesPage devicesPage) {
super();
setModal(true);
setResizable(false);
getContentPane().setLayout(null);
setTitle("Add Device");
setBounds(400, 100, 596, 529);
devicesPage_ = devicesPage;
Device allDevs_[] ... | public AddDeviceDlg(MicroscopeModel model, DevicesPage devicesPage) {
super();
setModal(true);
setResizable(false);
getContentPane().setLayout(null);
setTitle("Add Device");
setBounds(400, 100, 596, 529);
devicesPage_ = devicesPage;
Device allDevs_[] ... |
diff --git a/src/main/java/com/pardot/rhombus/cli/commands/RunMigration.java b/src/main/java/com/pardot/rhombus/cli/commands/RunMigration.java
index 696b505..6b165fe 100644
--- a/src/main/java/com/pardot/rhombus/cli/commands/RunMigration.java
+++ b/src/main/java/com/pardot/rhombus/cli/commands/RunMigration.java
@@ -1,9... | true | true | public boolean executeCommand(CommandLine cl){
boolean ret = false;
try {
ret = super.executeCommand(cl);
} catch (Exception e) {
System.out.println("Exception executing command");
e.printStackTrace();
}
if(!ret){
return false;
}
if(!(cl.hasOption("newkeyspacefile") || cl.hasOption("newkeysp... | public boolean executeCommand(CommandLine cl){
boolean ret = false;
try {
ret = super.executeCommand(cl);
} catch (Exception e) {
System.out.println("Exception executing command");
e.printStackTrace();
}
if(!ret){
return false;
}
if(!(cl.hasOption("newkeyspacefile") || cl.hasOption("newkeysp... |
diff --git a/src/main/java/com/goda5/jsmodelgenerator/JavascriptDomainModelGenerator.java b/src/main/java/com/goda5/jsmodelgenerator/JavascriptDomainModelGenerator.java
index 3419fa2..00e86db 100644
--- a/src/main/java/com/goda5/jsmodelgenerator/JavascriptDomainModelGenerator.java
+++ b/src/main/java/com/goda5/jsmodelg... | false | true | public void generate(Class<?> clazz, File targetJsFolder) throws Exception {
StringBuilder b = new StringBuilder();
String prefix = "";
String suffix = ";";
if (clazz.isAnnotationPresent(JavascriptDomainModel.class)) {
b.append("function " + clazz.getSimpleName() + "(");
for(Field field:clazz.getDeclared... | public void generate(Class<?> clazz, File targetJsFolder) throws Exception {
StringBuilder b = new StringBuilder();
String prefix = "";
String suffix = ";";
if (clazz.isAnnotationPresent(JavascriptDomainModel.class)) {
b.append("function " + clazz.getSimpleName() + "(");
for(Field field:clazz.getDeclared... |
diff --git a/nifty-core/src/main/java/de/lessvoid/nifty/layout/manager/AbsolutePositionLayout.java b/nifty-core/src/main/java/de/lessvoid/nifty/layout/manager/AbsolutePositionLayout.java
index 89b155a4..301e773b 100644
--- a/nifty-core/src/main/java/de/lessvoid/nifty/layout/manager/AbsolutePositionLayout.java
+++ b/nif... | true | true | public void layoutElements(
@Nullable final LayoutPart rootElement,
@Nullable final List<LayoutPart> elements) {
// make the params any sense?
if (rootElement == null || elements == null || elements.size() == 0) {
return;
}
// get the root box
int rootBoxX = getRootBoxX(rootEle... | public void layoutElements(
@Nullable final LayoutPart rootElement,
@Nullable final List<LayoutPart> elements) {
// make the params any sense?
if (rootElement == null || elements == null || elements.size() == 0) {
return;
}
// get the root box
int rootBoxX = getRootBoxX(rootEle... |
diff --git a/TaxonDNA/com/ggvaidya/TaxonDNA/DNA/formats/GenBankFile.java b/TaxonDNA/com/ggvaidya/TaxonDNA/DNA/formats/GenBankFile.java
index 8e90517..765f3bb 100644
--- a/TaxonDNA/com/ggvaidya/TaxonDNA/DNA/formats/GenBankFile.java
+++ b/TaxonDNA/com/ggvaidya/TaxonDNA/DNA/formats/GenBankFile.java
@@ -1,628 +1,626 @@
/*... | false | true | public void appendFromFile(SequenceList list, File file, DelayCallback delay) throws IOException, SequenceException, FormatException, DelayAbortedException
{
list.lock();
if(delay != null)
delay.begin();
Hashtable hash_genes = new Hashtable();
Hashtable hash_cds = new Hashtable(); // Hash of String(seq... | public void appendFromFile(SequenceList list, File file, DelayCallback delay) throws IOException, SequenceException, FormatException, DelayAbortedException
{
list.lock();
if(delay != null)
delay.begin();
Hashtable hash_genes = new Hashtable();
Hashtable hash_cds = new Hashtable(); // Hash of String(seq... |
diff --git a/src/powercrystals/core/asm/PCCASMTransformer.java b/src/powercrystals/core/asm/PCCASMTransformer.java
index 409432c..c0c88f2 100644
--- a/src/powercrystals/core/asm/PCCASMTransformer.java
+++ b/src/powercrystals/core/asm/PCCASMTransformer.java
@@ -1,216 +1,216 @@
package powercrystals.core.asm;
import ... | true | true | private byte[] writeWorld(String name, String transformedName, byte[] bytes, ClassReader cr)
{
String[] names = null;
if (CoreLoader.runtimeDeobfEnabled)
{
names = new String[]{"field_73019_z","field_72986_A","field_73011_w","field_72984_F","field_98181_L"};
}
else
{
names = new String[]{"saveHandle... | private byte[] writeWorld(String name, String transformedName, byte[] bytes, ClassReader cr)
{
String[] names = null;
if (CoreLoader.runtimeDeobfEnabled)
{
names = new String[]{"field_73019_z","field_72986_A","field_73011_w","field_72984_F","field_98181_L"};
}
else
{
names = new String[]{"saveHandle... |
diff --git a/mlt++/swig/java/Play.java b/mlt++/swig/java/Play.java
index 3bf0e47a..3f6b4c89 100644
--- a/mlt++/swig/java/Play.java
+++ b/mlt++/swig/java/Play.java
@@ -1,51 +1,51 @@
import net.sourceforge.mltpp.*;
public class Play {
static {
System.loadLibrary("mltpp_java");
}
public static void main (... | true | true | public static void main (String[] args) {
// Start the mlt system
Factory.init( null );
// Create the producer
Producer p = new Producer( args[0], null );
if ( p.is_valid() ) {
p.set ("eof", "loop");
// Create the consumer
Consumer c = new Consumer("sdl", null);
// Turn off the defaul... | public static void main (String[] args) {
// Start the mlt system
Factory.init( null );
// Create the producer
Producer p = new Producer( args[0], null );
if ( p.is_valid() ) {
p.set ("eof", "loop");
// Create the consumer
Consumer c = new Consumer("sdl", null);
// Turn off the defaul... |
diff --git a/src/java/com/idega/presentation/TableCell.java b/src/java/com/idega/presentation/TableCell.java
index aaadbf845..55b728de9 100644
--- a/src/java/com/idega/presentation/TableCell.java
+++ b/src/java/com/idega/presentation/TableCell.java
@@ -1,40 +1,40 @@
/*
*
* Copyright (C) 2001-2004 Idega Software hf... | true | true | protected TableCell() {
super();
this.setTransient(false);
}
| public TableCell() {
super();
this.setTransient(false);
}
|
diff --git a/src/main/java/nl/giantit/minecraft/giantshop/core/Logger/Logger.java b/src/main/java/nl/giantit/minecraft/giantshop/core/Logger/Logger.java
index 9662152..ebd0b00 100644
--- a/src/main/java/nl/giantit/minecraft/giantshop/core/Logger/Logger.java
+++ b/src/main/java/nl/giantit/minecraft/giantshop/core/Logger... | false | true | public static void Log(LoggerType type, String playerName, HashMap<String, String> data) {
config conf = config.Obtain();
if(conf.getBoolean("GiantShop.log.useLogging")) {
if(conf.getBoolean("GiantShop.log.log." + type.getName().toLowerCase())) {
String json = "{";
int i = 0;
for(Map.Entry<String, S... | public static void Log(LoggerType type, String playerName, HashMap<String, String> data) {
config conf = config.Obtain();
if(conf.getBoolean("GiantShop.log.useLogging")) {
if(conf.getBoolean("GiantShop.log.log." + type.getName().toLowerCase())) {
String json = "{";
int i = 0;
for(Map.Entry<String, S... |
diff --git a/h2/src/main/org/h2/command/Command.java b/h2/src/main/org/h2/command/Command.java
index e979c9517..1005afc74 100644
--- a/h2/src/main/org/h2/command/Command.java
+++ b/h2/src/main/org/h2/command/Command.java
@@ -1,230 +1,237 @@
/*
* Copyright 2004-2008 H2 Group. Multiple-Licensed under the H2 License,
... | true | true | public int executeUpdate() throws SQLException {
startTime = System.currentTimeMillis();
Database database = session.getDatabase();
Object sync = database.getMultiThreaded() ? (Object) session : (Object) database;
session.waitIfExclusiveModeEnabled();
synchronized (sync) {
... | public int executeUpdate() throws SQLException {
startTime = System.currentTimeMillis();
Database database = session.getDatabase();
Object sync = database.getMultiThreaded() ? (Object) session : (Object) database;
session.waitIfExclusiveModeEnabled();
synchronized (sync) {
... |
diff --git a/src/ru/ifmo/neerc/timer/TimerGUI.java b/src/ru/ifmo/neerc/timer/TimerGUI.java
index c9e6842..d2cceff 100644
--- a/src/ru/ifmo/neerc/timer/TimerGUI.java
+++ b/src/ru/ifmo/neerc/timer/TimerGUI.java
@@ -1,163 +1,163 @@
package ru.ifmo.neerc.timer;
import java.awt.Color;
import java.util.concurrent.atomic... | false | true | TimerGUI() {
palette = new Color[7];
palette[BEFORE] = Color.decode(Settings.instance().colorScheme.get("before"));
palette[RUNNING] = Color.decode(Settings.instance().colorScheme.get("running"));
palette[FROZEN] = Color.decode(Settings.instance().colorScheme.get("frozen"));
palette[LEFT5MIN] = Color.decode(... | TimerGUI() {
palette = new Color[7];
palette[BEFORE] = Color.decode(Settings.instance().colorScheme.get("before"));
palette[RUNNING] = Color.decode(Settings.instance().colorScheme.get("running"));
palette[FROZEN] = Color.decode(Settings.instance().colorScheme.get("frozen"));
palette[LEFT5MIN] = Color.decode(... |
diff --git a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java
index ea47967..4c9e499 100644
--- a/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java
+++ b/src/me/libraryaddict/disguise/commands/DisguisePlayerCommand.java... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (sender.getName().equals("CONSOLE")) {
sender.sendMessage(ChatColor.RED + "You may not use this command from the console!");
return true;
}
ArrayList<String> allowedDisguises... | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
ArrayList<String> allowedDisguises = getAllowedDisguises(sender, "disguiseplayer");
if (allowedDisguises.isEmpty()) {
sender.sendMessage(ChatColor.RED + "You are forbidden to use this command.");
... |
diff --git a/jgcf/src/main/java/com/jenjinstudios/net/AuthClient.java b/jgcf/src/main/java/com/jenjinstudios/net/AuthClient.java
index 9fb4fb88..fa131430 100644
--- a/jgcf/src/main/java/com/jenjinstudios/net/AuthClient.java
+++ b/jgcf/src/main/java/com/jenjinstudios/net/AuthClient.java
@@ -1,195 +1,195 @@
package com.... | true | true | public boolean sendBlockingLoginRequest() {
sendLoginRequest();
long startTime = System.currentTimeMillis();
long timepast = System.currentTimeMillis() - startTime;
while (!hasReceivedLoginResponse() && (timepast < TIMEOUT_MILLIS))
{
try // TODO Make sure error is handled gracefully
{
Thread.sleep(... | public boolean sendBlockingLoginRequest() {
sendLoginRequest();
long startTime = System.currentTimeMillis();
long timepast = System.currentTimeMillis() - startTime;
while (!hasReceivedLoginResponse() && (timepast < TIMEOUT_MILLIS))
{
try
{
Thread.sleep(10);
} catch (InterruptedException e)
{
... |
diff --git a/eXoApplication/poll/webapp/src/main/java/org/exoplatform/poll/webui/UIPoll.java b/eXoApplication/poll/webapp/src/main/java/org/exoplatform/poll/webui/UIPoll.java
index f87407cdf..7a880b70d 100755
--- a/eXoApplication/poll/webapp/src/main/java/org/exoplatform/poll/webui/UIPoll.java
+++ b/eXoApplication/poll... | false | true | public void execute(Event<UIPoll> event) throws Exception {
UIPoll topicPoll = event.getSource() ;
Poll poll = topicPoll.poll_ ;
String[] votes ;
String[] setUserVote ;
String userVote = topicPoll.userId ;
List<UIComponent> children = topicPoll.getChildren() ;
//User vote and vote number
... | public void execute(Event<UIPoll> event) throws Exception {
UIPoll topicPoll = event.getSource() ;
Poll poll = topicPoll.poll_ ;
String[] votes ;
String[] setUserVote ;
String userVote = topicPoll.userId ;
List<UIComponent> children = topicPoll.getChildren() ;
//User vote and vote number
... |
diff --git a/plugins/appfuse-maven-plugin/src/test/java/org/appfuse/mojo/exporter/GenerateSpringTest.java b/plugins/appfuse-maven-plugin/src/test/java/org/appfuse/mojo/exporter/GenerateSpringTest.java
index 22894b3b..6376152e 100644
--- a/plugins/appfuse-maven-plugin/src/test/java/org/appfuse/mojo/exporter/GenerateSpri... | true | true | public void testGenerateSpring() throws Exception {
deleteDirectory("target/appfuse/generated");
HibernateExporterMojo mojo = getHibernateMojo("gen", "annotationconfiguration");
mojo.getProject().getProperties().setProperty("web.framework", "spring");
mojo.execute();
assertT... | public void testGenerateSpring() throws Exception {
deleteDirectory("target/appfuse/generated");
HibernateExporterMojo mojo = getHibernateMojo("gen", "annotationconfiguration");
mojo.getProject().getProperties().setProperty("web.framework", "spring");
mojo.execute();
assertT... |
diff --git a/src/ua/in/leopard/androidCoocooAfisha/SeanceAdapterView.java b/src/ua/in/leopard/androidCoocooAfisha/SeanceAdapterView.java
index 94bd290..1e57bbf 100644
--- a/src/ua/in/leopard/androidCoocooAfisha/SeanceAdapterView.java
+++ b/src/ua/in/leopard/androidCoocooAfisha/SeanceAdapterView.java
@@ -1,61 +1,63 @@
... | true | true | public SeanceAdapterView(Context context, CinemaDB entry) {
super(context);
this.setOrientation(VERTICAL);
this.setTag(entry);
View v = inflate(context, R.layout.seance_row, null);
ImageView cinemaPoster = (ImageView)v.findViewById(R.id.cinema_poster);
Bitmap poster = entry.getPosterImg();
if (p... | public SeanceAdapterView(Context context, CinemaDB entry) {
super(context);
this.setOrientation(VERTICAL);
this.setTag(entry);
View v = inflate(context, R.layout.seance_row, null);
ImageView cinemaPoster = (ImageView)v.findViewById(R.id.cinema_poster);
Bitmap poster = entry.getPosterImg();
if (p... |
diff --git a/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java b/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java
index 9dd7121..8a20205 100644
--- a/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java
+++ b/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java
@@ -1,186 +1,186 @@
package uk.ac.gla.dcs.tp3.w.algorithm;
import java.util.Lin... | false | true | public Graph(League l, Team t) {
if (l == null || t == null)
return;
// Number of team nodes is one less than total number of teams.
// The team nodes do not include the team being tested for elimination.
int teamTotal = l.getTeams().length;
// The r-combination of teamTotal for length 2 is the number of ... | public Graph(League l, Team t) {
if (l == null || t == null)
return;
// Number of team nodes is one less than total number of teams.
// The team nodes do not include the team being tested for elimination.
int teamTotal = l.getTeams().length;
// The r-combination of teamTotal for length 2 is the number of ... |
diff --git a/software/ncitbrowser/src/java/gov/nih/nci/evs/browser/servlet/AjaxServlet.java b/software/ncitbrowser/src/java/gov/nih/nci/evs/browser/servlet/AjaxServlet.java
index 41b56685..7b8d6986 100644
--- a/software/ncitbrowser/src/java/gov/nih/nci/evs/browser/servlet/AjaxServlet.java
+++ b/software/ncitbrowser/src... | true | true | public static void create_vs_tree(HttpServletRequest request, HttpServletResponse response, int view) {
response.setContentType("text/html");
PrintWriter out = null;
try {
out = response.getWriter();
} catch (Exception ex) {
ex.printStackTrace();
return;
}
String mes... | public static void create_vs_tree(HttpServletRequest request, HttpServletResponse response, int view) {
response.setContentType("text/html");
PrintWriter out = null;
try {
out = response.getWriter();
} catch (Exception ex) {
ex.printStackTrace();
return;
}
String mes... |
diff --git a/src/com/gbayer/basicblackjack/Hand.java b/src/com/gbayer/basicblackjack/Hand.java
index 4f5fe3d..cbdf6cf 100644
--- a/src/com/gbayer/basicblackjack/Hand.java
+++ b/src/com/gbayer/basicblackjack/Hand.java
@@ -1,153 +1,153 @@
/**
* Project: BasicBlackJack
* Package: com.gbayer.basicblackjack
* File: H... | true | true | public int getTotalHandValue()
{
log.debug("Calculating hand value...");
int totalWithAcesLow = 0;
int numberOfAces = 0;
// Sum up value of all cards. Aces are 1 by default. Allow one ace to be
// 11 if it will not cause bust.
for (Card card : cards)
{
int cardValue = card.getCardValue(true);
tot... | public int getTotalHandValue()
{
log.debug("Calculating hand value...");
int totalWithAcesLow = 0;
int numberOfAces = 0;
// Sum up value of all cards. Aces are 1 by default. Allow one ace to be
// 11 if it will not cause bust.
for (Card card : cards)
{
int cardValue = card.getCardValue(true);
tot... |
diff --git a/src/main/java/edu/ntnu/adaboost/ensemblelearning/Adaboost.java b/src/main/java/edu/ntnu/adaboost/ensemblelearning/Adaboost.java
index 931ec4a..a384169 100644
--- a/src/main/java/edu/ntnu/adaboost/ensemblelearning/Adaboost.java
+++ b/src/main/java/edu/ntnu/adaboost/ensemblelearning/Adaboost.java
@@ -1,135 +... | true | true | private boolean updateWeights(Classifier classifier,
ClassifierStatistics classifierStatistics, List<Instance> trainingSet, int numberOfDifferentLabels) {
double error = 0;
int errorCount = 0;
for (Instance trainingInstance : trainingSet) {
int ... | private boolean updateWeights(Classifier classifier,
ClassifierStatistics classifierStatistics, List<Instance> trainingSet, int numberOfDifferentLabels) {
double error = 0;
int errorCount = 0;
for (Instance trainingInstance : trainingSet) {
int ... |
diff --git a/src/net/sf/antcontrib/cpptasks/types/LibrarySet.java b/src/net/sf/antcontrib/cpptasks/types/LibrarySet.java
index acac911..4bf2ee8 100644
--- a/src/net/sf/antcontrib/cpptasks/types/LibrarySet.java
+++ b/src/net/sf/antcontrib/cpptasks/types/LibrarySet.java
@@ -1,347 +1,347 @@
/*
*
* Copyright 2001-200... | false | true | public void visitLibraries(final Project project,
final Linker linker,
final File[] libpath,
final FileVisitor visitor) throws BuildException {
if (isReference()) {
LibrarySet master = ((LibrarySet) getC... | public void visitLibraries(final Project project,
final Linker linker,
final File[] libpath,
final FileVisitor visitor) throws BuildException {
if (isReference()) {
LibrarySet master = ((LibrarySet) getCheckedR... |
diff --git a/core/java/src/net/i2p/client/RequestLeaseSetMessageHandler.java b/core/java/src/net/i2p/client/RequestLeaseSetMessageHandler.java
index 7a8bd200e..e662f6572 100644
--- a/core/java/src/net/i2p/client/RequestLeaseSetMessageHandler.java
+++ b/core/java/src/net/i2p/client/RequestLeaseSetMessageHandler.java
@@ ... | true | true | public void handleMessage(I2CPMessage message, I2PSessionImpl session) {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Handle message " + message);
RequestLeaseSetMessage msg = (RequestLeaseSetMessage) message;
LeaseSet leaseSet = new LeaseSet();
for (int i = 0; i < msg.getE... | public void handleMessage(I2CPMessage message, I2PSessionImpl session) {
if (_log.shouldLog(Log.DEBUG))
_log.debug("Handle message " + message);
RequestLeaseSetMessage msg = (RequestLeaseSetMessage) message;
LeaseSet leaseSet = new LeaseSet();
for (int i = 0; i < msg.getE... |
diff --git a/src/com/axelby/podax/SubscriptionProvider.java b/src/com/axelby/podax/SubscriptionProvider.java
index bf34a0f..a463537 100644
--- a/src/com/axelby/podax/SubscriptionProvider.java
+++ b/src/com/axelby/podax/SubscriptionProvider.java
@@ -1,169 +1,169 @@
package com.axelby.podax;
import java.util.HashMap;... | true | true | public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String sortOrder) {
int uriMatch = _uriMatcher.match(uri);
if (uriMatch == PODCASTS) {
return getContext().getContentResolver().query(PodcastProvider.URI,
projection, "subscriptionId = ?",
new String[] { ur... | public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String sortOrder) {
int uriMatch = _uriMatcher.match(uri);
if (uriMatch == PODCASTS) {
return getContext().getContentResolver().query(PodcastProvider.URI,
projection, "subscriptionId = ?",
new String[] { ur... |
diff --git a/obdalib/reformulation-core/src/main/java/it/unibz/krdb/obda/owlrefplatform/core/QuestStatement.java b/obdalib/reformulation-core/src/main/java/it/unibz/krdb/obda/owlrefplatform/core/QuestStatement.java
index d982259ed..1f10d424a 100644
--- a/obdalib/reformulation-core/src/main/java/it/unibz/krdb/obda/owlre... | true | true | public String getUnfolding(String strquery) throws Exception {
String sql = "";
List<String> signature;
Map<Predicate, List<CQIE>> rulesIndex = questInstance.sigmaRulesIndex;
// Check the cache first if the system has processed the query string before
if (querycache.containsKey(strquery)) {
// Obtain imm... | public String getUnfolding(String strquery) throws Exception {
String sql = "";
List<String> signature;
Map<Predicate, List<CQIE>> rulesIndex = questInstance.sigmaRulesIndex;
// Check the cache first if the system has processed the query string before
if (querycache.containsKey(strquery)) {
// Obtain imm... |
diff --git a/src/org/liberty/android/fantastischmemo/cardscreen/MemoScreen.java b/src/org/liberty/android/fantastischmemo/cardscreen/MemoScreen.java
index 042afe1b..d91c49fe 100644
--- a/src/org/liberty/android/fantastischmemo/cardscreen/MemoScreen.java
+++ b/src/org/liberty/android/fantastischmemo/cardscreen/MemoScree... | true | true | public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_memo_help:
{
Intent myIntent = new Intent();
myIntent.setAction(Intent.ACTION_VIEW);
myIntent.addCategory(Intent.CATEGORY_BROWSABLE);
... | public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_memo_help:
{
Intent myIntent = new Intent();
myIntent.setAction(Intent.ACTION_VIEW);
myIntent.addCategory(Intent.CATEGORY_BROWSABLE);
... |
diff --git a/src/main/java/org/mvel/compiler/AbstractParser.java b/src/main/java/org/mvel/compiler/AbstractParser.java
index 6389a5dd..1a749c67 100644
--- a/src/main/java/org/mvel/compiler/AbstractParser.java
+++ b/src/main/java/org/mvel/compiler/AbstractParser.java
@@ -1,2285 +1,2285 @@
/**
* MVEL (The MVFLEX Expre... | false | true | protected ASTNode nextToken() {
try {
/**
* If the cursor is at the end of the expression, we have nothing more to do:
* return null.
*/
if (cursor >= length) {
return null;
}
else if (!splitAccumulator.is... | protected ASTNode nextToken() {
try {
/**
* If the cursor is at the end of the expression, we have nothing more to do:
* return null.
*/
if (cursor >= length) {
return null;
}
else if (!splitAccumulator.is... |
diff --git a/src/main/java/biomesoplenty/common/world/forcedworldgenerators/PondForcedGenerator.java b/src/main/java/biomesoplenty/common/world/forcedworldgenerators/PondForcedGenerator.java
index d8ac70975..70d47930b 100644
--- a/src/main/java/biomesoplenty/common/world/forcedworldgenerators/PondForcedGenerator.java
+... | false | true | public void doGeneration(World world, Random random, Field worldGeneratorField, WorldGenerator worldGenerator, BiomeGenBase biome, IBOPDecoration bopDecoration, int x, int z) throws Exception
{
if (biome.theBiomeDecorator.generateLakes)
{
for (int i = 0; i < 50 + bopDecoration.getWor... | public void doGeneration(World world, Random random, Field worldGeneratorField, WorldGenerator worldGenerator, BiomeGenBase biome, IBOPDecoration bopDecoration, int x, int z) throws Exception
{
if (biome.theBiomeDecorator.generateLakes)
{
for (int i = 0; i < 50 + bopDecoration.getWor... |
diff --git a/src/uk/me/parabola/mkgmap/general/MapLine.java b/src/uk/me/parabola/mkgmap/general/MapLine.java
index 4d1114d3..1d376bf9 100644
--- a/src/uk/me/parabola/mkgmap/general/MapLine.java
+++ b/src/uk/me/parabola/mkgmap/general/MapLine.java
@@ -1,138 +1,138 @@
/*
* Copyright (C) 2006 Steve Ratcliffe
*
* ... | true | true | public void setPoints(List<Coord> points) {
if (this.points != null)
log.warn("overwriting points");
assert points != null : "trying to set null points";
this.points = points;
Coord last = null;
for (Coord co : points) {
if (last != null && last.equals(co))
log.warn("Line " + getName() + " has con... | public void setPoints(List<Coord> points) {
if (this.points != null)
log.warn("overwriting points");
assert points != null : "trying to set null points";
this.points = points;
Coord last = null;
for (Coord co : points) {
if (last != null && last.equals(co))
log.info("Line " + getName() + " has con... |
diff --git a/tests/src/com/todoroo/andlib/utility/TitleParserTest.java b/tests/src/com/todoroo/andlib/utility/TitleParserTest.java
index 76da07724..1088400ec 100644
--- a/tests/src/com/todoroo/andlib/utility/TitleParserTest.java
+++ b/tests/src/com/todoroo/andlib/utility/TitleParserTest.java
@@ -1,549 +1,549 @@
packag... | true | true | public void testDays() throws Exception{
Calendar today = Calendar.getInstance();
TaskService taskService = new TaskService();
Task task = new Task();
task.setValue(Task.TITLE, "Jog today");
taskService.quickAdd(task);
Date date = new Date(task.getValue(Task.DUE_DATE... | public void testDays() throws Exception{
Calendar today = Calendar.getInstance();
TaskService taskService = new TaskService();
Task task = new Task();
task.setValue(Task.TITLE, "Jog today");
taskService.quickAdd(task);
Date date = new Date(task.getValue(Task.DUE_DATE... |
diff --git a/PhotoWebApp/WEB-INF/classes/main/web/Search.java b/PhotoWebApp/WEB-INF/classes/main/web/Search.java
index a4df1b9..ce5b68e 100644
--- a/PhotoWebApp/WEB-INF/classes/main/web/Search.java
+++ b/PhotoWebApp/WEB-INF/classes/main/web/Search.java
@@ -1,99 +1,99 @@
package main.web;
import java.io.*;
import... | true | true | public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String keywords = request.getParameter("keywords");
String fromDate = request.getParameter("fromDate");
String toDate = request.getParameter("toDate");
String... | public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String keywords = request.getParameter("keywords");
String fromDate = request.getParameter("fromDate");
String toDate = request.getParameter("toDate");
String... |
diff --git a/src/testcases/org/apache/poi/poifs/storage/AllPOIFSStorageTests.java b/src/testcases/org/apache/poi/poifs/storage/AllPOIFSStorageTests.java
index 8c15d389e..b58992258 100755
--- a/src/testcases/org/apache/poi/poifs/storage/AllPOIFSStorageTests.java
+++ b/src/testcases/org/apache/poi/poifs/storage/AllPOIFSS... | true | true | public static Test suite() {
TestSuite result = new TestSuite("Tests for org.apache.poi.poifs.storage");
result.addTestSuite(TestBATBlock.class);
result.addTestSuite(TestBlockAllocationTableReader.class);
result.addTestSuite(TestBlockAllocationTableWriter.class);
result.addTe... | public static Test suite() {
TestSuite result = new TestSuite(AllPOIFSStorageTests.class.getName());
result.addTestSuite(TestBATBlock.class);
result.addTestSuite(TestBlockAllocationTableReader.class);
result.addTestSuite(TestBlockAllocationTableWriter.class);
result.addTestSuite(TestBlockListImpl.class);
r... |
diff --git a/core/src/org/icepdf/core/pobjects/ImageStream.java b/core/src/org/icepdf/core/pobjects/ImageStream.java
index 0c8e7a96..e48762b6 100644
--- a/core/src/org/icepdf/core/pobjects/ImageStream.java
+++ b/core/src/org/icepdf/core/pobjects/ImageStream.java
@@ -1,1140 +1,1140 @@
/*
* Copyright 2006-2013 ICEsoft... | false | true | private BufferedImage dctDecode(
int width, int height, PColorSpace colourSpace, int bitspercomponent,
float[] decode) {
// BIS's buffer size should be equal to mark() size, and greater than data size (below)
InputStream input = getDecodedByteArrayInputStream();
// U... | private BufferedImage dctDecode(
int width, int height, PColorSpace colourSpace, int bitspercomponent,
float[] decode) {
// BIS's buffer size should be equal to mark() size, and greater than data size (below)
InputStream input = getDecodedByteArrayInputStream();
// U... |
diff --git a/plugin/src/objective/Startup.java b/plugin/src/objective/Startup.java
index 3b51431..9688213 100644
--- a/plugin/src/objective/Startup.java
+++ b/plugin/src/objective/Startup.java
@@ -1,43 +1,43 @@
package objective;
import objective.ng.GotoMethodServer;
import org.eclipse.jdt.internal.debug.ui.JDID... | true | true | private void configureMapEntryFormatters() {
IPreferenceStore debugPrefs = JDIDebugUIPlugin.getDefault().getPreferenceStore();
debugPrefs.setValue("org.eclipse.jdt.debug.ui.show_details","INLINE_FORMATTERS");
String previousPref = debugPrefs.getString("org.eclipse.jdt.debug.ui.detail_formatters");
String ha... | private void configureMapEntryFormatters() {
IPreferenceStore debugPrefs = JDIDebugUIPlugin.getDefault().getPreferenceStore();
debugPrefs.setValue("org.eclipse.jdt.debug.ui.show_details","INLINE_FORMATTERS");
String previousPref = debugPrefs.getString("org.eclipse.jdt.debug.ui.detail_formatters");
String ha... |
diff --git a/src/test/java/pages/GooglePage.java b/src/test/java/pages/GooglePage.java
index 62f3c23..13fc249 100644
--- a/src/test/java/pages/GooglePage.java
+++ b/src/test/java/pages/GooglePage.java
@@ -1,35 +1,35 @@
package pages;
import helper.WebDriverHelper;
import org.openqa.selenium.By;
import org.openqa.... | true | true | public String getResultHeadingByIndex(int index) {
WebElement resultsList = webDriverHelper.findElement(By.id("rso"));
List<WebElement> individualResults = resultsList.findElements(By.cssSelector("li"));
WebElement firstResult = individualResults.get(index);
WebElement resultHeading ... | public String getResultHeadingByIndex(int index) {
WebElement resultsList = webDriverHelper.findElement(By.id("rso"));
List<WebElement> individualResults = resultsList.findElements(By.cssSelector("li"));
WebElement result = individualResults.get(index);
WebElement resultHeading = res... |
diff --git a/rdt/org.eclipse.ptp.rdt.sync.ui/src/org/eclipse/ptp/rdt/sync/ui/wizards/NewRemoteSyncProjectWizardPage.java b/rdt/org.eclipse.ptp.rdt.sync.ui/src/org/eclipse/ptp/rdt/sync/ui/wizards/NewRemoteSyncProjectWizardPage.java
index 68f283972..af4b85081 100644
--- a/rdt/org.eclipse.ptp.rdt.sync.ui/src/org/eclipse/p... | false | true | public void createControl(final Composite parent) {
Composite comp = new Composite(parent, SWT.NONE);
pageControl = comp;
GridLayout layout = new GridLayout();
layout.numColumns = 3;
comp.setLayout(layout);
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
comp.setLayoutData(gd);
// Label fo... | public void createControl(final Composite parent) {
Composite comp = new Composite(parent, SWT.NONE);
pageControl = comp;
GridLayout layout = new GridLayout();
layout.numColumns = 3;
comp.setLayout(layout);
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
comp.setLayoutData(gd);
// Label fo... |
diff --git a/src/main/java/herbstJennrichLehmannRitter/engine/model/impl/AbstractDefenceBuilding.java b/src/main/java/herbstJennrichLehmannRitter/engine/model/impl/AbstractDefenceBuilding.java
index edda7d4..1e2b78f 100644
--- a/src/main/java/herbstJennrichLehmannRitter/engine/model/impl/AbstractDefenceBuilding.java
++... | false | true | public int applyDamage(int damage) {
if (this.actualPoints < damage) {
setActualPoints(0);
return damage - this.actualPoints;
}
setActualPoints(this.actualPoints - damage);
return 0;
}
| public int applyDamage(int damage) {
if (this.actualPoints < damage) {
damage -= this.actualPoints;
setActualPoints(0);
return damage;
}
setActualPoints(this.actualPoints - damage);
return 0;
}
|
diff --git a/dsr/src/main/java/eu/emi/dsr/infrastructure/ServiceEventReciever.java b/dsr/src/main/java/eu/emi/dsr/infrastructure/ServiceEventReciever.java
index 6378c10..a6d7f64 100644
--- a/dsr/src/main/java/eu/emi/dsr/infrastructure/ServiceEventReciever.java
+++ b/dsr/src/main/java/eu/emi/dsr/infrastructure/ServiceEv... | true | true | public void recieve(Event event) {
List<String> IDs = new ArrayList<String>();
JSONArray jos = new JSONArray();
try {
jos = filter.outputFilter((JSONArray) event.getData());
} catch (ClassCastException e) {
if (logger.isDebugEnabled()) {
logger.debug("event.data to JSONObject cast problem. May be del... | public void recieve(Event event) {
List<String> IDs = new ArrayList<String>();
JSONArray jos = new JSONArray();
try {
jos = filter.outputFilter((JSONArray) event.getData());
} catch (ClassCastException e) {
if (logger.isDebugEnabled()) {
logger.debug("event.data to JSONArray cast problem. May be dele... |
diff --git a/server/plugin/src/pt/webdetails/cdf/dd/render/layout/SpaceRender.java b/server/plugin/src/pt/webdetails/cdf/dd/render/layout/SpaceRender.java
index fb043e2d..a1c7ba43 100644
--- a/server/plugin/src/pt/webdetails/cdf/dd/render/layout/SpaceRender.java
+++ b/server/plugin/src/pt/webdetails/cdf/dd/render/layou... | true | true | public void processProperties() {
getPropertyBag().addStyle("background-color", getPropertyString("backgroundColor"));
getPropertyBag().addClass(getPropertyString("cssClass"));
getPropertyBag().addClass("space");
getPropertyBag().addStyle("height", getPropertyString("height"));
... | public void processProperties() {
getPropertyBag().addStyle("background-color", getPropertyString("backgroundColor"));
getPropertyBag().addClass(getPropertyString("cssClass"));
getPropertyBag().addClass("space");
getPropertyBag().addStyle("height", getPropertyString("height")+"px");... |
diff --git a/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java b/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java
index 4f96c105..23325bb5 100644
--- a/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java
+++ b/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java
@@ -1,117 +1,117 @@
/*
* This file... | true | true | public String toString() {
TextBuilder builder = TextBuilder.newInstance();
builder.append(xTarget).append(';');
builder.append(yTarget).append(';');
builder.append(zTarget).append(';');
try {
return builder.toString();
} finally {
TextBuilde... | public String toString() {
TextBuilder builder = TextBuilder.newInstance();
builder.append(xTarget).append(';');
builder.append(yTarget).append(';');
builder.append(zTarget);
try {
return builder.toString();
} finally {
TextBuilder.recycle(bu... |
diff --git a/java/test/org/broadinstitute/sting/alignment/AlignerIntegrationTest.java b/java/test/org/broadinstitute/sting/alignment/AlignerIntegrationTest.java
index d258d0481..bda42e212 100644
--- a/java/test/org/broadinstitute/sting/alignment/AlignerIntegrationTest.java
+++ b/java/test/org/broadinstitute/sting/align... | false | true | public void testBasicAlignment() {
String md5 = "c6d95d8ae707e78fefdaa7375f130995";
WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec(
"-R " + b36KGReference +
" -T Align" +
" -I " + validationDataLocation + "NA1287... | public void testBasicAlignment() {
String md5 = "34eb4323742999d6d250a0aaa803c6d5";
WalkerTest.WalkerTestSpec spec = new WalkerTest.WalkerTestSpec(
"-R /humgen/gsa-scr1/GATK_Data/bwa/human_b36_both.fasta" +
" -T Align" +
" -I " + valida... |
diff --git a/src/edu/uwo/csd/dcsim/core/Simulation.java b/src/edu/uwo/csd/dcsim/core/Simulation.java
index 0342e689..a386639d 100644
--- a/src/edu/uwo/csd/dcsim/core/Simulation.java
+++ b/src/edu/uwo/csd/dcsim/core/Simulation.java
@@ -1,393 +1,395 @@
package edu.uwo.csd.dcsim.core;
import org.apache.log4j.Logger;
... | false | true | public final Collection<Metric> run(long duration, long metricRecordStart) {
if (complete)
throw new IllegalStateException("Simulation has already been run");
Event e;
//configure simulation duration
this.duration = duration;
sendEvent(new Event(Simulation.SIMULATION_TERMINATE_EVENT, duration, th... | public final Collection<Metric> run(long duration, long metricRecordStart) {
if (complete)
throw new IllegalStateException("Simulation has already been run");
Event e;
//configure simulation duration
this.duration = duration;
sendEvent(new Event(Simulation.SIMULATION_TERMINATE_EVENT, duration, th... |
diff --git a/IntermediateCodeGeneration/src/IntermediateCodeGeneration/AST/LiteralNode.java b/IntermediateCodeGeneration/src/IntermediateCodeGeneration/AST/LiteralNode.java
index 374bcea..c09a55d 100644
--- a/IntermediateCodeGeneration/src/IntermediateCodeGeneration/AST/LiteralNode.java
+++ b/IntermediateCodeGeneration... | true | true | public void generateCode() throws SemanticException {
if (expressionType.getTypeName().equals("null")) {
ICG.GEN(".CODE");
ICG.GEN("PUSH 0", "Apilamos 'null'");
} else if (expressionType.getTypeName().equals("String")) {
String label = ICG.generateLabel();
... | public void generateCode() throws SemanticException {
if (expressionType.getTypeName().equals("null")) {
ICG.GEN(".CODE");
ICG.GEN("PUSH 0", "Apilamos 'null'");
} else if (expressionType.getTypeName().equals("String")) {
String label = ICG.generateLabel();
... |
diff --git a/microemulator/microemu-javase-swing/src/main/java/org/microemu/device/j2se/J2SEButton.java b/microemulator/microemu-javase-swing/src/main/java/org/microemu/device/j2se/J2SEButton.java
index da0950ac..46a6e90b 100644
--- a/microemulator/microemu-javase-swing/src/main/java/org/microemu/device/j2se/J2SEButton... | true | true | public J2SEButton(int skinVersion, String name, Shape shape, int keyCode, String keyboardKeys,
String keyboardChars, Hashtable inputToChars, boolean modeChange) {
this.name = name;
this.shape = shape;
if (skinVersion >= NAME_RIMARY_SINCE_SKIN_VERSION) {
this.functionalName = ButtonName.getButtonName(name);... | public J2SEButton(int skinVersion, String name, Shape shape, int keyCode, String keyboardKeys,
String keyboardChars, Hashtable inputToChars, boolean modeChange) {
this.name = name;
this.shape = shape;
if (skinVersion >= NAME_RIMARY_SINCE_SKIN_VERSION) {
this.functionalName = ButtonName.getButtonName(name);... |
diff --git a/core/plugins/org.eclipse.dltk.core/model/org/eclipse/dltk/internal/core/Openable.java b/core/plugins/org.eclipse.dltk.core/model/org/eclipse/dltk/internal/core/Openable.java
index 82ac442f9..8ea24c4f6 100644
--- a/core/plugins/org.eclipse.dltk.core/model/org/eclipse/dltk/internal/core/Openable.java
+++ b/c... | true | true | protected void codeComplete(org.eclipse.dltk.compiler.env.ISourceModule cu,
int position, CompletionRequestor requestor, WorkingCopyOwner owner)
throws ModelException {
if (requestor == null) {
throw new IllegalArgumentException("Completion requestor cannot be null");
}
IBuffer buffer = getBuffer();
... | protected void codeComplete(org.eclipse.dltk.compiler.env.ISourceModule cu,
int position, CompletionRequestor requestor, WorkingCopyOwner owner)
throws ModelException {
if (requestor == null) {
throw new IllegalArgumentException("Completion requestor cannot be null");
}
IBuffer buffer = getBuffer();
... |
diff --git a/src/biblioteca/gui/catalogacion/Subir_Archivo.java b/src/biblioteca/gui/catalogacion/Subir_Archivo.java
index 4eeb6bc..d4d968f 100644
--- a/src/biblioteca/gui/catalogacion/Subir_Archivo.java
+++ b/src/biblioteca/gui/catalogacion/Subir_Archivo.java
@@ -1,142 +1,142 @@
/*
* To change this template, choose... | false | true | private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
jTextField1 = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
Path = new javax.swing.JTextField();
Seleccionar_Archivo = new javax.sw... | private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
jTextField1 = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
Path = new javax.swing.JTextField();
Seleccionar_Archivo = new javax.sw... |
diff --git a/modules/org.restlet.ext.net/src/org/restlet/ext/net/internal/HttpUrlConnectionCall.java b/modules/org.restlet.ext.net/src/org/restlet/ext/net/internal/HttpUrlConnectionCall.java
index 85b016a16..d6739ac74 100644
--- a/modules/org.restlet.ext.net/src/org/restlet/ext/net/internal/HttpUrlConnectionCall.java
+... | true | true | public Status sendRequest(Request request) {
Status result = null;
try {
if (request.isEntityAvailable()) {
Representation entity = request.getEntity();
// These properties can only be used with Java 1.5 and upper
// releases
... | public Status sendRequest(Request request) {
Status result = null;
try {
if (request.isEntityAvailable()) {
Representation entity = request.getEntity();
// These properties can only be used with Java 1.5 and upper
// releases
... |
diff --git a/src/jumble/fast/FastRunner.java b/src/jumble/fast/FastRunner.java
index 908a071..a31aeb5 100644
--- a/src/jumble/fast/FastRunner.java
+++ b/src/jumble/fast/FastRunner.java
@@ -1,459 +1,462 @@
package jumble.fast;
import com.reeltwo.util.Debug;
import java.io.File;
import java.io.FileInputStream;
imp... | true | true | public JumbleResult runJumble(final String className, final List testClassNames) throws Exception {
final String cacheFileName = "cache" + System.currentTimeMillis() + ".dat";
initCache();
final int mutationCount = countMutationPoints(className);
if (mutationCount == -1) {
return new Interfac... | public JumbleResult runJumble(final String className, final List testClassNames) throws Exception {
final String cacheFileName = "cache" + System.currentTimeMillis() + ".dat";
initCache();
final int mutationCount = countMutationPoints(className);
if (mutationCount == -1) {
return new Interfac... |
diff --git a/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontMappingManagerFactory.java b/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontMappingManagerFactory.java
index 53e314e16..00b1b202e 100644
--- a/plugins/org.eclipse.bir... | false | true | protected FontMappingManager createFontMappingManager( String format,
Locale locale )
{
// we have max 19 configs
String[] configNames = new String[19];
int count = 0;
String osgiName = getOSGIOSName( );
String osName = getOSName( );
String language = locale.getLanguage( );
String country = locale.ge... | protected FontMappingManager createFontMappingManager( String format,
Locale locale )
{
String formatString = format.toLowerCase();
// we have max 19 configs
String[] configNames = new String[19];
int count = 0;
String osgiName = getOSGIOSName( );
String osName = getOSName( );
String language = local... |
diff --git a/MobileWiki/src/com/mobilewiki/RequestHandler.java b/MobileWiki/src/com/mobilewiki/RequestHandler.java
index 997a394..424044a 100644
--- a/MobileWiki/src/com/mobilewiki/RequestHandler.java
+++ b/MobileWiki/src/com/mobilewiki/RequestHandler.java
@@ -1,214 +1,214 @@
package com.mobilewiki;
import java.uti... | true | true | public Map<String, String> get_all_titles_with_tags() {
Map<String, String> result = new HashMap<>();
String resultString;
try {
JSONObject jsonobject_request = new JSONObject();
jsonobject_request.put("function", "getAllTitlesWithTags");
JSONObject jso... | public Map<String, String> get_all_titles_with_tags() {
Map<String, String> result = new HashMap<>();
String resultString;
try {
JSONObject jsonobject_request = new JSONObject();
jsonobject_request.put("function", "getAllTitlesWithTags");
JSONObject jso... |
diff --git a/src/java/org/infoglue/cms/controllers/kernel/impl/simple/AvailableServiceBindingController.java b/src/java/org/infoglue/cms/controllers/kernel/impl/simple/AvailableServiceBindingController.java
index df57d75c3..5ca4d9623 100755
--- a/src/java/org/infoglue/cms/controllers/kernel/impl/simple/AvailableService... | false | true | public AvailableServiceBinding getAvailableServiceBindingWithName(String name, Database db, boolean readOnly) throws SystemException, Bug
{
AvailableServiceBinding availableServiceBinding = null;
try
{
System.out.println("\n\n\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
OQLQuery oql = db.getOQLQu... | public AvailableServiceBinding getAvailableServiceBindingWithName(String name, Database db, boolean readOnly) throws SystemException, Bug
{
AvailableServiceBinding availableServiceBinding = null;
try
{
System.out.println("\n\n\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
OQLQuery oql = db.getOQLQu... |
diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/MergeCommand.java b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/MergeCommand.java
index dae87dcfd..c3ca4adc6 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/MergeCommand.java
+++ b/core/src/main... | true | true | public int execute(final String fullCommand, final CommandLine cl, final Shell shellState) throws Exception {
boolean verbose = shellState.isVerbose();
boolean force = false;
boolean all = false;
long size = -1;
final String tableName = OptUtil.getTableOpt(cl, shellState);
final Text startRow ... | public int execute(final String fullCommand, final CommandLine cl, final Shell shellState) throws Exception {
boolean verbose = shellState.isVerbose();
boolean force = false;
boolean all = false;
long size = -1;
final String tableName = OptUtil.getTableOpt(cl, shellState);
final Text startRow ... |
diff --git a/tiling/src/com/razh/tiling/Actor3D.java b/tiling/src/com/razh/tiling/Actor3D.java
index 6352819..4f1782d 100644
--- a/tiling/src/com/razh/tiling/Actor3D.java
+++ b/tiling/src/com/razh/tiling/Actor3D.java
@@ -1,65 +1,65 @@
package com.razh.tiling;
import com.badlogic.gdx.math.Vector2;
import com.badlog... | true | true | public Vector3 vectorTo(Actor3D actor) {
return actor.getPosition()
.cpy()
.sub(getPosition())
.nor();
}
| public Vector3 vectorTo(Actor3D actor) {
return actor.getPosition()
.cpy()
.sub(getPosition())
.nor();
}
|
diff --git a/src/main/java/org/sonar/ide/intellij/worker/RefreshSonarFileWorker.java b/src/main/java/org/sonar/ide/intellij/worker/RefreshSonarFileWorker.java
index b0f8ec2..d0ca2c9 100644
--- a/src/main/java/org/sonar/ide/intellij/worker/RefreshSonarFileWorker.java
+++ b/src/main/java/org/sonar/ide/intellij/worker/Ref... | true | true | protected List<T> doInBackground() throws Exception {
String resourceKey = getResourceKey();
if (resourceKey == null) {
return null;
}
Sonar sonar = getSonar();
Query<T> query = getQuery(resourceKey);
return sonar.findAll(query);
}
| protected List<T> doInBackground() throws Exception {
String resourceKey = getResourceKey();
if (resourceKey == null) {
return new ArrayList<T>();
}
Sonar sonar = getSonar();
Query<T> query = getQuery(resourceKey);
return sonar.findAll(query);
}
|
diff --git a/pixi/src/main/java/org/openpixi/pixi/ui/MainBatch.java b/pixi/src/main/java/org/openpixi/pixi/ui/MainBatch.java
index 8f3bc4f1..bef781c0 100644
--- a/pixi/src/main/java/org/openpixi/pixi/ui/MainBatch.java
+++ b/pixi/src/main/java/org/openpixi/pixi/ui/MainBatch.java
@@ -1,113 +1,113 @@
/*
* OpenPixi - Op... | false | true | public static void main(String[] args) {
Debug.checkAssertsEnabled();
Settings settings = new Settings();
if (args.length != 0){
Parser parser = new Parser(settings);
parser.parse(args[0]);
}
iterations = settings.getIterations();
particleDiagnosticsIntervall = settings.getParticleDiagnosticsInte... | public static void main(String[] args) {
Debug.checkAssertsEnabled();
Settings settings = new Settings();
if (args.length != 0){
Parser parser = new Parser(settings);
parser.parse(args[0]);
}
iterations = settings.getIterations();
particleDiagnosticsIntervall = settings.getParticleDiagnosticsInte... |
diff --git a/src/nl/b3p/viewer/config/services/JDBCFeatureSource.java b/src/nl/b3p/viewer/config/services/JDBCFeatureSource.java
index 9e7cf6ba1..4505ceefc 100644
--- a/src/nl/b3p/viewer/config/services/JDBCFeatureSource.java
+++ b/src/nl/b3p/viewer/config/services/JDBCFeatureSource.java
@@ -1,212 +1,212 @@
/*
* Cop... | true | true | public void loadFeatureTypes(WaitPageStatus status) throws Exception {
status.setCurrentAction("Databaseverbinding maken...");
DataStore store = null;
try {
store = createDataStore();
status.setProgress(10);
status.setCurrentAction("Lijst van tabellen met... | public void loadFeatureTypes(WaitPageStatus status) throws Exception {
status.setCurrentAction("Databaseverbinding maken...");
DataStore store = null;
try {
store = createDataStore();
status.setProgress(10);
status.setCurrentAction("Lijst van tabellen met... |
diff --git a/src/com/jbalboni/vacation/LeaveStateManager.java b/src/com/jbalboni/vacation/LeaveStateManager.java
index 2a04b7d..9351c3a 100644
--- a/src/com/jbalboni/vacation/LeaveStateManager.java
+++ b/src/com/jbalboni/vacation/LeaveStateManager.java
@@ -1,47 +1,55 @@
package com.jbalboni.vacation;
import java.ut... | true | true | public static VacationTracker createVacationTracker(SharedPreferences prefs, String categoryPrefix)
{
String startDateStr = prefs.getString("startDate",null);
String leaveInterval = prefs.getString("leaveInterval", "Daily");
LocalDate startDate = startDateStr == null ? new LocalDate() : ... | public static VacationTracker createVacationTracker(SharedPreferences prefs, String categoryPrefix)
{
String startDateStr = prefs.getString("startDate",null);
String leaveInterval = prefs.getString("leaveInterval", "Daily");
if (leaveInterval.equals("Day"))
leaveInterval = "D... |
diff --git a/JavaClass.java b/JavaClass.java
index 156d915..2382973 100644
--- a/JavaClass.java
+++ b/JavaClass.java
@@ -1,483 +1,481 @@
/*
* Copyright (c) 2011 Xamarin Inc.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... | false | true | public void appendToDocument (Document doc, Element parent)
{
int mods = jclass.getModifiers ();
if (!Modifier.isPublic (mods) && !Modifier.isProtected (mods))
return;
Element e = doc.createElement (jclass.isInterface () ? "interface" : "class");
if (!jclass.isInterface ()) {
Type t = jclass.getGeneric... | public void appendToDocument (Document doc, Element parent)
{
int mods = jclass.getModifiers ();
Element e = doc.createElement (jclass.isInterface () ? "interface" : "class");
if (!jclass.isInterface ()) {
Type t = jclass.getGenericSuperclass ();
if (t != null)
e.setAttribute ("extends", getGenericTy... |
diff --git a/java/server/src/test/java/org/apache/shindig/server/JettyLauncher.java b/java/server/src/test/java/org/apache/shindig/server/JettyLauncher.java
index fd115560c..f77dfd309 100644
--- a/java/server/src/test/java/org/apache/shindig/server/JettyLauncher.java
+++ b/java/server/src/test/java/org/apache/shindig/s... | true | true | private JettyLauncher(int port, final String trunk) throws IOException {
server = new Server(port);
Context context = new Context(server, "/", Context.SESSIONS);
//context.setBaseResource(Resource.newClassPathResource("/endtoend"));
context.setResourceBase(Resource.newClassPathResource("/endtoend").... | private JettyLauncher(int port, final String trunk) throws IOException {
server = new Server(port);
Context context = new Context(server, "/", Context.SESSIONS);
//context.setBaseResource(Resource.newClassPathResource("/endtoend"));
context.setResourceBase(Resource.newClassPathResource("/endtoend").... |
diff --git a/annotations/src/test/java/org/hibernate/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java b/annotations/src/test/java/org/hibernate/test/annotations/id/generationmappings/NewGeneratorMappingsTest.java
index 399d2f7e3f..d67cd18823 100644
--- a/annotations/src/test/java/org/hibernate/test/... | true | true | public void testMinimalTableEntity() {
final EntityPersister persister = sfi().getEntityPersister( MinimalTableEntity.class.getName() );
IdentifierGenerator generator = persister.getIdentifierGenerator();
assertTrue( TableGenerator.class.isInstance( generator ) );
TableGenerator tabGenerator = (TableGenerator)... | public void testMinimalTableEntity() {
final EntityPersister persister = sfi().getEntityPersister( MinimalTableEntity.class.getName() );
IdentifierGenerator generator = persister.getIdentifierGenerator();
assertTrue( TableGenerator.class.isInstance( generator ) );
TableGenerator tabGenerator = (TableGenerator)... |
diff --git a/stripes/src/net/sourceforge/stripes/tag/FieldMetadataTag.java b/stripes/src/net/sourceforge/stripes/tag/FieldMetadataTag.java
index 1bfb6fc..bd6ff5d 100644
--- a/stripes/src/net/sourceforge/stripes/tag/FieldMetadataTag.java
+++ b/stripes/src/net/sourceforge/stripes/tag/FieldMetadataTag.java
@@ -1,442 +1,44... | true | true | private String getMetadata() {
ActionBean bean = null;
String action = getAction();
FormTag form = getForm();
if (form != null) {
if (action != null)
log.warn("Parameters action and/or beanclass specified but field-metadata tag is inside of a Stripes fo... | private String getMetadata() {
ActionBean bean = null;
String action = getAction();
FormTag form = getForm();
if (form != null) {
if (action != null)
log.warn("Parameters action and/or beanclass specified but field-metadata tag is inside of a Stripes fo... |
diff --git a/src/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandSetSpawn.java b/src/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandSetSpawn.java
index cd0ba7abb..d879edb73 100644
--- a/src/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandSetSpawn.java
+++ b/src/FE_SRC_COMMON/com/ForgeEssentials/commands/CommandS... | true | true | public void processCommandPlayer(EntityPlayer sender, String[] args)
{
if (args.length <= 1)
{
error(sender);
return;
}
if (args.length == 1)
{
if (args[0].equalsIgnoreCase("help"))
{
OutputHandler.chatConfirmation(sender, Localization.get("command.setspawn.help.1"));
OutputHandler.chat... | public void processCommandPlayer(EntityPlayer sender, String[] args)
{
if (args.length <= 0)
{
error(sender);
return;
}
if (args.length == 1)
{
if (args[0].equalsIgnoreCase("help"))
{
OutputHandler.chatConfirmation(sender, Localization.get("command.setspawn.help.1"));
OutputHandler.chat... |
diff --git a/src/MeetingImpl.java b/src/MeetingImpl.java
index ea93366..7139d27 100644
--- a/src/MeetingImpl.java
+++ b/src/MeetingImpl.java
@@ -1,144 +1,144 @@
import java.util.*;
public class MeetingImpl implements Meeting, Comparator<Meeting>
{
private int meetingId;
private Set<Contact> contactsAtMee... | true | true | public Meeting returnMeeting(Set<Meeting> meetingSet, int id, char whatKindOfMeeting)
{
for (Iterator<Meeting> itr = meetingSet.iterator(); itr.hasNext();)
{
if (itr.next().getId() == id && whatKindOfMeeting == 'f') // i.e. this needs to be a FUTURE meeting
{
... | protected Meeting returnMeeting(Set<Meeting> meetingSet, int id, char whatKindOfMeeting)
{
for (Iterator<Meeting> itr = meetingSet.iterator(); itr.hasNext();)
{
if (itr.next().getId() == id && whatKindOfMeeting == 'f') // i.e. this needs to be a FUTURE meeting
{
... |
diff --git a/tests/tests/widget/src/android/widget/cts/ListViewTest.java b/tests/tests/widget/src/android/widget/cts/ListViewTest.java
index f21b721a..f283681e 100644
--- a/tests/tests/widget/src/android/widget/cts/ListViewTest.java
+++ b/tests/tests/widget/src/android/widget/cts/ListViewTest.java
@@ -1,1071 +1,1070 @@... | false | true | public void testAccessItemChecked() {
// NONE mode
mListView.setChoiceMode(ListView.CHOICE_MODE_NONE);
assertEquals(ListView.CHOICE_MODE_NONE, mListView.getChoiceMode());
mListView.setItemChecked(1, true);
assertEquals(ListView.INVALID_POSITION, mListView.getCheckedItemPosit... | public void testAccessItemChecked() {
// NONE mode
mListView.setChoiceMode(ListView.CHOICE_MODE_NONE);
assertEquals(ListView.CHOICE_MODE_NONE, mListView.getChoiceMode());
mListView.setItemChecked(1, true);
assertEquals(ListView.INVALID_POSITION, mListView.getCheckedItemPosit... |
diff --git a/annis-service/src/main/java/annis/sqlgen/ListDocumentsAnnotationsSqlHelper.java b/annis-service/src/main/java/annis/sqlgen/ListDocumentsAnnotationsSqlHelper.java
index 7362bf686..455587d2c 100644
--- a/annis-service/src/main/java/annis/sqlgen/ListDocumentsAnnotationsSqlHelper.java
+++ b/annis-service/src/m... | true | true | public String createSqlQuery(String toplevelCorpusName)
{
String template = "SELECT DISTINCT meta.namespace, meta.name, meta.value \n" +
"from corpus this, corpus docs \n" +
"FULL JOIN corpus_annotation meta \n" +
"ON docs.pre=meta.corpus_ref \n" +
"WHERE this.name = :toplevelnam... | public String createSqlQuery(String toplevelCorpusName)
{
String template = "SELECT DISTINCT meta.namespace, meta.name, meta.value \n" +
"from corpus this, corpus docs \n" +
"FULL JOIN corpus_annotation meta \n" +
"ON docs.id=meta.corpus_ref \n" +
"WHERE this.name = :toplevelname... |
diff --git a/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryTransportBrokerTest.java b/activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryTransportBrokerTest.java
index 667b4dcc0..a1eb906b0 100755
--- a/activemq-core/src/test/java/org/apache/activemq/transport/dis... | true | true | public void testPublisherFailsOver() throws Exception {
ActiveMQDestination destination = new ActiveMQQueue("TEST");
int deliveryMode = DeliveryMode.NON_PERSISTENT;
// Start a normal consumer on the local broker
StubConnection connection1 = createConnection();
ConnectionInfo... | public void testPublisherFailsOver() throws Exception {
ActiveMQDestination destination = new ActiveMQQueue("TEST");
int deliveryMode = DeliveryMode.NON_PERSISTENT;
// Start a normal consumer on the local broker
StubConnection connection1 = createConnection();
ConnectionInfo... |
diff --git a/gcov/org.eclipse.linuxtools.gcov/src/org/eclipse/linuxtools/gcov/dialog/OpenGCDialog.java b/gcov/org.eclipse.linuxtools.gcov/src/org/eclipse/linuxtools/gcov/dialog/OpenGCDialog.java
index 1d8b3ceb9..5b69b71a3 100644
--- a/gcov/org.eclipse.linuxtools.gcov/src/org/eclipse/linuxtools/gcov/dialog/OpenGCDialog.... | false | true | protected Control createDialogArea(Composite parent) {
this.getShell().setText("Gcov - Open coverage results...");
Composite composite = (Composite) super.createDialogArea(parent);
/* first line */
Group c = new Group(composite, SWT.NONE);
c.setText("Binary File");
c.setTo... | protected Control createDialogArea(Composite parent) {
this.getShell().setText("Gcov - Open coverage results...");
Composite composite = (Composite) super.createDialogArea(parent);
/* first line */
Group c = new Group(composite, SWT.NONE);
c.setText("Binary File");
c.setTo... |
diff --git a/MachinaFactory/src/me/lyneira/ItemRelay/DispenserRelay.java b/MachinaFactory/src/me/lyneira/ItemRelay/DispenserRelay.java
index e9d4319..0bff43d 100644
--- a/MachinaFactory/src/me/lyneira/ItemRelay/DispenserRelay.java
+++ b/MachinaFactory/src/me/lyneira/ItemRelay/DispenserRelay.java
@@ -1,56 +1,56 @@
pack... | true | true | protected void relayActions() {
BlockLocation container = container();
Location location = container.getLocation();
for (Entity i : container.getWorld().getEntitiesByClass(Item.class)) {
if (i.getLocation().distance(location) < suctionDistance) {
ItemStack item = ... | protected void relayActions() {
BlockLocation container = container();
Location location = container.getLocation();
for (Entity i : container.getWorld().getEntitiesByClass(Item.class)) {
if (! i.isDead() && i.getLocation().distance(location) < suctionDistance) {
I... |
diff --git a/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/ASMExecEnv.java b/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/ASMExecEnv.java
index a539c362..db034bf7 100644
--- a/plugins/org.eclipse.m2m.atl.engine.vm/src/org/eclipse/m2m/atl/engine/vm/ASMExecEnv.java
+++... | true | true | private ASMOclType parseTypeInternal(CharacterIterator ci) throws SignatureParsingException {
ASMOclType ret = null;
switch(ci.current()) {
case 'Q': case 'G': case 'C': // Sequence, Bag, Collection,
case 'E': case 'O': case 'N': // Set, OrderedSet, Native type
ci.next();
//ASMOclType elementType ... | private ASMOclType parseTypeInternal(CharacterIterator ci) throws SignatureParsingException {
ASMOclType ret = null;
switch(ci.current()) {
case 'Q': case 'G': case 'C': // Sequence, Bag, Collection,
case 'E': case 'O': case 'N': // Set, OrderedSet, Native type
ci.next();
ASMOclType elementType = ... |
diff --git a/eclipse/workspace/paf/src/ontology/HTMLTagger.java b/eclipse/workspace/paf/src/ontology/HTMLTagger.java
index 3da07df..918f02c 100644
--- a/eclipse/workspace/paf/src/ontology/HTMLTagger.java
+++ b/eclipse/workspace/paf/src/ontology/HTMLTagger.java
@@ -1,103 +1,104 @@
package ontology;
import java.io.Bu... | false | true | public static void tagHTML(HashMap<MyDocument, LinkedDocument> docs) {
for (LinkedDocument doc : docs.values()){
String line;
ArrayList<String> lignes = new ArrayList<String>();
InputStream file = null;
String repoSaved="docTxt/docSaved/";
String repoTagged="docTxt/docTagged/";
try {
... | public static void tagHTML(HashMap<MyDocument, LinkedDocument> docs) {
for (LinkedDocument doc : docs.values()){
String line;
ArrayList<String> lignes = new ArrayList<String>();
InputStream file = null;
String repoSaved="docTxt/docSaved/";
String repoTagged="docTxt/docTagged/";
try {
... |
diff --git a/src/imo/GraphGen.java b/src/imo/GraphGen.java
index 9e5351a..de737ec 100644
--- a/src/imo/GraphGen.java
+++ b/src/imo/GraphGen.java
@@ -1,173 +1,173 @@
package imo;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.uti... | true | true | public static Graph<Vertex, Edge> getGraph( String file) throws FileNotFoundException
{
Scanner scan = new Scanner(new FileReader(file)).useDelimiter("\\s");
String first = scan.next().trim();
String[] fArray = first.split(",");
int numV = fArray.length;
int[][] mat = new int[numV][numV];
for(int... | public static Graph<Vertex, Edge> getGraph( String file) throws FileNotFoundException
{
Scanner scan = new Scanner(new FileReader(file)).useDelimiter("\\n");
String first = scan.next().trim();
String[] fArray = first.split(",");
int numV = fArray.length;
int[][] mat = new int[numV][numV];
for(int... |
diff --git a/shared/root/java/result_pane/com/deepsky/view/query_pane/grid/EditableGrid.java b/shared/root/java/result_pane/com/deepsky/view/query_pane/grid/EditableGrid.java
index 287be23..3ef91cd 100644
--- a/shared/root/java/result_pane/com/deepsky/view/query_pane/grid/EditableGrid.java
+++ b/shared/root/java/result... | false | true | private void updateModel(TableModelEvent e) {
switch (e.getType()) {
case TableModelEvent.DELETE: {
try {
final int firstRow = e.getFirstRow();
rowset.deleteRows(firstRow, e.getLastRow());
if (rowset.getFetchedRowCount()... | private void updateModel(TableModelEvent e) {
switch (e.getType()) {
case TableModelEvent.DELETE: {
try {
final int firstRow = e.getFirstRow();
rowset.deleteRows(firstRow, e.getLastRow());
if (rowset.getFetchedRowCount()... |
diff --git a/src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java b/src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java
index d9cc126f..8719298a 100644
--- a/src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java
+++ b/src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisito... | true | true | private String qualifiedPath(Node that, Declaration d, boolean inProto) {
boolean isMember = d.isClassOrInterfaceMember();
if (!isMember && isImported(that == null ? null : that.getUnit().getPackage(), d)) {
return names.moduleAlias(d.getUnit().getPackage().getModule());
}
... | private String qualifiedPath(Node that, Declaration d, boolean inProto) {
boolean isMember = d.isClassOrInterfaceMember();
if (!isMember && isImported(that == null ? null : that.getUnit().getPackage(), d)) {
return names.moduleAlias(d.getUnit().getPackage().getModule());
}
... |
diff --git a/src/com/aetrion/flickr/util/UrlUtilities.java b/src/com/aetrion/flickr/util/UrlUtilities.java
index f6b1ce0..5725503 100644
--- a/src/com/aetrion/flickr/util/UrlUtilities.java
+++ b/src/com/aetrion/flickr/util/UrlUtilities.java
@@ -1,68 +1,68 @@
/*
* Copyright (c) 2005 Aetrion LLC.
*/
package com.a... | true | true | public static URL buildUrl(String host, int port, String path, List parameters) throws MalformedURLException {
StringBuffer buffer = new StringBuffer();
buffer.append("http://");
buffer.append(host);
if (port > 0) {
buffer.append(":");
buffer.append(port);
... | public static URL buildUrl(String host, int port, String path, List parameters) throws MalformedURLException {
StringBuffer buffer = new StringBuffer();
buffer.append("http://");
buffer.append(host);
if (port > 0) {
buffer.append(":");
buffer.append(port);
... |
diff --git a/src/org/mozilla/javascript/NativeGenerator.java b/src/org/mozilla/javascript/NativeGenerator.java
index 34d95a58..d008c6de 100755
--- a/src/org/mozilla/javascript/NativeGenerator.java
+++ b/src/org/mozilla/javascript/NativeGenerator.java
@@ -1,243 +1,244 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mod... | false | true | public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,
Scriptable thisObj, Object[] args)
{
if (!f.hasTag(GENERATOR_TAG)) {
return super.execIdCall(f, cx, scope, thisObj, args);
}
int id = f.methodId();
if (!(thisObj i... | public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,
Scriptable thisObj, Object[] args)
{
if (!f.hasTag(GENERATOR_TAG)) {
return super.execIdCall(f, cx, scope, thisObj, args);
}
int id = f.methodId();
if (!(thisObj i... |
diff --git a/src/minecraft/ljdp/minechem/common/items/ItemHangableTableOfElements.java b/src/minecraft/ljdp/minechem/common/items/ItemHangableTableOfElements.java
index 4371144..a932c7c 100644
--- a/src/minecraft/ljdp/minechem/common/items/ItemHangableTableOfElements.java
+++ b/src/minecraft/ljdp/minechem/common/items/... | true | true | public boolean onItemUse(ItemStack itemstack, EntityPlayer entityPlayer, World world, int x, int y, int z, int side, float par8, float par9, float par10)
{
if (side == 0)
return false;
else if (side == 1)
return false;
else
{
int orientation = Dir... | public boolean onItemUse(ItemStack itemstack, EntityPlayer entityPlayer, World world, int x, int y, int z, int side, float par8, float par9, float par10)
{
if (side == 0)
return false;
else if (side == 1)
return false;
else
{
int orientation = Dir... |
diff --git a/plugins/org.eclipse.viatra2.emf.incquery.tooling.gui/src/org/eclipse/viatra2/emf/incquery/queryexplorer/content/matcher/ObservablePatternMatcherRoot.java b/plugins/org.eclipse.viatra2.emf.incquery.tooling.gui/src/org/eclipse/viatra2/emf/incquery/queryexplorer/content/matcher/ObservablePatternMatcherRoot.ja... | true | true | public void registerPattern(Pattern pattern) {
IncQueryMatcher<GenericPatternMatch> matcher = null;
try {
matcher = new GenericPatternMatcher(pattern, key.getNotifier());
}
catch (IncQueryRuntimeException e) {
logger.log(new Status(IStatus.ERROR,
IncQueryGUIPlugin.PLUGIN_ID,
"Cannot initialize... | public void registerPattern(Pattern pattern) {
IncQueryMatcher<GenericPatternMatch> matcher = null;
try {
matcher = new GenericPatternMatcher(pattern, key.getNotifier());
}
catch (IncQueryRuntimeException e) {
logger.log(new Status(IStatus.ERROR,
IncQueryGUIPlugin.PLUGIN_ID,
"Cannot initialize... |
diff --git a/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java b/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java
index 3cea6d57aaf..5f5553ecdd0 100644
--- a/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java
+++ b/src/main/... | true | true | public synchronized void sample() {
if (closed) {
return;
}
// the nodes we are going to ping include the core listed nodes that were added
// and the last round of discovered nodes
Map<TransportAddress, DiscoveryNode> nodesToPing = Ma... | public synchronized void sample() {
if (closed) {
return;
}
// the nodes we are going to ping include the core listed nodes that were added
// and the last round of discovered nodes
Map<TransportAddress, DiscoveryNode> nodesToPing = Ma... |
diff --git a/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java b/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java
index 21f7cc630..e5440189a 100644
--- a/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java
+++ b/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java
@@ -1,5... | false | true | private void initComponents() {
timeGroup = new javax.swing.ButtonGroup();
servicesScrollPane = new javax.swing.JScrollPane();
servicesTable = new javax.swing.JTable();
jPanel1 = new javax.swing.JPanel();
advancedButton = new javax.swing.JButton();
jSeparator2 = new ... | private void initComponents() {
timeGroup = new javax.swing.ButtonGroup();
servicesScrollPane = new javax.swing.JScrollPane();
servicesTable = new javax.swing.JTable();
jPanel1 = new javax.swing.JPanel();
advancedButton = new javax.swing.JButton();
jSeparator2 = new ... |
diff --git a/impl/src/main/java/org/jboss/weld/bean/proxy/Marker.java b/impl/src/main/java/org/jboss/weld/bean/proxy/Marker.java
index c730ef8cc..18c998e5e 100644
--- a/impl/src/main/java/org/jboss/weld/bean/proxy/Marker.java
+++ b/impl/src/main/java/org/jboss/weld/bean/proxy/Marker.java
@@ -1,38 +1,38 @@
/*
* JBoss... | true | true | public static boolean isMarker(int position, Method method, Object[] args) {
return method.getParameterTypes().length >= position && method.getParameterTypes()[position].equals(Marker.class) && INSTANCE.equals(args[position]);
}
| public static boolean isMarker(int position, Method method, Object[] args) {
return method.getParameterTypes().length > position && method.getParameterTypes()[position].equals(Marker.class) && INSTANCE.equals(args[position]);
}
|
diff --git a/src/edu/ucdenver/ccp/PhenoGen/tools/promoter/AsyncMeme.java b/src/edu/ucdenver/ccp/PhenoGen/tools/promoter/AsyncMeme.java
index 25dd6a7..4023797 100644
--- a/src/edu/ucdenver/ccp/PhenoGen/tools/promoter/AsyncMeme.java
+++ b/src/edu/ucdenver/ccp/PhenoGen/tools/promoter/AsyncMeme.java
@@ -1,182 +1,182 @@
pa... | true | true | public void run() throws RuntimeException {
log.debug("Starting run method of AsyncMeme " );
Thread thisThread = Thread.currentThread();
Email myEmail = new Email();
myEmail.setTo(userLoggedIn.getEmail());
GeneList thisGeneList = myGeneListAnalysis.getAnalysisGeneList();
String mainContent = user... | public void run() throws RuntimeException {
log.debug("Starting run method of AsyncMeme " );
Thread thisThread = Thread.currentThread();
Email myEmail = new Email();
myEmail.setTo(userLoggedIn.getEmail());
GeneList thisGeneList = myGeneListAnalysis.getAnalysisGeneList();
String mainContent = user... |
diff --git a/src/ben_dude56/plugins/bencmd/warps/WarpableUser.java b/src/ben_dude56/plugins/bencmd/warps/WarpableUser.java
index b02eb94..ef03739 100644
--- a/src/ben_dude56/plugins/bencmd/warps/WarpableUser.java
+++ b/src/ben_dude56/plugins/bencmd/warps/WarpableUser.java
@@ -1,171 +1,171 @@
package ben_dude56.plugins... | false | true | public void Spawn() {
if (isConsole) {
return;
}
Location spawn;
if (plugin.mainProperties.getBoolean("PerWorldSpawn", false)) {
try {
spawn = plugin.getServer().getWorld(plugin.mainProperties.getString("DefaultWorld", "world")).getSpawnLocation();
} catch (NullPointerException e) {
spawn =... | public void Spawn() {
if (isConsole) {
return;
}
Location spawn;
if (plugin.mainProperties.getBoolean("perWorldSpawn", false)) {
try {
spawn = plugin.getServer().getWorld(plugin.mainProperties.getString("defaultWorld", "world")).getSpawnLocation();
} catch (NullPointerException e) {
spawn =... |
diff --git a/src/test/cli/cloudify/cloud/ExamplesTest.java b/src/test/cli/cloudify/cloud/ExamplesTest.java
index f68f83ec..7a6993f2 100644
--- a/src/test/cli/cloudify/cloud/ExamplesTest.java
+++ b/src/test/cli/cloudify/cloud/ExamplesTest.java
@@ -1,50 +1,50 @@
package test.cli.cloudify.cloud;
import java.io.IOExcep... | true | true | public void cleanup() throws IOException, InterruptedException {
String command = "connect " + getService().getRestUrl() + ";list-application";
String output = CommandTestUtils.runCommandAndWait(command);
if (output.contains(appName)) {
uninstallApplicationAndWait(appName);
}
}
| public void cleanup() throws IOException, InterruptedException {
String command = "connect " + getService().getRestUrl() + ";list-applications";
String output = CommandTestUtils.runCommandAndWait(command);
if (output.contains(appName)) {
uninstallApplicationAndWait(appName);
}
}
|
diff --git a/src/me/bootscreen/workingslots/FileManager.java b/src/me/bootscreen/workingslots/FileManager.java
index 3f88fd2..ab89cbf 100644
--- a/src/me/bootscreen/workingslots/FileManager.java
+++ b/src/me/bootscreen/workingslots/FileManager.java
@@ -1,212 +1,212 @@
package me.bootscreen.workingslots;
import java... | false | true | public boolean savePreset(Player player, int number)
{
String wert = "";
if(configFile.exists())
{
try
{
ItemStack item;
for(int i = 0; i < 9; i++)
{
item = player.getInventory().getItem(i);
if(i != 0)
{
wert += ",";
}
wert += item.getTypeId();
if(... | public boolean savePreset(Player player, int number)
{
String wert = "";
if(configFile.exists())
{
try
{
ItemStack item;
for(int i = 0; i < 9; i++)
{
item = player.getInventory().getItem(i);
if(i != 0)
{
wert += ",";
}
wert += item.getTypeId();
if(... |
diff --git a/src/com/storassa/android/scuolasci/MeteoFragment.java b/src/com/storassa/android/scuolasci/MeteoFragment.java
index 313806d..63b0d2f 100755
--- a/src/com/storassa/android/scuolasci/MeteoFragment.java
+++ b/src/com/storassa/android/scuolasci/MeteoFragment.java
@@ -1,226 +1,228 @@
package com.storassa.andro... | true | true | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View result = inflater.inflate(R.layout.meteo_fragment, container, false);
final ListView meteoListView = (ListView) result
.findViewById(... | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View result = inflater.inflate(R.layout.meteo_fragment, container, false);
final ListView meteoListView = (ListView) result
.findViewById(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.