diff stringlengths 262 553k | is_single_chunk bool 2
classes | is_single_function bool 1
class | buggy_function stringlengths 20 391k | fixed_function stringlengths 0 392k |
|---|---|---|---|---|
diff --git a/src/main/java/net/vidageek/crawler/PageCrawler.java b/src/main/java/net/vidageek/crawler/PageCrawler.java
index eb45910..d782b10 100644
--- a/src/main/java/net/vidageek/crawler/PageCrawler.java
+++ b/src/main/java/net/vidageek/crawler/PageCrawler.java
@@ -1,64 +1,64 @@
/**
*
*/
package net.vidageek.... | true | true | private void craw(final PageVisitor visitor, final Set<String> visitedUrls) {
if (visitor == null) {
throw new NullPointerException("visitor cannot be null");
}
if (!visitedUrls.contains(beginUrl)) {
visitedUrls.add(beginUrl);
Page page = new Page(beginUrl, downloader);
visitor.visit(page);
List... | private void craw(final PageVisitor visitor, final Set<String> visitedUrls) {
if (visitor == null) {
throw new NullPointerException("visitor cannot be null");
}
if (!visitedUrls.contains(beginUrl)) {
visitedUrls.add(beginUrl);
Page page = new Page(beginUrl, downloader);
visitor.visit(page);
List... |
diff --git a/tools/dotnet-tools-commons/src/main/java/org/sonar/dotnet/tools/commons/visualstudio/ModelFactory.java b/tools/dotnet-tools-commons/src/main/java/org/sonar/dotnet/tools/commons/visualstudio/ModelFactory.java
index cc4a60442..e34e57805 100644
--- a/tools/dotnet-tools-commons/src/main/java/org/sonar/dotnet/t... | false | true | public static VisualStudioProject getProject(File projectFile, String projectName, List<String> buildConfigurations)
throws FileNotFoundException, DotNetToolsException {
VisualStudioProject project = new VisualStudioProject();
project.setProjectFile(projectFile);
project.setName(projectName);
F... | public static VisualStudioProject getProject(File projectFile, String projectName, List<String> buildConfigurations)
throws FileNotFoundException, DotNetToolsException {
VisualStudioProject project = new VisualStudioProject();
project.setProjectFile(projectFile);
project.setName(projectName);
F... |
diff --git a/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSourceReleaseMojo.java b/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/dist/tools/DistCheckSourceReleaseMojo.java
index 6113f0d41..89ae17e81 100644
--- a/dist-tools/dist-tool-plugin/src/main/java/org/apache/maven/di... | true | true | private void reportLine( Sink sink, DistCheckSourceRelease csr )
{
ConfigurationLineInfo cli = csr.getConfigurationLine();
sink.tableRow();
sink.tableCell();
// shorten groupid
sink.rawText( csr.getConfigurationLine().getGroupId().replaceAll( "org.apache.maven", "o.a.m" ... | private void reportLine( Sink sink, DistCheckSourceRelease csr )
{
ConfigurationLineInfo cli = csr.getConfigurationLine();
sink.tableRow();
sink.tableCell();
// shorten groupid
sink.rawText( csr.getConfigurationLine().getGroupId().replaceAll( "org.apache.maven", "o.a.m" ... |
diff --git a/src/Main5.java b/src/Main5.java
index 58d81dc..a262464 100644
--- a/src/Main5.java
+++ b/src/Main5.java
@@ -1,6 +1,6 @@
public class Main5 {
public static void main(String[] args) {
- System.out.println("Hello World testing 5 !");
+ System.out.println("Hello World testing 05 !");
... | true | true | public static void main(String[] args) {
System.out.println("Hello World testing 5 !");
}
| public static void main(String[] args) {
System.out.println("Hello World testing 05 !");
}
|
diff --git a/src/test/java/net/floodlightcontroller/core/internal/OFChannelHandlerTest.java b/src/test/java/net/floodlightcontroller/core/internal/OFChannelHandlerTest.java
index ca138410..56b5f2e3 100644
--- a/src/test/java/net/floodlightcontroller/core/internal/OFChannelHandlerTest.java
+++ b/src/test/java/net/floodl... | true | true | public void doMoveToWaitInitialRole(MockStorageSourceConfig cfg)
throws Exception {
moveToWaitDescriptionStatReply();
// We do not expect a write to the channel per-se. We add
// the channel to the controller and the controller will in turn
// call handler.sendRoleReques... | public void doMoveToWaitInitialRole(MockStorageSourceConfig cfg)
throws Exception {
moveToWaitDescriptionStatReply();
// We do not expect a write to the channel per-se. We add
// the channel to the controller and the controller will in turn
// call handler.sendRoleReques... |
diff --git a/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc17/SVNCommitter17.java b/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc17/SVNCommitter17.java
index 140926446..3b9691d8d 100644
--- a/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc17/SVNCommitter17.java
+++ b/svnkit/src/main/java/org/... | true | true | public boolean handleCommitPath(String commitPath, ISVNEditor commitEditor) throws SVNException {
SvnCommitItem item = myCommittables.get(commitPath);
myContext.checkCancelled();
if (item.hasFlag(SvnCommitItem.COPY)) {
if (item.getCopyFromUrl() == null) {
SVNError... | public boolean handleCommitPath(String commitPath, ISVNEditor commitEditor) throws SVNException {
SvnCommitItem item = myCommittables.get(commitPath);
myContext.checkCancelled();
if (item.hasFlag(SvnCommitItem.COPY)) {
if (item.getCopyFromUrl() == null) {
SVNError... |
diff --git a/src/share/classes/com/sun/tools/javah/StaticJNIClassHelper.java b/src/share/classes/com/sun/tools/javah/StaticJNIClassHelper.java
index eac0cbdd..20eb17ab 100644
--- a/src/share/classes/com/sun/tools/javah/StaticJNIClassHelper.java
+++ b/src/share/classes/com/sun/tools/javah/StaticJNIClassHelper.java
@@ -1... | true | true | public void setCurrentClass ( TypeElement clazz ) {
if ( clazz != currentClass ) {
currentClass = clazz;
callbacks.clear();
fieldCallbacks.clear();
arrayCallbacks.clear();
referredTypes.clear();
List<ExecutableElement> classmethods... | public void setCurrentClass ( TypeElement clazz ) {
if ( clazz != currentClass ) {
currentClass = clazz;
callbacks.clear();
fieldCallbacks.clear();
arrayCallbacks.clear();
referredTypes.clear();
List<ExecutableElement> classmethods... |
diff --git a/src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java b/src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java
index e70b18e..2e75f61 100644
--- a/src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java
+++ b/src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java... | false | true | protected ArrayList<Statement> evaluateInternal(TupleExpr arg0, Dataset context) throws SailException {
ArrayList<Statement> result = new ArrayList();
try {
ArrayList<ArrayList<Var>> statements = HBaseQueryVisitor.convertToStatements(arg0, null, null);
// System.out.println("StatementPatterns: " + statement... | protected ArrayList<Statement> evaluateInternal(TupleExpr arg0, Dataset context) throws SailException {
ArrayList<Statement> result = new ArrayList();
try {
ArrayList<ArrayList<Var>> statements = HBaseQueryVisitor.convertToStatements(arg0, null, null);
// System.out.println("StatementPatterns: " + statement... |
diff --git a/src/org/broad/igv/util/HttpUtils.java b/src/org/broad/igv/util/HttpUtils.java
index c74ff11be..e3883d6b5 100644
--- a/src/org/broad/igv/util/HttpUtils.java
+++ b/src/org/broad/igv/util/HttpUtils.java
@@ -1,922 +1,921 @@
/*
* Copyright (c) 2007-2012 The Broad Institute, Inc.
* SOFTWARE COPYRIGHT NOTICE... | true | true | private HttpURLConnection openConnection(
URL url, Map<String, String> requestProperties, String method, int redirectCount) throws IOException {
boolean useProxy = proxySettings != null && proxySettings.useProxy && proxySettings.proxyHost != null &&
proxySettings.proxyPort > 0;
... | private HttpURLConnection openConnection(
URL url, Map<String, String> requestProperties, String method, int redirectCount) throws IOException {
boolean useProxy = proxySettings != null && proxySettings.useProxy && proxySettings.proxyHost != null &&
proxySettings.proxyPort > 0;
... |
diff --git a/framework/src/play/db/jpa/JPAPlugin.java b/framework/src/play/db/jpa/JPAPlugin.java
index 7c579e68..e7f042cb 100644
--- a/framework/src/play/db/jpa/JPAPlugin.java
+++ b/framework/src/play/db/jpa/JPAPlugin.java
@@ -1,281 +1,281 @@
package play.db.jpa;
import java.io.Serializable;
import java.lang.refle... | true | true | public void onApplicationStart() {
if (JPA.entityManagerFactory == null) {
List<Class> classes = Play.classloader.getAnnotatedClasses(Entity.class);
if (classes.isEmpty()) {
return;
}
if (DB.datasource == null) {
throw new JPAEx... | public void onApplicationStart() {
if (JPA.entityManagerFactory == null) {
List<Class> classes = Play.classloader.getAnnotatedClasses(Entity.class);
if (classes.isEmpty() && Play.configuration.getProperty("jpa.entities", "").equals("")) {
return;
}
... |
diff --git a/IndexWriter.java b/IndexWriter.java
index fdb4c67..aec413a 100644
--- a/IndexWriter.java
+++ b/IndexWriter.java
@@ -1,466 +1,469 @@
/* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for ... | false | true | private boolean generateXML(PerstRoot perstRoot, String prefix) throws IOException {
final Config config = perstRoot.getConfig();
final long MAX_SIZE = config.getIndexSubindexMaxSize();
final int MAX_ENTRIES = config.getIndexMaxEntries();
File outputFile = new File(config.getIndexDir() + "index_" + prefix +... | private boolean generateXML(PerstRoot perstRoot, String prefix) throws IOException {
final Config config = perstRoot.getConfig();
final long MAX_SIZE = config.getIndexSubindexMaxSize();
final int MAX_ENTRIES = config.getIndexMaxEntries();
File outputFile = new File(config.getIndexDir() + "index_" + prefix +... |
diff --git a/mod/src/main/java/io/vertx/redis/RedisMod.java b/mod/src/main/java/io/vertx/redis/RedisMod.java
index d4f379f..097b753 100644
--- a/mod/src/main/java/io/vertx/redis/RedisMod.java
+++ b/mod/src/main/java/io/vertx/redis/RedisMod.java
@@ -1,280 +1,280 @@
package io.vertx.redis;
import io.vertx.redis.impl.... | true | true | public void handle(final Message<JsonObject> message) {
final String command = message.body().getString("command");
final JsonArray args = message.body().getArray("args");
if (command == null) {
sendError(message, "command must be specified");
return;
} else... | public void handle(final Message<JsonObject> message) {
String command = message.body().getString("command");
final JsonArray args = message.body().getArray("args");
if (command == null) {
sendError(message, "command must be specified");
return;
} else {
... |
diff --git a/src/main/java/org/mgenterprises/java/bukkit/gmcfps/Core/Weapons/ProjectileWeapon.java b/src/main/java/org/mgenterprises/java/bukkit/gmcfps/Core/Weapons/ProjectileWeapon.java
index 5104dc6..7e8f81f 100644
--- a/src/main/java/org/mgenterprises/java/bukkit/gmcfps/Core/Weapons/ProjectileWeapon.java
+++ b/src/m... | false | true | public void onWeaponRightClick(WeaponFiredEvent event) {
//System.out.println(event);
if(super.getWeaponManager().waiting.contains(event.getPlayer().getName())){
return;
}
boolean hasAmmoLeft = event.getPlayer().getInventory().contains(ammoMaterial);
if (hasAmmoLe... | public void onWeaponRightClick(WeaponFiredEvent event) {
//System.out.println(event);
if(super.getWeaponManager().waiting.contains(event.getPlayer().getName())){
return;
}
boolean hasAmmoLeft = event.getPlayer().getInventory().contains(ammoMaterial);
if (hasAmmoLe... |
diff --git a/srcj/com/sun/electric/tool/user/menus/EditMenu.java b/srcj/com/sun/electric/tool/user/menus/EditMenu.java
index 77cff032d..491dc927b 100644
--- a/srcj/com/sun/electric/tool/user/menus/EditMenu.java
+++ b/srcj/com/sun/electric/tool/user/menus/EditMenu.java
@@ -1,1489 +1,1491 @@
/* -*- tab-width: 4 -*-
*
... | true | true | protected static void addEditMenu(MenuBar menuBar) {
MenuBar.MenuItem m;
int buckyBit = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
/****************************** THE EDIT MENU ******************************/
// mnemonic keys available: B JK Q W
// still don't have mnemoni... | protected static void addEditMenu(MenuBar menuBar) {
MenuBar.MenuItem m;
int buckyBit = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
/****************************** THE EDIT MENU ******************************/
// mnemonic keys available: B JK Q W
// still don't have mnemoni... |
diff --git a/mc-src/net/minecraft/src/MAtDataGatherer.java b/mc-src/net/minecraft/src/MAtDataGatherer.java
index 490032e..f689e03 100644
--- a/mc-src/net/minecraft/src/MAtDataGatherer.java
+++ b/mc-src/net/minecraft/src/MAtDataGatherer.java
@@ -1,213 +1,213 @@
package net.minecraft.src;
import java.util.ArrayList;
... | true | true | void tickRoutine()
{
if (this.cyclicTick % 64 == 0)
{
EntityPlayer player = this.mod.manager().getMinecraft().thePlayer;
long x = (long) Math.floor(player.posX);
long y = (long) Math.floor(player.posY);
long z = (long) Math.floor(player.posZ);
if (this.cyclicTick == 0)
{
if (this.lastLar... | void tickRoutine()
{
if (this.cyclicTick % 64 == 0)
{
EntityPlayer player = this.mod.manager().getMinecraft().thePlayer;
long x = (long) Math.floor(player.posX);
long y = (long) Math.floor(player.posY);
long z = (long) Math.floor(player.posZ);
if (this.cyclicTick % 256 == 0)
{
if (this.l... |
diff --git a/algebricks-core/src/main/java/edu/uci/ics/algebricks/compiler/algebra/operators/physical/HashPartitionMergeExchangePOperator.java b/algebricks-core/src/main/java/edu/uci/ics/algebricks/compiler/algebra/operators/physical/HashPartitionMergeExchangePOperator.java
index 7f6480a..1bcc55f 100644
--- a/algebrick... | true | true | public Pair<IConnectorDescriptor, TargetConstraint> createConnectorDescriptor(JobSpecification spec,
IOperatorSchema opSchema, JobGenContext context) throws AlgebricksException {
int[] keys = new int[orderColumns.size()];
IBinaryHashFunctionFactory[] hashFunctionFactories = new IBinaryHa... | public Pair<IConnectorDescriptor, TargetConstraint> createConnectorDescriptor(JobSpecification spec,
IOperatorSchema opSchema, JobGenContext context) throws AlgebricksException {
int[] keys = new int[partitionFields.size()];
IBinaryHashFunctionFactory[] hashFunctionFactories = new IBinar... |
diff --git a/src/main/java/ch/uzh/ddis/katts/bolts/join/TemporalJoinBolt.java b/src/main/java/ch/uzh/ddis/katts/bolts/join/TemporalJoinBolt.java
index aaf2c0b..576f899 100644
--- a/src/main/java/ch/uzh/ddis/katts/bolts/join/TemporalJoinBolt.java
+++ b/src/main/java/ch/uzh/ddis/katts/bolts/join/TemporalJoinBolt.java
@@ ... | false | true | public void execute(Event event) {
Set<SimpleVariableBindings> joinResults;
SimpleVariableBindings newBindings = new SimpleVariableBindings(event.getTuple());
String streamId = event.getEmittedOn().getStream().getId();
this.evictionRuleManager.addBindingsToIndices(newBindings, streamId);
this.evictionRuleMa... | public void execute(Event event) {
Set<SimpleVariableBindings> joinResults;
SimpleVariableBindings newBindings = new SimpleVariableBindings(event.getTuple());
String streamId = event.getEmittedOn().getStream().getId();
this.evictionRuleManager.addBindingsToIndices(newBindings, streamId);
this.evictionRuleMa... |
diff --git a/src/main/java/org/spoutcraft/launcher/skin/BackgroundImageWorker.java b/src/main/java/org/spoutcraft/launcher/skin/BackgroundImageWorker.java
index a3d3752..8173ad4 100644
--- a/src/main/java/org/spoutcraft/launcher/skin/BackgroundImageWorker.java
+++ b/src/main/java/org/spoutcraft/launcher/skin/Background... | true | true | protected Object doInBackground() {
Download download = null;
try {
if (!backgroundImage.exists() || backgroundImage.length() < 10 * 1024 || System.currentTimeMillis() - backgroundImage.lastModified() > IMAGE_CYCLE_TIME) {
download = new Download("http://get.spout.org/splash/random.png", backgroundImage.get... | protected Object doInBackground() {
Download download = null;
try {
if (!backgroundImage.exists() || backgroundImage.length() < 10 * 1024 || System.currentTimeMillis() - backgroundImage.lastModified() > IMAGE_CYCLE_TIME) {
download = new Download("http://get.spout.org/splash/random.png", backgroundImage.get... |
diff --git a/obo2solr/src/main/java/edu/toronto/cs/cidb/obo2solr/maps/AbstractNumericValueMap.java b/obo2solr/src/main/java/edu/toronto/cs/cidb/obo2solr/maps/AbstractNumericValueMap.java
index 0bbf5e0d7..0988f21c1 100644
--- a/obo2solr/src/main/java/edu/toronto/cs/cidb/obo2solr/maps/AbstractNumericValueMap.java
+++ b/o... | true | true | public List<K> sort(final boolean descending)
{
K[] sortedKeys = (K[]) this.keySet().toArray();
Arrays.sort(sortedKeys, new Comparator<K>()
{
public int compare(K a, K b)
{
if (safeGet(a).equals(safeGet(b))) {
... | public List<K> sort(final boolean descending)
{
K[] sortedKeys = (K[]) this.keySet().toArray();
Arrays.sort(sortedKeys, new Comparator<K>()
{
public int compare(K a, K b)
{
if (safeGet(a).equals(safeGet(b))) {
... |
diff --git a/source/com/mucommander/ui/action/CommandAction.java b/source/com/mucommander/ui/action/CommandAction.java
index a95944c7..9df8d318 100644
--- a/source/com/mucommander/ui/action/CommandAction.java
+++ b/source/com/mucommander/ui/action/CommandAction.java
@@ -1,91 +1,91 @@
/*
* This file is part of muComm... | true | true | public void performAction() {
FileSet selectedFiles;
// Retrieves the current selection.
selectedFiles = mainFrame.getActiveTable().getSelectedFiles();
// If no files are either selected or marked, aborts.
if(selectedFiles.size() == 0)
return;
// If we'... | public void performAction() {
FileSet selectedFiles;
// Retrieves the current selection.
selectedFiles = mainFrame.getActiveTable().getSelectedFiles();
// If no files are either selected or marked, aborts.
if(selectedFiles.size() == 0)
return;
// If we'... |
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java
index e2c296245..0b0deae50 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.... | true | true | public static String makeLocationContext(ICompilationUnit compilationUnit, IProblem problem) {
//extra from the source the innacurate token
//and "highlight" it using some underneath ^^^^^
//put some context around too.
//this code assumes that the font used in the console is fi... | public static String makeLocationContext(ICompilationUnit compilationUnit, IProblem problem) {
//extra from the source the innacurate token
//and "highlight" it using some underneath ^^^^^
//put some context around too.
//this code assumes that the font used in the console is fi... |
diff --git a/src/org/bouncycastle/asn1/x9/X962NamedCurves.java b/src/org/bouncycastle/asn1/x9/X962NamedCurves.java
index 06e47b6e..764017e7 100644
--- a/src/org/bouncycastle/asn1/x9/X962NamedCurves.java
+++ b/src/org/bouncycastle/asn1/x9/X962NamedCurves.java
@@ -1,621 +1,621 @@
package org.bouncycastle.asn1.x9;
imp... | true | true | protected X9ECParameters createParameters()
{
BigInteger c2m163v1n = new BigInteger("0400000000000000000001E60FC8821CC74DAEAFC1", 16);
BigInteger c2m163v1h = BigInteger.valueOf(2);
ECCurve c2m163v1 = new ECCurve.F2m(
163,
1, 2, 8,
... | protected X9ECParameters createParameters()
{
BigInteger c2m163v1n = new BigInteger("0400000000000000000001E60FC8821CC74DAEAFC1", 16);
BigInteger c2m163v1h = BigInteger.valueOf(2);
ECCurve c2m163v1 = new ECCurve.F2m(
163,
1, 2, 8,
... |
diff --git a/JDigest/src/jdigest/JLeftClippingLabel.java b/JDigest/src/jdigest/JLeftClippingLabel.java
index 8628ceb..748168f 100755
--- a/JDigest/src/jdigest/JLeftClippingLabel.java
+++ b/JDigest/src/jdigest/JLeftClippingLabel.java
@@ -1,80 +1,80 @@
package jdigest;
import java.awt.FontMetrics;
import java.awt.ev... | false | true | private void adjustText()
{
int availTextWidth = getSize().width
- getInsets().left - getInsets().right;
String text = fullText;
System.out.println(text);
if(availTextWidth <= 0)
super.setText(text);
else
{
FontMetrics fm = getFontMetrics(getFont());
if(fm.stringWidth(text) <= availTextWidth)... | private void adjustText()
{
int availTextWidth = getSize().width
- getInsets().left - getInsets().right;
String text = fullText;
if(availTextWidth <= 0)
super.setText(text);
else
{
FontMetrics fm = getFontMetrics(getFont());
if(fm.stringWidth(text) <= availTextWidth)
super.setText(text);
... |
diff --git a/src/org/odk/collect/android/activities/InstanceChooserList.java b/src/org/odk/collect/android/activities/InstanceChooserList.java
index 17d2c18..809185b 100644
--- a/src/org/odk/collect/android/activities/InstanceChooserList.java
+++ b/src/org/odk/collect/android/activities/InstanceChooserList.java
@@ -1,1... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// must be at the beginning of any activity that can be called from an external intent
try {
Collect.createODKDirs();
} catch (RuntimeException e) {
createErrorDialo... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// must be at the beginning of any activity that can be called from an external intent
try {
Collect.createODKDirs();
} catch (RuntimeException e) {
createErrorDialo... |
diff --git a/src/QueryResult.java b/src/QueryResult.java
index 0f1521f..b9552ee 100644
--- a/src/QueryResult.java
+++ b/src/QueryResult.java
@@ -1,58 +1,55 @@
/**
* Wraps the (document, score) pair as a result of a query
* @author mircea
*
*/
public class QueryResult implements Comparable<QueryResult> {
... | true | true | public int compareTo(QueryResult result) {
if (score > result.score) {
return -1;
}
else if (score == result.score) {
return 0;
}
else {
return 1;
}
}
| public int compareTo(QueryResult result) {
if (score > result.score) {
return -1;
}
else {
return 1;
}
}
|
diff --git a/TantalumCore/src/main/java/org/tantalum/net/HttpGetter.java b/TantalumCore/src/main/java/org/tantalum/net/HttpGetter.java
index fc620437..3fce0dd1 100644
--- a/TantalumCore/src/main/java/org/tantalum/net/HttpGetter.java
+++ b/TantalumCore/src/main/java/org/tantalum/net/HttpGetter.java
@@ -1,1145 +1,1148 @@... | false | true | public Object exec(final Object in) throws InterruptedException {
staggerHeaderStartTime();
byte[] out = null;
startTime = System.currentTimeMillis();
if (!(in instanceof String) || ((String) in).indexOf(':') <= 0) {
final String s = "HTTP operation was passed a bad url=... | public Object exec(final Object in) throws InterruptedException {
staggerHeaderStartTime();
byte[] out = null;
startTime = System.currentTimeMillis();
if (!(in instanceof String) || ((String) in).indexOf(':') <= 0) {
final String s = "HTTP operation was passed a bad url=... |
diff --git a/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/treeoperations/FindResponsibleNodesForComponentNameOp.java b/org.eclipse.jubula.client.core/src/org/eclipse/jubula/client/core/businessprocess/treeoperations/FindResponsibleNodesForComponentNameOp.java
index afedb2953..fc05d7... | true | true | public boolean operate(ITreeTraverserContext<INodePO> ctx, INodePO parent,
INodePO node, boolean alreadyVisited) {
if (Hibernator.isPoSubclass(node, ICapPO.class)) {
final ICapPO cap = (ICapPO)node;
CompNameResult result =
m_compNameBP.findCompName(ctx.g... | public boolean operate(ITreeTraverserContext<INodePO> ctx, INodePO parent,
INodePO node, boolean alreadyVisited) {
if (Hibernator.isPoSubclass(node, ICapPO.class)) {
final ICapPO cap = (ICapPO)node;
CompNameResult result =
m_compNameBP.findCompName(ctx.g... |
diff --git a/src/state/Factory_PartB.java b/src/state/Factory_PartB.java
index d4bdc37..059667c 100644
--- a/src/state/Factory_PartB.java
+++ b/src/state/Factory_PartB.java
@@ -1,86 +1,86 @@
package state;
import agents.*;
import gui.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import... | true | true | public Factory_PartB() {
//Setup member variables
guiNestList = new ArrayList<GUI_Nest>(8);
guiPartList = new ArrayList<GUI_Part>();
compList = new ArrayList<GUI_Component>();
partRobot = new GUI_PartRobot(this);
compList.add(partRobot);
for(int i=0; i<8; i++) {
GUI_Nest n = new GUI_Nest(i, (i/4... | public Factory_PartB() {
//Setup member variables
guiNestList = new ArrayList<GUI_Nest>(8);
guiPartList = new ArrayList<GUI_Part>();
compList = new ArrayList<GUI_Component>();
partRobot = new GUI_PartRobot(this);
compList.add(partRobot);
for(int i=0; i<8; i++) {
GUI_Nest n = new GUI_Nest(i, (i/4... |
diff --git a/src/main/java/jawher/moulder/moulds/AttrModifier.java b/src/main/java/jawher/moulder/moulds/AttrModifier.java
index ecb8bcb..2f978f4 100644
--- a/src/main/java/jawher/moulder/moulds/AttrModifier.java
+++ b/src/main/java/jawher/moulder/moulds/AttrModifier.java
@@ -1,75 +1,77 @@
package jawher.moulder.mould... | true | true | public List<NodeAndData> process(ElementAndData nd, MoulderUtils f) {
attr.bind(nd);
value.bind(nd);
List<NodeAndData> res = new ArrayList<NodeAndData>();
String attr = this.attr.get();
if (attr != null) {
String value = this.value == null ? null : this.value.get();
if (value == null) {
nd.node.rem... | public List<NodeAndData> process(ElementAndData nd, MoulderUtils f) {
attr.bind(nd);
if (value != null) {
value.bind(nd);
}
List<NodeAndData> res = new ArrayList<NodeAndData>();
String attr = this.attr.get();
if (attr != null) {
String value = this.value == null ? null : this.value.get();
if (valu... |
diff --git a/src/main/java/com/minecraftdimensions/bungeesuite/managers/BansManager.java b/src/main/java/com/minecraftdimensions/bungeesuite/managers/BansManager.java
index 50db83b..f1fa304 100644
--- a/src/main/java/com/minecraftdimensions/bungeesuite/managers/BansManager.java
+++ b/src/main/java/com/minecraftdimensio... | true | true | public static void tempBanPlayer(String sender, String player,
int minute, int hour, int day, String message) throws SQLException {
BSPlayer p = PlayerManager.getPlayer(sender);
BSPlayer t = PlayerManager.getSimilarPlayer(player);
if(t!=null){
player = t.getName();
}
if(!PlayerManager.playerExists(play... | public static void tempBanPlayer(String sender, String player,
int minute, int hour, int day, String message) throws SQLException {
BSPlayer p = PlayerManager.getPlayer(sender);
BSPlayer t = PlayerManager.getSimilarPlayer(player);
if(t!=null){
player = t.getName();
}
if(!PlayerManager.playerExists(play... |
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/ProtocolVersion.java b/core/src/main/java/org/bouncycastle/crypto/tls/ProtocolVersion.java
index b32bd9d3e..a87d93412 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/ProtocolVersion.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/Protocol... | false | true | public static ProtocolVersion get(int major, int minor)
throws IOException
{
switch (major)
{
case 0x03:
switch (minor)
{
case 0x00:
return SSLv3;
case 0x01:
return TLSv10;
case 0x02:
... | public static ProtocolVersion get(int major, int minor)
throws IOException
{
switch (major)
{
case 0x03:
{
switch (minor)
{
case 0x00:
return SSLv3;
case 0x01:
return TLSv10;
case ... |
diff --git a/src/com/guntherdw/bukkit/tweakcraft/Commands/General/CommandWhois.java b/src/com/guntherdw/bukkit/tweakcraft/Commands/General/CommandWhois.java
index b173e4e..97612d0 100644
--- a/src/com/guntherdw/bukkit/tweakcraft/Commands/General/CommandWhois.java
+++ b/src/com/guntherdw/bukkit/tweakcraft/Commands/Gener... | true | true | public boolean executeCommand(CommandSender sender, String command, String[] args, TweakcraftUtils plugin)
throws PermissionsException, CommandSenderException, CommandUsageException, CommandException {
// First search for a nick
Boolean getIP = true;
if(sender instanceof Player) ... | public boolean executeCommand(CommandSender sender, String command, String[] args, TweakcraftUtils plugin)
throws PermissionsException, CommandSenderException, CommandUsageException, CommandException {
// First search for a nick
Boolean getIP = true;
if(sender instanceof Player) ... |
diff --git a/hk2/osgi-main/src/java/org/jvnet/hk2/osgimain/Main.java b/hk2/osgi-main/src/java/org/jvnet/hk2/osgimain/Main.java
index cf9dc6905..c938591a6 100644
--- a/hk2/osgi-main/src/java/org/jvnet/hk2/osgimain/Main.java
+++ b/hk2/osgi-main/src/java/org/jvnet/hk2/osgimain/Main.java
@@ -1,394 +1,395 @@
/*
* DO NOT ... | false | true | public void start(BundleContext context) throws Exception
{
this.context = context;
bundlesDir = new File(context.getProperty(BUNDLES_DIR));
if (bundlesDir == null) {
// nothing to do, let's return
return;
}
String autostartBundlesProp = context.ge... | public void start(BundleContext context) throws Exception
{
this.context = context;
final String bundlesDirPath = context.getProperty(BUNDLES_DIR);
if (bundlesDirPath == null) {
// nothing to do, let's return
return;
}
bundlesDir = new File(bundles... |
diff --git a/MODSRC/vazkii/tinkerer/tile/TileEntityMagnet.java b/MODSRC/vazkii/tinkerer/tile/TileEntityMagnet.java
index 843cb3e7..a3195bcc 100644
--- a/MODSRC/vazkii/tinkerer/tile/TileEntityMagnet.java
+++ b/MODSRC/vazkii/tinkerer/tile/TileEntityMagnet.java
@@ -1,71 +1,71 @@
/**
* This class was created by <Vazkii>... | true | true | public void updateEntity() {
int redstone = 0;
for(ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS)
redstone = Math.max(redstone, worldObj.getIndirectPowerLevelTo(xCoord + dir.offsetX, yCoord + dir.offsetY, zCoord + dir.offsetZ, dir.ordinal()));
if(redstone > 0) {
double x1 = xCoord + 0.5;
double ... | public void updateEntity() {
int redstone = 0;
for(ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS)
redstone = Math.max(redstone, worldObj.getIndirectPowerLevelTo(xCoord + dir.offsetX, yCoord + dir.offsetY, zCoord + dir.offsetZ, dir.ordinal()));
if(redstone > 0) {
double x1 = xCoord + 0.5;
double ... |
diff --git a/src/main/java/org/springframework/data/hadoop/fs/FsShellPermissions.java b/src/main/java/org/springframework/data/hadoop/fs/FsShellPermissions.java
index d6369cac..5387b47b 100644
--- a/src/main/java/org/springframework/data/hadoop/fs/FsShellPermissions.java
+++ b/src/main/java/org/springframework/data/had... | false | true | static void changePermissions(FileSystem fs, Configuration config, Op op, boolean recursive, String group, String... uris) {
String[] argvs = new String[0];
if (recursive) {
ObjectUtils.addObjectToArray(argvs, "-R");
}
argvs = concatAll(argvs, new String[] { group }, uris);
// Hadoop 1.0.x
if (!IS_HAD... | static void changePermissions(FileSystem fs, Configuration config, Op op, boolean recursive, String group, String... uris) {
String[] argvs = new String[0];
if (recursive) {
ObjectUtils.addObjectToArray(argvs, "-R");
}
argvs = concatAll(argvs, new String[] { group }, uris);
// Hadoop 1.0.x
if (!IS_HAD... |
diff --git a/bridge-impl/src/main/java/com/liferay/faces/bridge/renderkit/icefaces/HeadRendererICEfacesImpl.java b/bridge-impl/src/main/java/com/liferay/faces/bridge/renderkit/icefaces/HeadRendererICEfacesImpl.java
index 3589e2dd3..1f589f5c3 100644
--- a/bridge-impl/src/main/java/com/liferay/faces/bridge/renderkit/icef... | false | true | protected List<UIComponent> getFirstResources(FacesContext facesContext, UIComponent uiComponent) {
List<UIComponent> resources = super.getFirstResources(facesContext, uiComponent);
// ICEfaces Theme
ExternalContext externalContext = facesContext.getExternalContext();
String primeFacesThemeName = externalCon... | protected List<UIComponent> getFirstResources(FacesContext facesContext, UIComponent uiComponent) {
List<UIComponent> resources = super.getFirstResources(facesContext, uiComponent);
// ICEfaces Theme
ExternalContext externalContext = facesContext.getExternalContext();
String iceFacesThemeName = externalConte... |
diff --git a/src/jpa-engine/core/src/test/java/com/impetus/kundera/persistence/PersistenceUnitLoaderTest.java b/src/jpa-engine/core/src/test/java/com/impetus/kundera/persistence/PersistenceUnitLoaderTest.java
index 17d3632d0..0d0b9eb37 100644
--- a/src/jpa-engine/core/src/test/java/com/impetus/kundera/persistence/Persi... | true | true | public void testLoadPersistenceUnitLoading()
{
try
{
Enumeration<URL> xmls = this.getClass().getClassLoader()
.getResources("META-INF/persistence.xml");
while (xmls.hasMoreElements())
{
final String _pattern = "/core/target... | public void testLoadPersistenceUnitLoading()
{
try
{
Enumeration<URL> xmls = this.getClass().getClassLoader()
.getResources("META-INF/persistence.xml");
while (xmls.hasMoreElements())
{
final String _pattern = "/core/target... |
diff --git a/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java b/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
index 4e28260dd..af6a42597 100644
--- a/tools/maven2/maven-bundle-plugin/src/main/java/or... | true | true | public void execute() throws MojoExecutionException {
try {
File jarFile = new File(buildDirectory, project.getBuild()
.getFinalName()
+ ".jar");
// Setup defaults
String bsn = project.getGroupId() + "." + project.getArtifactId();
Properties properties = new Properties();
properties.put(An... | public void execute() throws MojoExecutionException {
try {
File jarFile = new File(buildDirectory, project.getBuild()
.getFinalName()
+ ".jar");
// Setup defaults
String bsn = project.getGroupId() + "." + project.getArtifactId();
Properties properties = new Properties();
properties.put(An... |
diff --git a/src/oca/java/src/org/opennebula/client/Client.java b/src/oca/java/src/org/opennebula/client/Client.java
index 426837378..b5386efc1 100644
--- a/src/oca/java/src/org/opennebula/client/Client.java
+++ b/src/oca/java/src/org/opennebula/client/Client.java
@@ -1,248 +1,248 @@
/*********************************... | true | true | private void setOneAuth(String secret) throws ClientConfigurationException
{
String oneSecret = secret;
try
{
if(oneSecret == null)
{
String oneAuthEnv = System.getenv("ONE_AUTH");
File authFile;
if ( oneAuthEnv ... | private void setOneAuth(String secret) throws ClientConfigurationException
{
String oneSecret = secret;
try
{
if(oneSecret == null)
{
String oneAuthEnv = System.getenv("ONE_AUTH");
File authFile;
if ( oneAuthEnv ... |
diff --git a/HBaseAdapter/src/main/java/com/nearinfinity/hbaseclient/HBaseClient.java b/HBaseAdapter/src/main/java/com/nearinfinity/hbaseclient/HBaseClient.java
index a872ad9f..2a1fc015 100644
--- a/HBaseAdapter/src/main/java/com/nearinfinity/hbaseclient/HBaseClient.java
+++ b/HBaseAdapter/src/main/java/com/nearinfinit... | true | true | public boolean deleteRow(String tableName, UUID uuid) throws IOException {
if (uuid == null) {
return false;
}
TableInfo info = getTableInfo(tableName);
long tableId = info.getId();
List<Delete> deleteList = new LinkedList<Delete>();
//Delete data row
... | public boolean deleteRow(String tableName, UUID uuid) throws IOException {
if (uuid == null) {
return false;
}
TableInfo info = getTableInfo(tableName);
long tableId = info.getId();
List<Delete> deleteList = new LinkedList<Delete>();
//Delete data row
... |
diff --git a/Data/MotionData.java b/Data/MotionData.java
index df7c987..ee1279c 100644
--- a/Data/MotionData.java
+++ b/Data/MotionData.java
@@ -1,158 +1,158 @@
package Tools.Data;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.FileInputStream;
impo... | false | true | public boolean readFile(BufferedReader in){
String str;
data.clear();
try{
while((str = in.readLine()) != null){
Vec3D[] newData = new Vec3D[JOINT_NUMBER];
for(int i = 0; i < JOINT_NUMBER; i++){
if(str == null){
data.clear();
System.out.println("Illegal data format");
return fal... | public boolean readFile(BufferedReader in){
String str;
data.clear();
try{
while((str = in.readLine()) != null){
Vec3D[] newData = new Vec3D[JOINT_NUMBER];
for(int i = 0; i < JOINT_NUMBER; i++){
if(str == null && i > 0){
data.clear();
System.out.println("Illegal data format");
r... |
diff --git a/workspace/tv-show-crawler/src/com/example/tvshowcrawler/TVShowEditActivity.java b/workspace/tv-show-crawler/src/com/example/tvshowcrawler/TVShowEditActivity.java
index ef96513..c19f7df 100644
--- a/workspace/tv-show-crawler/src/com/example/tvshowcrawler/TVShowEditActivity.java
+++ b/workspace/tv-show-crawl... | true | true | public void finish()
{
// called automatically when back button is pressed
Intent intent = new Intent();
EditText nameEditText = (EditText) findViewById(R.id.editTextName);
EditText seasonEditText = (EditText) findViewById(R.id.editTextSeason);
EditText episodeEditText = (EditText) findViewById(R.id.editT... | public void finish()
{
// called automatically when back button is pressed
Intent intent = new Intent();
EditText nameEditText = (EditText) findViewById(R.id.editTextName);
EditText seasonEditText = (EditText) findViewById(R.id.editTextSeason);
EditText episodeEditText = (EditText) findViewById(R.id.editT... |
diff --git a/plugins/org.eclipse.viatra2.patternlanguage.emf.ui/src/org/eclipse/viatra2/patternlanguage/ui/labeling/EMFPatternLanguageLabelProvider.java b/plugins/org.eclipse.viatra2.patternlanguage.emf.ui/src/org/eclipse/viatra2/patternlanguage/ui/labeling/EMFPatternLanguageLabelProvider.java
index 15ec75bb..872219d0 ... | true | true | String getValueText(ValueReference ref) {
if (ref instanceof VariableValue) {
return ((VariableValue) ref).getValue().getVar();
} else if (ref instanceof IntValue) {
return Integer.toString(((IntValue) ref).getValue());
} else if (ref instanceof BoolValue) {
return Boolean.toString(((BoolValue) ref).isV... | String getValueText(ValueReference ref) {
if (ref instanceof VariableValue) {
return ((VariableValue) ref).getValue().getVar();
} else if (ref instanceof IntValue) {
return Integer.toString(((IntValue) ref).getValue());
} else if (ref instanceof BoolValue) {
return Boolean.toString(((BoolValue) ref).isV... |
diff --git a/src/com/mobilepearls/sokoban/SokobanGameState.java b/src/com/mobilepearls/sokoban/SokobanGameState.java
index 7a56f1d..302e560 100644
--- a/src/com/mobilepearls/sokoban/SokobanGameState.java
+++ b/src/com/mobilepearls/sokoban/SokobanGameState.java
@@ -1,225 +1,229 @@
package com.mobilepearls.sokoban;
i... | true | true | public boolean tryMove(int dx, int dy) {
if (dx == 0 && dy == 0)
return false;
if (dx != 0 && dy != 0) {
throw new IllegalArgumentException("Can only move straight lines. dx=" + dx + ", dy=" + dy);
}
int steps = Math.max(Math.abs(dx), Math.abs(dy));
int stepX = (dx == 0) ? 0 : (int) Math.signum(dx);
... | public boolean tryMove(int dx, int dy) {
if (dx == 0 && dy == 0)
return false;
if (dx != 0 && dy != 0) {
throw new IllegalArgumentException("Can only move straight lines. dx=" + dx + ", dy=" + dy);
}
int steps = Math.max(Math.abs(dx), Math.abs(dy));
int stepX = (dx == 0) ? 0 : (int) Math.signum(dx);
... |
diff --git a/openregistry-service-impl/src/main/java/org/openregistry/core/service/identifier/DefaultNetIdManagementService.java b/openregistry-service-impl/src/main/java/org/openregistry/core/service/identifier/DefaultNetIdManagementService.java
index 5e925732..9ec6b846 100644
--- a/openregistry-service-impl/src/main/... | true | true | public ServiceExecutionResult<Identifier> changePrimaryNetId(String currentNetIdValue, String newNetIdValue) throws IllegalArgumentException, IllegalStateException {
if(currentNetIdValue == newNetIdValue) {
throw new IllegalArgumentException("Primary and Non-Primary net ids cannot be the same");... | public ServiceExecutionResult<Identifier> changePrimaryNetId(String currentNetIdValue, String newNetIdValue) throws IllegalArgumentException, IllegalStateException {
if(currentNetIdValue == newNetIdValue) {
throw new IllegalArgumentException("Primary and Non-Primary net ids cannot be the same");... |
diff --git a/src/cc/game/TestGame/screen/gamescreen/GameScreen.java b/src/cc/game/TestGame/screen/gamescreen/GameScreen.java
index 2de452d..c1fdea5 100644
--- a/src/cc/game/TestGame/screen/gamescreen/GameScreen.java
+++ b/src/cc/game/TestGame/screen/gamescreen/GameScreen.java
@@ -1,41 +1,41 @@
package cc.game.TestGame... | true | true | protected GameScreen(World game, int levelID) {
super(game);
this.levelID = levelID;
try {
this.bgImage = new Image("/res/screens/gamescreens" + this.levelID + ".png");
} catch (SlickException e) {
System.err.println("Couldn't load background image.");
... | protected GameScreen(World game, int levelID) {
super(game);
this.levelID = levelID;
try {
this.bgImage = new Image("/res/screens/gamescreens/" + this.levelID + ".png");
} catch (SlickException e) {
System.err.println("Couldn't load background image.");
... |
diff --git a/plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/translators/TranslatorOverridesPanel.java b/plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/translators/TranslatorOverridesPanel.java
index e10ee063e..ac0f445ad 100644
--- a/plugins/org.teiid.designer.vdb.ui/src/org/teiid/desig... | true | true | public TranslatorOverridesPanel( Composite parent,
Vdb vdb ) {
super(parent, SWT.NONE);
setLayout(new GridLayout());
setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
this.vdb = vdb;
SashForm splitter = new SashForm(this, SWT.... | public TranslatorOverridesPanel( Composite parent,
Vdb vdb ) {
super(parent, SWT.NONE);
setLayout(new GridLayout());
setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
this.vdb = vdb;
SashForm splitter = new SashForm(this, SWT.... |
diff --git a/plugins/org.eclipse.uml2.diagram.clazz/src/org/eclipse/uml2/diagram/clazz/edit/parts/UMLEditPartFactory.java b/plugins/org.eclipse.uml2.diagram.clazz/src/org/eclipse/uml2/diagram/clazz/edit/parts/UMLEditPartFactory.java
index b025e39a6..8dc255d11 100644
--- a/plugins/org.eclipse.uml2.diagram.clazz/src/org/... | true | true | public EditPart createEditPart(EditPart context, Object model) {
if (model instanceof View) {
View view = (View) model;
switch (UMLVisualIDRegistry.getVisualID(view)) {
case PackageEditPart.VISUAL_ID:
return new PackageEditPart(view);
case Package2EditPart.VISUAL_ID:
return new Package2EditPart... | public EditPart createEditPart(EditPart context, Object model) {
if (model instanceof View) {
View view = (View) model;
switch (UMLVisualIDRegistry.getVisualID(view)) {
case PackageEditPart.VISUAL_ID:
return new PackageEditPart(view);
case Package2EditPart.VISUAL_ID:
return new Package2EditPart... |
diff --git a/src/com/trellmor/berrymotes/provider/EmotesProvider.java b/src/com/trellmor/berrymotes/provider/EmotesProvider.java
index 3ab14a6..c88f6bb 100644
--- a/src/com/trellmor/berrymotes/provider/EmotesProvider.java
+++ b/src/com/trellmor/berrymotes/provider/EmotesProvider.java
@@ -1,247 +1,247 @@
/*
* BerryMo... | true | true | public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String sortOrder) {
SQLiteDatabase db = mDatabaseHelper.getReadableDatabase();
SelectionBuilder builder = new SelectionBuilder();
Context ctx = getContext();
assert ctx != null;
Cursor c;
int uriMatch = sUriMatc... | public Cursor query(Uri uri, String[] projection, String selection,
String[] selectionArgs, String sortOrder) {
SQLiteDatabase db = mDatabaseHelper.getReadableDatabase();
SelectionBuilder builder = new SelectionBuilder();
Context ctx = getContext();
assert ctx != null;
Cursor c;
int uriMatch = sUriMatc... |
diff --git a/doc/examples/notify/ExampleLowBattery.java b/doc/examples/notify/ExampleLowBattery.java
index 7c54b4a8..91e02b1c 100644
--- a/doc/examples/notify/ExampleLowBattery.java
+++ b/doc/examples/notify/ExampleLowBattery.java
@@ -1,105 +1,105 @@
/*
* java-gnome, a UI library for writing GTK and GNOME programs f... | true | true | public static void main(String[] args) {
final StatusIcon icon;
final Notification notification;
/*
* Initialize GTK.
*/
Gtk.init(args);
/*
* Initialize notification system.
*/
Notify.init("low-battery-example");
/*
... | public static void main(String[] args) {
final StatusIcon icon;
final Notification notification;
/*
* Initialize GTK.
*/
Gtk.init(args);
/*
* Initialize notification system.
*/
Notify.init("low-battery-example");
/*
... |
diff --git a/src/com/example/reptilexpress/transportapi/BusInformation.java b/src/com/example/reptilexpress/transportapi/BusInformation.java
index 67ed598..bdac25e 100644
--- a/src/com/example/reptilexpress/transportapi/BusInformation.java
+++ b/src/com/example/reptilexpress/transportapi/BusInformation.java
@@ -1,246 +... | true | true | public List<Arrival> busTimetable(final Arrival arrival) throws Exception {
final Calendar now = Calendar.getInstance(Locale.UK);
final Uri url = Uri.parse("http://transportapi.com").buildUpon()
.path(String.format("v3/uk/bus/route/%s/%s/inbound/%s/%s/%s/timetable",
arrival.bus.operator, arrival... | public List<Arrival> busTimetable(final Arrival arrival) throws Exception {
final Calendar now = Calendar.getInstance(Locale.UK);
final Uri url = Uri.parse("http://transportapi.com").buildUpon()
.path(String.format("v3/uk/bus/route/%s/%s/inbound/%s/%s/%s/timetable",
arrival.bus.operator, arrival... |
diff --git a/trunk/GeoBeagle/src/com/google/code/geobeagle/xmlimport/EventHandlerGpx.java b/trunk/GeoBeagle/src/com/google/code/geobeagle/xmlimport/EventHandlerGpx.java
index 485e9213..461ae410 100644
--- a/trunk/GeoBeagle/src/com/google/code/geobeagle/xmlimport/EventHandlerGpx.java
+++ b/trunk/GeoBeagle/src/com/google... | false | true | public boolean text(String fullPath, String text) throws IOException {
text = text.trim();
//Log.d("GeoBeagle", "fullPath " + fullPath + ", text " + text);
if (fullPath.equals(XPATH_WPTNAME)) {
mCachePersisterFacade.wptName(text);
} else if (fullPath.equals(XPATH_WPTDESC)... | public boolean text(String fullPath, String text) throws IOException {
String trimmedText = text.trim();
//Log.d("GeoBeagle", "fullPath " + fullPath + ", text " + text);
if (fullPath.equals(XPATH_WPTNAME)) {
mCachePersisterFacade.wptName(trimmedText);
} else if (fullPath.... |
diff --git a/Product/Controller/src/org/openremote/controller/servlet/AdministratorServlet.java b/Product/Controller/src/org/openremote/controller/servlet/AdministratorServlet.java
index 9ca6ff7..5881111 100644
--- a/Product/Controller/src/org/openremote/controller/servlet/AdministratorServlet.java
+++ b/Product/Contro... | false | true | private String setDataInTemplate()
{
Map<String, Object> root = new HashMap<String, Object>();
String result = "";
String errorString = "";
int numClients = 0;
boolean isAuthenticationEnabled = false;
Collection clientCollection = null, settingCollection = null;
R... | private String setDataInTemplate()
{
Map<String, Object> root = new HashMap<String, Object>();
String result = "";
String errorString = "", warningString = "";
int numClients = 0;
boolean isAuthenticationEnabled = false;
Collection clientCollection = null, settingCollection = ... |
diff --git a/components/bio-formats/src/loci/formats/RandomAccessStream.java b/components/bio-formats/src/loci/formats/RandomAccessStream.java
index 19f3feffb..0611f2d5f 100644
--- a/components/bio-formats/src/loci/formats/RandomAccessStream.java
+++ b/components/bio-formats/src/loci/formats/RandomAccessStream.java
@@ ... | false | true | protected int checkEfficiency(int toRead) throws IOException {
if (Boolean.FALSE.equals(fileCache.get(this))) reopen();
if (compressed) {
// can only read from the input stream
if (afp < fp) {
dis.close();
BufferedInputStream bis = new BufferedInputStream(
new FileInpu... | protected int checkEfficiency(int toRead) throws IOException {
if (Boolean.FALSE.equals(fileCache.get(this))) reopen();
if (compressed) {
// can only read from the input stream
if (afp < fp) {
dis.close();
BufferedInputStream bis = new BufferedInputStream(
new FileInpu... |
diff --git a/jnalib/src/com/sun/jna/Pointer.java b/jnalib/src/com/sun/jna/Pointer.java
index 4f9bb210..deb7cc21 100644
--- a/jnalib/src/com/sun/jna/Pointer.java
+++ b/jnalib/src/com/sun/jna/Pointer.java
@@ -1,781 +1,781 @@
/* This library is free software; you can redistribute it and/or
* modify it under the terms o... | true | true | public String getString(long offset) {
String encoding = System.getProperty("jna.encoding");
if (encoding != null) {
long len = indexOf(offset, (byte)0);
if (len != -1) {
if (len > Integer.MAX_VALUE) {
throw new OutOfMemoryError("String exc... | public String getString(long offset) {
String encoding = System.getProperty("jna.encoding");
if (encoding != null) {
long len = indexOf(offset, (byte)0);
if (len != -1) {
if (len > Integer.MAX_VALUE) {
throw new OutOfMemoryError("String exc... |
diff --git a/src/cgeo/geocaching/cgeoimages.java b/src/cgeo/geocaching/cgeoimages.java
index 4e6b4938d..118730e9a 100644
--- a/src/cgeo/geocaching/cgeoimages.java
+++ b/src/cgeo/geocaching/cgeoimages.java
@@ -1,301 +1,299 @@
package cgeo.geocaching;
import java.util.ArrayList;
import android.os.Bundle;
import and... | false | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// init
activity = this;
res = this.getResources();
app = (cgeoapplication) this.getApplication();
settings = new cgSettings(this, getSharedPreferences(cgSettings.preferences, 0));
base = new cgBase(app, settings, getS... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// init
activity = this;
res = this.getResources();
app = (cgeoapplication) this.getApplication();
settings = new cgSettings(this, getSharedPreferences(cgSettings.preferences, 0));
base = new cgBase(app, settings, getS... |
diff --git a/src/com/android/settings/wifi/AdvancedWifiSettings.java b/src/com/android/settings/wifi/AdvancedWifiSettings.java
index 5d673c454..d8a408068 100644
--- a/src/com/android/settings/wifi/AdvancedWifiSettings.java
+++ b/src/com/android/settings/wifi/AdvancedWifiSettings.java
@@ -1,197 +1,203 @@
/*
* Copyrig... | false | true | private void initPreferences() {
CheckBoxPreference notifyOpenNetworks =
(CheckBoxPreference) findPreference(KEY_NOTIFY_OPEN_NETWORKS);
notifyOpenNetworks.setChecked(Secure.getInt(getContentResolver(),
Secure.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 0) == 1);
noti... | private void initPreferences() {
CheckBoxPreference notifyOpenNetworks =
(CheckBoxPreference) findPreference(KEY_NOTIFY_OPEN_NETWORKS);
notifyOpenNetworks.setChecked(Secure.getInt(getContentResolver(),
Secure.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 0) == 1);
noti... |
diff --git a/lucene/core/src/test/org/apache/lucene/util/TestVersion.java b/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
index 2a62fca5e..867caaf6e 100644
--- a/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
+++ b/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
@@ -1,44 +1,44 ... | true | true | public void testDeprecations() throws Exception {
Version values[] = Version.values();
// all but the latest version should be deprecated
for (int i = 0; i < values.length-2; i++) {
assertTrue(values[i].name() + " should be deprecated",
Version.class.getField(values[i].name()).isAnnotatio... | public void testDeprecations() throws Exception {
Version values[] = Version.values();
// all but the latest version should be deprecated
for (int i = 0; i < values.length-2; i++) {
assertNotNull(values[i].name() + " should be deprecated",
Version.class.getField(values[i].name()).getAnnot... |
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/folding/AbstractASTFoldingStructureProvider.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/text/folding/AbstractASTFoldingStructureProvider.java
index d1e521db2..11893ef68 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/ec... | true | true | protected IRegion[] computeCommentsRanges(String contents) {
try {
if (contents == null)
return new IRegion[0];
List regions = new ArrayList();
Document d = new Document(contents);
installDocumentStuff(d);
List docRegionList = new ArrayList();
ITypedRegion region = null;
int offset = 0;
w... | protected IRegion[] computeCommentsRanges(String contents) {
try {
if (contents == null)
return new IRegion[0];
List regions = new ArrayList();
Document d = new Document(contents);
installDocumentStuff(d);
List docRegionList = new ArrayList();
ITypedRegion region = null;
int offset = 0;
w... |
diff --git a/common/plugins/eu.esdihumboldt.hale.common.core/src/eu/esdihumboldt/hale/common/core/io/report/impl/IOMessageImpl.java b/common/plugins/eu.esdihumboldt.hale.common.core/src/eu/esdihumboldt/hale/common/core/io/report/impl/IOMessageImpl.java
index 63b479159..eb48a1494 100644
--- a/common/plugins/eu.esdihumbo... | true | true | public String getFormattedMessage() {
if (getLineNumber() == 0) {
return this.getMessage();
} else {
return String.format("%s, on line %d, column %d", getMessage(), getLineNumber(), getColumn());
}
}
| public String getFormattedMessage() {
if (getLineNumber() <= 0) {
return this.getMessage();
} else {
return String.format("%s, on line %d, column %d", getMessage(), getLineNumber(), getColumn());
}
}
|
diff --git a/adm/src/main/java/de/escidoc/core/adm/business/admin/ReindexStatus.java b/adm/src/main/java/de/escidoc/core/adm/business/admin/ReindexStatus.java
index 5c8b65e18..2a05a7b6a 100644
--- a/adm/src/main/java/de/escidoc/core/adm/business/admin/ReindexStatus.java
+++ b/adm/src/main/java/de/escidoc/core/adm/busin... | false | true | public String toString() {
final StringBuilder result = new StringBuilder();
if (getCompletionDate() != null) {
result.append("<message>reindexing finished at ").append(getCompletionDate()).append("</message>\n");
}
else {
result.append("<message>reindexing c... | public String toString() {
final StringBuilder result = new StringBuilder();
if (getCompletionDate() != null) {
result
.append("<message>reindexing finished at ")
.append(getCompletionDate()).append("</message>\n");
}
else {
re... |
diff --git a/Poker/src/client/ClientGame.java b/Poker/src/client/ClientGame.java
index dfd67c4..3436778 100644
--- a/Poker/src/client/ClientGame.java
+++ b/Poker/src/client/ClientGame.java
@@ -1,84 +1,85 @@
package client;
import commands.Command;
import poker.GUI.ClientView;
/**
* The ClientGame thread tha... | true | true | public void run() {
while(running) {
synchronized (this.taskList) {
if (this.taskList.isEmpty()) {
try {
taskList.wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
Command task = taskList.getNextTask();
task.execute(model, controller);
}
}
| public void run() {
while(running) {
synchronized (this.taskList) {
if (this.taskList.isEmpty()) {
try {
taskList.wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
Command task = taskList.getNextTask();
task.execute(model, controller);
System.... |
diff --git a/plugins/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PLSUtil.java b/plugins/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PLSUtil.java
index 1bdf82274..59ce1cffa 100644
--- a/plugins/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PLSUtil.java
+++ b/plugins/org.ecli... | false | true | public static IQueryDefinition populateBindings( IQueryDefinition queryDefn )
throws DataException
{
try
{
List<String> reCalGroupNames = getReCalGroupNames( queryDefn,
queryDefn.getQueryExecutionHints( )
.getTargetGroupInstances( ) );
Iterator<IBinding> bindingIt = queryDefn.getBindings( )... | public static IQueryDefinition populateBindings( IQueryDefinition queryDefn )
throws DataException
{
try
{
List<String> reCalGroupNames = getReCalGroupNames( queryDefn,
queryDefn.getQueryExecutionHints( )
.getTargetGroupInstances( ) );
Iterator<IBinding> bindingIt = queryDefn.getBindings( )... |
diff --git a/src/jvm/backtype/hadoop/pail/PailOutputFormat.java b/src/jvm/backtype/hadoop/pail/PailOutputFormat.java
index 35b339a..52e99a4 100644
--- a/src/jvm/backtype/hadoop/pail/PailOutputFormat.java
+++ b/src/jvm/backtype/hadoop/pail/PailOutputFormat.java
@@ -1,121 +1,121 @@
package backtype.hadoop.pail;
impor... | true | true | public void write(Text k, BytesWritable v) throws IOException {
String attr = k.toString();
OpenAttributeFile oaf = _outputters.get(attr);
if(oaf!=null && oaf.numBytesWritten >= FILE_LIMIT_SIZE_BYTES) {
closeAttributeFile(oaf);
oaf = null;
... | public void write(Text k, BytesWritable v) throws IOException {
String attr = k.toString();
OpenAttributeFile oaf = _outputters.get(attr);
if(oaf!=null && oaf.numBytesWritten >= FILE_LIMIT_SIZE_BYTES) {
closeAttributeFile(oaf);
oaf = null;
... |
diff --git a/chordest/src/main/java/chordest/beat/BeatRootBeatTimesProvider.java b/chordest/src/main/java/chordest/beat/BeatRootBeatTimesProvider.java
index ae291ae..d466796 100644
--- a/chordest/src/main/java/chordest/beat/BeatRootBeatTimesProvider.java
+++ b/chordest/src/main/java/chordest/beat/BeatRootBeatTimesProvi... | true | true | public static double[] generateDefaultBeats(String wavFilePath) {
LOG.warn("Error occured during BeatRoot processing, generating a dummy sequence of beats");
WavFile wavFile = null;
try {
wavFile = WavFile.openWavFile(new File(wavFilePath));
int samplingRate = (int) wavFile.getSampleRate();
int frames =... | public static double[] generateDefaultBeats(String wavFilePath) {
LOG.warn("Beat detection error, generating a dummy sequence of beats");
WavFile wavFile = null;
try {
wavFile = WavFile.openWavFile(new File(wavFilePath));
int samplingRate = (int) wavFile.getSampleRate();
int frames = (int) wavFile.getNu... |
diff --git a/src/main/java/hudson/plugins/jdepend/JDependReporter.java b/src/main/java/hudson/plugins/jdepend/JDependReporter.java
index 297caa1..5bf0fd9 100644
--- a/src/main/java/hudson/plugins/jdepend/JDependReporter.java
+++ b/src/main/java/hudson/plugins/jdepend/JDependReporter.java
@@ -1,121 +1,121 @@
package hu... | false | true | public String getReport(Locale locale) throws MavenReportException {
XhtmlSinkFactory sinkFactory = new XhtmlSinkFactory();
Sink sink;
JDependReportGenerator report = new JDependReportGenerator();
ByteArrayOutputStream htmlStream = new ByteArrayOutputStream();
try
{ ... | public String getReport(Locale locale) throws MavenReportException {
XhtmlSinkFactory sinkFactory = new XhtmlSinkFactory();
Sink sink;
JDependReportGenerator report = new JDependReportGenerator();
ByteArrayOutputStream htmlStream = new ByteArrayOutputStream();
try
{ ... |
diff --git a/src/test/java/org/concord/otrunk/test/OTMapTestView.java b/src/test/java/org/concord/otrunk/test/OTMapTestView.java
index a2595a0..f3835c8 100644
--- a/src/test/java/org/concord/otrunk/test/OTMapTestView.java
+++ b/src/test/java/org/concord/otrunk/test/OTMapTestView.java
@@ -1,88 +1,88 @@
package org.conc... | true | true | public JComponent getComponent(OTObject otObject, boolean editable) {
OTResourceMap otMap = ((OTMapTestObject)otObject).getResourceMap();
if(otMap.size() == 0){
Set entries = map.entrySet();
Iterator iter = entries.iterator();
while(iter.hasNext()){
Map.Entry entry = (Map.Entry)iter.next();
map.pu... | public JComponent getComponent(OTObject otObject, boolean editable) {
OTResourceMap otMap = ((OTMapTestObject)otObject).getResourceMap();
if(otMap.size() == 0){
Set entries = map.entrySet();
Iterator iter = entries.iterator();
while(iter.hasNext()){
Map.Entry entry = (Map.Entry)iter.next();
otMap.... |
diff --git a/LoginPanel.java b/LoginPanel.java
index 8f066b5..f54f6ab 100644
--- a/LoginPanel.java
+++ b/LoginPanel.java
@@ -1,102 +1,104 @@
import javax.swing.*;
import com.sun.jna.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class LoginPanel extends JPa... | true | true | public void actionPerformed(ActionEvent e)
{
if(e.getSource()==login)
{
CStdLib c = (CStdLib)Native.loadLibrary("c", CStdLib.class);
char[] temp= text.getPassword();
String pass = new String(temp);
String usern = user.getText();
Memory passmem = new Memory(pass.length());
passmem.... | public void actionPerformed(ActionEvent e)
{
if(e.getSource()==login)
{
CStdLib c = (CStdLib)Native.loadLibrary("c", CStdLib.class);
char[] temp= text.getPassword();
String pass = new String(temp);
String usern = user.getText();
Memory passmem = new Memory(pass.length());
passmem.... |
diff --git a/plugins/org.python.pydev/src/org/python/pydev/ui/pythonpathconf/MyEnvWorkingCopy.java b/plugins/org.python.pydev/src/org/python/pydev/ui/pythonpathconf/MyEnvWorkingCopy.java
index 912eb5090..ed4be70c5 100644
--- a/plugins/org.python.pydev/src/org/python/pydev/ui/pythonpathconf/MyEnvWorkingCopy.java
+++ b/p... | true | true | private void updateInfo() {
if(info == null){
//no info set, nothing to do
return;
}
HashMap<String, String> map = new HashMap<String, String>((Map)this.attributes.get(ILaunchManager.ATTR_ENVIRONMENT_VARIABLES));
//The interpreter info should never co... | private void updateInfo() {
if(info == null){
//no info set, nothing to do
return;
}
Map existing = (Map)this.attributes.get(ILaunchManager.ATTR_ENVIRONMENT_VARIABLES);
HashMap<String, String> map = null;
if(existing != null){
map ... |
diff --git a/common/net/minecraftforge/fluids/FluidRegistry.java b/common/net/minecraftforge/fluids/FluidRegistry.java
index 0eb95ca36..5031fa62b 100644
--- a/common/net/minecraftforge/fluids/FluidRegistry.java
+++ b/common/net/minecraftforge/fluids/FluidRegistry.java
@@ -1,158 +1,158 @@
package net.minecraftforge.flu... | true | true | public static Fluid lookupFluidForBlock(Block block)
{
if (fluidBlocks == null)
{
fluidBlocks = new BiMap<Block, Fluid>();
for (Fluid fluid : fluids.values())
{
if (fluid.canBePlacedInWorld() && Block.blocksList[fluid.getBlockID()] != null)
... | public static Fluid lookupFluidForBlock(Block block)
{
if (fluidBlocks == null)
{
fluidBlocks = HashBiMap.create();
for (Fluid fluid : fluids.values())
{
if (fluid.canBePlacedInWorld() && Block.blocksList[fluid.getBlockID()] != null)
... |
diff --git a/src/edgruberman/bukkit/waterfix/Main.java b/src/edgruberman/bukkit/waterfix/Main.java
index 4caba7a..30229d0 100644
--- a/src/edgruberman/bukkit/waterfix/Main.java
+++ b/src/edgruberman/bukkit/waterfix/Main.java
@@ -1,46 +1,46 @@
package edgruberman.bukkit.waterfix;
import org.bukkit.Material;
import ... | true | true | public void onBlockFromTo(final BlockFromToEvent event) {
final Block from = event.getBlock();
if (from.getTypeId() != Material.STATIONARY_WATER.getId() || from.getData() != Main.WATER_FULL) return;
final Block to = event.getToBlock();
if (to.getTypeId() != Material.AIR.getId()) ret... | public void onBlockFromTo(final BlockFromToEvent event) {
final Block from = event.getBlock();
if (from.getTypeId() != Material.STATIONARY_WATER.getId() || from.getData() != Main.WATER_FULL) return;
final Block to = event.getToBlock();
if (to.getTypeId() != Material.AIR.getId()) ret... |
diff --git a/src/java/davmail/imap/ImapConnection.java b/src/java/davmail/imap/ImapConnection.java
index 474530b..d404d02 100644
--- a/src/java/davmail/imap/ImapConnection.java
+++ b/src/java/davmail/imap/ImapConnection.java
@@ -1,1488 +1,1488 @@
/*
* DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway
* Copyright ... | true | true | public void run() {
String line;
String commandId = null;
IMAPTokenizer tokens;
try {
ExchangeSessionFactory.checkConfig();
sendClient("* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN] IMAP4rev1 DavMail server ready");
for (; ;) {
line = read... | public void run() {
String line;
String commandId = null;
IMAPTokenizer tokens;
try {
ExchangeSessionFactory.checkConfig();
sendClient("* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN] IMAP4rev1 DavMail server ready");
for (; ;) {
line = read... |
diff --git a/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/internal/launching/TC_RunnerLaunching.java b/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/internal/launching/TC_RunnerLaunching.java
index e7f265f8..2e902145 100644
--- a/org.rubypeople.rdt.launching.tests/src/org/rubypeople/rdt/interna... | true | true | protected String getCommandLine(IProject project, String debugFile, boolean debug) {
StringBuffer buffer = new StringBuffer();
buffer.append(" \"");
buffer.append(new Path(interpreter.getInstallLocation().getAbsolutePath()).append("bin").append("ruby").toOSString());
buffer.append("\" ");
buffer.append(INTER... | protected String getCommandLine(IProject project, String debugFile, boolean debug) {
StringBuffer buffer = new StringBuffer();
buffer.append(" \"");
buffer.append(new Path(interpreter.getInstallLocation().getAbsolutePath()).append("bin").append("ruby").toOSString());
buffer.append("\" ");
buffer.append(INTER... |
diff --git a/ccalc/rpc/src/main/java/org/gwtapp/ccalc/rpc/proc/calculator/Calculator2.java b/ccalc/rpc/src/main/java/org/gwtapp/ccalc/rpc/proc/calculator/Calculator2.java
index a2633767..4daded0f 100644
--- a/ccalc/rpc/src/main/java/org/gwtapp/ccalc/rpc/proc/calculator/Calculator2.java
+++ b/ccalc/rpc/src/main/java/org... | true | true | private void calculate(Currency currency) {
List<Point> plus = new ArrayList<Point>();
List<Point> minus = new ArrayList<Point>();
if (currency != baseCurrency) {
double SP = 0.0;
double SM = 0.0;
for (int i = 0; i < calculations.size(); i++) {
Calculation calculation = calculations.get(i);
if (... | private void calculate(Currency currency) {
List<Point> plus = new ArrayList<Point>();
List<Point> minus = new ArrayList<Point>();
if (currency != baseCurrency) {
double SP = 0.0;
double SM = 0.0;
for (int i = 0; i < calculations.size(); i++) {
Calculation calculation = calculations.get(i);
if (... |
diff --git a/src/com/android/deskclock/stopwatch/StopwatchService.java b/src/com/android/deskclock/stopwatch/StopwatchService.java
index 76e6522f1..a76b7ce81 100644
--- a/src/com/android/deskclock/stopwatch/StopwatchService.java
+++ b/src/com/android/deskclock/stopwatch/StopwatchService.java
@@ -1,438 +1,440 @@
pack... | true | true | private void setNotification(long clockBaseTime, boolean clockRunning, int numLaps) {
Context context = getApplicationContext();
// Intent to load the app for a non-button click.
Intent intent = new Intent(context, DeskClock.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
... | private void setNotification(long clockBaseTime, boolean clockRunning, int numLaps) {
Context context = getApplicationContext();
// Intent to load the app for a non-button click.
Intent intent = new Intent(context, DeskClock.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
... |
diff --git a/src/core/SoundStore.java b/src/core/SoundStore.java
index b4f27f3..e4f6a7d 100644
--- a/src/core/SoundStore.java
+++ b/src/core/SoundStore.java
@@ -1,236 +1,236 @@
package core;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.newdawn.slic... | true | true | private void initialize() throws SlickException {
addToMusic("Crackling Fire", new Music("resources/sounds/crackling_fire.ogg"));
addToMusic("GBU", new Music("resources/sounds/GBU.ogg"));
addToMusic("River", new Music("resources/sounds/river.ogg"));
addToSounds("Smooth", new Sound("resources/sounds/smooth.ogg"... | private void initialize() throws SlickException {
addToMusic("Crackling Fire", new Music("resources/sounds/crackling_fire.ogg"));
addToMusic("GBU", new Music("resources/sounds/GBU.ogg"));
addToMusic("River", new Music("resources/sounds/river.ogg"));
addToSounds("Smooth", new Sound("resources/sounds/smooth.ogg"... |
diff --git a/rdfbean-sesame/src/main/java/com/mysema/rdfbean/sesame/RDFSource.java b/rdfbean-sesame/src/main/java/com/mysema/rdfbean/sesame/RDFSource.java
index 3f35502c..a35f606d 100644
--- a/rdfbean-sesame/src/main/java/com/mysema/rdfbean/sesame/RDFSource.java
+++ b/rdfbean-sesame/src/main/java/com/mysema/rdfbean/ses... | true | true | public InputStream openStream() throws MalformedURLException, IOException {
if (resource.startsWith("classpath:")){
return getClass().getResourceAsStream(resource.substring(10));
}else{
return new URL(resource).openStream();
}
}
| public InputStream openStream() throws MalformedURLException, IOException {
if (resource.startsWith("classpath:")){
String name = resource.substring(10);
if (name.startsWith("/")) {
name = name.substring(1);
}
return RDFSource.class.getClassLoa... |
diff --git a/cotrix/cotrix-web-demo/src/main/java/org/cotrix/web/demo/client/credential/CredentialsPopupController.java b/cotrix/cotrix-web-demo/src/main/java/org/cotrix/web/demo/client/credential/CredentialsPopupController.java
index 979066e9..dca00f25 100644
--- a/cotrix/cotrix-web-demo/src/main/java/org/cotrix/web/d... | true | true | void onUserBarReady(ExtensibleComponentReadyEvent componentReadyEvent) {
if (componentReadyEvent.getComponentName().equals("UserBar")) {
Log.trace("UserBar Ready");
HasWidgets extensionArea = componentReadyEvent.getHasExtensionArea().getExtensionArea();
InlineHTML demoLink = new InlineHTML("It's only a ... | void onUserBarReady(ExtensibleComponentReadyEvent componentReadyEvent) {
if (componentReadyEvent.getComponentName().equals("UserBar")) {
Log.trace("UserBar Ready");
HasWidgets extensionArea = componentReadyEvent.getHasExtensionArea().getExtensionArea();
InlineHTML demoLink = new InlineHTML("It's just a ... |
diff --git a/src/java-server-framework/org/xins/server/Function.java b/src/java-server-framework/org/xins/server/Function.java
index 135a49259..9c0c59aba 100644
--- a/src/java-server-framework/org/xins/server/Function.java
+++ b/src/java-server-framework/org/xins/server/Function.java
@@ -1,345 +1,345 @@
/*
* $Id$
... | true | true | FunctionResult handleCall(long start,
FunctionRequest functionRequest,
String ip)
throws IllegalStateException {
// Check state first
assertUsable();
// Assign a call ID
int callID = assignCallID();
// C... | FunctionResult handleCall(long start,
FunctionRequest functionRequest,
String ip)
throws IllegalStateException {
// Check state first
assertUsable();
// Assign a call ID
int callID = assignCallID();
// C... |
diff --git a/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeWithPagingTest.java b/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeWithPagingTest.java
index 4c129bb80..cfed013ad 100644
--- a/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeWithPagingTest.java
+++ b/tests/src/org/ho... | false | true | public void _testReconnectWithPaging() throws Exception
{
final byte[] content = new byte[2048];
for (int i=0; i < content.length; ++i) {
content[i] = (byte) i;
}
Map<String, Object> server0Params = new HashMap<String, Object>();
HornetQServer server0 = createHornetQ... | public void _testReconnectWithPaging() throws Exception
{
final byte[] content = new byte[2048];
for (int i=0; i < content.length; ++i) {
content[i] = (byte) i;
}
Map<String, Object> server0Params = new HashMap<String, Object>();
HornetQServer server0 = createHornetQ... |
diff --git a/src/main/java/me/eccentric_nz/TARDIS/listeners/TARDISSonicListener.java b/src/main/java/me/eccentric_nz/TARDIS/listeners/TARDISSonicListener.java
index 062dcbe80..17b3c79c7 100644
--- a/src/main/java/me/eccentric_nz/TARDIS/listeners/TARDISSonicListener.java
+++ b/src/main/java/me/eccentric_nz/TARDIS/listen... | true | true | public void onInteract(PlayerInteractEvent event) {
final Player player = event.getPlayer();
long now = System.currentTimeMillis();
final ItemStack is = player.getItemInHand();
if (is.getType().equals(sonic) && is.hasItemMeta()) {
ItemMeta im = player.getItemInHand().getI... | public void onInteract(PlayerInteractEvent event) {
final Player player = event.getPlayer();
long now = System.currentTimeMillis();
final ItemStack is = player.getItemInHand();
if (is.getType().equals(sonic) && is.hasItemMeta()) {
ItemMeta im = player.getItemInHand().getI... |
diff --git a/osiris2-client-ui/src/com/rameses/osiris2/common/ExplorerListViewController.java b/osiris2-client-ui/src/com/rameses/osiris2/common/ExplorerListViewController.java
index 9b9b4c6d..42943ee5 100644
--- a/osiris2-client-ui/src/com/rameses/osiris2/common/ExplorerListViewController.java
+++ b/osiris2-client-ui/... | true | true | public List<Action> getNodeActions(List<Action> actions) {
addActionOpeners(actions, lookupOpeners("formActions"));
List<String> types = new ArrayList();
types.add(getType());
Node selNode = getSelectedNode();
if (selNode != null) types.add(selNode.getPropertyStri... | public List<Action> getNodeActions(List<Action> actions) {
addActionOpeners(actions, lookupOpeners("formActions"));
List<String> types = new ArrayList();
types.add(getType());
Node selNode = getSelectedNode();
if (selNode != null) {
String type = selNo... |
diff --git a/nuxeo-runtime/src/main/java/org/nuxeo/runtime/model/impl/ComponentManagerImpl.java b/nuxeo-runtime/src/main/java/org/nuxeo/runtime/model/impl/ComponentManagerImpl.java
index 494836b2..4d33826a 100644
--- a/nuxeo-runtime/src/main/java/org/nuxeo/runtime/model/impl/ComponentManagerImpl.java
+++ b/nuxeo-runtim... | true | true | public final void _register(RegistrationInfoImpl ri) {
ComponentName name = ri.getName();
if (isRegistered(name)) {
if (name.getName().startsWith("org.nuxeo.runtime.")) {
// XXX we hide the fact that nuxeo-runtime bundles are
// registered twice
... | public final void _register(RegistrationInfoImpl ri) {
ComponentName name = ri.getName();
if (isRegistered(name)) {
if (name.getName().startsWith("org.nuxeo.runtime.")) {
// XXX we hide the fact that nuxeo-runtime bundles are
// registered twice
... |
diff --git a/ide/plugins/uml2/src/main/java/org/overture/prettyprinter/TypePrettyPrinterVisitor.java b/ide/plugins/uml2/src/main/java/org/overture/prettyprinter/TypePrettyPrinterVisitor.java
index a078f22d86..cad275c30f 100644
--- a/ide/plugins/uml2/src/main/java/org/overture/prettyprinter/TypePrettyPrinterVisitor.java... | true | true | public String defaultSInvariantType(SInvariantType node,
PrettyPrinterEnv question) throws AnalysisException
{
ILexNameToken name = null;
switch(node.kindSInvariantType())
{
case ANamedInvariantType.kindSInvariantType:
name = ((ANamedInvariantType)node).getName();
break;
case ARecordInvariantTy... | public String defaultSInvariantType(SInvariantType node,
PrettyPrinterEnv question) throws AnalysisException
{
ILexNameToken name = null;
switch(node.kindSInvariantType())
{
case ANamedInvariantType.kindSInvariantType:
name = ((ANamedInvariantType)node).getName();
break;
case ARecordInvariantTy... |
diff --git a/src/com/google/javascript/jscomp/DefaultPassConfig.java b/src/com/google/javascript/jscomp/DefaultPassConfig.java
index 06e4c425..95b554bf 100644
--- a/src/com/google/javascript/jscomp/DefaultPassConfig.java
+++ b/src/com/google/javascript/jscomp/DefaultPassConfig.java
@@ -1,1834 +1,1834 @@
/*
* Copyrig... | true | true | protected List<PassFactory> getOptimizations() {
List<PassFactory> passes = Lists.newArrayList();
// TODO(nicksantos): The order of these passes makes no sense, and needs
// to be re-arranged.
if (options.runtimeTypeCheck) {
passes.add(runtimeTypeCheck);
}
passes.add(createEmptyPass("... | protected List<PassFactory> getOptimizations() {
List<PassFactory> passes = Lists.newArrayList();
// TODO(nicksantos): The order of these passes makes no sense, and needs
// to be re-arranged.
if (options.runtimeTypeCheck) {
passes.add(runtimeTypeCheck);
}
passes.add(createEmptyPass("... |
diff --git a/bundles/coffeescript/src/main/java/de/matrixweb/smaller/coffeescript/CoffeescriptProcessor.java b/bundles/coffeescript/src/main/java/de/matrixweb/smaller/coffeescript/CoffeescriptProcessor.java
index 6f01d24..596810e 100644
--- a/bundles/coffeescript/src/main/java/de/matrixweb/smaller/coffeescript/Coffeesc... | true | true | public Resource execute(final VFS vfs, final Resource resource,
final Map<String, String> options) throws IOException {
if (this.node == null) {
try {
this.node = new NodeJsExecutor();
this.node.setModule(getClass().getClassLoader(), "coffeescript-"
+ this.version, "coffees... | public Resource execute(final VFS vfs, final Resource resource,
final Map<String, String> options) throws IOException {
if (this.node == null) {
try {
this.node = new NodeJsExecutor();
this.node.setModule(getClass().getClassLoader(), "coffeescript-"
+ this.version, "coffees... |
diff --git a/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/AddListenerAction.java b/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/AddListenerAction.java
index 8509aed4f..2292c3ce2 100644
--- a/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/AddListenerAction.java
+++ b/gdx/src/com/badlogic/gdx/scenes/scene2d/action... | false | true | public boolean act (float delta) {
Actor actor = (targetActor != null ? targetActor : this.actor);
if (capture)
targetActor.addCaptureListener(listener);
else
targetActor.addListener(listener);
return true;
}
| public boolean act (float delta) {
Actor actor = (targetActor != null ? targetActor : this.actor);
if (capture)
actor.addCaptureListener(listener);
else
actor.addListener(listener);
return true;
}
|
diff --git a/core/src/com/censoredsoftware/Demigods/Engine/Tracked/TrackedModelFactory.java b/core/src/com/censoredsoftware/Demigods/Engine/Tracked/TrackedModelFactory.java
index c4fbc05d..a7d96ccd 100644
--- a/core/src/com/censoredsoftware/Demigods/Engine/Tracked/TrackedModelFactory.java
+++ b/core/src/com/censoredsof... | true | true | public static TrackedBlock createTrackedBlock(Location location, String type, Material material, byte matByte)
{
TrackedLocation trackedLocation = TrackedModelFactory.createUnsavedTrackedLocation(location);
TrackedBlock trackedBlock = new TrackedBlock();
trackedBlock.setLocation(trackedLocation);
trackedBloc... | public static TrackedBlock createTrackedBlock(Location location, String type, Material material, byte matByte)
{
TrackedLocation trackedLocation = TrackedModelFactory.createTrackedLocation(location);
TrackedBlock trackedBlock = new TrackedBlock();
trackedBlock.setLocation(trackedLocation);
trackedBlock.setTy... |
diff --git a/AttributesImpl/src/org/gephi/data/attributes/AttributeFactoryImpl.java b/AttributesImpl/src/org/gephi/data/attributes/AttributeFactoryImpl.java
index 578f4337e..13add384f 100644
--- a/AttributesImpl/src/org/gephi/data/attributes/AttributeFactoryImpl.java
+++ b/AttributesImpl/src/org/gephi/data/attributes/A... | true | true | public AttributeValue newValue(AttributeColumn column, Object value) {
if (value.getClass() != column.getType().getType() && value.getClass() == String.class) {
value = column.getType().parse((String) value);
}
Object managedValue = model.getManagedValue(value, column.getType());... | public AttributeValue newValue(AttributeColumn column, Object value) {
if (value == null) {
return new AttributeValueImpl((AttributeColumnImpl) column, null);
}
if (value.getClass() != column.getType().getType() && value.getClass() == String.class) {
value = column.ge... |
diff --git a/jglfw/src/com/badlogic/jglfw/GlfwCallbacks.java b/jglfw/src/com/badlogic/jglfw/GlfwCallbacks.java
index 8b2f295..25fdece 100644
--- a/jglfw/src/com/badlogic/jglfw/GlfwCallbacks.java
+++ b/jglfw/src/com/badlogic/jglfw/GlfwCallbacks.java
@@ -1,87 +1,87 @@
package com.badlogic.jglfw;
import java.util.Ar... | true | true | public boolean windowClose (long window) {
for (int i = 0, n = processors.size(); i < n; i++)
if (processors.get(i).windowClose(window)) return true;
return false;
}
| public boolean windowClose (long window) {
for (int i = 0, n = processors.size(); i < n; i++)
if (!processors.get(i).windowClose(window)) return false;
return true;
}
|
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java
index 14625938..d1bd9024 100644
--- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java
+++ b/org.eclip... | false | true | public void doFilter(final ServletRequest request,
final ServletResponse rsp, final FilterChain chain)
throws IOException, ServletException {
if (request.getAttribute(ATTRIBUTE_REPOSITORY) != null) {
context.log(MessageFormat.format(HttpServerText.get().internalServerErrorRequestAttributeWasAlreadySet
... | public void doFilter(final ServletRequest request,
final ServletResponse rsp, final FilterChain chain)
throws IOException, ServletException {
if (request.getAttribute(ATTRIBUTE_REPOSITORY) != null) {
context.log(MessageFormat.format(HttpServerText.get().internalServerErrorRequestAttributeWasAlreadySet
... |
diff --git a/tool/src/java/org/sakaiproject/profile2/tool/pages/ViewProfile.java b/tool/src/java/org/sakaiproject/profile2/tool/pages/ViewProfile.java
index 9fae0847..502d07a8 100644
--- a/tool/src/java/org/sakaiproject/profile2/tool/pages/ViewProfile.java
+++ b/tool/src/java/org/sakaiproject/profile2/tool/pages/ViewPr... | true | true | public ViewProfile(final String userUuid) {
log.debug("ViewProfile()");
//setup model to store the actions in the modal windows
final FriendAction friendActionModel = new FriendAction();
//get current user info
User currentUser = sakaiProxy.getUserQuietly(sakaiProxy.getCurrentUserId());
final Stri... | public ViewProfile(final String userUuid) {
log.debug("ViewProfile()");
//setup model to store the actions in the modal windows
final FriendAction friendActionModel = new FriendAction();
//get current user info
User currentUser = sakaiProxy.getUserQuietly(sakaiProxy.getCurrentUserId());
final Stri... |
diff --git a/blocks/sublima-app/src/main/java/com/computas/sublima/app/controller/admin/TopicController.java b/blocks/sublima-app/src/main/java/com/computas/sublima/app/controller/admin/TopicController.java
index 3dce38f8..3295963c 100644
--- a/blocks/sublima-app/src/main/java/com/computas/sublima/app/controller/admin/... | true | true | private void editTopic(AppleResponse res, AppleRequest req, String type, String messages) {
StringBuffer messageBuffer = new StringBuffer();
messageBuffer.append("<c:messages xmlns:c=\"http://xmlns.computas.com/cocoon\">\n");
messageBuffer.append(messages);
Map<String, Object> bizData = new HashMap<S... | private void editTopic(AppleResponse res, AppleRequest req, String type, String messages) {
StringBuffer messageBuffer = new StringBuffer();
messageBuffer.append("<c:messages xmlns:c=\"http://xmlns.computas.com/cocoon\">\n");
messageBuffer.append(messages);
Map<String, Object> bizData = new HashMap<S... |
diff --git a/CubicTestSeleniumExporter/src/main/java/org/cubictest/exporters/selenium/launch/converters/CustomTestStepConverter.java b/CubicTestSeleniumExporter/src/main/java/org/cubictest/exporters/selenium/launch/converters/CustomTestStepConverter.java
index ae8d976b..91de574a 100644
--- a/CubicTestSeleniumExporter/s... | false | true | public void handleCustomStep(SeleniumHolder t, ICustomTestStepHolder cts,
CustomTestStepData data) {
//throw new ExporterException("Custom test step not supported in Selenium runner yet");
CubicTestRemoteRunnerClient runner = t.getCustomStepRunner();
List<String> attributes = new ArrayList<String>();
att... | public void handleCustomStep(SeleniumHolder t, ICustomTestStepHolder cts,
CustomTestStepData data) {
//throw new ExporterException("Custom test step not supported in Selenium runner yet");
CubicTestRemoteRunnerClient runner = t.getCustomStepRunner();
List<String> attributes = new ArrayList<String>();
att... |
diff --git a/lucene/src/java/org/apache/lucene/index/LogMergePolicy.java b/lucene/src/java/org/apache/lucene/index/LogMergePolicy.java
index f50287f7..31791d4b 100644
--- a/lucene/src/java/org/apache/lucene/index/LogMergePolicy.java
+++ b/lucene/src/java/org/apache/lucene/index/LogMergePolicy.java
@@ -1,671 +1,672 @@
... | false | true | public MergeSpecification findMerges(SegmentInfos infos) throws IOException {
final int numSegments = infos.size();
if (verbose())
message("findMerges: " + numSegments + " segments");
// Compute levels, which is just log (base mergeFactor)
// of the size of each segment
final List<SegmentI... | public MergeSpecification findMerges(SegmentInfos infos) throws IOException {
final int numSegments = infos.size();
if (verbose())
message("findMerges: " + numSegments + " segments");
// Compute levels, which is just log (base mergeFactor)
// of the size of each segment
final List<SegmentI... |
diff --git a/om/src/main/java/de/escidoc/core/om/business/renderer/VelocityXmlContainerRenderer.java b/om/src/main/java/de/escidoc/core/om/business/renderer/VelocityXmlContainerRenderer.java
index aacab183c..ac14b56a1 100644
--- a/om/src/main/java/de/escidoc/core/om/business/renderer/VelocityXmlContainerRenderer.java
+... | false | true | private static void addPropertiesValus(final Map<String, Object> values, final Container container)
throws TripleStoreSystemException, EncodingSystemException, IntegritySystemException, FedoraSystemException,
WebserverSystemException {
final String id = container.getId();
values.put... | private static void addPropertiesValus(final Map<String, Object> values, final Container container)
throws TripleStoreSystemException, EncodingSystemException, IntegritySystemException, FedoraSystemException,
WebserverSystemException {
final String id = container.getId();
values.put... |
diff --git a/src/main/java/com/feefighers/TransactionHelper.java b/src/main/java/com/feefighers/TransactionHelper.java
index c4bdf54..980ec17 100644
--- a/src/main/java/com/feefighers/TransactionHelper.java
+++ b/src/main/java/com/feefighers/TransactionHelper.java
@@ -1,32 +1,33 @@
package com.feefighers;
import or... | true | true | public static Transaction generateTransactionAndSetOptions(Options options, boolean defaultCurrency) {
Transaction transaction = new Transaction(TransactionRequestType.purchase);
if(options != null) {
if(options.get("amount") != null) {
transaction.setAmount(String.valueOf(options.get("amount")));
}
... | public static Transaction generateTransactionAndSetOptions(Options options, boolean defaultCurrency) {
Transaction transaction = new Transaction(TransactionRequestType.purchase);
if(options != null) {
if(options.get("amount") != null) {
transaction.setAmount(String.valueOf(options.get("amount")));
}
... |
diff --git a/src/main/java/org/programmerplanet/sshtunnel/model/Tunnel.java b/src/main/java/org/programmerplanet/sshtunnel/model/Tunnel.java
index 59c6e6a..c18d74c 100644
--- a/src/main/java/org/programmerplanet/sshtunnel/model/Tunnel.java
+++ b/src/main/java/org/programmerplanet/sshtunnel/model/Tunnel.java
@@ -1,96 +1... | true | true | public int compareTo(Tunnel other) {
int i = localAddress.compareTo(localAddress);
if (i == 0) {
i = Integer.valueOf(localPort).compareTo(Integer.valueOf(other.localPort));
}
return i;
}
| public int compareTo(Tunnel other) {
int i = localAddress.compareTo(other.localAddress);
if (i == 0) {
i = Integer.valueOf(localPort).compareTo(Integer.valueOf(other.localPort));
}
return i;
}
|
diff --git a/src/main/java/blackboard/plugin/hayabusa/provider/ThemeProvider.java b/src/main/java/blackboard/plugin/hayabusa/provider/ThemeProvider.java
index f871d57..28be97f 100644
--- a/src/main/java/blackboard/plugin/hayabusa/provider/ThemeProvider.java
+++ b/src/main/java/blackboard/plugin/hayabusa/provider/ThemeP... | false | true | public Iterable<Command> getCommands()
{
List<Theme> themes = ThemeManagerFactory.getInstance().getAllThemes();
Set<Command> commands = Sets.newTreeSet();
Context bbCtxt = ContextManagerFactory.getInstance().getContext();
NavigationItem ni = null;
List<PortalBranding> portalBrandings = null;
... | public Iterable<Command> getCommands()
{
List<Theme> themes = ThemeManagerFactory.getInstance().getAllThemes();
Set<Command> commands = Sets.newTreeSet();
Context bbCtxt = ContextManagerFactory.getInstance().getContext();
NavigationItem ni = null;
List<PortalBranding> portalBrandings = null;
... |
diff --git a/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/management/Coordinator.java b/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/management/Coordinator.java
index 85d1fd1b..12c86413 100644
--- a/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/management/Coordinator.ja... | false | true | private void shareRouteToClusterMember(ComChannel pClusterMemberChannel)
{
// determine the HRMID of the cluster member
HRMID tMemberHRMID = pClusterMemberChannel.getPeerHRMID();
// are we on base hierarchy level?
if (getHierarchyLevel().getValue() == 1){ // TODO: isBaseLevel()){
// create the new routi... | private void shareRouteToClusterMember(ComChannel pClusterMemberChannel)
{
// determine the HRMID of the cluster member
HRMID tMemberHRMID = pClusterMemberChannel.getPeerHRMID();
// are we on base hierarchy level?
if (getHierarchyLevel().getValue() == 1){ // TODO: isBaseLevel()){
// create the new routi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.