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/engine/src/info/svitkine/alexei/wage/GameWindow.java b/engine/src/info/svitkine/alexei/wage/GameWindow.java
index 61391c1..0abf6f2 100644
--- a/engine/src/info/svitkine/alexei/wage/GameWindow.java
+++ b/engine/src/info/svitkine/alexei/wage/GameWindow.java
@@ -1,395 +1,394 @@
package info.svitkine.alexei.w... | false | true | public GameWindow(final World world) {
this.world = world;
JMenuBar menubar = new JMenuBar();
JMenu fileMenu = createFileMenu();
JMenu editMenu = createEditMenu();
final JMenu commandsMenu = createCommandsMenu();
JMenu weaponsMenu = createWeaponsMenu();
menubar.add(createAppleMenu());
menubar.add(fileM... | public GameWindow(final World world) {
this.world = world;
JMenuBar menubar = new JMenuBar();
JMenu fileMenu = createFileMenu();
JMenu editMenu = createEditMenu();
final JMenu commandsMenu = createCommandsMenu();
JMenu weaponsMenu = createWeaponsMenu();
menubar.add(createAppleMenu());
menubar.add(fileM... |
diff --git a/hot-deploy/purchasing/src/org/opentaps/purchasing/domain/PurchasingRepository.java b/hot-deploy/purchasing/src/org/opentaps/purchasing/domain/PurchasingRepository.java
index 825b15ef5..b1485bed7 100644
--- a/hot-deploy/purchasing/src/org/opentaps/purchasing/domain/PurchasingRepository.java
+++ b/hot-deploy... | true | true | public void createSupplierProduct(SupplierProduct supplierProduct) throws RepositoryException {
CreateSupplierProductService service = new CreateSupplierProductService();
service.setInSupplierProductId(supplierProduct.getSupplierProductId());
// contruct parameters for call service
s... | public void createSupplierProduct(SupplierProduct supplierProduct) throws RepositoryException {
CreateSupplierProductService service = new CreateSupplierProductService();
service.setInProductId(supplierProduct.getProductId());
service.setInSupplierProductId(supplierProduct.getSupplierProduct... |
diff --git a/src/main/java/org/rsna/isn/transfercontent/Worker.java b/src/main/java/org/rsna/isn/transfercontent/Worker.java
index cfddf57..91cfdd2 100644
--- a/src/main/java/org/rsna/isn/transfercontent/Worker.java
+++ b/src/main/java/org/rsna/isn/transfercontent/Worker.java
@@ -1,217 +1,217 @@
/* Copyright (c) <2010... | false | true | public void run()
{
logger.info("Started worker thread for " + job);
try
{
JobDao dao = new JobDao();
try
{
//
// Generate KOS objects
//
Map<String, DicomStudy> studies = Collections.EMPTY_MAP;
try
{
dao.updateStatus(job, Job.RSNA_STARTED_KOS_GENERATION);
logger.inf... | public void run()
{
logger.info("Started worker thread for " + job);
try
{
JobDao dao = new JobDao();
try
{
//
// Generate KOS objects
//
Map<String, DicomStudy> studies = Collections.EMPTY_MAP;
try
{
dao.updateStatus(job, Job.RSNA_STARTED_KOS_GENERATION);
logger.inf... |
diff --git a/src/JRubyVSTPluginProxy.java b/src/JRubyVSTPluginProxy.java
index 652b469..8b5e816 100644
--- a/src/JRubyVSTPluginProxy.java
+++ b/src/JRubyVSTPluginProxy.java
@@ -1,224 +1,225 @@
import jvst.wrapper.VSTPluginAdapter;
import jvst.wrapper.valueobjects.*;
import org.jruby.Ruby;
import org.jruby.javasup... | true | true | public JRubyVSTPluginProxy(long wrapper) {
super(wrapper);
//This creates a new ruby interpreter instance for each instance of the plug
runtime = Ruby.newInstance();
// TODO: see if we can avoid this workaround here (move up to VSTPluginAdapter ?)
String resourcesFolder = getLogBasePath();
if (useMac... | public JRubyVSTPluginProxy(long wrapper) {
super(wrapper);
//This creates a new ruby interpreter instance for each instance of the plug
//defaults are used, eg. out from the running java program (which is *_java_stdout.txt :-))
runtime = Ruby.newInstance();
// TODO: see if we can avoid this workaround ... |
diff --git a/src/com/untamedears/ItemExchange/utility/ExchangeRule.java b/src/com/untamedears/ItemExchange/utility/ExchangeRule.java
index 79fc5d0..600f241 100644
--- a/src/com/untamedears/ItemExchange/utility/ExchangeRule.java
+++ b/src/com/untamedears/ItemExchange/utility/ExchangeRule.java
@@ -1,644 +1,644 @@
packag... | true | true | public static ExchangeRule parseRuleString(String ruleString) throws ExchangeRuleParseException {
try {
// [Type,Material
// ID,Durability,Amount,RequiredEnchantments[],ExcludedEnchantments[],UnlistedEnchantments[],DisplayName,Lore]
String[] compiledRule = ruleString.split(hiddenCategorySpacer);
// Check... | public static ExchangeRule parseRuleString(String ruleString) throws ExchangeRuleParseException {
try {
// [Type,Material
// ID,Durability,Amount,RequiredEnchantments[],ExcludedEnchantments[],UnlistedEnchantments[],DisplayName,Lore]
String[] compiledRule = ruleString.split(hiddenCategorySpacer);
// Check... |
diff --git a/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java b/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java
index a6726b582..91a2c178e 100644
--- a/activemq-core/src/main/java/org/apache/activemq/xbean/XBeanBrokerFactory.java
+++ b/activemq-core/src/main/ja... | false | true | public BrokerService createBroker(URI config) throws Exception {
String uri = config.getSchemeSpecificPart();
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(uri);
XBeanBrokerService broker = null;
try {
broker = (XBeanBrokerService) context.... | public BrokerService createBroker(URI config) throws Exception {
String uri = config.getSchemeSpecificPart();
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(uri);
BrokerService broker = null;
try {
broker = (BrokerService) context.getBean("b... |
diff --git a/src/com/ensifera/animosity/craftirc/CraftIRC.java b/src/com/ensifera/animosity/craftirc/CraftIRC.java
index 88b9ddc..6809b5b 100644
--- a/src/com/ensifera/animosity/craftirc/CraftIRC.java
+++ b/src/com/ensifera/animosity/craftirc/CraftIRC.java
@@ -1,1310 +1,1310 @@
package com.ensifera.animosity.craftirc;... | true | true | public void onEnable() {
try {
//Checking if the configuration file exists and imports the default one from the .jar if it doesn't
final File configFile = new File(this.getDataFolder(), "config.yml");
if (!configFile.exists()) {
this.saveDefaultConfig();
... | public void onEnable() {
try {
//Checking if the configuration file exists and imports the default one from the .jar if it doesn't
final File configFile = new File(this.getDataFolder(), "config.yml");
if (!configFile.exists()) {
this.saveDefaultConfig();
... |
diff --git a/core-providers/src/java/org/sakaiproject/entitybroker/providers/UserEntityProvider.java b/core-providers/src/java/org/sakaiproject/entitybroker/providers/UserEntityProvider.java
index d75ce14b..781bd032 100644
--- a/core-providers/src/java/org/sakaiproject/entitybroker/providers/UserEntityProvider.java
+++... | false | true | public String findAndCheckUserId(String currentUserId, String currentUserEid) {
if (currentUserId == null && currentUserEid == null) {
throw new IllegalArgumentException("Cannot get user from a null userId and eid, ensure at least userId or userEid are set");
}
String userId = nu... | public String findAndCheckUserId(String currentUserId, String currentUserEid) {
if (currentUserId == null && currentUserEid == null) {
throw new IllegalArgumentException("Cannot get user from a null userId and eid, ensure at least userId or userEid are set");
}
String userId = nu... |
diff --git a/src/de/_13ducks/cor/game/server/movement/ServerBehaviourMove.java b/src/de/_13ducks/cor/game/server/movement/ServerBehaviourMove.java
index 9135f7b..4d50a4a 100644
--- a/src/de/_13ducks/cor/game/server/movement/ServerBehaviourMove.java
+++ b/src/de/_13ducks/cor/game/server/movement/ServerBehaviourMove.java... | true | true | public synchronized void execute() {
// Auto-Ende:
if (target == null || speed <= 0) {
deactivate();
return;
}
// Wir laufen also.
// Aktuelle Position berechnen:
FloatingPointPosition oldPos = caster2.getPrecisePosition();
Vector vec ... | public synchronized void execute() {
// Auto-Ende:
if (target == null || speed <= 0) {
deactivate();
return;
}
// Wir laufen also.
// Aktuelle Position berechnen:
FloatingPointPosition oldPos = caster2.getPrecisePosition();
Vector vec ... |
diff --git a/src/app/Session.java b/src/app/Session.java
index 8f09953..0cb5824 100644
--- a/src/app/Session.java
+++ b/src/app/Session.java
@@ -1,45 +1,45 @@
package app;
import org.neo4j.graphdb.Transaction;
import java.util.Date;
import java.util.Calendar;
public class Session {
// Reference account
pub... | true | true | public static Session createFromLogin( String email, String password ) {
Calendar cal = Calendar.getInstance();
cal.setTime(new Date());
cal.add(Calendar.HOUR_OF_DAY, 1);
Session s;
try(Transaction tx = GraphDatabase.get().beginTx()) {
//TODO: query DB using email & password
s = new Session(new User(... | public static Session createFromLogin( String email, String password ) {
Calendar cal = Calendar.getInstance();
cal.setTime(new Date());
cal.add(Calendar.HOUR_OF_DAY, 1);
Session s;
try(Transaction tx = GraphDatabase.get().beginTx()) {
//TODO: query DB using email & password
s = new Session(new User(... |
diff --git a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/BlurClientManager.java b/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/BlurClientManager.java
index cbe5b5a5..6e3cb5d4 100644
--- a/src/blur-thrift/src/main/java/com/nearinfinity/blur/thrift/BlurClientManager.java
+++ b/src/blur-thrift... | true | true | public static <CLIENT, T> T execute(List<Connection> connections, AbstractCommand<CLIENT, T> command, int maxRetries, long backOffTime, long maxBackOffTime) throws BlurException, TException, IOException {
// LocalResources localResources = resources.get();
LocalResources localResources = null;
try {
... | public static <CLIENT, T> T execute(List<Connection> connections, AbstractCommand<CLIENT, T> command, int maxRetries, long backOffTime, long maxBackOffTime) throws BlurException, TException, IOException {
// LocalResources localResources = resources.get();
LocalResources localResources = null;
try {
... |
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/ShowVersionsHandler.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/ShowVersionsHandler.java
index 8a9ce037..2fdb9974 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/command/ShowVersio... | true | true | public Object execute(ExecutionEvent event) throws ExecutionException {
boolean compareMode = Boolean.TRUE.toString().equals(
event.getParameter(HistoryViewCommands.COMPARE_MODE_PARAM));
IStructuredSelection selection = getSelection(getPage());
if (selection.size() < 1)
return null;
Object input = getPa... | public Object execute(ExecutionEvent event) throws ExecutionException {
boolean compareMode = Boolean.TRUE.toString().equals(
event.getParameter(HistoryViewCommands.COMPARE_MODE_PARAM));
IStructuredSelection selection = getSelection(getPage());
if (selection.size() < 1)
return null;
Object input = getPa... |
diff --git a/src/com/tactfactory/harmony/plateforme/SqliteAdapter.java b/src/com/tactfactory/harmony/plateforme/SqliteAdapter.java
index 5b249129..34cd7b94 100644
--- a/src/com/tactfactory/harmony/plateforme/SqliteAdapter.java
+++ b/src/com/tactfactory/harmony/plateforme/SqliteAdapter.java
@@ -1,400 +1,401 @@
/**
* ... | false | true | public static String generateColumnType(final FieldMetadata field) {
String type;
if (!Strings.isNullOrEmpty(field.getHarmonyType())) {
if (field.getHarmonyType().equals(Column.Type.ENUM.getValue())) {
EnumMetadata enumMeta =
ApplicationMetadata.INSTANCE.getEnums().get(
field.getType());
... | public static String generateColumnType(final FieldMetadata field) {
String type;
if (!Strings.isNullOrEmpty(field.getHarmonyType())) {
if (field.getHarmonyType().equals(Column.Type.ENUM.getValue())) {
EnumMetadata enumMeta =
ApplicationMetadata.INSTANCE.getEnums().get(
field.getType());
... |
diff --git a/DeliveryPerformance/src/com/sff/report_performance/ExcelDocumentCreator.java b/DeliveryPerformance/src/com/sff/report_performance/ExcelDocumentCreator.java
index 9b4dcc6..90562a0 100644
--- a/DeliveryPerformance/src/com/sff/report_performance/ExcelDocumentCreator.java
+++ b/DeliveryPerformance/src/com/sff/... | true | true | protected String doInBackground() {
try{
boolean allCustSelected = customerData.size()==0 ? true : false;
boolean allProjSelected = projectData.size()==0 ? true : false;
boolean allStatSelected = statusData.size()==0 ? true : false;
StringBuilder query = generateQuery(allCustSelected,allProjSelected... | protected String doInBackground() {
try{
boolean allCustSelected = customerData.size()==0 ? true : false;
boolean allProjSelected = projectData.size()==0 ? true : false;
boolean allStatSelected = statusData.size()==0 ? true : false;
StringBuilder query = generateQuery(allCustSelected,allProjSelected... |
diff --git a/modules/core/src/main/java/org/torquebox/core/injection/analysis/RuntimeInjectionAnalyzer.java b/modules/core/src/main/java/org/torquebox/core/injection/analysis/RuntimeInjectionAnalyzer.java
index d7820d2ae..cef32efda 100644
--- a/modules/core/src/main/java/org/torquebox/core/injection/analysis/RuntimeInj... | false | true | public Object analyzeAndInject(Object arg) throws Exception {
System.err.println( "Analyzing: " + arg.getClass() );
if (arg instanceof RubyProc) {
RubyProc proc = (RubyProc) arg;
InjectionRubyByteCodeVisitor visitor = new InjectionRubyByteCodeVisitor( this.analyzer );
... | public Object analyzeAndInject(Object arg) throws Exception {
System.err.println( "Analyzing: " + arg.getClass() );
if (arg instanceof RubyProc) {
RubyProc proc = (RubyProc) arg;
InjectionRubyByteCodeVisitor visitor = new InjectionRubyByteCodeVisitor( this.analyzer );
... |
diff --git a/src/net/sf/freecol/common/networking/SetDestinationMessage.java b/src/net/sf/freecol/common/networking/SetDestinationMessage.java
index 9b34a21b4..abcd23fed 100644
--- a/src/net/sf/freecol/common/networking/SetDestinationMessage.java
+++ b/src/net/sf/freecol/common/networking/SetDestinationMessage.java
@@ ... | true | true | public Element handle(FreeColServer server, Connection connection) {
ServerPlayer serverPlayer = server.getPlayer(connection);
Game game = serverPlayer.getGame();
Unit unit;
try {
unit = server.getUnitSafely(unitId, serverPlayer);
} catch (Exception e) {
... | public Element handle(FreeColServer server, Connection connection) {
ServerPlayer serverPlayer = server.getPlayer(connection);
Game game = serverPlayer.getGame();
Unit unit;
try {
unit = server.getUnitSafely(unitId, serverPlayer);
} catch (Exception e) {
... |
diff --git a/org.dawnsci.slicing.api/src/org/dawnsci/slicing/api/util/SliceUtils.java b/org.dawnsci.slicing.api/src/org/dawnsci/slicing/api/util/SliceUtils.java
index 25241b7fe..dd40f8276 100644
--- a/org.dawnsci.slicing.api/src/org/dawnsci/slicing/api/util/SliceUtils.java
+++ b/org.dawnsci.slicing.api/src/org/dawnsci/... | false | true | public static void plotSlice(final ILazyDataset lazySet,
final SliceObject currentSlice,
final int[] dataShape,
final PlotType type,
final IPlottingSystem plottingSystem,
... | public static void plotSlice(final ILazyDataset lazySet,
final SliceObject currentSlice,
final int[] dataShape,
final PlotType type,
final IPlottingSystem plottingSystem,
... |
diff --git a/WEB-INF/src/com/astrider/sfc/src/model/RegisterModel.java b/WEB-INF/src/com/astrider/sfc/src/model/RegisterModel.java
index 33d3f95..59d7121 100644
--- a/WEB-INF/src/com/astrider/sfc/src/model/RegisterModel.java
+++ b/WEB-INF/src/com/astrider/sfc/src/model/RegisterModel.java
@@ -1,158 +1,158 @@
package co... | true | true | public boolean registerUser(HttpServletRequest request) {
// フォーム情報取得
Mapper<RegisterFormVo> m = new Mapper<RegisterFormVo>();
RegisterFormVo registerForm = (RegisterFormVo) m.fromHttpRequest(request);
HttpSession session = request.getSession();
session.setAttribute(SESSION_REGISTER_FORM, registerForm);
/... | public boolean registerUser(HttpServletRequest request) {
// フォーム情報取得
Mapper<RegisterFormVo> m = new Mapper<RegisterFormVo>();
RegisterFormVo registerForm = (RegisterFormVo) m.fromHttpRequest(request);
HttpSession session = request.getSession();
session.setAttribute(SESSION_REGISTER_FORM, registerForm);
/... |
diff --git a/test/de/schildbach/pte/live/TlswProviderLiveTest.java b/test/de/schildbach/pte/live/TlswProviderLiveTest.java
index 5006052..71b6da4 100644
--- a/test/de/schildbach/pte/live/TlswProviderLiveTest.java
+++ b/test/de/schildbach/pte/live/TlswProviderLiveTest.java
@@ -1,90 +1,90 @@
/*
* Copyright 2010, 2011 ... | true | true | public void shortConnection() throws Exception
{
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null,
new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL);
System.out.println(res... | public void shortConnection() throws Exception
{
final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "70003023"), null, new Location(
LocationType.STATION, 0, null, "70003025"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL);
System.out.println(result... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/container/Jetty7CometSupport.java b/modules/cpr/src/main/java/org/atmosphere/container/Jetty7CometSupport.java
index 8b68024d9..9585df8cf 100644
--- a/modules/cpr/src/main/java/org/atmosphere/container/Jetty7CometSupport.java
+++ b/modules/cpr/src/main/java/org/atmo... | true | true | public Action service(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {
Action action = null;
Continuation c = (Continuation) req.getAttribute(Continuation.class.getName());
if (c == null || c.isInitial()) {
action = suspended(req, res);
... | public Action service(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {
Action action = null;
Continuation c = (Continuation) req.getAttribute(Continuation.class.getName());
if (c == null || c.isInitial()) {
action = suspended(req, res);
... |
diff --git a/Laputa/src/main/java/HandicapProcessing/HandicapProcessor.java b/Laputa/src/main/java/HandicapProcessing/HandicapProcessor.java
index 0e39f8f..b759490 100644
--- a/Laputa/src/main/java/HandicapProcessing/HandicapProcessor.java
+++ b/Laputa/src/main/java/HandicapProcessing/HandicapProcessor.java
@@ -1,29 +1... | true | true | public static void main(String args[]){
HandicapProcessor handicapProcessor = new HandicapProcessor();
handicapProcessor.betOneMatch(1.53, 4, 4.8, -1, 0.875, 0.925, "snow001", "8", "8");
// System.out.println("==========");
// handicapProcessor.betOneMatch(1.36, 4.75, 8.0, 1, 0.7, 1.23... | public static void main(String args[]){
HandicapProcessor handicapProcessor = new HandicapProcessor();
handicapProcessor.betOneMatch(1.45, 3.8, 6, 1.25, 0.75, 1.05, "snow001", "8", "8");
// System.out.println("==========");
// handicapProcessor.betOneMatch(1.36, 4.75, 8.0, 1, 0.7, 1.23... |
diff --git a/src/line/tracker/Preview.java b/src/line/tracker/Preview.java
index 4da8757..81e2f95 100644
--- a/src/line/tracker/Preview.java
+++ b/src/line/tracker/Preview.java
@@ -1,88 +1,88 @@
package line.tracker;
import java.io.IOException;
import android.content.Context;
import android.graphics.Bitmap;
im... | true | true | public void surfaceCreated(SurfaceHolder holder) {
mCamera = Camera.open();
try {
mCamera.setPreviewDisplay(holder);
// Preview callback used whenever new viewfinder frame is available
mCamera.setPreviewCallback(new PreviewCallback() {
public v... | public void surfaceCreated(SurfaceHolder holder) {
mCamera = Camera.open(0);
try {
mCamera.setPreviewDisplay(holder);
// Preview callback used whenever new viewfinder frame is available
mCamera.setPreviewCallback(new PreviewCallback() {
public ... |
diff --git a/src/main/java/eel/seprphase2/Simulator/PhysicalModel/PhysicalModel.java b/src/main/java/eel/seprphase2/Simulator/PhysicalModel/PhysicalModel.java
index 300d108..52a81a2 100644
--- a/src/main/java/eel/seprphase2/Simulator/PhysicalModel/PhysicalModel.java
+++ b/src/main/java/eel/seprphase2/Simulator/Physical... | true | true | public String[] listFailedComponents() {
ArrayList<String> out = new ArrayList<String>();
/*
* Iterate through all pumps to get their IDs
*/
Iterator pumpIterator = allPumps.entrySet().iterator();
while (pumpIterator.hasNext()) {
Map.Entry pump ... | public String[] listFailedComponents() {
ArrayList<String> out = new ArrayList<String>();
/*
* Iterate through all pumps to get their IDs
*/
Iterator pumpIterator = allPumps.entrySet().iterator();
while (pumpIterator.hasNext()) {
Map.Entry pump ... |
diff --git a/WebAlbums3-Bootstrap/src/net/wazari/bootstrap/GF.java b/WebAlbums3-Bootstrap/src/net/wazari/bootstrap/GF.java
index bbaee6f4..95aac748 100644
--- a/WebAlbums3-Bootstrap/src/net/wazari/bootstrap/GF.java
+++ b/WebAlbums3-Bootstrap/src/net/wazari/bootstrap/GF.java
@@ -1,369 +1,372 @@
/*
* To change this te... | true | true | public void start() throws Throwable {
long timeStart = System.currentTimeMillis();
log.warn("Starting WebAlbums GF bootstrap");
log.info(cfg.print());
if (keyfile.exists()) {
log.warn("delete ./keyfile ");
keyfile.delete();
}
File earfile =... | public void start() throws Throwable {
long timeStart = System.currentTimeMillis();
log.warn("Starting WebAlbums GF bootstrap");
log.info(cfg.print());
if (keyfile.exists()) {
log.warn("delete ./keyfile ");
keyfile.delete();
}
File earfile =... |
diff --git a/src/com/herocraftonline/dev/heroes/command/commands/CooldownCommand.java b/src/com/herocraftonline/dev/heroes/command/commands/CooldownCommand.java
index 636025e9..4766f66e 100644
--- a/src/com/herocraftonline/dev/heroes/command/commands/CooldownCommand.java
+++ b/src/com/herocraftonline/dev/heroes/command... | true | true | public boolean execute(CommandSender sender, String identifier, String[] args) {
if (!(sender instanceof Player))
return false;
Player player = (Player) sender;
Hero hero = plugin.getHeroManager().getHero(player);
if (hero.getCooldowns().isEmpty()) {
... | public boolean execute(CommandSender sender, String identifier, String[] args) {
if (!(sender instanceof Player))
return false;
Player player = (Player) sender;
Hero hero = plugin.getHeroManager().getHero(player);
if (hero.getCooldowns().isEmpty()) {
... |
diff --git a/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/KnowledgeStoreServiceImpl.java b/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/KnowledgeStoreServiceImpl.java
index 02cd409adc..3343babc7b 100644
--- a/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/Knowledge... | true | true | private CommandExecutor buildCommanService(long sessionId,
KnowledgeBase kbase,
KnowledgeSessionConfiguration conf,
Environment env) {
try {
Class< ? extends... | private CommandExecutor buildCommanService(long sessionId,
KnowledgeBase kbase,
KnowledgeSessionConfiguration conf,
Environment env) {
try {
Class< ? extends... |
diff --git a/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java b/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java
index 752cb0733..99bd057dc 100644
--- a/el/src/main/java/org/apache/strutsel/taglib/html/ELFormTagBeanInfo.java
+++ b/el/src/main/java/org/apache/strutsel/taglib... | false | true | public PropertyDescriptor[] getPropertyDescriptors() {
ArrayList proplist = new ArrayList();
try {
proplist.add(new PropertyDescriptor("action", ELFormTag.class,
null, "setActionExpr"));
} catch (IntrospectionException ex) {
}
try {
... | public PropertyDescriptor[] getPropertyDescriptors() {
ArrayList proplist = new ArrayList();
try {
proplist.add(new PropertyDescriptor("action", ELFormTag.class,
null, "setActionExpr"));
} catch (IntrospectionException ex) {
}
try {
... |
diff --git a/src/com/zarcode/data/maint/GeoRSSWrite.java b/src/com/zarcode/data/maint/GeoRSSWrite.java
index 9f56014..08a3b3f 100644
--- a/src/com/zarcode/data/maint/GeoRSSWrite.java
+++ b/src/com/zarcode/data/maint/GeoRSSWrite.java
@@ -1,341 +1,338 @@
package com.zarcode.data.maint;
import java.io.IOException;
im... | true | true | public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
int i = 0;
int j = 0;
int k = 0;
String msg = null;
String urlStr = null;
String rssLink = null;
String rssTitle = null;
String rssDesc = null;
String temp = null;
int itemCount =... | public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
int i = 0;
int j = 0;
int k = 0;
String msg = null;
String urlStr = null;
String temp = null;
int itemCount = 0;
int memberCount = 0;
Node itemNode = null;
WaterResourceDO res = null;
... |
diff --git a/src/main/java/org/vanbest/xmltv/Horizon.java b/src/main/java/org/vanbest/xmltv/Horizon.java
index 8dec8ff..a1c2b80 100644
--- a/src/main/java/org/vanbest/xmltv/Horizon.java
+++ b/src/main/java/org/vanbest/xmltv/Horizon.java
@@ -1,361 +1,363 @@
package org.vanbest.xmltv;
/*
Copyright (c) 2013 Jan-Pasc... | true | true | private Programme programmeFromJSON(JSONObject json,
boolean fetchDetails) throws Exception {
String id = json.getString("id");
Programme result = cache.get(getId(), id);
boolean cached = (result != null);
boolean doNotCache = false;
if (result == null) {
stats.cacheMisses++;
result = new Programme(... | private Programme programmeFromJSON(JSONObject json,
boolean fetchDetails) throws Exception {
String id = json.getString("id");
Programme result = cache.get(getId(), id);
boolean cached = (result != null);
boolean doNotCache = false;
if (result == null) {
stats.cacheMisses++;
result = new Programme(... |
diff --git a/src/haven/RootWidget.java b/src/haven/RootWidget.java
index 058ef5f6..bcacade2 100644
--- a/src/haven/RootWidget.java
+++ b/src/haven/RootWidget.java
@@ -1,71 +1,71 @@
/*
* This file is part of the Haven & Hearth game client.
* Copyright (C) 2009 Fredrik Tolf <fredrik@dolda2000.com>, and
* ... | true | true | public boolean globtype(char key, KeyEvent ev) {
if(!super.globtype(key, ev)) {
if(Config.profile && (key == '`')) {
new Profwnd(findchild(SlenHud.class), gprof, "Glob prof");
} else if(Config.profile && (key == '!')) {
entercmd();
} else if(key != 0) {
wdgmsg("gk", (int)key);
}
}
retur... | public boolean globtype(char key, KeyEvent ev) {
if(!super.globtype(key, ev)) {
if(Config.profile && (key == '`')) {
new Profwnd(findchild(SlenHud.class), gprof, "Glob prof");
} else if(key == ':') {
entercmd();
} else if(key != 0) {
wdgmsg("gk", (int)key);
}
}
return(true);
}
|
diff --git a/plugins/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/LayoutUtil.java b/plugins/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/layout/LayoutUtil.java
index 971387eca..5ebc58149 100644
-... | false | true | public static ColumnsInfo createTable( ITableContent table, int width )
{
int tableWidth = getElementWidth( table, width );
int columnCount = table.getColumnCount( );
if ( columnCount == 0 )
{
return null;
}
int[] columns = new int[columnCount];
int unassignedCount = 0;
int totalAssigned = 0;
... | public static ColumnsInfo createTable( ITableContent table, int width )
{
int tableWidth = getElementWidth( table, width );
int columnCount = table.getColumnCount( );
if ( columnCount == 0 )
{
return null;
}
int[] columns = new int[columnCount];
int unassignedCount = 0;
int totalAssigned = 0;
... |
diff --git a/src/com/android/phone/PhoneApp.java b/src/com/android/phone/PhoneApp.java
index 82fda65..ff4b770 100644
--- a/src/com/android/phone/PhoneApp.java
+++ b/src/com/android/phone/PhoneApp.java
@@ -1,1746 +1,1747 @@
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache Lice... | true | true | public void onCreate() {
if (VDBG) Log.v(LOG_TAG, "onCreate()...");
ContentResolver resolver = getContentResolver();
if (phone == null) {
// Initialize the telephony framework
PhoneFactory.makeDefaultPhones(this);
// Get the default phone
ph... | public void onCreate() {
if (VDBG) Log.v(LOG_TAG, "onCreate()...");
ContentResolver resolver = getContentResolver();
if (phone == null) {
// Initialize the telephony framework
PhoneFactory.makeDefaultPhones(this);
// Get the default phone
ph... |
diff --git a/src/database/Postgres.java b/src/database/Postgres.java
index d73f3cd..f12b08a 100644
--- a/src/database/Postgres.java
+++ b/src/database/Postgres.java
@@ -1,57 +1,57 @@
/**
* Postgres.java
*
* Copyright (C) 2009-2011 Kenneth Prugh
*
* This program is free software: you can redistribute it and/o... | true | true | private Postgres() {
Config config = Config.getInstance();
try {
Class.forName("org.postgresql.Driver");
db = DriverManager.getConnection(config.getDbpath(),config.getDbuser(), config.getDbpass());
final String DBEncoding = "UNICODE";
PreparedStatement... | private Postgres() {
Config config = Config.getInstance();
try {
Class.forName("org.postgresql.Driver");
db = DriverManager.getConnection(config.getDbpath(),config.getDbuser(), config.getDbpass());
final String DBEncoding = "UTF8";
PreparedStatement st... |
diff --git a/src/main/java/org/bukkit/command/defaults/PlaySoundCommand.java b/src/main/java/org/bukkit/command/defaults/PlaySoundCommand.java
index 3dfb0483..0cb5ca2d 100644
--- a/src/main/java/org/bukkit/command/defaults/PlaySoundCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/PlaySoundCommand.java
@@ -1... | false | true | public boolean execute(CommandSender sender, String currentAlias, String[] args) {
if (!testPermission(sender)) {
return true;
}
if (args.length < 2) {
sender.sendMessage(ChatColor.RED + "Usage: " + usageMessage);
return false;
}
final Str... | public boolean execute(CommandSender sender, String currentAlias, String[] args) {
if (!testPermission(sender)) {
return true;
}
if (args.length < 2) {
sender.sendMessage(ChatColor.RED + "Usage: " + usageMessage);
return false;
}
final Str... |
diff --git a/expenditure-tracking/src/pt/ist/expenditureTrackingSystem/presentationTier/renderers/autoCompleteProvider/CPVAutoCompleteProvider.java b/expenditure-tracking/src/pt/ist/expenditureTrackingSystem/presentationTier/renderers/autoCompleteProvider/CPVAutoCompleteProvider.java
index ce595105..0aac10ce 100644
---... | false | true | public Collection getSearchResults(Map<String, String> argsMap, String value, int maxCount) {
List<CPVReference> result = new ArrayList<CPVReference>();
String[] values = value.split(" ");
for (final CPVReference cpvCode : ExpenditureTrackingSystem.getInstance().getCPVReferences()) {
if (cpvCode.getCode()... | public Collection getSearchResults(Map<String, String> argsMap, String value, int maxCount) {
List<CPVReference> result = new ArrayList<CPVReference>();
String[] values = value.toLowerCase().split(" ");
for (final CPVReference cpvCode : ExpenditureTrackingSystem.getInstance().getCPVReferences()) {
if (cpv... |
diff --git a/hyracks-storage-am-lsm-btree/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/btree/impls/LSMBTreeFileManager.java b/hyracks-storage-am-lsm-btree/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/btree/impls/LSMBTreeFileManager.java
index 61d956d08..e1dbc9e5a 100644
--- a/hyracks-storage-am-lsm-btree/src/ma... | true | true | public List<LSMComponentFileReferences> cleanupAndGetValidFiles() throws HyracksDataException, IndexException {
List<LSMComponentFileReferences> validFiles = new ArrayList<LSMComponentFileReferences>();
ArrayList<ComparableFileName> allBTreeFiles = new ArrayList<ComparableFileName>();
ArrayL... | public List<LSMComponentFileReferences> cleanupAndGetValidFiles() throws HyracksDataException, IndexException {
List<LSMComponentFileReferences> validFiles = new ArrayList<LSMComponentFileReferences>();
ArrayList<ComparableFileName> allBTreeFiles = new ArrayList<ComparableFileName>();
ArrayL... |
diff --git a/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java b/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java
index f398898..5906cd2 100644
--- a/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java
+++ b/src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java
@@ -1,1... | true | true | private StringBuffer printSymbolTree(int linebreakpos, boolean preserveAllSemiColons)
throws IOException {
offset = 0;
braceNesting = 0;
scopes.clear();
String symbol;
JavaScriptToken token;
ScriptOrFnScope currentScope;
JavaScriptIdentifier iden... | private StringBuffer printSymbolTree(int linebreakpos, boolean preserveAllSemiColons)
throws IOException {
offset = 0;
braceNesting = 0;
scopes.clear();
String symbol;
JavaScriptToken token;
ScriptOrFnScope currentScope;
JavaScriptIdentifier iden... |
diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java
index 0cf386ae3..79ccf235f 100644
--- a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java
+++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java
@@ -1,341 +1,342 @@... | false | true | protected void setupChild(Configuration aChildConf)
throws CheckstyleException
{
final String name = aChildConf.getName();
try {
final Object module = mModuleFactory.createModule(name);
if (!(module instanceof FileSetCheck)) {
throw new Checkst... | protected void setupChild(Configuration aChildConf)
throws CheckstyleException
{
final String name = aChildConf.getName();
try {
final Object module = mModuleFactory.createModule(name);
if (!(module instanceof FileSetCheck)) {
throw new Checkst... |
diff --git a/src/main/java/net/sf/jooreports/templates/xmlfilters/DynamicImageFilter.java b/src/main/java/net/sf/jooreports/templates/xmlfilters/DynamicImageFilter.java
index 1ef07a0..1f41fbc 100644
--- a/src/main/java/net/sf/jooreports/templates/xmlfilters/DynamicImageFilter.java
+++ b/src/main/java/net/sf/jooreports/... | true | true | public void doFilter(Document document) {
Nodes nodes = document.query("//draw:image", OpenDocumentNamespaces.XPATH_CONTEXT);
for (int nodeIndex = 0; nodeIndex < nodes.size(); nodeIndex++) {
Element imageElement = (Element) nodes.get(nodeIndex);
Element frameElement = (Element) imageElement.getParent();
i... | public void doFilter(Document document) {
Nodes nodes = document.query("//draw:image", OpenDocumentNamespaces.XPATH_CONTEXT);
for (int nodeIndex = 0; nodeIndex < nodes.size(); nodeIndex++) {
Element imageElement = (Element) nodes.get(nodeIndex);
Element frameElement = (Element) imageElement.getParent();
i... |
diff --git a/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/CheckForUpdatesTest.java b/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/CheckForUpdatesTest.java
index e462d7537..d9697f030 100644
--- a/tests/plugins/org.jboss.tools.tests.ins... | true | true | public void testCheckForUpdates() throws Exception {
bot.menu("Help").menu("Check for Updates");
this.bot.waitWhile(new ICondition() {
@Override
public boolean test() throws Exception {
return bot.activeShell().getText().equals("Contacting Software Sites");
}
@Override
public void init(SWTBo... | public void testCheckForUpdates() throws Exception {
bot.menu("Help").menu("Check for Updates").click();
bot.shell("Contacting Software Sites");
this.bot.waitWhile(new ICondition() {
@Override
public boolean test() throws Exception {
return bot.activeShell().getText().equals("Contacting Software Sites"... |
diff --git a/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java b/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java
index 140381da14..7fcc3e361e 100644
--- a/drools-compiler/src/test/java/org/drools/integrationtests/CepEspTest.java
+++ b/drools-compiler/src/test/java/org/d... | true | true | public void testTimeRelationalOperators() throws Exception {
// read in the source
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_CEP_TimeRelationalOperators.drl" ) );
final RuleBaseConfiguration rbconf = new RuleBaseConfiguration();
rbconf.setEven... | public void testTimeRelationalOperators() throws Exception {
// read in the source
final Reader reader = new InputStreamReader( getClass().getResourceAsStream( "test_CEP_TimeRelationalOperators.drl" ) );
final RuleBaseConfiguration rbconf = new RuleBaseConfiguration();
rbconf.setEven... |
diff --git a/src/main/java/PermissionsExListener.java b/src/main/java/PermissionsExListener.java
index 995a5ca..5db4ae1 100644
--- a/src/main/java/PermissionsExListener.java
+++ b/src/main/java/PermissionsExListener.java
@@ -1,59 +1,59 @@
import com.daemitus.deadbolt.listener.DeadboltListener;
import com.daemitus.d... | true | true | public boolean canPlayerInteract(Deadbolted db, PlayerInteractEvent event) {
Player player = event.getPlayer();
Set<String> allGroupNames = new HashSet<String>();
for (PermissionGroup g : permissions.getUser(player).getGroups()) {
allGroupNames.add(g.getName());
getIn... | public boolean canPlayerInteract(Deadbolted db, PlayerInteractEvent event) {
Player player = event.getPlayer();
Set<String> allGroupNames = new HashSet<String>();
for (PermissionGroup g : permissions.getUser(player.getName()).getGroups()) {
allGroupNames.add(g.getName());
... |
diff --git a/src/edu/brown/cs/systems/modes/lib/Manager.java b/src/edu/brown/cs/systems/modes/lib/Manager.java
index 22e3a51..b09f988 100644
--- a/src/edu/brown/cs/systems/modes/lib/Manager.java
+++ b/src/edu/brown/cs/systems/modes/lib/Manager.java
@@ -1,206 +1,206 @@
package edu.brown.cs.systems.modes.lib;
import ... | true | true | private void connectionCallback() {
// Get supported modes from application
ArrayList<ModeData> modes = null;
try {
modes = (ArrayList<ModeData>) modeService.getModes();
} catch (RemoteException e) {
Log.e(TAG, "Couldn't get mones from application");
... | private void connectionCallback() {
// Get supported modes from application
ArrayList<ModeData> modes = null;
try {
modes = (ArrayList<ModeData>) modeService.getModes();
} catch (RemoteException e) {
Log.e(TAG, "Couldn't get mones from application");
... |
diff --git a/LoECraftPack.java b/LoECraftPack.java
index cfaf8e0..885a121 100644
--- a/LoECraftPack.java
+++ b/LoECraftPack.java
@@ -1,303 +1,303 @@
package loecraftpack;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import loecraftpack.blocks.BlockBedColor;
import loecraftpack... | false | true | public void load(FMLInitializationEvent e)
{
LanguageRegistry.instance().addStringLocalization("itemGroup.LoECraftTab", "en_US", "LoECraft");
for(int i = 0; i < Bits.names.length; i++ )
LanguageRegistry.instance().addStringLocalization("item.itemBits." + Bits.iconNames[i] + ".name", "en_US", Bits.names[i]);... | public void load(FMLInitializationEvent e)
{
LanguageRegistry.instance().addStringLocalization("itemGroup.LoECraftTab", "en_US", "LoECraft");
for(int i = 0; i < Bits.names.length; i++ )
LanguageRegistry.instance().addStringLocalization("item.itemBits." + Bits.iconNames[i] + ".name", "en_US", Bits.names[i]);... |
diff --git a/src/hoten/serving/ServingSocket.java b/src/hoten/serving/ServingSocket.java
index efc3d66..0791575 100644
--- a/src/hoten/serving/ServingSocket.java
+++ b/src/hoten/serving/ServingSocket.java
@@ -1,222 +1,221 @@
package hoten.serving;
import java.io.File;
import java.io.IOException;
import java.net.S... | true | true | public static ByteArray clientRespondToHashes(ByteArray reader) {
ByteArray msg = new ByteArray();
File local = new File("localdata");
//ensure it exists
if (!local.exists()) {
local.mkdirs();
}
//create an arraylist of all the files in the localdata fol... | public static ByteArray clientRespondToHashes(ByteArray reader) {
ByteArray msg = new ByteArray();
File local = new File("localdata");
//ensure it exists
if (!local.exists()) {
local.mkdirs();
}
//create an arraylist of all the files in the localdata fol... |
diff --git a/src/org/biojava/bio/seq/impl/AssembledSymbolList.java b/src/org/biojava/bio/seq/impl/AssembledSymbolList.java
index 1f3624096..6f07c2642 100644
--- a/src/org/biojava/bio/seq/impl/AssembledSymbolList.java
+++ b/src/org/biojava/bio/seq/impl/AssembledSymbolList.java
@@ -1,197 +1,197 @@
/*
* ... | true | true | public String subStr(int start, int end) {
if (start < 1 || end > length) {
throw new IndexOutOfBoundsException("Range out of bounds: " + start + " - " + end);
}
StringBuffer sb = new StringBuffer();
int pos = start;
while (pos <= end) {
Location loc = locationOfPoint(pos);
if (loc != null) {
... | public String subStr(int start, int end) {
if (start < 1 || end > length) {
throw new IndexOutOfBoundsException("Range out of bounds: " + start + " - " + end);
}
StringBuffer sb = new StringBuffer();
int pos = start;
while (pos <= end) {
Location loc = locationOfPoint(pos);
if (loc != null) {
... |
diff --git a/src/main/java/com/github/ucchyocean/ct/command/CTPCommand.java b/src/main/java/com/github/ucchyocean/ct/command/CTPCommand.java
index f8cbf6d..a16e9f6 100644
--- a/src/main/java/com/github/ucchyocean/ct/command/CTPCommand.java
+++ b/src/main/java/com/github/ucchyocean/ct/command/CTPCommand.java
@@ -1,360 +... | false | true | public boolean onCommand(
CommandSender sender, Command command, String label, String[] args) {
// 引数が一つもない場合は、ここで終了
if ( args.length == 0 ) {
return false;
}
if ( args[0].equalsIgnoreCase("list") ) {
// ctp list の実行
sender.sendMessa... | public boolean onCommand(
CommandSender sender, Command command, String label, String[] args) {
// 引数が一つもない場合は、ここで終了
if ( args.length == 0 ) {
return false;
}
if ( args[0].equalsIgnoreCase("list") ) {
// ctp list の実行
sender.sendMessa... |
diff --git a/src/main/java/de/hliebau/tracktivity/presentation/UserController.java b/src/main/java/de/hliebau/tracktivity/presentation/UserController.java
index 3470f7f..9b5c9dc 100644
--- a/src/main/java/de/hliebau/tracktivity/presentation/UserController.java
+++ b/src/main/java/de/hliebau/tracktivity/presentation/Use... | true | true | public String registerUser(@Valid User user, BindingResult bindingResult) {
if (!bindingResult.hasErrors()) {
try {
String plainPassword = user.getPassword();
user.setPassword(passwordEncoder.encodePassword(plainPassword, user));
userService.createUser(user);
} catch (DataIntegrityViolationExceptio... | public String registerUser(@Valid User user, BindingResult bindingResult) {
if (!bindingResult.hasErrors()) {
try {
String plainPassword = user.getPassword();
user.setPassword(passwordEncoder.encodePassword(plainPassword, user.getUsername()));
userService.createUser(user);
} catch (DataIntegrityVio... |
diff --git a/core/src/test/java/org/apache/accumulo/core/cli/TestClientOpts.java b/core/src/test/java/org/apache/accumulo/core/cli/TestClientOpts.java
index e3e7a67eb..8ddf490fc 100644
--- a/core/src/test/java/org/apache/accumulo/core/cli/TestClientOpts.java
+++ b/core/src/test/java/org/apache/accumulo/core/cli/TestCli... | true | true | public void test() {
BatchWriterConfig cfg = new BatchWriterConfig();
// document the defaults
ClientOpts args = new ClientOpts();
BatchWriterOpts bwOpts = new BatchWriterOpts();
BatchScannerOpts bsOpts = new BatchScannerOpts();
assertEquals(System.getProperty("user.name"), args.user);
... | public void test() {
BatchWriterConfig cfg = new BatchWriterConfig();
// document the defaults
ClientOpts args = new ClientOpts();
BatchWriterOpts bwOpts = new BatchWriterOpts();
BatchScannerOpts bsOpts = new BatchScannerOpts();
assertEquals(System.getProperty("user.name"), args.user);
... |
diff --git a/contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/bliki/WikiServletScalaris.java b/contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/bliki/WikiServletScalaris.java
index 9c8aa603..7cf33698 100644
--- a/contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/bliki/WikiServletScalaris.java
+++... | false | true | protected synchronized void showImportPage(HttpServletRequest request,
HttpServletResponse response, Connection connection)
throws ServletException, IOException {
WikiPageBean page = new WikiPageBean();
page.setNotAvailable(true);
request.setAttribute("pageBean", page... | protected synchronized void showImportPage(HttpServletRequest request,
HttpServletResponse response, Connection connection)
throws ServletException, IOException {
WikiPageBean page = new WikiPageBean();
page.setNotAvailable(true);
request.setAttribute("pageBean", page... |
diff --git a/components/bio-formats/src/loci/formats/in/ZeissLSMReader.java b/components/bio-formats/src/loci/formats/in/ZeissLSMReader.java
index 099d794ac..f7bfc8611 100644
--- a/components/bio-formats/src/loci/formats/in/ZeissLSMReader.java
+++ b/components/bio-formats/src/loci/formats/in/ZeissLSMReader.java
@@ -1,2... | true | true | protected void initMetadata(int series) throws FormatException, IOException {
setSeries(series);
IFDList ifds = ifdsList.get(series);
IFD ifd = ifds.get(0);
in.close();
in = new RandomAccessInputStream(getLSMFileFromSeries(series));
in.order(isLittleEndian());
tiffParser = new TiffParser... | protected void initMetadata(int series) throws FormatException, IOException {
setSeries(series);
IFDList ifds = ifdsList.get(series);
IFD ifd = ifds.get(0);
in.close();
in = new RandomAccessInputStream(getLSMFileFromSeries(series));
in.order(isLittleEndian());
tiffParser = new TiffParser... |
diff --git a/ctomlabviewer/src/java/gov/nih/nci/caxchange/ctom/viewer/actions/StudySearchAction.java b/ctomlabviewer/src/java/gov/nih/nci/caxchange/ctom/viewer/actions/StudySearchAction.java
index 3450495c..f4d62724 100644
--- a/ctomlabviewer/src/java/gov/nih/nci/caxchange/ctom/viewer/actions/StudySearchAction.java
+++... | true | true | public ActionForward doStudySearch(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
// gets the session object from HttpRequest
HttpSession session = request.getSess... | public ActionForward doStudySearch(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
{
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
// gets the session object from HttpRequest
HttpSession session = request.getSess... |
diff --git a/src/java/org/apache/nutch/fetcher/Fetcher.java b/src/java/org/apache/nutch/fetcher/Fetcher.java
index 017d1971..32303149 100644
--- a/src/java/org/apache/nutch/fetcher/Fetcher.java
+++ b/src/java/org/apache/nutch/fetcher/Fetcher.java
@@ -1,428 +1,428 @@
/**
* Copyright 2005 The Apache Software Foundatio... | false | true | public void run() {
synchronized (Fetcher.this) {activeThreads++;} // count threads
try {
UTF8 key = new UTF8();
CrawlDatum datum = new CrawlDatum();
while (true) {
if (LogFormatter.hasLoggedSevere()) // something bad happened
break; ... | public void run() {
synchronized (Fetcher.this) {activeThreads++;} // count threads
try {
UTF8 key = new UTF8();
CrawlDatum datum = new CrawlDatum();
while (true) {
if (LogFormatter.hasLoggedSevere()) // something bad happened
break; ... |
diff --git a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java b/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java
index 08db59fb..72c46bf6 100644
--- a/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/module/ResolverImpl.java
... | true | true | private boolean resolveBundle(ResolverBundle bundle, ArrayList cycle) {
if (bundle.isFragment())
return false;
if (!bundle.isResolvable()) {
if (DEBUG)
ResolverImpl.log(" - " + bundle + " is unresolvable"); //$NON-NLS-1$ //$NON-NLS-2$
return false;
}
if (bundle.getState() == ResolverBundle.RESOLV... | private boolean resolveBundle(ResolverBundle bundle, ArrayList cycle) {
if (bundle.isFragment())
return false;
if (!bundle.isResolvable()) {
if (DEBUG)
ResolverImpl.log(" - " + bundle + " is unresolvable"); //$NON-NLS-1$ //$NON-NLS-2$
return false;
}
if (bundle.getState() == ResolverBundle.RESOLV... |
diff --git a/Slick/src/org/newdawn/slick/BigImage.java b/Slick/src/org/newdawn/slick/BigImage.java
index 6be7792..60e60b3 100644
--- a/Slick/src/org/newdawn/slick/BigImage.java
+++ b/Slick/src/org/newdawn/slick/BigImage.java
@@ -1,768 +1,768 @@
package org.newdawn.slick;
import java.io.IOException;
import java.nio... | true | true | private void build(final LoadableImageData data, final ByteBuffer imageBuffer, int filter, int tileSize) {
final int dataWidth = data.getTexWidth();
final int dataHeight = data.getTexHeight();
realWidth = width = data.getWidth();
realHeight = height = data.getHeight();
if ((dataWidth <= tileSize) && (d... | private void build(final LoadableImageData data, final ByteBuffer imageBuffer, int filter, int tileSize) {
final int dataWidth = data.getTexWidth();
final int dataHeight = data.getTexHeight();
realWidth = width = data.getWidth();
realHeight = height = data.getHeight();
if ((dataWidth <= tileSize) && (d... |
diff --git a/src/com/lala/wordrank/WordRank.java b/src/com/lala/wordrank/WordRank.java
index aef48e3..b6c79f7 100644
--- a/src/com/lala/wordrank/WordRank.java
+++ b/src/com/lala/wordrank/WordRank.java
@@ -1,41 +1,39 @@
package com.lala.wordrank;
import java.io.File;
import org.bukkit.event.Event.Priority;
impor... | true | true | private void setupPermissions() {
if (permissionHandler != null) {
return;
}
Plugin permissionsPlugin = this.getServer().getPluginManager().getPlugin("Permissions");
if (permissionsPlugin == null) {
System.out.println("Permissions not detected, disabling WordRank!");
... | private void setupPermissions() {
if (permissionHandler != null) {
return;
}
Plugin permissionsPlugin = this.getServer().getPluginManager().getPlugin("Permissions");
if (permissionsPlugin == null) {
System.out.println("Permissions not detected, expect errors!");
... |
diff --git a/src/main/java/com/almuramc/helprequest/RequestGUI.java b/src/main/java/com/almuramc/helprequest/RequestGUI.java
index f5659a9..755d56b 100644
--- a/src/main/java/com/almuramc/helprequest/RequestGUI.java
+++ b/src/main/java/com/almuramc/helprequest/RequestGUI.java
@@ -1,215 +1,215 @@
package com.almuramc.h... | true | true | public RequestGUI(HelpRequest main, SpoutPlayer who) {
super();
//Get which requests the opened window should show
this.main = main;
player = who;
state = 0;
inNewMode = false;
//Create the widgets which are there every time
GenericLabel usernameL = new GenericLabel("Username: ");
GenericLabel time... | public RequestGUI(HelpRequest main, SpoutPlayer who) {
super();
//Get which requests the opened window should show
this.main = main;
player = who;
state = 0;
inNewMode = false;
//Create the widgets which are there every time
GenericLabel usernameL = new GenericLabel("Username: ");
GenericLabel time... |
diff --git a/Mastermind/src/com/example/mastermind/Game.java b/Mastermind/src/com/example/mastermind/Game.java
index fc75851..ff07c81 100644
--- a/Mastermind/src/com/example/mastermind/Game.java
+++ b/Mastermind/src/com/example/mastermind/Game.java
@@ -1,240 +1,243 @@
package com.example.mastermind;
import java.uti... | true | true | public void evaluate() {
int i, j, k;
String[] answerCopy = answer.clone();
clearHints();
if (solved||gameOver) {
//shouldn't happen because submit button should disappear
return;
}
// process all the possible blacks first
for (i=answerCopy.length; i>0; i--) {
if (guesses[i-1] == answerCop... | public void evaluate() {
int i, j, k;
String[] answerCopy = answer.clone();
clearHints();
if (solved||gameOver) {
//shouldn't happen because submit button should disappear
return;
}
// process all the possible blacks first
for (i=answerCopy.length; i>0; i--) {
if (guesses[i-1] == answerCop... |
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/BuildCleanupListener.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/BuildCleanupListener.java
index ea59be8c9..d4dcc7ee3 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/... | true | true | public void resourceChanged(IResourceChangeEvent event) {
try {
IResourceDelta root = event.getDelta();
IResourceDelta[] projectDeltas = root.getAffectedChildren();
for (int i = 0; i < projectDeltas.length; i++) {
final IResourceDelta delta = projectDeltas[i];
IResource resource = delta.getRe... | public void resourceChanged(IResourceChangeEvent event) {
try {
IResourceDelta root = event.getDelta();
IResourceDelta[] projectDeltas = root.getAffectedChildren();
for (int i = 0; i < projectDeltas.length; i++) {
final IResourceDelta delta = projectDeltas[i];
IResource resource = delta.getRe... |
diff --git a/src/main/java/com/redhat/ceylon/js/repl/SimpleJsonEncoder.java b/src/main/java/com/redhat/ceylon/js/repl/SimpleJsonEncoder.java
index 4770a1f..33c6329 100644
--- a/src/main/java/com/redhat/ceylon/js/repl/SimpleJsonEncoder.java
+++ b/src/main/java/com/redhat/ceylon/js/repl/SimpleJsonEncoder.java
@@ -1,68 +1... | true | true | public void encodeMap(Map<String, Object> map, StringBuilder sb) {
sb.append('{');
boolean first = true;
for (Map.Entry<String, Object> entry : map.entrySet()) {
if (!first) {
sb.append(',');
}
encodeString(entry.getKey(), sb);
... | public void encodeMap(Map<String, Object> map, StringBuilder sb) {
sb.append('{');
boolean first = true;
for (Map.Entry<String, Object> entry : map.entrySet()) {
if (!first) {
sb.append(',');
}
encodeString(entry.getKey(), sb);
... |
diff --git a/src/com/wwsean08/clear/PreviewCommand.java b/src/com/wwsean08/clear/PreviewCommand.java
index aa7fbe8..e8c28a8 100644
--- a/src/com/wwsean08/clear/PreviewCommand.java
+++ b/src/com/wwsean08/clear/PreviewCommand.java
@@ -1,143 +1,145 @@
package com.wwsean08.clear;
import java.util.ArrayList;
import jav... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if(commandLabel.equalsIgnoreCase("preview")){
if(sender instanceof Player){
if(args.length == 0){
Player player = (Player) sender;
unpreview(player);
}
if(args.length == 1){
Player player =... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if(commandLabel.equalsIgnoreCase("preview")){
if(sender instanceof Player){
if(args.length == 0){
Player player = (Player) sender;
unpreview(player);
}
if(args.length == 1){
Player player =... |
diff --git a/ecologylab/generic/ClassAndCollectionIterator.java b/ecologylab/generic/ClassAndCollectionIterator.java
index 4041fcb2..dfada483 100644
--- a/ecologylab/generic/ClassAndCollectionIterator.java
+++ b/ecologylab/generic/ClassAndCollectionIterator.java
@@ -1,87 +1,87 @@
package ecologylab.generic;
import ... | true | true | public O next()
{
try
{
if (collection != null)
return nextInCollection();
if (iterator.hasNext())
{
I firstNext = iterator.next();
if(firstNext.isCollection())
{
collection = (Iterator<O>) firstNext.getField().get(root);
return ... | public O next()
{
try
{
if (collection != null)
return nextInCollection();
if (iterator.hasNext())
{
I firstNext = iterator.next();
if(firstNext.isCollection())
{
collection = (Iterator<O>) firstNext.getField().get(root);
return ... |
diff --git a/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java b/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java
index 8d934744c8..bb4e9f1a3b 100644
--- a/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigati... | true | true | public static PageNode filter(PageNode node, String userName) throws Exception {
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance() ;
ExoContainer container = context.getApplication().getApplicationServiceContainer() ;
UserPortalConfigService userService = (UserPortalConfigService)cont... | public static PageNode filter(PageNode node, String userName) throws Exception {
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance() ;
ExoContainer container = context.getApplication().getApplicationServiceContainer() ;
UserPortalConfigService userService = (UserPortalConfigService)cont... |
diff --git a/TeaLeaf/src/com/tealeaf/EditTextView.java b/TeaLeaf/src/com/tealeaf/EditTextView.java
index fd936da..aa3c241 100644
--- a/TeaLeaf/src/com/tealeaf/EditTextView.java
+++ b/TeaLeaf/src/com/tealeaf/EditTextView.java
@@ -1,319 +1,319 @@
package com.tealeaf;
import android.app.Activity;
import android.conte... | true | true | public static EditTextView Get(final Activity activity) {
if (instance == null && activity != null) {
instance = (EditTextView)activity.getLayoutInflater().inflate(R.layout.edit_text_view, null);
instance.activity = activity;
instance.addTextChangedListener(new TextWatcher() {
private String beforeTex... | public static EditTextView Get(final Activity activity) {
if (instance == null && activity != null) {
instance = (EditTextView)activity.getLayoutInflater().inflate(R.layout.edit_text_view, null);
instance.activity = activity;
instance.addTextChangedListener(new TextWatcher() {
private String beforeTex... |
diff --git a/src/uk/me/parabola/imgfmt/sys/BlockManager.java b/src/uk/me/parabola/imgfmt/sys/BlockManager.java
index 28505273..42cab5f9 100644
--- a/src/uk/me/parabola/imgfmt/sys/BlockManager.java
+++ b/src/uk/me/parabola/imgfmt/sys/BlockManager.java
@@ -1,65 +1,67 @@
/*
* Copyright (C) 2007 Steve Ratcliffe
*
*... | true | true | public int allocate() {
int n = currentBlock++;
if (maxBlock > 0 && n > maxBlock) {
log.error("overflowed directory with max block " + maxBlock + ", current=" + n);
throw new ExitException("Directory overflow. This is a bug in mkgmap");
}
return n;
}
| public int allocate() {
int n = currentBlock++;
if (maxBlock > 0 && n > maxBlock) {
log.error("overflowed directory with max block " + maxBlock + ", current=" + n);
throw new ExitException(
"There is not enough room in a single garmin map for all the input data\n" +
" The .osm file should be sp... |
diff --git a/src/cytoscape/data/ImportHandler.java b/src/cytoscape/data/ImportHandler.java
index 0077e9310..e33c5e0fb 100644
--- a/src/cytoscape/data/ImportHandler.java
+++ b/src/cytoscape/data/ImportHandler.java
@@ -1,516 +1,518 @@
/*
Copyright (c) 2006, 2007, The Cytoscape Consortium (www.cytoscape.org)
The Cy... | true | true | public GraphReader getReader(URL url) {
// check if fileType is available
CyFileFilter cff;
// Open up the connection
Proxy pProxyServer = ProxyHandler.getProxyServer();
URLConnection conn = null;
try {
if (pProxyServer == null)
conn = url.openConnection();
else
conn = url.openConnection(pP... | public GraphReader getReader(URL url) {
// check if fileType is available
CyFileFilter cff;
// Open up the connection
Proxy pProxyServer = ProxyHandler.getProxyServer();
URLConnection conn = null;
try {
if (pProxyServer == null)
conn = url.openConnection();
else
conn = url.openConnection(pP... |
diff --git a/src/gamesincommon/GamesInCommon.java b/src/gamesincommon/GamesInCommon.java
index 68933e0..eccc363 100644
--- a/src/gamesincommon/GamesInCommon.java
+++ b/src/gamesincommon/GamesInCommon.java
@@ -1,299 +1,311 @@
package gamesincommon;
import java.io.BufferedReader;
import java.io.File;
import java.io... | false | true | public Collection<SteamGame> filterGames(Collection<SteamGame> gameList, List<FilterType> filterList) {
Collection<SteamGame> result = new HashSet<SteamGame>();
// get list of tables
Statement s = null;
for (SteamGame game : gameList) {
ResultSet tableSet = null;
// first run a query through the local ... | public Collection<SteamGame> filterGames(Collection<SteamGame> gameList, List<FilterType> filterList) {
Collection<SteamGame> result = new HashSet<SteamGame>();
// get list of tables
Statement s = null;
for (SteamGame game : gameList) {
ResultSet tableSet = null;
// first run a query through the local ... |
diff --git a/src/barsan/opengl/rendering/Shader.java b/src/barsan/opengl/rendering/Shader.java
index a149040..8dfa7f5 100644
--- a/src/barsan/opengl/rendering/Shader.java
+++ b/src/barsan/opengl/rendering/Shader.java
@@ -1,345 +1,352 @@
/**
* YETI Engine Copyright (c) 2012-2013, Andrei B�rsan All rights reserved.
... | true | true | private void check(String message, int handle, boolean isProgram) {
GL3 gl = Yeti.get().gl;
IntBuffer buff = IntBuffer.allocate(1);
String logContents = "Empty log";
boolean logEmpty = true;
if(isProgram) {
gl.glGetProgramiv(handle, GL2.GL_INFO_LOG_LENGTH, buff);
} else {
gl.glGetShaderiv(handle... | private void check(String message, int handle, boolean isProgram) {
GL3 gl = Yeti.get().gl;
IntBuffer buff = IntBuffer.allocate(1);
String logContents = "Empty log";
boolean logEmpty = true;
if(isProgram) {
gl.glGetProgramiv(handle, GL2.GL_INFO_LOG_LENGTH, buff);
} else {
gl.glGetShaderiv(handle... |
diff --git a/uispec4j/src/main/java/org/uispec4j/AbstractSwingUIComponent.java b/uispec4j/src/main/java/org/uispec4j/AbstractSwingUIComponent.java
index 1c7666d..35807f5 100644
--- a/uispec4j/src/main/java/org/uispec4j/AbstractSwingUIComponent.java
+++ b/uispec4j/src/main/java/org/uispec4j/AbstractSwingUIComponent.java... | true | true | public Assertion tooltipContains(final String text) {
return new Assertion() {
public void check() {
String actualText = getAwtComponent().getToolTipText();
AssertAdapter.assertNotNull("No tooltip set", actualText);
AssertAdapter.assertTrue("Actual tooltip", actualText.contains(text)... | public Assertion tooltipContains(final String text) {
return new Assertion() {
public void check() {
String actualText = getAwtComponent().getToolTipText();
AssertAdapter.assertNotNull("No tooltip set", actualText);
AssertAdapter.assertTrue("Actual tooltip:" + actualText, actualText.... |
diff --git a/src/org/mozilla/javascript/Interpreter.java b/src/org/mozilla/javascript/Interpreter.java
index f9b1e1f8..167f03b7 100644
--- a/src/org/mozilla/javascript/Interpreter.java
+++ b/src/org/mozilla/javascript/Interpreter.java
@@ -1,4524 +1,4524 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basi... | true | true | private static Object interpretLoop(Context cx, CallFrame frame,
Object throwable)
{
// throwable holds exception object to rethrow or catch
// It is also used for continuation restart in which case
// it holds ContinuationJump
final Objec... | private static Object interpretLoop(Context cx, CallFrame frame,
Object throwable)
{
// throwable holds exception object to rethrow or catch
// It is also used for continuation restart in which case
// it holds ContinuationJump
final Objec... |
diff --git a/src/test/java/com/github/rickyclarkson/monitorablefutures/MonitorableFuturesTest.java b/src/test/java/com/github/rickyclarkson/monitorablefutures/MonitorableFuturesTest.java
index 9949fa1..2d7e647 100644
--- a/src/test/java/com/github/rickyclarkson/monitorablefutures/MonitorableFuturesTest.java
+++ b/src/t... | true | true | public void withMonitorable() throws InterruptedException {
MonitorableExecutorService service = monitorable(Executors.newSingleThreadExecutor());
class Count extends MonitorableRunnable<Integer> {
@Override
public void run() {
for (int a = 0; a < 3; a++) {
... | public void withMonitorable() throws InterruptedException {
MonitorableExecutorService service = monitorable(Executors.newSingleThreadExecutor());
class Count extends MonitorableRunnable<Integer> {
@Override
public void run() {
for (int a = 0; a < 3; a++) {
... |
diff --git a/spiffyui/build/maven/maven-spiffyui-plugin/src/main/java/org/spiffyui/maven/plugins/CssCompressMojo.java b/spiffyui/build/maven/maven-spiffyui-plugin/src/main/java/org/spiffyui/maven/plugins/CssCompressMojo.java
index 78f9f0a7..066601a9 100644
--- a/spiffyui/build/maven/maven-spiffyui-plugin/src/main/java/... | true | true | public void execute()
throws MojoExecutionException,
MojoFailureException
{
if (!sourceDirectory.exists()) {
getLog().debug("No sources, skipping");
return;
}
String[] exts = new String[] {
"css"
};
Collect... | public void execute()
throws MojoExecutionException,
MojoFailureException
{
if (!sourceDirectory.exists()) {
getLog().debug("No sources, skipping");
return;
}
String[] exts = new String[] {
"css"
};
Collect... |
diff --git a/org.eclipse.mylyn.context.tasks.tests/src/org/eclipse/mylyn/context/tasks/tests/RefactorRepositoryUrlOperationTest.java b/org.eclipse.mylyn.context.tasks.tests/src/org/eclipse/mylyn/context/tasks/tests/RefactorRepositoryUrlOperationTest.java
index 1b85a663e..4ff973f0b 100644
--- a/org.eclipse.mylyn.context... | false | true | public void testRefactorMetaContextHandles() throws Exception {
String firstUrl = "http://repository1.com/bugs";
String secondUrl = "http://repository2.com/bugs";
AbstractTask task1 = new MockTask(firstUrl, "1");
AbstractTask task2 = new MockTask(firstUrl, "2");
taskList.addTask(task1);
taskList.addTask(ta... | public void testRefactorMetaContextHandles() throws Exception {
Calendar now = Calendar.getInstance();
String firstUrl = "http://repository1.com/bugs";
String secondUrl = "http://repository2.com/bugs";
AbstractTask task1 = new MockTask(firstUrl, "1");
AbstractTask task2 = new MockTask(firstUrl, "2");
taskL... |
diff --git a/src/main/java/com/bergerkiller/bukkit/nolagg/itemstacker/StackingTask.java b/src/main/java/com/bergerkiller/bukkit/nolagg/itemstacker/StackingTask.java
index 6a1b334..c6fa9f2 100644
--- a/src/main/java/com/bergerkiller/bukkit/nolagg/itemstacker/StackingTask.java
+++ b/src/main/java/com/bergerkiller/bukkit/... | true | true | public void fillNearby(List<StackingTask<T>> Entitytasks, final double radiusSquared) {
if (this.entity.isDead()) {
return;
}
this.entity.getLocation(selfLocationBuffer);
T entity;
ItemStack entityItemStack = this.entity instanceof Item ? ((Item) this.entity).getItemStack() : null;
for (StackingTask<T> ... | public void fillNearby(List<StackingTask<T>> Entitytasks, final double radiusSquared) {
if (this.entity.isDead()) {
return;
}
this.entity.getLocation(selfLocationBuffer);
T entity;
ItemStack entityItemStack = this.entity instanceof Item ? ((Item) this.entity).getItemStack() : null;
for (StackingTask<T> ... |
diff --git a/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/RobocodeCompilerFactory.java b/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/RobocodeCompilerFactory.java
index c6c5bd9f6..102c845a0 100644
--- a/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/RobocodeCompilerFactory.java
+... | true | true | public boolean configureCompiler(RobocodeEditor editor) {
ConsoleDialog console = new ConsoleDialog(editor, "Setting up compiler", false);
console.setSize(500, 400);
console.getOkButton().setEnabled(false);
console.setText("Please wait while Robocode sets up a compiler for you...\n\n");
WindowUtil.centerSho... | public boolean configureCompiler(RobocodeEditor editor) {
ConsoleDialog console = new ConsoleDialog(editor, "Setting up compiler", false);
console.setSize(500, 400);
console.getOkButton().setEnabled(false);
console.setText("Please wait while Robocode sets up a compiler for you...\n\n");
WindowUtil.centerSho... |
diff --git a/javafx.source/src/org/netbeans/api/javafx/source/TreeUtilities.java b/javafx.source/src/org/netbeans/api/javafx/source/TreeUtilities.java
index 2b56bfae..ebbe14ce 100644
--- a/javafx.source/src/org/netbeans/api/javafx/source/TreeUtilities.java
+++ b/javafx.source/src/org/netbeans/api/javafx/source/TreeUtil... | true | true | public JavaFXTreePath pathFor(JavaFXTreePath path, int pos, SourcePositions sourcePositions) {
if (info == null || path == null || sourcePositions == null)
throw new IllegalArgumentException();
class Result extends Error {
JavaFXTreePath path;
Result(Java... | public JavaFXTreePath pathFor(JavaFXTreePath path, int pos, SourcePositions sourcePositions) {
if (info == null || path == null || sourcePositions == null)
throw new IllegalArgumentException();
class Result extends Error {
JavaFXTreePath path;
Result(Java... |
diff --git a/CapstoneProject/src/java/capstone/server/GameRecorder.java b/CapstoneProject/src/java/capstone/server/GameRecorder.java
index 8a99b4f..bddfab1 100644
--- a/CapstoneProject/src/java/capstone/server/GameRecorder.java
+++ b/CapstoneProject/src/java/capstone/server/GameRecorder.java
@@ -1,36 +1,39 @@
/*
* T... | true | true | public static void record(String gameID, String player, String coords) {
if (!gameIDs.containsKey(player)) {
gameIDs.put(player, new ArrayList<String>());
}
if (gameIDs.get(player).indexOf(gameID) == -1) {
GameRecord game = new GameRecord();
game.putCoord... | public static void record(String gameID, String player, String coords) {
if (!gameIDs.containsKey(player)) {
gameIDs.put(player, new ArrayList<String>());
}
if (gameIDs.get(player).indexOf(gameID) == -1) {
GameRecord game = new GameRecord();
game.putCoord... |
diff --git a/applet/src/DynVizGraph.java b/applet/src/DynVizGraph.java
index 6a2e417..572780c 100644
--- a/applet/src/DynVizGraph.java
+++ b/applet/src/DynVizGraph.java
@@ -1,348 +1,349 @@
import javax.swing.JApplet;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;
import javax.swing.SwingUtilities;... | true | true | public void run(){
//draw stuff
float lrespx = _lrespx();
float lrespy = _lrespy();
float qlim = (float)A / (float)(A + C);
float plim = (float)D / (float)(B + D);
int dots = 11; //effectively 10
for (int x = 0; x... | public void run(){
//draw stuff
float lrespx = _lrespx();
float lrespy = _lrespy();
float qlim = (float)A / (float)(A + C);
float plim = (float)D / (float)(B + D);
int dots = 11; //effectively 10
for (int x = 0; x... |
diff --git a/org.emftext.sdk.antlr3_4_0/src-sdk/org/stringtemplate/v4/NumberRenderer.java b/org.emftext.sdk.antlr3_4_0/src-sdk/org/stringtemplate/v4/NumberRenderer.java
index 05b59de34..27e60e8ca 100644
--- a/org.emftext.sdk.antlr3_4_0/src-sdk/org/stringtemplate/v4/NumberRenderer.java
+++ b/org.emftext.sdk.antlr3_4_0/s... | true | true | public String toString(Object o, String formatString, Locale locale) {
// o will be instanceof Number
if ( formatString==null ) return o.toString();
Formatter f = new Formatter(locale);
f.format(formatString, o);
return f.toString();
}
| public String toString(Object o, String formatString, Locale locale) {
// o will be instanceof Number
if ( formatString==null ) return o.toString();
Formatter f = new Formatter(locale);
f.format(formatString, o);
String result = f.toString();
f.close();
return resul... |
diff --git a/org.emftext.sdk.concretesyntax.resource.cs/src/org/emftext/sdk/concretesyntax/resource/cs/postprocessing/AbstractPostProcessor.java b/org.emftext.sdk.concretesyntax.resource.cs/src/org/emftext/sdk/concretesyntax/resource/cs/postprocessing/AbstractPostProcessor.java
index d4ffcfd21..c0d8e754a 100644
--- a/o... | false | true | public final void process(PostProcessingContext context) {
this.context = context;
boolean hasErrors = getContext().hasErrors();
if (hasErrors && !doAnalysisAfterPreviousErrors()) {
return;
}
Resource resource = getContext().getResource();
if (doResolveProxiesBeforeAnalysis()) {
// it is actually suf... | public final void process(PostProcessingContext context) {
this.context = context;
boolean hasErrors = getContext().hasErrors();
if (hasErrors && !doAnalysisAfterPreviousErrors()) {
return;
}
Resource resource = getContext().getResource();
if (doResolveProxiesBeforeAnalysis()) {
// it is actually suf... |
diff --git a/org.eclipse.b3.build/src/org/eclipse/b3/build/core/SimpleResolver.java b/org.eclipse.b3.build/src/org/eclipse/b3/build/core/SimpleResolver.java
index b30c93d4..e1f3cc6e 100644
--- a/org.eclipse.b3.build/src/org/eclipse/b3/build/core/SimpleResolver.java
+++ b/org.eclipse.b3.build/src/org/eclipse/b3/build/co... | true | true | public IStatus resolveUnit(BuildUnit unit, BExecutionContext ctx) {
// System.err.printf("RESOLVING UNIT: %s", unit.getName());
// ALREADY RESOLVED
// check if the unit is already resolved
final ResolutionInfoAdapter unitAdapter = ResolutionInfoAdapterFactory.eINSTANCE.adapt(unit);
final UnitResolutionInfo ... | public IStatus resolveUnit(BuildUnit unit, BExecutionContext ctx) {
// System.err.printf("RESOLVING UNIT: %s", unit.getName());
// ALREADY RESOLVED
// check if the unit is already resolved
final ResolutionInfoAdapter unitAdapter = ResolutionInfoAdapterFactory.eINSTANCE.adapt(unit);
final UnitResolutionInfo ... |
diff --git a/src/main/java/enlight/model/primitive/SkySphere.java b/src/main/java/enlight/model/primitive/SkySphere.java
index aee257d..560bf55 100644
--- a/src/main/java/enlight/model/primitive/SkySphere.java
+++ b/src/main/java/enlight/model/primitive/SkySphere.java
@@ -1,26 +1,27 @@
package enlight.model.primitive;... | true | true | public boolean getIntersection(Ray ray,
IntersectionInfo result) {
if (ray.end<Double.POSITIVE_INFINITY) return false;
result.intersectionDistance=Double.POSITIVE_INFINITY;
result.intersectionObject=this;
// surface normal is opposite of direction
result.surfaceNormal.set(ray.direction);
result.s... | public boolean getIntersection(Ray ray,
IntersectionInfo result) {
if (ray.end<Double.POSITIVE_INFINITY) return false;
ray.end=Double.POSITIVE_INFINITY;
result.intersectionDistance=Double.POSITIVE_INFINITY;
result.intersectionObject=this;
// surface normal is opposite of direction
result.surfaceN... |
diff --git a/ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java b/ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java
index e60fb95b..fdc35eae 100644
--- a/ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java
+++ b/ngrind... | true | true | public List<Object> getReportData(long testId, String dataType, int imgWidth) throws IOException {
// TODO: later, we can make the file content as the string of list, then
// we can
// just return the file content directly, it will be much faster.
List<Object> reportData = new ArrayList<Object>();
File repor... | public List<Object> getReportData(long testId, String dataType, int imgWidth) throws IOException {
// TODO: later, we can make the file content as the string of list, then
// we can
// just return the file content directly, it will be much faster.
List<Object> reportData = new ArrayList<Object>();
File repor... |
diff --git a/FiltersPlugin/src/org/gephi/filters/plugin/graph/OutDegreeRangeBuilder.java b/FiltersPlugin/src/org/gephi/filters/plugin/graph/OutDegreeRangeBuilder.java
index f928fc474..0b9d660e2 100644
--- a/FiltersPlugin/src/org/gephi/filters/plugin/graph/OutDegreeRangeBuilder.java
+++ b/FiltersPlugin/src/org/gephi/fil... | true | true | public Number[] getValues(Graph graph) {
HierarchicalDirectedGraph hgraph = (HierarchicalDirectedGraph) graph;
List<Integer> values = new ArrayList<Integer>(((HierarchicalGraph) graph).getNodeCount());
for (Node n : hgraph.getNodes()) {
int degree = hgraph.get... | public Number[] getValues(Graph graph) {
HierarchicalDirectedGraph hgraph = (HierarchicalDirectedGraph) graph;
List<Integer> values = new ArrayList<Integer>(((HierarchicalGraph) graph).getNodeCount());
for (Node n : hgraph.getNodes()) {
int degree = hgraph.get... |
diff --git a/bato/src/com/samportnow/bato/addthought/AddThoughtCopingStrategyFragment.java b/bato/src/com/samportnow/bato/addthought/AddThoughtCopingStrategyFragment.java
index 472d693..b7d5cdb 100644
--- a/bato/src/com/samportnow/bato/addthought/AddThoughtCopingStrategyFragment.java
+++ b/bato/src/com/samportnow/bato/... | false | true | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
View view = inflater.inflate(R.layout.fragment_add_thought_coping_strategy, null);
BatoDataSource dataSource = new BatoDataSource(getActivity()).open();
mHistory... | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
View view = inflater.inflate(R.layout.fragment_add_thought_coping_strategy, null);
BatoDataSource dataSource = new BatoDataSource(getActivity()).open();
mHistory... |
diff --git a/src/com/activeandroid/query/From.java b/src/com/activeandroid/query/From.java
index bc8213a..fcfeed6 100644
--- a/src/com/activeandroid/query/From.java
+++ b/src/com/activeandroid/query/From.java
@@ -1,233 +1,234 @@
package com.activeandroid.query;
/*
* Copyright (C) 2010 Michael Pardo
*
* Licens... | true | true | public String toSql() {
StringBuilder sql = new StringBuilder();
sql.append(mQueryBase.toSql());
sql.append("FROM ");
sql.append(Cache.getTableName(mType)).append(" ");
if (mAlias != null) {
sql.append("AS ");
sql.append(mAlias);
sql.append(" ");
}
for (Join join : mJoins) {
sql.append(join... | public String toSql() {
StringBuilder sql = new StringBuilder();
sql.append(mQueryBase.toSql());
sql.append("FROM ");
sql.append(Cache.getTableName(mType)).append(" ");
if (mAlias != null) {
sql.append("AS ");
sql.append(mAlias);
sql.append(" ");
}
for (Join join : mJoins) {
sql.append(join... |
diff --git a/GAE/src/com/gallatinsystems/framework/gwt/wizard/client/AbstractWizardPortlet.java b/GAE/src/com/gallatinsystems/framework/gwt/wizard/client/AbstractWizardPortlet.java
index ef5ad34c5..7443620b6 100644
--- a/GAE/src/com/gallatinsystems/framework/gwt/wizard/client/AbstractWizardPortlet.java
+++ b/GAE/src/co... | true | true | protected void renderWizardPage(WizardNode page, boolean isForward,
Map<String, Object> bundle) {
boolean calledSave = false;
prePageUnload(page);
widgetPanel.clear();
pageToLoad = page;
if (isForward && currentPage instanceof ContextAware) {
pendingPage = (ContextAware) currentPage;
// need to upda... | protected void renderWizardPage(WizardNode page, boolean isForward,
Map<String, Object> bundle) {
boolean calledSave = false;
prePageUnload(page);
widgetPanel.clear();
pageToLoad = page;
if (isForward && currentPage instanceof ContextAware) {
pendingPage = (ContextAware) currentPage;
// need to upda... |
diff --git a/resources/sip11/ra/src/main/java/org/mobicents/slee/resource/sip11/wrappers/ClientDialogWrapper.java b/resources/sip11/ra/src/main/java/org/mobicents/slee/resource/sip11/wrappers/ClientDialogWrapper.java
index b9974d702..bb9091aa5 100644
--- a/resources/sip11/ra/src/main/java/org/mobicents/slee/resource/si... | true | true | public boolean processIncomingResponse(ResponseEvent respEvent) {
final ClientDialogForkHandler forkHandler = data.getForkHandler();
if (!forkHandler.isForking()) {
// nothing to do, let the ra fire the event
return false;
}
final Response response = respEvent.getResponse();
boolean eventFired = f... | public boolean processIncomingResponse(ResponseEvent respEvent) {
final ClientDialogForkHandler forkHandler = data.getForkHandler();
if (!forkHandler.isForking() || respEvent.getClientTransaction().getRequest().getMethod().equals(Request.CANCEL)) {
// nothing to do, let the ra fire the event
return false;
... |
diff --git a/src/net/sf/freecol/server/generator/MapGenerator.java b/src/net/sf/freecol/server/generator/MapGenerator.java
index 1ff718d40..2b54efad4 100644
--- a/src/net/sf/freecol/server/generator/MapGenerator.java
+++ b/src/net/sf/freecol/server/generator/MapGenerator.java
@@ -1,520 +1,521 @@
package net.sf.freecol... | true | true | protected void createEuropeanUnits(Map map, int width, int height, Vector<Player> players) {
int[] shipYPos = new int[NUM_STARTING_LOCATIONS];
for (int i = 0; i < NUM_STARTING_LOCATIONS; i++) {
shipYPos[i] = 0;
}
for (int i = 0; i < players.size(); i++) {
Pla... | protected void createEuropeanUnits(Map map, int width, int height, Vector<Player> players) {
int[] shipYPos = new int[NUM_STARTING_LOCATIONS];
for (int i = 0; i < NUM_STARTING_LOCATIONS; i++) {
shipYPos[i] = 0;
}
for (int i = 0; i < players.size(); i++) {
Pla... |
diff --git a/AIGameFramework/src/main/java/com/squirrelapps/aigameframework/BoardFragment.java b/AIGameFramework/src/main/java/com/squirrelapps/aigameframework/BoardFragment.java
index d5ba0b3..0d3df64 100644
--- a/AIGameFramework/src/main/java/com/squirrelapps/aigameframework/BoardFragment.java
+++ b/AIGameFramework/s... | false | true | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
Log.d(TAG, "onCreateView()");
final View rootView = inflater.inflate(R.layout.f_board, container, false);
assert rootView != null;
Activity activity = getActivity();
Grid... | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
Log.d(TAG, "onCreateView()");
final View rootView = inflater.inflate(R.layout.f_board, container, false);
assert rootView != null;
Activity activity = getActivity();
Grid... |
diff --git a/src/main/java/hudson/plugins/ec2/SlaveTemplate.java b/src/main/java/hudson/plugins/ec2/SlaveTemplate.java
index 93f98bc..2400c73 100644
--- a/src/main/java/hudson/plugins/ec2/SlaveTemplate.java
+++ b/src/main/java/hudson/plugins/ec2/SlaveTemplate.java
@@ -1,471 +1,472 @@
/*
* The MIT License
*
* Cop... | true | true | public EC2Slave provision(TaskListener listener) throws AmazonClientException, IOException {
PrintStream logger = listener.getLogger();
AmazonEC2 ec2 = getParent().connect();
try {
logger.println("Launching " + ami + " for template " + description);
KeyPair keyPair =... | public EC2Slave provision(TaskListener listener) throws AmazonClientException, IOException {
PrintStream logger = listener.getLogger();
AmazonEC2 ec2 = getParent().connect();
try {
logger.println("Launching " + ami + " for template " + description);
KeyPair keyPair =... |
diff --git a/src/main/java/me/tehbeard/BeardStat/commands/playedCommand.java b/src/main/java/me/tehbeard/BeardStat/commands/playedCommand.java
index 26951bd..b2f7a87 100644
--- a/src/main/java/me/tehbeard/BeardStat/commands/playedCommand.java
+++ b/src/main/java/me/tehbeard/BeardStat/commands/playedCommand.java
@@ -1,1... | true | true | public boolean onCommand(CommandSender sender, Command command, String cmdLabel, String[] args) {
long seconds = 0;
Player pp = null;
if (args.length == 0){
//check if we are a player, and use them instead
if(sender instanceof Player){
pp = (Player)sender;
}
else
{
sender.sendMessage(Ch... | public boolean onCommand(CommandSender sender, Command command, String cmdLabel, String[] args) {
long seconds = 0;
Player pp = null;
if (args.length == 0){
//check if we are a player, and use them instead
if(sender instanceof Player){
pp = (Player)sender;
}
else
{
sender.sendMessage(Ch... |
diff --git a/kxen-projection/src/test/java/com/kxen/han/projection/fpg/ProjectionTest.java b/kxen-projection/src/test/java/com/kxen/han/projection/fpg/ProjectionTest.java
index 4b46c70..907aab8 100644
--- a/kxen-projection/src/test/java/com/kxen/han/projection/fpg/ProjectionTest.java
+++ b/kxen-projection/src/test/java... | true | true | public void testProject() throws Exception {
OutputLayer ol = OutputLayer.newInstance();
Projection.project("src/test/resources/TestExampleAutoGen",
ol, 3);
}
| public void testProject() throws Exception {
}
|
diff --git a/src/test/java/au/net/netstorm/boost/test/cases/BoooostCase.java b/src/test/java/au/net/netstorm/boost/test/cases/BoooostCase.java
index 9c55be8ec..dd83a70a3 100644
--- a/src/test/java/au/net/netstorm/boost/test/cases/BoooostCase.java
+++ b/src/test/java/au/net/netstorm/boost/test/cases/BoooostCase.java
@@ ... | true | true | protected final void setUp() throws Exception {
super.setUp();
gearup();
}
| protected final void setUp() throws Exception {
// FIX 1524 Fail. We're overriding runBare so don't even call setUp();
super.setUp();
gearup();
}
|
diff --git a/GnuBackgammon/src/it/alcacoop/backgammon/GnuBackgammon.java b/GnuBackgammon/src/it/alcacoop/backgammon/GnuBackgammon.java
index dfa7d17..431614f 100644
--- a/GnuBackgammon/src/it/alcacoop/backgammon/GnuBackgammon.java
+++ b/GnuBackgammon/src/it/alcacoop/backgammon/GnuBackgammon.java
@@ -1,340 +1,338 @@
/*... | true | true | public void initAssets() {
Gdx.graphics.setContinuousRendering(false);
Gdx.graphics.requestRendering();
atlas = new TextureAtlas(Gdx.files.internal("data/"+resname[ss]+"/pack.atlas"));
fibsPlayersPool = new Pool<Player>(50){
@Override
protected Player newObject() {
return new... | public void initAssets() {
Gdx.graphics.setContinuousRendering(false);
Gdx.graphics.requestRendering();
atlas = new TextureAtlas(Gdx.files.internal("data/"+resname[ss]+"/pack.atlas"));
fibsPlayersPool = new Pool<Player>(50){
@Override
protected Player newObject() {
return new... |
diff --git a/src/com/android/settings/ChooseLockSettingsHelper.java b/src/com/android/settings/ChooseLockSettingsHelper.java
index 5fe3118fb..6382891fe 100644
--- a/src/com/android/settings/ChooseLockSettingsHelper.java
+++ b/src/com/android/settings/ChooseLockSettingsHelper.java
@@ -1,86 +1,87 @@
/*
* Copyright (C)... | true | true | protected boolean launchConfirmationActivity(int request) {
boolean launched = false;
switch (mLockPatternUtils.getKeyguardStoredPasswordQuality()) {
case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
launched = confirmPattern(request);
break;
... | protected boolean launchConfirmationActivity(int request) {
boolean launched = false;
switch (mLockPatternUtils.getKeyguardStoredPasswordQuality()) {
case DevicePolicyManager.PASSWORD_QUALITY_SOMETHING:
launched = confirmPattern(request);
break;
... |
diff --git a/src/main/java/com/ngdb/web/pages/Index.java b/src/main/java/com/ngdb/web/pages/Index.java
index 715ba03..02280d3 100644
--- a/src/main/java/com/ngdb/web/pages/Index.java
+++ b/src/main/java/com/ngdb/web/pages/Index.java
@@ -1,95 +1,96 @@
package com.ngdb.web.pages;
import net.sf.ehcache.Cache;
import ... | true | true | private Game getRandomGameFromCache(int index) {
if (cache.isKeyInCache(index)) {
return (Game) cache.get(index).getValue();
}
Game randomGame = gameFactory.getRandomGameWithMainPicture();
Element element = new Element(index, randomGame);
cache.put(element);
return getRandomGameFromCache(index);
}
| private Game getRandomGameFromCache(int index) {
Element elementInCache = cache.get(index);
if (elementInCache != null) {
return (Game) elementInCache.getValue();
}
Game randomGame = gameFactory.getRandomGameWithMainPicture();
Element element = new Element(index, randomGame);
cache.put(element);
retur... |
diff --git a/src/java/ctd/services/getSamples.java b/src/java/ctd/services/getSamples.java
index 667d2e1..c5cd9f5 100644
--- a/src/java/ctd/services/getSamples.java
+++ b/src/java/ctd/services/getSamples.java
@@ -1,268 +1,268 @@
package ctd.services;
import com.skaringa.javaxml.DeserializerException;
import com.sk... | true | true | public String getSamples() throws Exception400BadRequest, Exception403Forbidden, Exception500InternalServerError {
String strReturn = "";
// Check if the minimal parameters are set
if(getSessionToken()==null){
Logger.getLogger(getTicket.class.getName()).log(Level.SEVERE, "getSam... | public String getSamples() throws Exception400BadRequest, Exception403Forbidden, Exception500InternalServerError {
String strReturn = "";
// Check if the minimal parameters are set
if(getSessionToken()==null){
Logger.getLogger(getTicket.class.getName()).log(Level.SEVERE, "getSam... |
diff --git a/src/main/java/com/seedboxer/seedboxer/sources/processors/QueueProcessor.java b/src/main/java/com/seedboxer/seedboxer/sources/processors/QueueProcessor.java
index 7bcc31d..7f0ef6a 100644
--- a/src/main/java/com/seedboxer/seedboxer/sources/processors/QueueProcessor.java
+++ b/src/main/java/com/seedboxer/seed... | true | true | private String downloadFile(URL url, String path) throws IOException {
URLConnection conn = url.openConnection();
InputStream in = conn.getInputStream();
String disposition = conn.getHeaderField("Content-Disposition");
String fileNameProperty = "filename=\"";
String fileName = disposition.substring(disposit... | private String downloadFile(URL url, String path) throws IOException {
URLConnection conn = url.openConnection();
InputStream in = conn.getInputStream();
String disposition = conn.getHeaderField("Content-Disposition");
String fileNameProperty = "filename=\"";
String fileName = disposition.substring(disposit... |
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitActionHandler.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitActionHandler.java
index da5c6006..147d8486 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/CommitActionHandler.java
+++ b/org... | true | true | public Object execute(final ExecutionEvent event) throws ExecutionException {
// let's see if there is any dirty editor around and
// ask the user if they want to save or abort
if (!PlatformUI.getWorkbench().saveAllEditors(true)) {
return null;
}
resetState();
try {
buildIndexHeadDiffList(event);
... | public Object execute(final ExecutionEvent event) throws ExecutionException {
// let's see if there is any dirty editor around and
// ask the user if they want to save or abort
if (!PlatformUI.getWorkbench().saveAllEditors(true)) {
return null;
}
resetState();
try {
buildIndexHeadDiffList(event);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.