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/contactlist/src/com/dmdirc/addons/contactlist/ContactListListener.java b/contactlist/src/com/dmdirc/addons/contactlist/ContactListListener.java
index f7fcae6b..4cb5bbad 100644
--- a/contactlist/src/com/dmdirc/addons/contactlist/ContactListListener.java
+++ b/contactlist/src/com/dmdirc/addons/contactlist/Co... | true | true | public void clientAdded(final ChannelClientInfo client) {
final Query query = groupChat.getConnection().
getQuery(client.getClient().getNickname(), false);
query.setIcon("query-" + client.getClient().getAwayState().name().toLowerCase());
}
| public void clientAdded(final ChannelClientInfo client) {
final Query query = groupChat.getOptionalConnection().get()
.getQuery(client.getClient().getNickname(), false);
query.setIcon("query-" + client.getClient().getAwayState().name().toLowerCase());
}
|
diff --git a/opal-shell/src/main/java/org/obiba/opal/shell/commands/ReportCommand.java b/opal-shell/src/main/java/org/obiba/opal/shell/commands/ReportCommand.java
index a10f6a0ae..6723fcba2 100644
--- a/opal-shell/src/main/java/org/obiba/opal/shell/commands/ReportCommand.java
+++ b/opal-shell/src/main/java/org/obiba/op... | true | true | public int execute() {
// Get the report template.
String reportTemplateName = getOptions().getName();
ReportTemplate reportTemplate = this.getOpalRuntime().getOpalConfiguration().getReportTemplate(reportTemplateName);
if(reportTemplate == null) {
getShell().printf("Report template '%s' does not... | public int execute() {
// Get the report template.
String reportTemplateName = getOptions().getName();
ReportTemplate reportTemplate = this.getOpalRuntime().getOpalConfiguration().getReportTemplate(reportTemplateName);
if(reportTemplate == null) {
getShell().printf("Report template '%s' does not... |
diff --git a/src/com/RoboMobo/Map.java b/src/com/RoboMobo/Map.java
index 2d3326e..c45bf8b 100644
--- a/src/com/RoboMobo/Map.java
+++ b/src/com/RoboMobo/Map.java
@@ -1,506 +1,506 @@
package com.RoboMobo;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.gr... | true | true | public void Draw()
{
Paint pa = new Paint();
RMR.c.save();
{
int mapW = this.width * 32;
int mapH = this.height * 32;
Player p = this.p0;
//double mapRotation = Math.toDegrees(Math.asin(Math.abs(this.basexlong - this.baseylong) / Math.sqr... | public void Draw()
{
Paint pa = new Paint();
RMR.c.save();
{
int mapW = this.width * 32;
int mapH = this.height * 32;
Player p = this.p0;
//double mapRotation = Math.toDegrees(Math.asin(Math.abs(this.basexlong - this.baseylong) / Math.sqr... |
diff --git a/enough-polish-j2me/source/src/de/enough/polish/ui/FilteredList.java b/enough-polish-j2me/source/src/de/enough/polish/ui/FilteredList.java
index eb6db60..757ea99 100644
--- a/enough-polish-j2me/source/src/de/enough/polish/ui/FilteredList.java
+++ b/enough-polish-j2me/source/src/de/enough/polish/ui/FilteredL... | false | true | public void itemStateChanged(Item item) {
if (item == this.filterTextField) {
String text = this.filterTextField.getString();
if (text == this.lastFilterText || (text != null && text.equals(this.lastFilterText))) {
return;
}
this.lastFilterText = text;
Object[] itemObjects = this.itemsList.getInte... | public void itemStateChanged(Item item) {
if (item == this.filterTextField) {
String text = this.filterTextField.getString();
if (text == this.lastFilterText || (text != null && text.equals(this.lastFilterText))) {
return;
}
this.lastFilterText = text;
Object[] itemObjects = this.itemsList.getInte... |
diff --git a/src/java/com/idega/block/trade/stockroom/business/StockroomBusinessBean.java b/src/java/com/idega/block/trade/stockroom/business/StockroomBusinessBean.java
index b98bacc..14dbde3 100644
--- a/src/java/com/idega/block/trade/stockroom/business/StockroomBusinessBean.java
+++ b/src/java/com/idega/block/trade/s... | false | true | public float getPrice(int productPriceId, int productId, int priceCategoryId, int currencyId, Timestamp time, int timeframeId, int addressId) throws SQLException, RemoteException {
/**@todo: Implement this com.idega.block.trade.stockroom.business.SupplyManager method*/
/*skila ver�i ef PRICETYPE_PRICE annars... | public float getPrice(int productPriceId, int productId, int priceCategoryId, int currencyId, Timestamp time, int timeframeId, int addressId) throws SQLException, RemoteException {
/**@todo: Implement this com.idega.block.trade.stockroom.business.SupplyManager method*/
/*skila ver�i ef PRICETYPE_PRICE annars... |
diff --git a/src/generator/org/hamcrest/generator/config/XmlConfigurator.java b/src/generator/org/hamcrest/generator/config/XmlConfigurator.java
index f52f8d3..887cba0 100644
--- a/src/generator/org/hamcrest/generator/config/XmlConfigurator.java
+++ b/src/generator/org/hamcrest/generator/config/XmlConfigurator.java
@@ ... | true | true | public static void main(String[] args) throws Exception {
if (args.length != 3) {
System.err.println("Args: config-file generated-class output-dir");
System.err.println("");
System.err.println(" config-file : Path to config file listing matchers to generate sugar for.... | public static void main(String[] args) throws Exception {
if (args.length != 3) {
System.err.println("Args: config-file generated-class output-dir");
System.err.println("");
System.err.println(" config-file : Path to config file listing matchers to generate sugar for.... |
diff --git a/vlc-android/src/org/videolan/vlc/android/DatabaseManager.java b/vlc-android/src/org/videolan/vlc/android/DatabaseManager.java
index 3a916b9d..3f96bcb8 100644
--- a/vlc-android/src/org/videolan/vlc/android/DatabaseManager.java
+++ b/vlc-android/src/org/videolan/vlc/android/DatabaseManager.java
@@ -1,440 +1,... | false | true | public void onCreate(SQLiteDatabase db) {
String createDirTabelQuery = "CREATE TABLE IF NOT EXISTS "
+ DIR_TABLE_NAME + " ("
+ DIR_ROW_PATH + " TEXT PRIMARY KEY NOT NULL"
+ ");";
// Create the directories table
db.execSQL(createDirTabelQuery);
String createMediaTabelQuery ... | public void onCreate(SQLiteDatabase db) {
String createDirTabelQuery = "CREATE TABLE IF NOT EXISTS "
+ DIR_TABLE_NAME + " ("
+ DIR_ROW_PATH + " TEXT PRIMARY KEY NOT NULL"
+ ");";
// Create the directories table
db.execSQL(createDirTabelQuery);
String createMediaTabelQuery ... |
diff --git a/src/java-client-framework/org/xins/client/CallTargetGroup.java b/src/java-client-framework/org/xins/client/CallTargetGroup.java
index 4112e76a6..88358f797 100644
--- a/src/java-client-framework/org/xins/client/CallTargetGroup.java
+++ b/src/java-client-framework/org/xins/client/CallTargetGroup.java
@@ -1,5... | true | true | private final void addActualFunctionCallers(List members)
throws IllegalArgumentException {
int memberCount = members == null ? 0 : members.size();
for (int i = 0; i < memberCount; i++) {
FunctionCaller member;
// Get the member and make sure it is a FunctionCaller instance
... | private final void addActualFunctionCallers(List members)
throws IllegalArgumentException {
int memberCount = members == null ? 0 : members.size();
for (int i = 0; i < memberCount; i++) {
FunctionCaller member;
// Get the member and make sure it is a FunctionCaller instance
... |
diff --git a/src/main/java/org/lastbamboo/common/ice/GeneralIceMediaStreamFactoryImpl.java b/src/main/java/org/lastbamboo/common/ice/GeneralIceMediaStreamFactoryImpl.java
index 5cdc557..3d1cd78 100644
--- a/src/main/java/org/lastbamboo/common/ice/GeneralIceMediaStreamFactoryImpl.java
+++ b/src/main/java/org/lastbamboo/... | true | true | public <T> IceMediaStream newIceMediaStream(
final IceMediaStreamDesc streamDesc, final IceAgent iceAgent,
final DemuxableProtocolCodecFactory protocolCodecFactory,
final Class<T> protocolMessageClass,
final IoHandler udpProtocolIoHandler,
final TurnClientListener delegate... | public <T> IceMediaStream newIceMediaStream(
final IceMediaStreamDesc streamDesc, final IceAgent iceAgent,
final DemuxableProtocolCodecFactory protocolCodecFactory,
final Class<T> protocolMessageClass,
final IoHandler udpProtocolIoHandler,
final TurnClientListener delegate... |
diff --git a/esmska/src/esmska/gui/EditContactPanel.java b/esmska/src/esmska/gui/EditContactPanel.java
index 3b0f1cb5..378717e6 100644
--- a/esmska/src/esmska/gui/EditContactPanel.java
+++ b/esmska/src/esmska/gui/EditContactPanel.java
@@ -1,414 +1,414 @@
/*
* EditContactPanel.java
*
* Created on 26. červenec 200... | true | true | private void initComponents() {
nameTextField = new JTextField();
nameTextField.requestFocusInWindow();
numberTextField = new JTextField() {
@Override
public String getText() {
String text = super.getText();
if (!text.startsWith("+"))
... | private void initComponents() {
nameTextField = new JTextField();
nameTextField.requestFocusInWindow();
numberTextField = new JTextField() {
@Override
public String getText() {
String text = super.getText();
if (StringUtils.isNotEmpty(... |
diff --git a/src/main/java/com/intelix/digihdmi/app/actions/PresetActions.java b/src/main/java/com/intelix/digihdmi/app/actions/PresetActions.java
index 826a0fb..63604d9 100644
--- a/src/main/java/com/intelix/digihdmi/app/actions/PresetActions.java
+++ b/src/main/java/com/intelix/digihdmi/app/actions/PresetActions.java... | true | true | public Task savePresetAndShowMatrixView(ActionEvent ev) {
AbstractButton b = (AbstractButton) ev.getSource();
int index = b.getName().lastIndexOf('_') + 1;
int presetNumber = Integer.parseInt(b.getName().substring(index));
// Get the new name of the preset
NameChangeDlg dlg ... | public Task savePresetAndShowMatrixView(ActionEvent ev) {
AbstractButton b = (AbstractButton) ev.getSource();
int index = b.getName().lastIndexOf('_') + 1;
int presetNumber = Integer.parseInt(b.getName().substring(index));
// Get the new name of the preset
NameChangeDlg dlg ... |
diff --git a/src/main/org/jboss/messaging/core/plugin/ClusteredPostOfficeService.java b/src/main/org/jboss/messaging/core/plugin/ClusteredPostOfficeService.java
index 3e192fd85..01769857c 100644
--- a/src/main/org/jboss/messaging/core/plugin/ClusteredPostOfficeService.java
+++ b/src/main/org/jboss/messaging/core/plugin... | true | true | protected synchronized void startService() throws Exception
{
if (started)
{
throw new IllegalStateException("Service is already started");
}
super.startService();
try
{
TransactionManager tm = getTransactionManagerReference();
ServerPeer serverPee... | protected synchronized void startService() throws Exception
{
if (started)
{
throw new IllegalStateException("Service is already started");
}
super.startService();
try
{
TransactionManager tm = getTransactionManagerReference();
ServerPeer serverPee... |
diff --git a/src/com/uncc/gameday/activities/Search.java b/src/com/uncc/gameday/activities/Search.java
index 3c825ff..f93a6ac 100644
--- a/src/com/uncc/gameday/activities/Search.java
+++ b/src/com/uncc/gameday/activities/Search.java
@@ -1,69 +1,69 @@
package com.uncc.gameday.activities;
import java.util.Collections... | true | true | public void run() {
try {
RegistrationClient client = new RegistrationClient(this.c);
rsvpList = client.listAttendees();
listFetched = true;
} catch (RetrofitError e) {
Toast.makeText(c, R.string.internet_down_error, Toast.LENGTH_SHORT).show();
Log.e("Search", e.getLocalizedMessage());
}
... | public void run() {
try {
RegistrationClient client = new RegistrationClient(this.c);
rsvpList = client.listAttendees();
listFetched = true;
} catch (RetrofitError e) {
Toast.makeText(c, R.string.internet_down_error, Toast.LENGTH_SHORT).show();
Log.e("Search", e.getLocalizedMessage());
}
... |
diff --git a/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java b/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java
index 4b42f8df..49704cfc 100644
--- a/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/views/WSDLBrowseDialog.java
+++ b/plugins/o... | false | true | protected Control createDialogArea(Composite parent) {
setTitle(JBossWSUIMessages.WSDLBrowseDialog_Title);
setMessage(JBossWSUIMessages.WSDLBrowseDialog_Message);
Composite mainComposite = new Composite (parent,SWT.NONE);
GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true);
gridData.horizontalS... | protected Control createDialogArea(Composite parent) {
setTitle(JBossWSUIMessages.WSDLBrowseDialog_Title);
setMessage(JBossWSUIMessages.WSDLBrowseDialog_Message);
Composite mainComposite = new Composite (parent,SWT.NONE);
GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true);
gridData.horizontalS... |
diff --git a/src/openmap/com/bbn/openmap/gui/time/TimeSliderLayer.java b/src/openmap/com/bbn/openmap/gui/time/TimeSliderLayer.java
index 0ea6e3a1..48123867 100644
--- a/src/openmap/com/bbn/openmap/gui/time/TimeSliderLayer.java
+++ b/src/openmap/com/bbn/openmap/gui/time/TimeSliderLayer.java
@@ -1,1042 +1,1042 @@
// ***... | true | true | public synchronized OMGraphicList getControlWidgetList(Projection proj) {
Projection projection = getProjection();
OMGraphicList controlWidgetList = new OMGraphicList();
// triangle indicating center of selection
ImageIcon selectionPointImage;
DrawingAttributes da = new DrawingAttri... | public synchronized OMGraphicList getControlWidgetList(Projection proj) {
Projection projection = getProjection();
OMGraphicList controlWidgetList = new OMGraphicList();
// triangle indicating center of selection
ImageIcon selectionPointImage;
DrawingAttributes da = new DrawingAttri... |
diff --git a/src/com/zavteam/plugins/Commands.java b/src/com/zavteam/plugins/Commands.java
index 468c1b4..16fa46b 100644
--- a/src/com/zavteam/plugins/Commands.java
+++ b/src/com/zavteam/plugins/Commands.java
@@ -1,282 +1,282 @@
package com.zavteam.plugins;
import java.util.ArrayList;
import java.util.HashMap;
im... | true | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
String freeVariable;
if (args.length == 0 || args[0].equalsIgnoreCase("help")) {
if (sender.hasPermission("zavautomessager.view")) {
if (args.length == 1 || args.length == 0) {
MessagesHandler.listHelpPage(1,... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
String freeVariable;
if (args.length == 0 || args[0].equalsIgnoreCase("help")) {
if (sender.hasPermission("zavautomessager.view")) {
if (args.length == 1 || args.length == 0) {
MessagesHandler.listHelpPage(1,... |
diff --git a/core/java/src/net/i2p/client/SessionIdleTimer.java b/core/java/src/net/i2p/client/SessionIdleTimer.java
index 354a2b633..f4661b73b 100644
--- a/core/java/src/net/i2p/client/SessionIdleTimer.java
+++ b/core/java/src/net/i2p/client/SessionIdleTimer.java
@@ -1,117 +1,117 @@
package net.i2p.client;
/*
* ... | false | true | public SessionIdleTimer(I2PAppContext context, I2PSessionImpl session, boolean reduce, boolean shutdown) {
_context = context;
_session = session;
_reduceEnabled = reduce;
_shutdownEnabled = shutdown;
if (! (reduce || shutdown))
throw new IllegalArgumentException(... | public SessionIdleTimer(I2PAppContext context, I2PSessionImpl session, boolean reduce, boolean shutdown) {
_context = context;
_session = session;
_reduceEnabled = reduce;
_shutdownEnabled = shutdown;
if (! (reduce || shutdown))
throw new IllegalArgumentException(... |
diff --git a/src/edu/upenn/ircs/lignos/morsel/CorpusLoader.java b/src/edu/upenn/ircs/lignos/morsel/CorpusLoader.java
index 3f1c08e..437d81d 100644
--- a/src/edu/upenn/ircs/lignos/morsel/CorpusLoader.java
+++ b/src/edu/upenn/ircs/lignos/morsel/CorpusLoader.java
@@ -1,120 +1,120 @@
/*************************************... | true | true | public static Lexicon loadWordlist(String wordListPath, String encoding, boolean verbose) {
try {
Lexicon lex = new Lexicon();
// Open the word list and get each word
BufferedReader input = new BufferedReader(new InputStreamReader(new FileInputStream(wordListPath), encoding));
String line;
i... | public static Lexicon loadWordlist(String wordListPath, String encoding, boolean verbose) {
try {
Lexicon lex = new Lexicon();
// Open the word list and get each word
BufferedReader input = new BufferedReader(new InputStreamReader(new FileInputStream(wordListPath), encoding));
String line;
l... |
diff --git a/grisu-client-lib-old/src/main/java/org/vpac/grisu/client/model/template/postprocessor/ConvertToBytes.java b/grisu-client-lib-old/src/main/java/org/vpac/grisu/client/model/template/postprocessor/ConvertToBytes.java
index 4d4c322..162d15c 100644
--- a/grisu-client-lib-old/src/main/java/org/vpac/grisu/client/... | true | true | public void process(String fqan) throws PostProcessException {
Integer mb;
try {
mb = Integer.parseInt(element.getTextContent());
} catch (Exception e) {
throw new PostProcessException(
"Could not process specified memory.", e);
}
Long bytes = new Long(mb * 1024);
element.setTextContent(bytes... | public void process(String fqan) throws PostProcessException {
Integer mb;
try {
mb = Integer.parseInt(element.getTextContent());
} catch (Exception e) {
throw new PostProcessException(
"Could not process specified memory.", e);
}
Long bytes = new Long(mb * 1024 * 1024);
element.setTextConten... |
diff --git a/hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/OgmTestCase.java b/hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/OgmTestCase.java
index 773a4b172..d8bb658b8 100644
--- a/hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/OgmTestCase.java
+++ b/h... | true | true | protected void buildConfiguration() throws Exception {
if ( getSessions() != null ) {
getSessions().close();
}
try {
setCfg( new Configuration() );
//Grid specific configuration
cfg.setProperty( Environment.DIALECT, NoopDialect.class.getName() );
cfg.setProperty( CacheManagerServiceProvider.INFIN... | protected void buildConfiguration() throws Exception {
if ( getSessions() != null ) {
getSessions().close();
}
try {
setCfg( new Configuration() );
//Grid specific configuration
cfg.setProperty( Environment.DIALECT, NoopDialect.class.getName() );
cfg.setProperty( CacheManagerServiceProvider.INFIN... |
diff --git a/v7/appcompat/src/android/support/v7/internal/view/menu/MenuDialogHelper.java b/v7/appcompat/src/android/support/v7/internal/view/menu/MenuDialogHelper.java
index 7f433eca4..a6e29a3b0 100644
--- a/v7/appcompat/src/android/support/v7/internal/view/menu/MenuDialogHelper.java
+++ b/v7/appcompat/src/android/sup... | true | true | public void show(IBinder windowToken) {
// Many references to mMenu, create local reference
final MenuBuilder menu = mMenu;
// Get the builder for the dialog
final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext());
// Need to force Light Menu theme as... | public void show(IBinder windowToken) {
// Many references to mMenu, create local reference
final MenuBuilder menu = mMenu;
// Get the builder for the dialog
final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext());
// Need to force Light Menu theme as... |
diff --git a/source/de/tuclausthal/submissioninterface/persistence/dao/impl/SubmissionDAO.java b/source/de/tuclausthal/submissioninterface/persistence/dao/impl/SubmissionDAO.java
index 8075af5..61bd081 100644
--- a/source/de/tuclausthal/submissioninterface/persistence/dao/impl/SubmissionDAO.java
+++ b/source/de/tuclaus... | true | true | public boolean deleteIfNoFiles(Submission submission, File submissionPath) {
Session session = HibernateSessionHelper.getSession();
Transaction tx = session.beginTransaction();
session.lock(submission, LockMode.UPGRADE);
boolean result = false;
if (submissionPath.listFiles().length == 0) {
session.delete(... | public boolean deleteIfNoFiles(Submission submission, File submissionPath) {
Session session = HibernateSessionHelper.getSession();
Transaction tx = session.beginTransaction();
session.lock(submission, LockMode.UPGRADE);
boolean result = false;
if (submissionPath.listFiles().length == 0 && submissionPath.del... |
diff --git a/ui/api/src/main/java/org/jboss/forge/ui/util/Callables.java b/ui/api/src/main/java/org/jboss/forge/ui/util/Callables.java
index 2db6827f4..3ada8151a 100644
--- a/ui/api/src/main/java/org/jboss/forge/ui/util/Callables.java
+++ b/ui/api/src/main/java/org/jboss/forge/ui/util/Callables.java
@@ -1,74 +1,74 @@
... | false | true | public static <T> T call(Callable<T> c)
{
if (c == null)
{
return null;
}
try
{
return c.call();
}
catch (RuntimeException re)
{
throw re;
}
catch (Exception e)
{
throw new RuntimeException(e);
}
}
| public static <T> T call(Callable<T> c)
{
if (c == null)
{
return null;
}
try
{
return c.call();
}
catch (RuntimeException e)
{
throw e;
}
catch (Exception e)
{
throw new RuntimeException("Error invoking Callable... |
diff --git a/iwsn/runtime.wsn-app/src/main/java/de/uniluebeck/itm/tr/runtime/wsnapp/WSNDeviceAppImpl.java b/iwsn/runtime.wsn-app/src/main/java/de/uniluebeck/itm/tr/runtime/wsnapp/WSNDeviceAppImpl.java
index 99fed1c8..a14ca178 100644
--- a/iwsn/runtime.wsn-app/src/main/java/de/uniluebeck/itm/tr/runtime/wsnapp/WSNDeviceA... | false | true | private void executeOperation(WSNAppMessages.OperationInvocation invocation, Messages.Msg msg) {
switch (invocation.getOperation()) {
case ARE_NODES_ALIVE:
log.trace("{} => WSNDeviceAppImpl.executeOperation --> checkAreNodesAlive()", nodeUrn);
executeAreNodesAlive(msg);
break;
case DISABLE_NODE:... | private void executeOperation(WSNAppMessages.OperationInvocation invocation, Messages.Msg msg) {
switch (invocation.getOperation()) {
case ARE_NODES_ALIVE:
log.trace("{} => WSNDeviceAppImpl.executeOperation --> checkAreNodesAlive()", nodeUrn);
executeAreNodesAlive(msg);
break;
case DISABLE_NODE:... |
diff --git a/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/SVNWCAccess.java b/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/SVNWCAccess.java
index c5df488ce..27521674f 100644
--- a/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/SVNWCAccess.java
+++ b/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/... | true | true | public SVNAdminAreaInfo openAnchor(File path, boolean writeLock, int depth) throws SVNException {
File parent = path.getParentFile();
if (parent == null) {
SVNAdminArea anchor = open(path, writeLock, depth);
return new SVNAdminAreaInfo(this, anchor, anchor, "");
}
... | public SVNAdminAreaInfo openAnchor(File path, boolean writeLock, int depth) throws SVNException {
File parent = path.getParentFile();
if (parent == null) {
SVNAdminArea anchor = open(path, writeLock, depth);
return new SVNAdminAreaInfo(this, anchor, anchor, "");
}
... |
diff --git a/eXoApplication/wiki/service/src/main/java/org/exoplatform/wiki/rendering/render/confluence/ConfluenceResourceReferenceSerializer.java b/eXoApplication/wiki/service/src/main/java/org/exoplatform/wiki/rendering/render/confluence/ConfluenceResourceReferenceSerializer.java
index 34cb7d73f..668df2cba 100644
---... | true | true | public String serialize(ResourceReference reference) {
return reference.getReference().replace("|", "~|");
}
| public String serialize(ResourceReference reference) {
return COMPONENT_PREFIX + "/" + reference.getType().getScheme();
}
|
diff --git a/java/Transxchange2GoogleTransit/src/transxchange2GoogleTransit/Transxchange2GoogleTransit.java b/java/Transxchange2GoogleTransit/src/transxchange2GoogleTransit/Transxchange2GoogleTransit.java
index 985a5aa..fd74ac3 100755
--- a/java/Transxchange2GoogleTransit/src/transxchange2GoogleTransit/Transxchange2Goo... | true | true | public static void main(String[] args) {
TransxchangeHandler handler = null;
Configuration config = new Configuration();
System.out.println("transxchange2GTFS 1.7.5");
System.out.println("Please refer to LICENSE file for licensing information");
int foundConfigFile = -1;
int i = 0... | public static void main(String[] args) {
TransxchangeHandler handler = null;
Configuration config = new Configuration();
System.out.println("transxchange2GTFS 1.7.5");
System.out.println("Please refer to LICENSE file for licensing information");
int foundConfigFile = -1;
int i = 0... |
diff --git a/src/me/libraryaddict/Hungergames/Managers/PlayerManager.java b/src/me/libraryaddict/Hungergames/Managers/PlayerManager.java
index 02a33e8..34dc581 100644
--- a/src/me/libraryaddict/Hungergames/Managers/PlayerManager.java
+++ b/src/me/libraryaddict/Hungergames/Managers/PlayerManager.java
@@ -1,288 +1,288 @@... | true | true | public void manageDeath(PlayerKilledEvent event) {
Gamer killed = event.getKilled();
final Player p = killed.getPlayer();
p.setHealth(20);
if (event.isCancelled())
return;
for (HumanEntity human : p.getInventory().getViewers())
human.closeInventory();
... | public void manageDeath(PlayerKilledEvent event) {
Gamer killed = event.getKilled();
final Player p = killed.getPlayer();
p.setHealth(20);
if (event.isCancelled())
return;
for (HumanEntity human : p.getInventory().getViewers())
human.closeInventory();
... |
diff --git a/widgets/src/java/org/sakaiproject/jsf/renderer/ToolBarRenderer.java b/widgets/src/java/org/sakaiproject/jsf/renderer/ToolBarRenderer.java
index d282ff3..0652342 100644
--- a/widgets/src/java/org/sakaiproject/jsf/renderer/ToolBarRenderer.java
+++ b/widgets/src/java/org/sakaiproject/jsf/renderer/ToolBarRende... | true | true | public void encodeBegin(FacesContext context, UIComponent component) throws IOException
{
ResponseWriter writer = context.getResponseWriter();
writer.write("<div class=\"navIntraTool\">");
return;
}
| public void encodeBegin(FacesContext context, UIComponent component) throws IOException
{
if(!component.isRendered()){
//tool_bar tag is not to be rendered, return now
return;
}
ResponseWriter writer = context.getResponseWriter();
writer.write("<div class=\"navIntraTool\">");
return;
}
|
diff --git a/broker-tests/src/pt/com/broker/functests/negative/MessegeOversizedTest.java b/broker-tests/src/pt/com/broker/functests/negative/MessegeOversizedTest.java
index 7c3b1eda..1afe28ee 100644
--- a/broker-tests/src/pt/com/broker/functests/negative/MessegeOversizedTest.java
+++ b/broker-tests/src/pt/com/broker/fu... | true | true | public MessegeOversizedTest()
{
super("Message oversize");
setDataToSend(new byte[] { 0, (byte) getEncodingProtocolType().ordinal(), 0, 0, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, 0, 0 });
setFaultCode("1101");
setFaultMessage("Invalid message size");
//setOkToTimeOut(true);
}
| public MessegeOversizedTest()
{
super("Message oversize");
setDataToSend(new byte[] { 0, (byte) getEncodingProtocolType().ordinal(), 0, 0, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, 0, 0 });
setFaultCode("1101");
setFaultMessage("Invalid message size");
setOkToTimeOut(true);
}
|
diff --git a/nuxeo-core-persistence/src/main/java/org/nuxeo/ecm/core/persistence/HibernateConfiguration.java b/nuxeo-core-persistence/src/main/java/org/nuxeo/ecm/core/persistence/HibernateConfiguration.java
index e247f6e08..9189388c5 100644
--- a/nuxeo-core-persistence/src/main/java/org/nuxeo/ecm/core/persistence/Hiber... | false | true | public EntityManagerFactory getFactory(String txType) {
Map<String, String> properties = new HashMap<String, String>();
if (txType == null) {
txType = getTxType();
}
properties.put(HibernatePersistence.TRANSACTION_TYPE, txType);
if (txType.equals(JTA)) {
... | public EntityManagerFactory getFactory(String txType) {
Map<String, String> properties = new HashMap<String, String>();
if (txType == null) {
txType = getTxType();
}
properties.put(HibernatePersistence.TRANSACTION_TYPE, txType);
if (txType.equals(JTA)) {
... |
diff --git a/xwiki-commons-core/xwiki-commons-script/src/main/java/org/xwiki/script/internal/service/DefaultScriptServiceManager.java b/xwiki-commons-core/xwiki-commons-script/src/main/java/org/xwiki/script/internal/service/DefaultScriptServiceManager.java
index 26c1fee3a..7b24a7e5c 100644
--- a/xwiki-commons-core/xwik... | true | true | public ScriptService get(String serviceName)
{
ScriptService scriptService = null;
if (this.componentManager.get().hasComponent(ScriptService.class, serviceName)) {
try {
scriptService = this.componentManager.get().getInstance(ScriptService.class, serviceName);
... | public ScriptService get(String serviceName)
{
ScriptService scriptService = null;
if (this.componentManager.get().hasComponent(ScriptService.class, serviceName)) {
try {
scriptService = this.componentManager.get().getInstance(ScriptService.class, serviceName);
... |
diff --git a/Core/src/java/de/hattrickorganizer/gui/statistic/SpieleStatistikPanel.java b/Core/src/java/de/hattrickorganizer/gui/statistic/SpieleStatistikPanel.java
index cd6b0faa..7aeb8a8f 100644
--- a/Core/src/java/de/hattrickorganizer/gui/statistic/SpieleStatistikPanel.java
+++ b/Core/src/java/de/hattrickorganizer/g... | true | true | private void initStatistik() {
try {
int anzahlHRF = Integer.parseInt(m_jtfAnzahlHRF.getText());
if (anzahlHRF <= 0) {
anzahlHRF = 1;
}
UserParameter.instance().statistikSpielerFinanzenAnzahlHRF = anzahlHRF;
UserParameter.instance... | private void initStatistik() {
try {
int anzahlHRF = Integer.parseInt(m_jtfAnzahlHRF.getText());
if (anzahlHRF <= 0) {
anzahlHRF = 1;
}
UserParameter.instance().statistikSpielerFinanzenAnzahlHRF = anzahlHRF;
UserParameter.instance... |
diff --git a/src/br/com/tecsinapse/glimpse/views/ReplView.java b/src/br/com/tecsinapse/glimpse/views/ReplView.java
index cb4ee48..6bac24e 100644
--- a/src/br/com/tecsinapse/glimpse/views/ReplView.java
+++ b/src/br/com/tecsinapse/glimpse/views/ReplView.java
@@ -1,93 +1,95 @@
package br.com.tecsinapse.glimpse.views;
... | true | true | public void createPartControl(Composite parent) {
HttpConnector connector = new HttpConnector(PreferenceUtils.getUrl(),
PreferenceUtils.getUserName(), PreferenceUtils.getPassword());
replManager = new DefaultReplManager(connector);
SashForm split = new SashForm(parent, SWT.VERTICAL);
Font font = JFaceRes... | public void createPartControl(Composite parent) {
HttpConnector connector = new HttpConnector(PreferenceUtils.getUrl(),
PreferenceUtils.getUserName(), PreferenceUtils.getPassword());
replManager = new DefaultReplManager(connector);
SashForm split = new SashForm(parent, SWT.VERTICAL);
split.setBackground(D... |
diff --git a/assets/fyresmodjam/PillarGen.java b/assets/fyresmodjam/PillarGen.java
index fd09826..b660030 100644
--- a/assets/fyresmodjam/PillarGen.java
+++ b/assets/fyresmodjam/PillarGen.java
@@ -1,43 +1,43 @@
package assets.fyresmodjam;
import java.util.Random;
import net.minecraft.block.Block;
import net.min... | true | true | public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
if(world.provider.dimensionId == 0 && random.nextInt(25) == 0) {
boolean placed = false;
for(int y = 127, added = 0; y > 30 && !placed && added ... | public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) {
if(world.provider.dimensionId == 0 && random.nextInt(25) == 0) {
boolean placed = false;
for(int y = 127, added = 0; y > 30 && !placed && added ... |
diff --git a/src/java-common/org/xins/common/text/TextUtils.java b/src/java-common/org/xins/common/text/TextUtils.java
index f4ee16c..e52c0f1 100644
--- a/src/java-common/org/xins/common/text/TextUtils.java
+++ b/src/java-common/org/xins/common/text/TextUtils.java
@@ -1,650 +1,650 @@
/*
* $Id: TextUtils.java,v 1.29 ... | true | true | public static String list(Collection input, String between, String beforeLast, boolean quote)
throws IllegalArgumentException {
// Check preconditions
MandatoryArgumentChecker.check("input", input, "between", between, "beforeLast", beforeLast);
// No items, empty result
int itemCount = i... | public static String list(Collection input, String between, String beforeLast, boolean quote)
throws IllegalArgumentException {
// Check preconditions
MandatoryArgumentChecker.check("input", input, "between", between, "beforeLast", beforeLast);
// No items, empty result
int itemCount = i... |
diff --git a/bootstrap/WyvernCompiler/src/compiler/lex/CharLexerGenerator.java b/bootstrap/WyvernCompiler/src/compiler/lex/CharLexerGenerator.java
index 8845f98..efbac1c 100644
--- a/bootstrap/WyvernCompiler/src/compiler/lex/CharLexerGenerator.java
+++ b/bootstrap/WyvernCompiler/src/compiler/lex/CharLexerGenerator.java... | true | true | protected Result generateImpl(final Context context,
LinkedHashSet<LexerAction> allActions,
final Map<String, LinkedHashMap<String, LexerAction>> groupedActions) {
for (LexerAction la : allActions)
Utils.check(la.pattern().length() <= 1,
String.format("Pattern \"%s\" is too long!", la.pattern()));
f... | protected Result generateImpl(final Context context,
LinkedHashSet<LexerAction> allActions,
final Map<String, LinkedHashMap<String, LexerAction>> groupedActions) {
for (LexerAction la : allActions)
Utils.check(la.pattern().length() <= 1,
String.format("Pattern \"%s\" is too long!", la.pattern()));
f... |
diff --git a/src/main/java/DataStorage/regalowl/hyperconomy/HyperPlayer.java b/src/main/java/DataStorage/regalowl/hyperconomy/HyperPlayer.java
index f6e43c5..366d523 100644
--- a/src/main/java/DataStorage/regalowl/hyperconomy/HyperPlayer.java
+++ b/src/main/java/DataStorage/regalowl/hyperconomy/HyperPlayer.java
@@ -1,1... | false | true | HyperPlayer(String player) {
hc = HyperConomy.hc;
SQLWrite sw = hc.getSQLWrite();
for (Player p:Bukkit.getOnlinePlayers()) {
if (p.getName().equalsIgnoreCase(player)) {
name = p.getName();
economy = "default";
balance = 0.0;
x = p.getLocation().getX();
y = p.getLocation().getY();
z = p... | HyperPlayer(String player) {
hc = HyperConomy.hc;
SQLWrite sw = hc.getSQLWrite();
for (Player p:Bukkit.getOnlinePlayers()) {
if (p.getName().equalsIgnoreCase(player)) {
name = p.getName();
economy = "default";
balance = 0.0;
x = p.getLocation().getX();
y = p.getLocation().getY();
z = p... |
diff --git a/jmbs_maven/Client/src/main/java/jmbs/client/Graphics/ProfilePanel.java b/jmbs_maven/Client/src/main/java/jmbs/client/Graphics/ProfilePanel.java
index ba2f2fa..2fa7042 100644
--- a/jmbs_maven/Client/src/main/java/jmbs/client/Graphics/ProfilePanel.java
+++ b/jmbs_maven/Client/src/main/java/jmbs/client/Graphi... | true | true | public ProfilePanel(User currentUser) {
JLabel lblName = new JLabel("Name:");
lblName.setBounds(9, 46, 40, 16);
JLabel lblLastName = new JLabel("Last Name:");
lblLastName.setBounds(9, 86, 70, 16);
JLabel lblEmailAdress = new JLabel("Email Adress:");
lblEmailAdress.... | public ProfilePanel(User currentUser) {
JLabel lblName = new JLabel("Name:");
lblName.setBounds(9, 46, 40, 16);
JLabel lblLastName = new JLabel("Last Name:");
lblLastName.setBounds(9, 86, 70, 16);
JLabel lblEmailAdress = new JLabel("Email Adress:");
lblEmailAdress.... |
diff --git a/src/model/Movie_Info.java b/src/model/Movie_Info.java
index 75627c5..1a4d87a 100644
--- a/src/model/Movie_Info.java
+++ b/src/model/Movie_Info.java
@@ -1,124 +1,124 @@
package model;
import java.util.ArrayList;
import util.RegexUtil;
public class Movie_Info{
private String movie_name = null;
... | false | true | public Movie_Info convertForMySQL(){
try {
if(movie_name != null){
movie_name = movie_name.replaceAll("'","''");
movie_name = RegexUtil.formatMovieName(movie_name);
}
if(haibao_path != null){
haibao_path = haibao_path.replaceAll("'","''");
}
for(int i = 0 ; i < names.size(); i ++){
nam... | public Movie_Info convertForMySQL(){
try {
if(movie_name != null){
movie_name = movie_name.replaceAll("'","''");
movie_name = RegexUtil.formatMovieName(movie_name);
}
if(haibao_path != null){
haibao_path = haibao_path.replaceAll("'","''");
}
for(int i = 0 ; i < names.size(); i ++){
nam... |
diff --git a/editor/src/construct/Underline.java b/editor/src/construct/Underline.java
index 4e1dc5b..b0ae322 100644
--- a/editor/src/construct/Underline.java
+++ b/editor/src/construct/Underline.java
@@ -1,8 +1,8 @@
package construct;
public class Underline implements Construct
{
public String toHTML(){
- ... | true | true | public String toHTML(){
return "<u></u>\n>";
}
| public String toHTML(){
return "<u></u>\n";
}
|
diff --git a/src/main/java/net/md_5/bungee/command/CommandIP.java b/src/main/java/net/md_5/bungee/command/CommandIP.java
index 8d5f6154..d1b75f4b 100644
--- a/src/main/java/net/md_5/bungee/command/CommandIP.java
+++ b/src/main/java/net/md_5/bungee/command/CommandIP.java
@@ -1,33 +1,33 @@
package net.md_5.bungee.comman... | true | true | public void execute(CommandSender sender, String[] args)
{
if (getPermission(sender) != Permission.ADMIN)
{
sender.sendMessage(ChatColor.RED + "You do not have permission to use this command");
return;
}
if (args.length < 1)
{
sender.se... | public void execute(CommandSender sender, String[] args)
{
if (getPermission(sender) != Permission.MODERATOR && getPermission(sender) != Permission.ADMIN)
{
sender.sendMessage(ChatColor.RED + "You do not have permission to use this command");
return;
}
if ... |
diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java
index a29d5708f..289df7299 100644
--- a/src/com/android/settings/Settings.java
+++ b/src/com/android/settings/Settings.java
@@ -1,868 +1,868 @@
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under t... | true | true | public View getView(int position, View convertView, ViewGroup parent) {
HeaderViewHolder holder;
Header header = getItem(position);
int headerType = getHeaderType(header);
View view = null;
if (convertView == null) {
holder = new Heade... | public View getView(int position, View convertView, ViewGroup parent) {
HeaderViewHolder holder;
Header header = getItem(position);
int headerType = getHeaderType(header);
View view = null;
if (convertView == null || headerType == HEADER_TYPE_SWITCH) ... |
diff --git a/src/org/hackystat/dailyprojectdata/resource/issue/IssueResource.java b/src/org/hackystat/dailyprojectdata/resource/issue/IssueResource.java
index 82a83d7..50412b8 100644
--- a/src/org/hackystat/dailyprojectdata/resource/issue/IssueResource.java
+++ b/src/org/hackystat/dailyprojectdata/resource/issue/IssueR... | true | true | public Representation represent(Variant variant) {
Logger logger = this.server.getLogger();
logger.fine("Issue DPD: Starting");
if (variant.getMediaType().equals(MediaType.TEXT_XML)) {
try {
// [1] get the SensorBaseClient for the user making this request.
SensorBaseClient client = s... | public Representation represent(Variant variant) {
Logger logger = this.server.getLogger();
logger.fine("Issue DPD: Starting");
if (variant.getMediaType().equals(MediaType.TEXT_XML)) {
try {
// [1] get the SensorBaseClient for the user making this request.
SensorBaseClient client = s... |
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/UnifiedTree.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/UnifiedTree.java
index f10dbfcc0..2011a42db 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/Uni... | true | true | protected void addChildren(UnifiedTreeNode node) {
Resource parent = (Resource) node.getResource();
// is there a possibility to have children?
int parentType = parent.getType();
if (parentType == IResource.FILE && !node.isFolder())
return;
//don't refresh resources in closed or non-existent projects
... | protected void addChildren(UnifiedTreeNode node) {
Resource parent = (Resource) node.getResource();
// is there a possibility to have children?
int parentType = parent.getType();
if (parentType == IResource.FILE && !node.isFolder())
return;
//don't refresh resources in closed or non-existent projects
... |
diff --git a/source/trunk/plugins/org.marketcetera.photon/src/main/java/org/marketcetera/photon/actions/ReconnectMarketDataFeedJob.java b/source/trunk/plugins/org.marketcetera.photon/src/main/java/org/marketcetera/photon/actions/ReconnectMarketDataFeedJob.java
index e532c65b9..b92968472 100644
--- a/source/trunk/plugin... | false | true | protected IStatus run(IProgressMonitor monitor) {
Logger logger = PhotonPlugin.getMainConsoleLogger();
if (reconnectInProgress.getAndSet(true)){
return Status.CANCEL_STATUS;
}
boolean succeeded = false;
try {
disconnect(marketDataFeedTracker);
} catch (Throwable th) {
PhotonPlugin.getMainConsoleLo... | protected IStatus run(IProgressMonitor monitor) {
Logger logger = PhotonPlugin.getMainConsoleLogger();
if (reconnectInProgress.getAndSet(true)){
return Status.CANCEL_STATUS;
}
boolean succeeded = false;
try {
disconnect(marketDataFeedTracker);
} catch (Throwable th) {
PhotonPlugin.getMainConsoleLo... |
diff --git a/src/com/jmex/angelfont/BitmapFontLoader.java b/src/com/jmex/angelfont/BitmapFontLoader.java
index f77da740a..2fd9588ca 100644
--- a/src/com/jmex/angelfont/BitmapFontLoader.java
+++ b/src/com/jmex/angelfont/BitmapFontLoader.java
@@ -1,176 +1,176 @@
/*
* Copyright (c) 2003-2009 jMonkeyEngine
* All right... | true | true | public static BitmapFont load(URL fontFile, URL textureFile) throws IOException {
try {
BitmapCharacterSet charSet = new BitmapCharacterSet();
BitmapFont font = new BitmapFont();
if (fontFile == null) {
throw new IOException("The given URL to the requeste... | public static BitmapFont load(URL fontFile, URL textureFile) throws IOException {
try {
BitmapCharacterSet charSet = new BitmapCharacterSet();
BitmapFont font = new BitmapFont();
if (fontFile == null) {
throw new IOException("The given URL to the requeste... |
diff --git a/steps/searchandreplace/src/main/java/net/sf/okapi/steps/searchandreplace/SearchAndReplaceStep.java b/steps/searchandreplace/src/main/java/net/sf/okapi/steps/searchandreplace/SearchAndReplaceStep.java
index a037a3c23..ddfc63905 100644
--- a/steps/searchandreplace/src/main/java/net/sf/okapi/steps/searchandre... | true | true | protected Event handleRawDocument (Event event) {
//--first event determines processing type--
if (!firstEventDone) {
procType = ProcType.PLAINTEXT;
firstEventDone=true;
}
RawDocument rawDoc;
String encoding = null;
BufferedReader reader = null;
BufferedWriter writer = null;
String result = ... | protected Event handleRawDocument (Event event) {
//--first event determines processing type--
if (!firstEventDone) {
procType = ProcType.PLAINTEXT;
firstEventDone=true;
}
RawDocument rawDoc;
String encoding = null;
BufferedReader reader = null;
BufferedWriter writer = null;
String result = ... |
diff --git a/core/src/main/java/hudson/MarkupText.java b/core/src/main/java/hudson/MarkupText.java
index 478b4bb31..619e2a4a8 100644
--- a/core/src/main/java/hudson/MarkupText.java
+++ b/core/src/main/java/hudson/MarkupText.java
@@ -1,254 +1,259 @@
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsyst... | false | true | public String replace(String s) {
StringBuffer buf = new StringBuffer();
for( int i=0; i<s.length(); i++) {
char ch = s.charAt(i);
if (ch == '\\') {// escape char
i++;
buf.append(s.charAt(i));
} else... | public String replace(String s) {
StringBuffer buf = new StringBuffer();
for( int i=0; i<s.length(); i++) {
char ch = s.charAt(i);
if (ch == '\\') {// escape char
i++;
buf.append(s.charAt(i));
} else... |
diff --git a/src/main/java/Sirius/server/search/StaticSearchTools.java b/src/main/java/Sirius/server/search/StaticSearchTools.java
index e68757be..35a503d4 100644
--- a/src/main/java/Sirius/server/search/StaticSearchTools.java
+++ b/src/main/java/Sirius/server/search/StaticSearchTools.java
@@ -1,65 +1,65 @@
/*********... | true | true | public static String getMetaClassIdsForInStatement(final ArrayList<MetaClass> classes)
throws IllegalArgumentException {
String s = "";
if ((classes == null) || (classes.size() == 0)) {
throw new IllegalArgumentException("ArrayList of MetaClasses must neither be null nor empt... | public static String getMetaClassIdsForInStatement(final ArrayList<MetaClass> classes)
throws IllegalArgumentException {
String s = "";
if ((classes == null) || (classes.size() == 0)) {
throw new IllegalArgumentException("ArrayList of MetaClasses must neither be null nor empt... |
diff --git a/src/gamepatcher/Downloader.java b/src/gamepatcher/Downloader.java
index ca19fb1..1e78a5a 100644
--- a/src/gamepatcher/Downloader.java
+++ b/src/gamepatcher/Downloader.java
@@ -1,265 +1,265 @@
package gamepatcher;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException... | true | true | public void downloadFiles(){
System.out.println("Download necessary");
System.out.println("Downloading...");
ReadableByteChannel rbc = null;
FileOutputStream fos = null;
try {
// creates file in temporary directory to be downloaded to, so that the main file isn't lost if the download is aborted
File tem... | public void downloadFiles(){
System.out.println("Download necessary");
System.out.println("Downloading...");
ReadableByteChannel rbc = null;
FileOutputStream fos = null;
try {
// creates file in temporary directory to be downloaded to, so that the main file isn't lost if the download is aborted
File tem... |
diff --git a/SSHD_log_vis/src/request_handlers/GetEntries.java b/SSHD_log_vis/src/request_handlers/GetEntries.java
index 900f201..8ad1a90 100644
--- a/SSHD_log_vis/src/request_handlers/GetEntries.java
+++ b/SSHD_log_vis/src/request_handlers/GetEntries.java
@@ -1,223 +1,226 @@
package request_handlers;
import java.i... | false | true | protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
List<Line> lines = new ArrayList<Line>();
List<Entry> entries = new ArrayList<Entry>();
if (request.getParameter("startTime") == null
|| request.getParameter("endTime") == null
|| r... | protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
List<Line> lines = new ArrayList<Line>();
List<Entry> entries = new ArrayList<Entry>();
if (request.getParameter("startTime") == null
|| request.getParameter("endTime") == null
|| r... |
diff --git a/src/org/protege/editor/owl/ui/view/OWLIndividualListViewComponent.java b/src/org/protege/editor/owl/ui/view/OWLIndividualListViewComponent.java
index 6eae381a..1c0941e7 100644
--- a/src/org/protege/editor/owl/ui/view/OWLIndividualListViewComponent.java
+++ b/src/org/protege/editor/owl/ui/view/OWLIndividual... | true | true | public void initialiseIndividualsView() throws Exception {
list = new OWLObjectList(getOWLEditorKit());
setLayout(new BorderLayout());
add(new JScrollPane(list));
list.setFixedCellHeight(20);
reset();
list.addListSelectionListener(new ListSelectionListener() {
... | public void initialiseIndividualsView() throws Exception {
list = new OWLObjectList(getOWLEditorKit());
setLayout(new BorderLayout());
add(new JScrollPane(list));
list.setFixedCellHeight(20);
list.setFixedCellWidth(500);
reset();
list.addListSelectionListener(... |
diff --git a/server/cluster-mgmt/src/main/java/com/vmware/bdd/utils/SSHUtil.java b/server/cluster-mgmt/src/main/java/com/vmware/bdd/utils/SSHUtil.java
index 4ffdec92..1eb2fff3 100644
--- a/server/cluster-mgmt/src/main/java/com/vmware/bdd/utils/SSHUtil.java
+++ b/server/cluster-mgmt/src/main/java/com/vmware/bdd/utils/SS... | true | true | public boolean execCmd(String user, String privateKeyFile,
String hostIP, int sshPort, String command, InputStream in, OutputStream out) {
AuAssert.check(command != null);
connect(user, privateKeyFile, hostIP, sshPort);
ChannelExec channel = null;
BufferedReader in = null;
lo... | public boolean execCmd(String user, String privateKeyFile,
String hostIP, int sshPort, String command, InputStream in, OutputStream out) {
AuAssert.check(command != null);
connect(user, privateKeyFile, hostIP, sshPort);
ChannelExec channel = null;
logger.info("going to exec command... |
diff --git a/SecondOpinionProject/src/main/java/com/secondopinion/common/service/PatientService.java b/SecondOpinionProject/src/main/java/com/secondopinion/common/service/PatientService.java
index e72e22d..18dc4b2 100644
--- a/SecondOpinionProject/src/main/java/com/secondopinion/common/service/PatientService.java
+++ b... | true | true | public void addPatientFile(Patient patient, FileUpload fileUpload)
throws IOException {
String keyName = "patient-documents/"
+ RandomStringUtils.randomAlphanumeric(KEY_LENGTH);
AWSCredentials credentials = new PropertiesCredentials(
PatientService.class
.getResourceAsStream("/AwsCredentials.prope... | public void addPatientFile(Patient patient, FileUpload fileUpload)
throws IOException {
String keyName = "patient-documents/"
+ RandomStringUtils.randomAlphanumeric(KEY_LENGTH);
keyName += "/" + fileUpload.fileName;
AWSCredentials credentials = new PropertiesCredentials(
PatientService.class
.ge... |
diff --git a/src/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java b/src/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java
index 3a6321c..568a1d9 100644
--- a/src/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java
+++ b/src/main/java/org/jboss/aerogear/unifiedpush/SenderClient.java
@@ -1,222 +... | true | true | public void sendTo(UnifiedMessage unifiedMessage) {
StringBuilder sb = buildUrl("selected");
// build the URL:
final Map<String, Object> selectedPayloadObject =
new LinkedHashMap<String, Object>();
// add the "clientIdentifiers" to the "alias" field
... | public void sendTo(UnifiedMessage unifiedMessage) {
StringBuilder sb = buildUrl("selected");
// build the URL:
final Map<String, Object> selectedPayloadObject =
new LinkedHashMap<String, Object>();
// add the "clientIdentifiers" to the "alias" field
... |
diff --git a/project-set/components/header-translation/src/main/java/com/rackspace/papi/components/header/translation/HeaderTranslationFilter.java b/project-set/components/header-translation/src/main/java/com/rackspace/papi/components/header/translation/HeaderTranslationFilter.java
index cbba960d9e..eebe3681fc 100644
-... | true | true | public void init(FilterConfig filterConfig) throws ServletException {
config = new FilterConfigHelper(filterConfig).getFilterConfig(DEFAULT_CONFIG);
LOG.info("Initializing filter using config " + config);
configurationService = ServletContextHelper.getInstance(filterConfig.getServletContext(... | public void init(FilterConfig filterConfig) throws ServletException {
config = new FilterConfigHelper(filterConfig).getFilterConfig(DEFAULT_CONFIG);
LOG.info("Initializing filter using config " + config);
configurationService = ServletContextHelper.getInstance(filterConfig.getServletContext(... |
diff --git a/core/src/visad/trunk/collab/DisplaySyncImpl.java b/core/src/visad/trunk/collab/DisplaySyncImpl.java
index dc4501585..0631a67b2 100644
--- a/core/src/visad/trunk/collab/DisplaySyncImpl.java
+++ b/core/src/visad/trunk/collab/DisplaySyncImpl.java
@@ -1,363 +1,367 @@
/*
VisAD system for interactive analysis ... | false | true | private void deliverOneEvent(MonitorEvent evt)
throws RemoteException, RemoteVisADException
{
Control lclCtl, rmtCtl;
ScalarMap lclMap, rmtMap;
switch (evt.getType()) {
case MonitorEvent.MAP_ADDED:
rmtMap = ((MapMonitorEvent )evt).getMap();
// if we haven't already added this map.... | private void deliverOneEvent(MonitorEvent evt)
throws RemoteException, RemoteVisADException
{
Control lclCtl, rmtCtl;
ScalarMap lclMap, rmtMap;
switch (evt.getType()) {
case MonitorEvent.MAP_ADDED:
rmtMap = ((MapMonitorEvent )evt).getMap();
// if we haven't already added this map.... |
diff --git a/app/rules/RuleUtils.java b/app/rules/RuleUtils.java
index 668890e..de74894 100644
--- a/app/rules/RuleUtils.java
+++ b/app/rules/RuleUtils.java
@@ -1,207 +1,206 @@
package rules;
import java.io.File;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.regex.P... | true | true | public static List<FileMove> runRules(User user) {
user.updateLastSyncDate();
List<FileMove> fileMoves = Lists.newArrayList();
DropboxClient client = DropboxClientFactory.create(user);
try {
Set<String> files = client.listDir(Dropbox.getSortboxPath());
if (f... | public static List<FileMove> runRules(User user) {
user.updateLastSyncDate();
List<FileMove> fileMoves = Lists.newArrayList();
DropboxClient client = DropboxClientFactory.create(user);
try {
Set<String> files = client.listDir(Dropbox.getSortboxPath());
if (f... |
diff --git a/flexodesktop/model/flexofoundation/src/main/java/org/openflexo/foundation/viewpoint/DataPropertyAssertion.java b/flexodesktop/model/flexofoundation/src/main/java/org/openflexo/foundation/viewpoint/DataPropertyAssertion.java
index 2ed9d4d85..68b73eb15 100644
--- a/flexodesktop/model/flexofoundation/src/main... | true | true | public java.lang.reflect.Type getType() {
if (getOntologyProperty() instanceof OntologyDataProperty) {
return ((OntologyDataProperty) getOntologyProperty()).getDataType().getAccessedType();
}
return Object.class;
};
| public java.lang.reflect.Type getType() {
if (getOntologyProperty() instanceof OntologyDataProperty) {
if (((OntologyDataProperty) getOntologyProperty()).getDataType() != null) {
return ((OntologyDataProperty) getOntologyProperty()).getDataType().getAccessedType();
}
}
return Object.class;
};
|
diff --git a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/performance/PerfSteppingTests.java b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/performance/PerfSteppingTests.java
index d64e224c6..1ae8db498 100644
--- a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/performan... | true | true | public void testBareStepOver() throws Exception {
tagAsSummary("Rapid Stepping", Dimension.CPU_TIME);
String typeName = "PerfLoop";
IJavaLineBreakpoint bp = createLineBreakpoint(20, typeName);
IJavaThread thread= null;
try {
thread= launchToBreakpoint(typeName, false);
// warm up
Object lo... | public void testBareStepOver() throws Exception {
tagAsSummary("Bare Step Over", Dimension.CPU_TIME);
String typeName = "PerfLoop";
IJavaLineBreakpoint bp = createLineBreakpoint(20, typeName);
IJavaThread thread= null;
try {
thread= launchToBreakpoint(typeName, false);
// warm up
Object lo... |
diff --git a/core/vdmj/src/main/java/org/overturetool/vdmj/values/OperationValue.java b/core/vdmj/src/main/java/org/overturetool/vdmj/values/OperationValue.java
index ac151dd493..0830ea1fc6 100644
--- a/core/vdmj/src/main/java/org/overturetool/vdmj/values/OperationValue.java
+++ b/core/vdmj/src/main/java/org/overtureto... | false | true | public Value localEval(
LexLocation from, ValueList argValues, Context ctxt, boolean logreq)
throws ValueException
{
if (body == null)
{
abort(4066, "Cannot call implicit operation: " + name, ctxt);
}
if (state != null && stateName == null)
{
stateName = state.name;
stateContext = state.getSta... | public Value localEval(
LexLocation from, ValueList argValues, Context ctxt, boolean logreq)
throws ValueException
{
if (body == null)
{
abort(4066, "Cannot call implicit operation: " + name, ctxt);
}
if (state != null && stateName == null)
{
stateName = state.name;
stateContext = state.getSta... |
diff --git a/src/simpleserver/events/RunningEvent.java b/src/simpleserver/events/RunningEvent.java
index 4f1b05e..ea1419e 100644
--- a/src/simpleserver/events/RunningEvent.java
+++ b/src/simpleserver/events/RunningEvent.java
@@ -1,753 +1,751 @@
/*
* Copyright (c) 2010 SimpleServer authors (see CONTRIBUTORS)
*
* ... | true | true | public void run() {
if (running) { // prevent running the same object twice
return;
}
running = true;
String script = event.script;
if (script == null)
{
return; // no script data present
}
// Split actions by semicola and newlines
ArrayList<String> actions =
... | public void run() {
if (running) { // prevent running the same object twice
return;
}
running = true;
String script = event.script;
if (script == null)
{
return; // no script data present
}
// Split actions by semicola and newlines
ArrayList<String> actions =
... |
diff --git a/impl/src/main/java/org/jboss/forge/addon/gradle/projects/GradleManagerImpl.java b/impl/src/main/java/org/jboss/forge/addon/gradle/projects/GradleManagerImpl.java
index 287d1cf..786c5e2 100644
--- a/impl/src/main/java/org/jboss/forge/addon/gradle/projects/GradleManagerImpl.java
+++ b/impl/src/main/java/org/... | true | true | public boolean runGradleBuild(String directory, String task, String profile, String... arguments)
{
String gradleHome = System.getenv("GRADLE_HOME");
GradleConnector connector = GradleConnector.newConnector()
.forProjectDirectory(new File(directory));
if (!Strings.isNullOrEmpty(g... | public boolean runGradleBuild(String directory, String task, String profile, String... arguments)
{
String gradleHome = System.getenv("GRADLE_HOME");
GradleConnector connector = GradleConnector.newConnector()
.forProjectDirectory(new File(directory));
if (!Strings.isNullOrEmpty(g... |
diff --git a/src/nodebox/client/FileUtils.java b/src/nodebox/client/FileUtils.java
index 0ca0d2a0..b76297bd 100644
--- a/src/nodebox/client/FileUtils.java
+++ b/src/nodebox/client/FileUtils.java
@@ -1,163 +1,171 @@
package nodebox.client;
import javax.swing.filechooser.FileFilter;
import java.awt.*;
import java.i... | false | true | private static File showFileDialog(Frame owner, String pathName, String extensions, String description, int fileDialogType) {
FileDialog fileDialog = new FileDialog(owner, pathName, fileDialogType);
if (pathName == null || pathName.trim().length() == 0) {
File documentFile = NodeBoxDocum... | private static File showFileDialog(Frame owner, String pathName, String extensions, String description, int fileDialogType) {
FileDialog fileDialog = new FileDialog(owner, pathName, fileDialogType);
if (pathName == null || pathName.trim().length() == 0) {
NodeBoxDocument document = NodeB... |
diff --git a/src/pspnetparty/client/swt/ConnectAddressDialog.java b/src/pspnetparty/client/swt/ConnectAddressDialog.java
index 89fddf9..0570573 100644
--- a/src/pspnetparty/client/swt/ConnectAddressDialog.java
+++ b/src/pspnetparty/client/swt/ConnectAddressDialog.java
@@ -1,134 +1,141 @@
/*
Copyright (C) 2011 monte
... | true | true | protected Control createDialogArea(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
composite.setLayout(new GridLayout(4, false));
composite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
GridData gridData;
{
Label label = new Label(composite, SWT.NONE);
lab... | protected Control createDialogArea(Composite parent) {
Composite composite = new Composite(parent, SWT.NONE);
composite.setLayout(new GridLayout(4, false));
composite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
GridData gridData;
{
Label label = new Label(composite, SWT.NONE);
lab... |
diff --git a/webapp/src/main/java/org/vaadin/tori/indexing/IndexableDashboardView.java b/webapp/src/main/java/org/vaadin/tori/indexing/IndexableDashboardView.java
index d3ce9758..4ed5d46d 100644
--- a/webapp/src/main/java/org/vaadin/tori/indexing/IndexableDashboardView.java
+++ b/webapp/src/main/java/org/vaadin/tori/in... | true | true | public static String getCategoriesXhtml(final DataSource ds,
final Logger logger, final Category currentCategory) {
final StringBuilder sb = new StringBuilder();
try {
final List<Category> subCategories = ds
.getSubCategories(currentCategory);
... | public static String getCategoriesXhtml(final DataSource ds,
final Logger logger, final Category currentCategory) {
final StringBuilder sb = new StringBuilder();
try {
final List<Category> subCategories = ds
.getSubCategories(currentCategory);
... |
diff --git a/src/main/java/hudson/plugins/selenium/HudsonRemoteControlPool.java b/src/main/java/hudson/plugins/selenium/HudsonRemoteControlPool.java
index d68f631..21a9aa2 100644
--- a/src/main/java/hudson/plugins/selenium/HudsonRemoteControlPool.java
+++ b/src/main/java/hudson/plugins/selenium/HudsonRemoteControlPool.... | true | true | public synchronized RemoteControlProxy reserve(Environment env) {
String[] keys = env.name().split("&");
for (int i = 0; i < keys.length; i++)
keys[i] = '/'+keys[i]+'/';
while(true) {
boolean hadMatch=false;
for (RemoteControlProxy rc : all) {
... | public synchronized RemoteControlProxy reserve(Environment env) {
String[] keys = env.name().split("&");
for (int i = 0; i < keys.length; i++)
keys[i] = '/'+keys[i]+'/';
while(true) {
boolean hadMatch=false;
for (RemoteControlProxy rc : all) {
... |
diff --git a/src/main/java/jp/sf/fess/helper/CrawlingConfigHelper.java b/src/main/java/jp/sf/fess/helper/CrawlingConfigHelper.java
index 842825a20..df4e2dbb8 100644
--- a/src/main/java/jp/sf/fess/helper/CrawlingConfigHelper.java
+++ b/src/main/java/jp/sf/fess/helper/CrawlingConfigHelper.java
@@ -1,290 +1,292 @@
/*
*... | true | true | public void writeContent(final Map<String, Object> doc) {
if (logger.isDebugEnabled()) {
logger.debug("writing the content of: " + doc);
}
final SystemHelper systemHelper = SingletonS2Container
.getComponent("systemHelper");
final Object configIdObj = doc.... | public void writeContent(final Map<String, Object> doc) {
if (logger.isDebugEnabled()) {
logger.debug("writing the content of: " + doc);
}
final SystemHelper systemHelper = SingletonS2Container
.getComponent("systemHelper");
final Object configIdObj = doc.... |
diff --git a/src/me/libraryaddict/Hungergames/Utilities/MapLoader.java b/src/me/libraryaddict/Hungergames/Utilities/MapLoader.java
index 51c27a6..d420d41 100644
--- a/src/me/libraryaddict/Hungergames/Utilities/MapLoader.java
+++ b/src/me/libraryaddict/Hungergames/Utilities/MapLoader.java
@@ -1,136 +1,138 @@
package me... | true | true | public static void loadMap() {
Hungergames hg = HungergamesApi.getHungergames();
File mapConfig = new File(hg.getDataFolder() + "\\map.yml");
try {
if (!mapConfig.exists())
mapConfig.createNewFile();
YamlConfiguration config = YamlConfiguration.loadCon... | public static void loadMap() {
Hungergames hg = HungergamesApi.getHungergames();
File mapConfig = new File(hg.getDataFolder() + "\\map.yml");
try {
if (!mapConfig.exists())
mapConfig.createNewFile();
YamlConfiguration config = YamlConfiguration.loadCon... |
diff --git a/src/main/java/io/druid/data/input/impl/TimestampSpec.java b/src/main/java/io/druid/data/input/impl/TimestampSpec.java
index 7565fce..03aebf9 100644
--- a/src/main/java/io/druid/data/input/impl/TimestampSpec.java
+++ b/src/main/java/io/druid/data/input/impl/TimestampSpec.java
@@ -1,50 +1,50 @@
package io.d... | true | true | public TimestampSpec(
@JsonProperty("column") String timestampColumn,
@JsonProperty("format") String format
)
{
this.timestampColumn = timestampColumn.toLowerCase();
this.timestampFormat = format == null ? defaultFormat : format;
this.timestampConverter = ParserUtils.createTimestampParser(... | public TimestampSpec(
@JsonProperty("column") String timestampColumn,
@JsonProperty("format") String format
)
{
this.timestampColumn = timestampColumn.toLowerCase();
this.timestampFormat = format == null ? defaultFormat : format.toLowerCase();
this.timestampConverter = ParserUtils.createTi... |
diff --git a/src/main/java/org/bukkit/command/Command.java b/src/main/java/org/bukkit/command/Command.java
index a04c8701..073f1acf 100644
--- a/src/main/java/org/bukkit/command/Command.java
+++ b/src/main/java/org/bukkit/command/Command.java
@@ -1,371 +1,371 @@
package org.bukkit.command;
import java.util.ArrayLis... | true | true | public static void broadcastCommandMessage(CommandSender source, String message, boolean sendToSource) {
String result = source.getName() + ": " + message;
if (source instanceof BlockCommandSender && ((BlockCommandSender) source).getBlock().getWorld().getGameRuleValue("commandBlockOutput").equalsIg... | public static void broadcastCommandMessage(CommandSender source, String message, boolean sendToSource) {
String result = source.getName() + ": " + message;
if (source instanceof BlockCommandSender && ((BlockCommandSender) source).getBlock().getWorld().getGameRuleValue("commandBlockOutput").equalsIg... |
diff --git a/src/net/aufdemrand/denizen/CommandExecuter.java b/src/net/aufdemrand/denizen/CommandExecuter.java
index 5c02bc15c..05eae40d0 100644
--- a/src/net/aufdemrand/denizen/CommandExecuter.java
+++ b/src/net/aufdemrand/denizen/CommandExecuter.java
@@ -1,332 +1,332 @@
package net.aufdemrand.denizen;
import java... | false | true | public void execute(Player thePlayer, String theStep) {
// Syntax of theStep
// 0 Denizen ID; 1 Script Name; 2 Step Number; 3 Time added to Queue; 4 Command
Denizen plugin = (Denizen) Bukkit.getPluginManager().getPlugin("Denizen");
String[] executerArgs = theStep.split(";");
String[] commandArgs = exe... | public void execute(Player thePlayer, String theStep) {
// Syntax of theStep
// 0 Denizen ID; 1 Script Name; 2 Step Number; 3 Time added to Queue; 4 Command
Denizen plugin = (Denizen) Bukkit.getPluginManager().getPlugin("Denizen");
String[] executerArgs = theStep.split(";");
String[] commandArgs = exe... |
diff --git a/core/src/org/icepdf/core/util/Parser.java b/core/src/org/icepdf/core/util/Parser.java
index f8febb77..025ebdcf 100644
--- a/core/src/org/icepdf/core/util/Parser.java
+++ b/core/src/org/icepdf/core/util/Parser.java
@@ -1,1279 +1,1279 @@
/*
* Copyright 2006-2013 ICEsoft Technologies Inc.
*
* Licensed ... | false | true | public Object getObject(Library library) throws PDFException {
int deepnessCount = 0;
boolean inObject = false; // currently parsing tokens in an object
boolean complete = false; // flag used for do loop.
Object nextToken;
Reference objectReference = null;
try {
... | public Object getObject(Library library) throws PDFException {
int deepnessCount = 0;
boolean inObject = false; // currently parsing tokens in an object
boolean complete = false; // flag used for do loop.
Object nextToken;
Reference objectReference = null;
try {
... |
diff --git a/src/husacct/analyse/task/HistoryLogger.java b/src/husacct/analyse/task/HistoryLogger.java
index 91ec938b..ed86dc90 100644
--- a/src/husacct/analyse/task/HistoryLogger.java
+++ b/src/husacct/analyse/task/HistoryLogger.java
@@ -1,239 +1,239 @@
package husacct.analyse.task;
import husacct.ServiceProvider;... | true | true | private boolean addToExistingXml(ApplicationDTO adto, String workspaceName) {
try {
DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder;
docBuilder = docFactory.newDocumentBuilder();
doc = docBuilder.parse(xmlFile);
Node root = doc.getFirstChild();
... | private boolean addToExistingXml(ApplicationDTO adto, String workspaceName) {
try {
DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder;
docBuilder = docFactory.newDocumentBuilder();
doc = docBuilder.parse(xmlFile);
Node root = doc.getFirstChild();
... |
diff --git a/reseller-huuto/src/main/java/com/abudko/reseller/huuto/query/rules/html/HtmlSearchQueryRules.java b/reseller-huuto/src/main/java/com/abudko/reseller/huuto/query/rules/html/HtmlSearchQueryRules.java
index ddd1b39..7a68d55 100644
--- a/reseller-huuto/src/main/java/com/abudko/reseller/huuto/query/rules/html/H... | true | true | public void apply(SearchParams searchParams) {
searchParams.setLocation("Helsinki%20OR%20Espoo%20OR%20Vantaa%20OR%20Kauniainen");
searchParams.setClassification("1");
searchParams.setSellstyle("O");
}
| public void apply(SearchParams searchParams) {
searchParams.setLocation("Helsinki%20OR%20Espoo%20OR%20Vantaa%20OR%20Kauniainen");
searchParams.setClassification("new");
searchParams.setSellstyle("buy-now");
}
|
diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java
index 67573c992..f23b1d88c 100644
--- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java
+++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.... | true | true | protected void writeRtfContent() throws IOException {
textrunInline.writeRtfContent();
writeGroupMark(true);
writeControlWord("footnote");
writeControlWord("ftnallt");
body.writeRtfContent();
writeGroupMark(false);
}
| protected void writeRtfContent() throws IOException {
textrunInline.writeRtfContent();
writeGroupMark(true);
writeControlWord("footnote");
writeControlWord("ftnalt");
body.writeRtfContent();
writeGroupMark(false);
}
|
diff --git a/src/main/java/org/jfrog/hudson/maven3/Maven3Builder.java b/src/main/java/org/jfrog/hudson/maven3/Maven3Builder.java
index c78538b3..fcb64479 100644
--- a/src/main/java/org/jfrog/hudson/maven3/Maven3Builder.java
+++ b/src/main/java/org/jfrog/hudson/maven3/Maven3Builder.java
@@ -1,345 +1,345 @@
/*
* Copyr... | true | true | private ArgumentListBuilder buildMavenCmdLine(AbstractBuild<?, ?> build, BuildListener listener,
EnvVars env) throws IOException, InterruptedException {
FilePath mavenHome = getMavenHomeDir(build, listener, env);
if (!mavenHome.exists()) {
listener.error("Couldn't find Mave... | private ArgumentListBuilder buildMavenCmdLine(AbstractBuild<?, ?> build, BuildListener listener,
EnvVars env) throws IOException, InterruptedException {
FilePath mavenHome = getMavenHomeDir(build, listener, env);
if (!mavenHome.exists()) {
listener.error("Couldn't find Mave... |
diff --git a/tools/host/src/com/android/cts/CtsTestResult.java b/tools/host/src/com/android/cts/CtsTestResult.java
index 0aea74b3..851b07d3 100644
--- a/tools/host/src/com/android/cts/CtsTestResult.java
+++ b/tools/host/src/com/android/cts/CtsTestResult.java
@@ -1,203 +1,209 @@
/*
* Copyright (C) 2009 The Android Op... | false | true | public void setResult(TestResult testResult) {
int resCode = CODE_PASS;
String failedMessage = null;
String stackTrace = null;
if ((testResult != null) && (testResult.failureCount() > 0)) {
resCode = CODE_FAIL;
Enumeration<TestFailure> failures = testResult.fa... | public void setResult(TestResult testResult) {
int resCode = CODE_PASS;
String failedMessage = null;
String stackTrace = null;
if ((testResult != null) && (testResult.failureCount() > 0 || testResult.errorCount() > 0)) {
resCode = CODE_FAIL;
Enumeration<TestFa... |
diff --git a/src/com/engine9/FavouriteActivity.java b/src/com/engine9/FavouriteActivity.java
index acff377..f124168 100644
--- a/src/com/engine9/FavouriteActivity.java
+++ b/src/com/engine9/FavouriteActivity.java
@@ -1,42 +1,42 @@
package com.engine9;
import android.app.Activity;
import android.os.Bundle;
import ... | true | true | protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_favourite);
favList = (ListView) findViewById(R.id.listView1);
adapter = new FavouriteAdapter(getApplicationContext(),
FavouriteManager.getFavourites(getApplicationContext()));
... | protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_favourite);
favList = (ListView) findViewById(R.id.listView1);
adapter = new FavouriteAdapter(getApplicationContext(),
FavouriteManager.getFavourites(getApplicationContext()));
... |
diff --git a/org.whole.lang.e4.ui/src/org/whole/lang/e4/ui/dialogs/E4FindReplaceDialog.java b/org.whole.lang.e4.ui/src/org/whole/lang/e4/ui/dialogs/E4FindReplaceDialog.java
index d6e896dd5..07fd071d7 100644
--- a/org.whole.lang.e4.ui/src/org/whole/lang/e4/ui/dialogs/E4FindReplaceDialog.java
+++ b/org.whole.lang.e4.ui/s... | false | true | protected Control createReplaceArea(Composite parent) {
IEclipseContext params = EclipseContextFactory.create();
params.set("parent", parent);
replaceViewer = ContextInjectionFactory.make(E4GraphicalViewer.class, context, params);
replaceViewer.getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, ... | protected Control createReplaceArea(Composite parent) {
IEclipseContext params = EclipseContextFactory.create();
params.set("parent", parent);
replaceViewer = ContextInjectionFactory.make(E4GraphicalViewer.class, context, params);
replaceViewer.getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, ... |
diff --git a/application/src/com.phdroid/smsb/storage/TestMessageProvider.java b/application/src/com.phdroid/smsb/storage/TestMessageProvider.java
index c1d0834..4d449a4 100644
--- a/application/src/com.phdroid/smsb/storage/TestMessageProvider.java
+++ b/application/src/com.phdroid/smsb/storage/TestMessageProvider.java... | true | true | public TestMessageProvider() {
mActions = new Hashtable<SmsPojo, SmsAction>();
mList = new ArrayList<SmsPojo>();
Calendar c = Calendar.getInstance();
SmsPojo sms = new TestSmsPojo();
sms.setMessage("Hey you there! How you doin'?");
sms.setSender("+380971122333");
sms.setReceived(c.getTime().getTime());
... | public TestMessageProvider() {
mActions = new Hashtable<SmsPojo, SmsAction>();
mList = new ArrayList<SmsPojo>();
Calendar c = Calendar.getInstance();
TestSmsPojo sms = new TestSmsPojo();
sms.setMessage("Hey you there! How you doin'?");
sms.setSender("+380971122333");
sms.setReceived(c.getTime().getTime(... |
diff --git a/core/src/main/java/org/apache/oozie/client/rest/JsonWorkflowJob.java b/core/src/main/java/org/apache/oozie/client/rest/JsonWorkflowJob.java
index 7ca293c1..a63e9272 100644
--- a/core/src/main/java/org/apache/oozie/client/rest/JsonWorkflowJob.java
+++ b/core/src/main/java/org/apache/oozie/client/rest/JsonWo... | false | true | public JSONObject toJSONObject() {
JSONObject json = new JSONObject();
json.put(JsonTags.WORKFLOW_APP_PATH, appPath);
json.put(JsonTags.WORKFLOW_APP_NAME, appName);
json.put(JsonTags.WORKFLOW_ID, id);
json.put(JsonTags.WORKFLOW_EXTERNAL_ID, externalId);
json.put(JsonT... | public JSONObject toJSONObject() {
JSONObject json = new JSONObject();
json.put(JsonTags.WORKFLOW_APP_PATH, getAppPath());
json.put(JsonTags.WORKFLOW_APP_NAME, getAppName());
json.put(JsonTags.WORKFLOW_ID, getId());
json.put(JsonTags.WORKFLOW_EXTERNAL_ID, getExternalId());
... |
diff --git a/cobertura/src/net/sourceforge/cobertura/instrument/CoberturaInstrumenter.java b/cobertura/src/net/sourceforge/cobertura/instrument/CoberturaInstrumenter.java
index 39a4cdc..b67e543 100644
--- a/cobertura/src/net/sourceforge/cobertura/instrument/CoberturaInstrumenter.java
+++ b/cobertura/src/net/sourceforge... | true | true | public InstrumentationResult instrumentClass(InputStream inputStream) throws IOException{
ClassReader cr0 = new ClassReader(inputStream);
ClassWriter cw0 = new ClassWriter(0);
DetectIgnoredCodeClassVisitor detectIgnoredCv =
new DetectIgnoredCodeClassVisitor(cw0, ignoreTrivial, ignoreMethodAnnotations);
Dete... | public InstrumentationResult instrumentClass(InputStream inputStream) throws IOException{
ClassReader cr0 = new ClassReader(inputStream);
ClassWriter cw0 = new ClassWriter(0);
DetectIgnoredCodeClassVisitor detectIgnoredCv =
new DetectIgnoredCodeClassVisitor(cw0, ignoreTrivial, ignoreMethodAnnotations);
Dete... |
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java
index e3ecb03..bf18f42 100755
--- a/src/com/android/nfc/NfcService.java
+++ b/src/com/android/nfc/NfcService.java
@@ -1,2323 +1,2325 @@
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache Lice... | false | true | public void handleMessage(Message msg) {
switch (msg.what) {
case MSG_MOCK_NDEF_TAG: {
NdefTag tag = (NdefTag) msg.obj;
Intent intent = buildNdefTagIntent(tag);
Log.d(TAG, "mock NDEF tag, starting corresponding activity");
Log.d(T... | public void handleMessage(Message msg) {
switch (msg.what) {
case MSG_MOCK_NDEF_TAG: {
NdefTag tag = (NdefTag) msg.obj;
Intent intent = buildNdefTagIntent(tag);
Log.d(TAG, "mock NDEF tag, starting corresponding activity");
Log.d(T... |
diff --git a/combat/Test.java b/combat/Test.java
index 863d40d..f9376ee 100644
--- a/combat/Test.java
+++ b/combat/Test.java
@@ -1,46 +1,46 @@
package combat;
//Source file: /home/stu2/s22/DevB/classes/KeyDialog.java
/**
* @author DevC
* @version $Id: Test.java,v 1.2 2012/04/08 03:50:18 DevA Exp $
*
* KeyDialog... | true | true | public static void main( String[] argv ) {
JFrame aframe = new JFrame();
KeyDialog testd = new KeyDialog( aframe, new PlayerManager(0, null, null, null, null), new PlayerManager(0, null, null, null, null) );
aframe.setVisible(true);
testd.setVisible(true);
}
| public static void main( String[] argv ) {
JFrame aframe = new JFrame();
KeyDialog testd = new KeyDialog( aframe, new CommandInterpreter(new KeyBinding(), new KeyBinding()));
aframe.setVisible(true);
testd.setVisible(true);
}
|
diff --git a/chapter1/file-copy/src/main/java/camelinaction/FileCopier.java b/chapter1/file-copy/src/main/java/camelinaction/FileCopier.java
index d8ea7c1..1822ced 100644
--- a/chapter1/file-copy/src/main/java/camelinaction/FileCopier.java
+++ b/chapter1/file-copy/src/main/java/camelinaction/FileCopier.java
@@ -1,56 +1... | true | true | public static void main(String args[]) throws Exception {
File inboxDirectory = new File("data/inbox");
File outboxDirectory = new File("data/outbox");
outboxDirectory.mkdir();
File[] files = inboxDirectory.listFiles();
for (File source : files) {
... | public static void main(String args[]) throws Exception {
File inboxDirectory = new File("data/inbox");
File outboxDirectory = new File("data/outbox");
outboxDirectory.mkdir();
File[] files = inboxDirectory.listFiles();
for (File source : files) {
... |
diff --git a/src/Core/org/objectweb/proactive/ext/util/StubGenerator.java b/src/Core/org/objectweb/proactive/ext/util/StubGenerator.java
index f8d0c2f8a..de0c1966b 100644
--- a/src/Core/org/objectweb/proactive/ext/util/StubGenerator.java
+++ b/src/Core/org/objectweb/proactive/ext/util/StubGenerator.java
@@ -1,283 +1,28... | true | true | public void run() {
if (srcDir == null) {
logAndExit("srcDir attribute is not set");
}
if (!srcDir.exists()) {
logAndExit("Invalid srcDir attribute: " + srcDir.toString() +
" does not exist");
}
if (!srcDir.isDirectory()) {
... | public void run() {
if (srcDir == null) {
logAndExit("srcDir attribute is not set");
}
if (!srcDir.exists()) {
logAndExit("Invalid srcDir attribute: " + srcDir.toString() +
" does not exist");
}
if (!srcDir.isDirectory()) {
... |
diff --git a/java/modules/transports/core/vfs/src/main/java/org/apache/synapse/transport/vfs/VFSUtils.java b/java/modules/transports/core/vfs/src/main/java/org/apache/synapse/transport/vfs/VFSUtils.java
index d605e8e5c..55b3fdda1 100644
--- a/java/modules/transports/core/vfs/src/main/java/org/apache/synapse/transport/v... | false | true | public static boolean acquireLock(FileSystemManager fsManager, FileObject fo) {
// generate a random lock value to ensure that there are no two parties
// processing the same file
Random random = new Random();
byte[] lockValue = String.valueOf(random.nextLong()).getBytes();
... | public static boolean acquireLock(FileSystemManager fsManager, FileObject fo) {
// generate a random lock value to ensure that there are no two parties
// processing the same file
Random random = new Random();
byte[] lockValue = String.valueOf(random.nextLong()).getBytes();
... |
diff --git a/management/src/main/java/aic12/project3/service/loadBalancing/BalancingAlgorithmKeepQueueConstantImpl_Thread.java b/management/src/main/java/aic12/project3/service/loadBalancing/BalancingAlgorithmKeepQueueConstantImpl_Thread.java
index 66555fe..f9603d7 100644
--- a/management/src/main/java/aic12/project3/s... | true | true | public void run() {
// long _effectiveUpdateInterval = updateInterval;
while(continueRunning ) {
// long _updateStart = System.currentTimeMillis();
log.info("periodic balancing update RUN");
statistics.calculateStatistics();
log .info(statistics);
int runningNodes = highLvlNodeMan.getRunningNod... | public void run() {
// long _effectiveUpdateInterval = updateInterval;
while(continueRunning ) {
// long _updateStart = System.currentTimeMillis();
log.info("periodic balancing update RUN");
statistics.calculateStatistics();
log .info(statistics);
int runningNodes = highLvlNodeMan.getRunningNod... |
diff --git a/source/client/main/edu/wustl/cab2b/client/ui/mainframe/GlobalNavigationPanel.java b/source/client/main/edu/wustl/cab2b/client/ui/mainframe/GlobalNavigationPanel.java
index 5b672474..2e045678 100644
--- a/source/client/main/edu/wustl/cab2b/client/ui/mainframe/GlobalNavigationPanel.java
+++ b/source/client/m... | true | true | private void initGUIWithGB() {
/* to this panel add top panel and bottom panel */
Cab2bPanel topPanel = new Cab2bPanel();
topPanel.setBackground(bgColor);
topPanel.setPreferredSize(new Dimension(1024, 70));
topPanel.setMinimumSize(new Dimension(1024, 70));
topPanel.s... | private void initGUIWithGB() {
/* to this panel add top panel and bottom panel */
Cab2bPanel topPanel = new Cab2bPanel();
topPanel.setBackground(bgColor);
topPanel.setPreferredSize(new Dimension(1024, 70));
topPanel.setMinimumSize(new Dimension(1024, 70));
topPanel.s... |
diff --git a/plugins/com.aptana.ide.filesystem.ftp/src/com/aptana/ide/filesystem/ftp/FTPConnectionPoint.java b/plugins/com.aptana.ide.filesystem.ftp/src/com/aptana/ide/filesystem/ftp/FTPConnectionPoint.java
index 3c30d56e..5392f2bb 100644
--- a/plugins/com.aptana.ide.filesystem.ftp/src/com/aptana/ide/filesystem/ftp/FTP... | true | true | protected void loadState(IMemento memento) {
super.loadState(memento);
IMemento child = memento.getChild(ELEMENT_HOST);
if (child != null) {
host = child.getTextData();
}
child = memento.getChild(ELEMENT_PORT);
if (child != null) {
try {
port = Integer.parseInt(child.getTextData());
} catch (N... | protected void loadState(IMemento memento) {
super.loadState(memento);
IMemento child = memento.getChild(ELEMENT_HOST);
if (child != null) {
host = child.getTextData();
}
child = memento.getChild(ELEMENT_PORT);
if (child != null) {
try {
port = Integer.parseInt(child.getTextData());
} catch (N... |
diff --git a/src/main/java/uk/co/revthefox/foxbot/Utils.java b/src/main/java/uk/co/revthefox/foxbot/Utils.java
index 584fea5..4ecc1ce 100644
--- a/src/main/java/uk/co/revthefox/foxbot/Utils.java
+++ b/src/main/java/uk/co/revthefox/foxbot/Utils.java
@@ -1,70 +1,70 @@
package uk.co.revthefox.foxbot;
import com.ning.h... | true | true | public String parseChatUrl(String stringToParse, User sender)
{
try
{
AsyncHttpClientConfig cf = new AsyncHttpClientConfig.Builder().setUserAgent("Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36").build();
Async... | public String parseChatUrl(String stringToParse, User sender)
{
try
{
AsyncHttpClientConfig cf = new AsyncHttpClientConfig.Builder().setUserAgent("Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36").build();
Async... |
diff --git a/src/hu/harmakhis/shisha/charts/PlayerChart.java b/src/hu/harmakhis/shisha/charts/PlayerChart.java
index ca0a678..1476f1a 100644
--- a/src/hu/harmakhis/shisha/charts/PlayerChart.java
+++ b/src/hu/harmakhis/shisha/charts/PlayerChart.java
@@ -1,124 +1,122 @@
/**
* Copyright (C) 2009, 2010 SC 4ViewSoft SRL
... | false | true | public Intent execute(Context context) {
List<Player> players = s.getPlayers();
String[] titles = new String[players.size()];
int i = 0;
for (Player p : players) {
titles[i++] = p.getName();
}
;
double maxValue = 0;
List<double[]> x = new ArrayList<double[]>();
List<double[]> values = new ArrayLis... | public Intent execute(Context context) {
List<Player> players = s.getPlayers();
String[] titles = new String[players.size()];
int i = 0;
for (Player p : players) {
titles[i++] = p.getName();
}
;
double maxValue = 0;
List<double[]> x = new ArrayList<double[]>();
List<double[]> values = new ArrayLis... |
diff --git a/src/trollhoehle/gamejam/magnets/Management.java b/src/trollhoehle/gamejam/magnets/Management.java
index 11e1d56..3f11deb 100644
--- a/src/trollhoehle/gamejam/magnets/Management.java
+++ b/src/trollhoehle/gamejam/magnets/Management.java
@@ -1,224 +1,224 @@
package trollhoehle.gamejam.magnets;
import tro... | true | true | public void update(GameContainer gc, int delta) throws SlickException {
Input input = gc.getInput();
ArrayList<Obstacle> newObstacles = new ArrayList<Obstacle>();
// RING
newObstacles.addAll(this.ring.update(delta, gc.getWidth() / 2, gc.getHeight() / 2, 0.08f));
// CORE
newObstacles.addAll(this.core.update... | public void update(GameContainer gc, int delta) throws SlickException {
Input input = gc.getInput();
ArrayList<Obstacle> newObstacles = new ArrayList<Obstacle>();
// RING
newObstacles.addAll(this.ring.update(delta, gc.getWidth() / 2, gc.getHeight() / 2, 0.08f));
// CORE
newObstacles.addAll(this.core.update... |
diff --git a/dspace/src/org/dspace/storage/rdbms/TableRow.java b/dspace/src/org/dspace/storage/rdbms/TableRow.java
index 35c824733..21233329f 100644
--- a/dspace/src/org/dspace/storage/rdbms/TableRow.java
+++ b/dspace/src/org/dspace/storage/rdbms/TableRow.java
@@ -1,456 +1,456 @@
/*
* TableRow.java
*
* Version: ... | true | true | public int getIntColumn(String column)
{
if (! hasColumn(column))
throw new IllegalArgumentException("No such column " + column);
String name = canonicalize(column);
if (isColumnNull(name))
return -1;
Object value = data.get(name);
if (value ==... | public int getIntColumn(String column)
{
if (! hasColumn(column))
throw new IllegalArgumentException("No such column " + column);
String name = canonicalize(column);
if (isColumnNull(name))
return -1;
Object value = data.get(name);
if (value ==... |
diff --git a/Android/OpenMenu/src/com/net/rmopenmenu/LoadList.java b/Android/OpenMenu/src/com/net/rmopenmenu/LoadList.java
index 4bf5f7d..6f41ee0 100644
--- a/Android/OpenMenu/src/com/net/rmopenmenu/LoadList.java
+++ b/Android/OpenMenu/src/com/net/rmopenmenu/LoadList.java
@@ -1,193 +1,193 @@
package com.net.rmopenmenu... | true | true | public Bundle load(String query) {
SQLiteDatabase db = new Database(context).getReadableDatabase();
ArrayList<Integer> item_ids = new ArrayList<Integer>();
ArrayList<String> restaurant_names = new ArrayList<String>();
ArrayList<Integer> restaurant_lats = new ArrayList<Integer>();
ArrayList<Integer> restauran... | public Bundle load(String query) {
SQLiteDatabase db = new Database(context).getReadableDatabase();
ArrayList<Integer> item_ids = new ArrayList<Integer>();
ArrayList<String> restaurant_names = new ArrayList<String>();
ArrayList<Integer> restaurant_lats = new ArrayList<Integer>();
ArrayList<Integer> restauran... |
diff --git a/Common/src/main/java/au/gov/ga/worldwind/common/view/rotate/FreeRotateOrbitViewInputHandler.java b/Common/src/main/java/au/gov/ga/worldwind/common/view/rotate/FreeRotateOrbitViewInputHandler.java
index adb79824..2381e402 100644
--- a/Common/src/main/java/au/gov/ga/worldwind/common/view/rotate/FreeRotateOrb... | true | true | public void onRotateFree(Angle direction, Angle amount, DeviceAttributes deviceAttributes,
ActionAttributes actionAttributes)
{
if (!(getView() instanceof OrbitView))
{
String message = "View must be an instance of OrbitView";
Logging.logger().severe(message);
throw new IllegalStateException(message);... | public void onRotateFree(Angle direction, Angle amount, DeviceAttributes deviceAttributes,
ActionAttributes actionAttributes)
{
if (!(getView() instanceof OrbitView))
{
String message = "View must be an instance of OrbitView";
Logging.logger().severe(message);
throw new IllegalStateException(message);... |
diff --git a/rio-services/cybernode/cybernode-service/src/main/java/org/rioproject/cybernode/CybernodeImpl.java b/rio-services/cybernode/cybernode-service/src/main/java/org/rioproject/cybernode/CybernodeImpl.java
index 03660166..16769cab 100644
--- a/rio-services/cybernode/cybernode-service/src/main/java/org/rioproject... | true | true | public void initialize(ServiceBeanContext context) throws Exception {
/*
* Create the instantiatorID. This will be used as the name set in the proxy, and used to track
* registrations and updates in the ProvisionMonitor
*/
StringBuilder instantiatorIDBuilder = new StringBu... | public void initialize(ServiceBeanContext context) throws Exception {
/*
* Create the instantiatorID. This will be used as the name set in the proxy, and used to track
* registrations and updates in the ProvisionMonitor
*/
StringBuilder instantiatorIDBuilder = new StringBu... |
diff --git a/plugins/com.aptana.ide.ui.io/src/com/aptana/ide/ui/io/navigator/actions/EditorUtils.java b/plugins/com.aptana.ide.ui.io/src/com/aptana/ide/ui/io/navigator/actions/EditorUtils.java
index 9e95b1da..af90a3b1 100644
--- a/plugins/com.aptana.ide.ui.io/src/com/aptana/ide/ui/io/navigator/actions/EditorUtils.java
... | true | true | public static void openFileInEditor(final IFileStore fileStore) {
Job job = new Job(Messages.EditorUtils_MSG_OpeningRemoteFile + fileStore.getName()) {
protected IStatus run(IProgressMonitor monitor) {
try {
final IFileStore localFileStore = toLocalFileStore(... | public static void openFileInEditor(final IFileStore fileStore) {
Job job = new Job(Messages.EditorUtils_MSG_OpeningRemoteFile + fileStore.getName()) {
protected IStatus run(IProgressMonitor monitor) {
try {
final IFileStore localFileStore = toLocalFileStore(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.