diff stringlengths 262 553k | is_single_chunk bool 2
classes | is_single_function bool 1
class | buggy_function stringlengths 20 391k | fixed_function stringlengths 0 392k |
|---|---|---|---|---|
diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/FinalParametersCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/FinalParametersCheck.java
index 81556bc2..e907fda0 100644
--- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/FinalParametersCheck.java
+++ b/src/checkstyle/com/pu... | true | true | public void visitToken(DetailAST aAST)
{
// don't flag interfaces
final DetailAST container = aAST.getParent().getParent();
if (container.getType() != TokenTypes.CLASS_DEF) {
return;
}
// exit on fast lane if there is nothing to check here
if (!aAST.b... | public void visitToken(DetailAST aAST)
{
// don't flag interfaces
final DetailAST container = aAST.getParent().getParent();
if (container.getType() == TokenTypes.INTERFACE_DEF) {
return;
}
// exit on fast lane if there is nothing to check here
if (!aA... |
diff --git a/Teleport/src/iggy/Transport/Transport.java b/Teleport/src/iggy/Transport/Transport.java
index 038f0f8..70ce3f6 100644
--- a/Teleport/src/iggy/Transport/Transport.java
+++ b/Teleport/src/iggy/Transport/Transport.java
@@ -1,746 +1,748 @@
package iggy.Transport;
import iggy.Regions.Position;
import iggy.... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Player player = null;
if (sender instanceof Player) {
player = (Player) sender;
}
/******************************* LIST ALL WARPS *******************************\
| This command lists all of the warps that... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Player player = null;
if (sender instanceof Player) {
player = (Player) sender;
}
/******************************* LIST ALL WARPS *******************************\
| This command lists all of the warps that... |
diff --git a/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/OnlyIncludeTag.java b/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/OnlyIncludeTag.java
index d26d382e..a002f2ed 100644
--- a/jamwiki-core/src/main/java/org/jamwiki/parser/jflex/OnlyIncludeTag.java
+++ b/jamwiki-core/src/main/java/org/jamwiki/parser... | true | true | public String parse(JFlexLexer lexer, String raw, Object... args) throws ParserException {
if (lexer.getMode() <= JFlexParser.MODE_MINIMAL) {
return raw;
}
String content = JFlexParserUtil.tagContent(raw);
// run the pre-processor against the onlyinclude content
JFlexParser parser = new JFlexParser(lexer.... | public String parse(JFlexLexer lexer, String raw, Object... args) throws ParserException {
if (lexer.getMode() <= JFlexParser.MODE_MINIMAL) {
return raw;
}
if (lexer.getParserInput().getTemplateDepth() == 0) {
// onlyinclude only generates results during transclusion, otherwise the
// content is ignored... |
diff --git a/src/uk/org/ponder/rsf/renderer/html/BasicHTMLRenderSystem.java b/src/uk/org/ponder/rsf/renderer/html/BasicHTMLRenderSystem.java
index c94001a..ab21b5c 100644
--- a/src/uk/org/ponder/rsf/renderer/html/BasicHTMLRenderSystem.java
+++ b/src/uk/org/ponder/rsf/renderer/html/BasicHTMLRenderSystem.java
@@ -1,183 +... | false | true | public int renderComponent(RenderSystemContext rsc, UIComponent torendero, XMLLump lump) {
int lumpindex = lump.lumpindex;
XMLLump[] lumps = lump.parent.lumps;
int nextpos = -1;
XMLLump outerendopen = lump.open_end;
XMLLump outerclose = lump.close_tag;
nextpos = outerclose.lumpindex + 1;
... | public int renderComponent(RenderSystemContext rsc, UIComponent torendero, XMLLump lump) {
int lumpindex = lump.lumpindex;
XMLLump[] lumps = lump.parent.lumps;
int nextpos = -1;
XMLLump outerendopen = lump.open_end;
XMLLump outerclose = lump.close_tag;
nextpos = outerclose.lumpindex + 1;
... |
diff --git a/realms/konakart-yanel-realm/res-types/overview/src/java/org/wyona/yanel/resources/konakart/overview/KonakartOverviewSOAPInfResource.java b/realms/konakart-yanel-realm/res-types/overview/src/java/org/wyona/yanel/resources/konakart/overview/KonakartOverviewSOAPInfResource.java
index 5a6689c..83a58b9 100644
-... | true | true | protected InputStream getContentXML(String viewId) throws Exception {
if (log.isDebugEnabled()) {
log.debug("requested viewId: " + viewId);
}
if (trackInfo != null) {
String[] annotations = getAnnotations();
if (annotations != null) {
for ... | protected InputStream getContentXML(String viewId) throws Exception {
if (log.isDebugEnabled()) {
log.debug("requested viewId: " + viewId);
}
if (trackInfo != null) {
String[] annotations = getAnnotations();
if (annotations != null) {
for ... |
diff --git a/src/org/mozilla/javascript/Interpreter.java b/src/org/mozilla/javascript/Interpreter.java
index ffeb89c2..54c3cd9a 100644
--- a/src/org/mozilla/javascript/Interpreter.java
+++ b/src/org/mozilla/javascript/Interpreter.java
@@ -1,4736 +1,4736 @@
/* -*- 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/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java b/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hb/ui/bot/test/console/CreateConsoleConfigurationTest.java
index a10d803b..933d59eb 100644
--- a/tests/org.jboss.tools... | false | true | private void createConfigurationFile() {
ConfigurationFile.create(new String[]{prjName,"src"},"hibernate.cfg.xml",false);
}
private void createHibernateConsole() {
open.viewOpen(ActionItem.View.GeneralProjectExplorer.LABEL);
eclipse.createNew(EntityType.HIBERNATE_CONSOLE);
// Hibernate Console Dialog h... | private void createConfigurationFile() {
ConfigurationFile.create(new String[]{prjName,"src"},"hibernate.cfg.xml",false);
}
private void createHibernateConsole() {
open.viewOpen(ActionItem.View.GeneralProjectExplorer.LABEL);
eclipse.createNew(EntityType.HIBERNATE_CONSOLE);
// Hibernate Console Dialog h... |
diff --git a/src/java/tajmi/src/tajmi/instances/som/NaiveFindBestMatchFunc.java b/src/java/tajmi/src/tajmi/instances/som/NaiveFindBestMatchFunc.java
index a5f9a15..b2c2650 100644
--- a/src/java/tajmi/src/tajmi/instances/som/NaiveFindBestMatchFunc.java
+++ b/src/java/tajmi/src/tajmi/instances/som/NaiveFindBestMatchFunc.... | false | true | public Tuple2<Position, Object> call() {
// setup
Field field = getField();
DistanceFunc distancef = getDistancef();
/* implementation: */
double best_distance = Double.POSITIVE_INFINITY,
current_distance = Double.POSITIVE_INFINITY;
Tuple2<Position,... | public Tuple2<Position, Object> call() {
// setup
Field field = getField();
DistanceFunc distancef = getDistancef();
Object datum = getDatum();
/* implementation: */
double best_distance = Double.POSITIVE_INFINITY,
current_distance = Double.POSITIVE... |
diff --git a/src/main/us/exultant/ahs/terminal/Stty.java b/src/main/us/exultant/ahs/terminal/Stty.java
index a76c6cc..892c237 100644
--- a/src/main/us/exultant/ahs/terminal/Stty.java
+++ b/src/main/us/exultant/ahs/terminal/Stty.java
@@ -1,40 +1,42 @@
package us.exultant.ahs.terminal;
import us.exultant.ahs.util.*;
... | false | true | public static void getAngry() {
if (System.console() == null) throw new MajorBug("this program is not attached to a console, but is trying to set console modes");
// save the console settings from before we start mucking things up
final String $restoreStty = stty("-g");
// Add a shutdown hook to restore ... | public static void getAngry() {
if (System.console() == null) throw new MajorBug("this program is not attached to a console, but is trying to set console modes");
// save the console settings from before we start mucking things up
final String $restoreStty = stty("-g");
System.err.println("restore:"+$restor... |
diff --git a/src/main/java/org/hey/HadoopInAction/ch401/MyJob.java b/src/main/java/org/hey/HadoopInAction/ch401/MyJob.java
index d16a5c6..3335ccc 100644
--- a/src/main/java/org/hey/HadoopInAction/ch401/MyJob.java
+++ b/src/main/java/org/hey/HadoopInAction/ch401/MyJob.java
@@ -1,84 +1,84 @@
package org.hey.HadoopInActi... | true | true | public int run(String[] args) throws Exception {
Configuration conf = getConf();
JobConf job = new JobConf(conf, MyJob.class);
Path in = new Path(args[0]);
Path out = new Path(args[1]);
FileInputFormat.setInputPaths(job, in);
FileOutputFormat.setOutputPath(job, out);
job.setJobName("Yubo's paten... | public int run(String[] args) throws Exception {
Configuration conf = getConf();
JobConf job = new JobConf(conf, MyJob.class);
Path in = new Path(args[0]);
Path out = new Path(args[1]);
FileInputFormat.setInputPaths(job, in);
FileOutputFormat.setOutputPath(job, out);
job.setJobName("Yubo's paten... |
diff --git a/biojava3-structure/src/main/java/org/biojava/bio/structure/io/LocalCacheStructureProvider.java b/biojava3-structure/src/main/java/org/biojava/bio/structure/io/LocalCacheStructureProvider.java
index 31635667c..c5b3df9ae 100644
--- a/biojava3-structure/src/main/java/org/biojava/bio/structure/io/LocalCacheStr... | false | true | private void downloadBiolUnit(String pdbId, File localFile){
String u = "http://www.rcsb.org/pdb/files/%s.pdb1.gz";
String ur = String.format(u,pdbId);
System.out.println("Fetching " + ur);
// prepare destination
System.out.println("writing to " + localFile);
try {
URL url = new URL(ur);
Inp... | private void downloadBiolUnit(String pdbId, File localFile) throws IOException{
String u = "http://www.rcsb.org/pdb/files/%s.pdb1.gz";
String ur = String.format(u,pdbId);
System.out.println("Fetching " + ur);
// prepare destination
System.out.println("writing to " + localFile);
try {
URL url = n... |
diff --git a/apps/AppChooser/src/org/ros/android/app_chooser/AppChooser.java b/apps/AppChooser/src/org/ros/android/app_chooser/AppChooser.java
index fada199..f00ff9a 100644
--- a/apps/AppChooser/src/org/ros/android/app_chooser/AppChooser.java
+++ b/apps/AppChooser/src/org/ros/android/app_chooser/AppChooser.java
@@ -1,3... | true | true | protected void onNodeCreate(Node node) {
Log.i("RosAndroid", "AppChooser.onNodeCreate");
try {
super.onNodeCreate(node);
} catch( Exception ex ) {
safeSetStatus("Failed: " + ex.getMessage());
node = null;
return;
}
runOnUiThread(new Runnable() {
@Override
publi... | protected void onNodeCreate(Node node) {
Log.i("RosAndroid", "AppChooser.onNodeCreate");
try {
super.onNodeCreate(node);
} catch( Exception ex ) {
safeSetStatus("Failed: " + ex.getMessage());
node = null;
return;
}
runOnUiThread(new Runnable() {
@Override
publi... |
diff --git a/nuxeo-launcher-commons/src/test/java/org/nuxeo/launcher/config/JBossConfiguratorTest.java b/nuxeo-launcher-commons/src/test/java/org/nuxeo/launcher/config/JBossConfiguratorTest.java
index 7a5f2d48..c8b0caf9 100644
--- a/nuxeo-launcher-commons/src/test/java/org/nuxeo/launcher/config/JBossConfiguratorTest.ja... | true | true | public void setUp() throws Exception {
File nuxeoConf = getResourceFile("configurator/nuxeo.conf");
System.setProperty(ConfigurationGenerator.NUXEO_CONF,
nuxeoConf.getPath());
nuxeoHome = File.createTempFile("nuxeo", null);
nuxeoHome.delete();
nuxeoHome.mkdirs... | public void setUp() throws Exception {
File nuxeoConf = getResourceFile("configurator/nuxeo.conf");
System.setProperty(ConfigurationGenerator.NUXEO_CONF,
nuxeoConf.getPath());
nuxeoHome = File.createTempFile("nuxeo", null);
nuxeoHome.delete();
nuxeoHome.mkdirs... |
diff --git a/src/main/java/com/sankuai/meituan/hive/udf/D2d.java b/src/main/java/com/sankuai/meituan/hive/udf/D2d.java
index 3fde076..a3f7342 100644
--- a/src/main/java/com/sankuai/meituan/hive/udf/D2d.java
+++ b/src/main/java/com/sankuai/meituan/hive/udf/D2d.java
@@ -1,28 +1,27 @@
package com.sankuai.meituan.hive.udf... | true | true | public String evaluate(final String s, final String sourceSep, final String targetSep) {
if (s == null) {
return null;
}
try {
Date d = new SimpleDateFormat("yyyy" + sourceSep + "MM" + sourceSep + "dd").parse(s);
return new SimpleDateFormat("yyyy" + target... | public String evaluate(final String s, final String sourceSep, final String targetSep) {
if (s == null) {
return null;
}
try {
Date d = new SimpleDateFormat("yyyy" + sourceSep + "MM" + sourceSep + "dd").parse(s);
return new SimpleDateFormat("yyyy" + target... |
diff --git a/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java b/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
index dbe45d18..fa01db5b 100644
--- a/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
+++ b/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
@@ -1... | true | true | public SelectionListDialog() {
super(tr("Current Selection"), "selectionlist", tr("Open a selection list window."), KeyEvent.VK_E, 150);
displaylist.setCellRenderer(new OsmPrimitivRenderer());
displaylist.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
displaylist.addMouseListener(new MouseAd... | public SelectionListDialog() {
super(tr("Current Selection"), "selectionlist", tr("Open a selection list window."), KeyEvent.VK_T, 150);
displaylist.setCellRenderer(new OsmPrimitivRenderer());
displaylist.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
displaylist.addMouseListener(new MouseAd... |
diff --git a/src/eu/bryants/anthony/toylanguage/compiler/ControlFlowChecker.java b/src/eu/bryants/anthony/toylanguage/compiler/ControlFlowChecker.java
index c3dcdcb..3d754a3 100644
--- a/src/eu/bryants/anthony/toylanguage/compiler/ControlFlowChecker.java
+++ b/src/eu/bryants/anthony/toylanguage/compiler/ControlFlowChec... | false | true | private static boolean checkControlFlow(Statement statement, Set<Variable> initializedVariables) throws ConceptualException
{
if (statement instanceof AssignStatement)
{
AssignStatement assign = (AssignStatement) statement;
checkUninitializedVariables(assign.getExpression(), initializedVariables... | private static boolean checkControlFlow(Statement statement, Set<Variable> initializedVariables) throws ConceptualException
{
if (statement instanceof AssignStatement)
{
AssignStatement assign = (AssignStatement) statement;
checkUninitializedVariables(assign.getExpression(), initializedVariables... |
diff --git a/edu/mit/wi/haploview/association/PermutationTestSet.java b/edu/mit/wi/haploview/association/PermutationTestSet.java
index c4fb611..4bdcb74 100755
--- a/edu/mit/wi/haploview/association/PermutationTestSet.java
+++ b/edu/mit/wi/haploview/association/PermutationTestSet.java
@@ -1,350 +1,355 @@
package edu.mi... | true | true | public void doPermutations(int selection) {
selectionType = selection;
stopProcessing = false;
Vector curResults = null;
if (selectionType == CUSTOM){
activeAssocTestSet = custAssocTestSet;
}else{
activeAssocTestSet = defaultAssocTestSet;
}
... | public void doPermutations(int selection) {
selectionType = selection;
stopProcessing = false;
Vector curResults = null;
if (selectionType == CUSTOM){
activeAssocTestSet = custAssocTestSet;
}else{
activeAssocTestSet = defaultAssocTestSet;
}
... |
diff --git a/providers/gogrid/src/test/java/org/jclouds/gogrid/compute/GoGridComputeServiceLiveTest.java b/providers/gogrid/src/test/java/org/jclouds/gogrid/compute/GoGridComputeServiceLiveTest.java
index fca45c383..5b648d666 100644
--- a/providers/gogrid/src/test/java/org/jclouds/gogrid/compute/GoGridComputeServiceLiv... | true | true | protected void checkResponseEqualsHostname(ExecResponse execResponse, NodeMetadata node1) {
// hostname is not completely predictable based on node metadata
assert execResponse.getOutput().trim().startsWith(node1.getName());
}
| protected void checkResponseEqualsHostname(ExecResponse execResponse, NodeMetadata node1) {
// hostname is not completely predictable based on node metadata
assert execResponse.getOutput().trim().startsWith(node1.getName()) : execResponse + ": " + node1;
}
|
diff --git a/core/http/server/src/main/java/org/openrdf/http/server/filters/AcceptParamFilter.java b/core/http/server/src/main/java/org/openrdf/http/server/filters/AcceptParamFilter.java
index 7a4f6204d..ed1b63650 100644
--- a/core/http/server/src/main/java/org/openrdf/http/server/filters/AcceptParamFilter.java
+++ b/c... | true | true | protected int beforeHandle(Request request, Response response) {
Form queryParams = request.getResourceRef().getQueryAsForm();
// FIXME: process the Accept-parameter in a case-insensitive way
String[] acceptValues = queryParams.getValuesArray(RequestHeaders.ACCEPT);
if (acceptValues.length > 0) {
ClientInf... | protected int beforeHandle(Request request, Response response) {
Form queryParams = request.getResourceRef().getQueryAsForm();
String[] acceptValues = queryParams.getValuesArray(RequestHeaders.ACCEPT, true);
if (acceptValues.length > 0) {
ClientInfo clientInfo = request.getClientInfo();
// Remove all exi... |
diff --git a/htroot/IndexCreateIndexingQueue_p.java b/htroot/IndexCreateIndexingQueue_p.java
index 26ca76446..f3a4e9010 100644
--- a/htroot/IndexCreateIndexingQueue_p.java
+++ b/htroot/IndexCreateIndexingQueue_p.java
@@ -1,208 +1,208 @@
// IndexCreateIndexingQueue_p.java
// -------------------------------
// part of... | false | true | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
// return variable that accumulates replacements
plasmaSwitchboard switchboard = (plasmaSwitchboard) env;
serverObjects prop = new serverObjects();
prop.put("rejected", "0");
int sh... | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
// return variable that accumulates replacements
plasmaSwitchboard switchboard = (plasmaSwitchboard) env;
serverObjects prop = new serverObjects();
prop.put("rejected", "0");
int sh... |
diff --git a/javasrc/src/org/ccnx/ccn/profiles/nameenum/EnumeratedNameList.java b/javasrc/src/org/ccnx/ccn/profiles/nameenum/EnumeratedNameList.java
index e9ae02bf6..3aefe2dc5 100644
--- a/javasrc/src/org/ccnx/ccn/profiles/nameenum/EnumeratedNameList.java
+++ b/javasrc/src/org/ccnx/ccn/profiles/nameenum/EnumeratedNameL... | true | true | public static EnumeratedNameList exists(ContentName childName, ContentName prefixKnownToExist, CCNHandle handle) throws IOException {
if (Log.isLoggable(Log.FAC_SEARCH, Level.INFO))
Log.info(Log.FAC_SEARCH, "EnumeratedNameList.exists: the prefix known to exist is {0} and we are looking for childName {1}", prefixK... | public static EnumeratedNameList exists(ContentName childName, ContentName prefixKnownToExist, CCNHandle handle) throws IOException {
if (Log.isLoggable(Log.FAC_SEARCH, Level.INFO))
Log.info(Log.FAC_SEARCH, "EnumeratedNameList.exists: the prefix known to exist is {0} and we are looking for childName {1}", prefixK... |
diff --git a/android/src/org/coolreader/crengine/Engine.java b/android/src/org/coolreader/crengine/Engine.java
index c1fc2d6d..52023b41 100644
--- a/android/src/org/coolreader/crengine/Engine.java
+++ b/android/src/org/coolreader/crengine/Engine.java
@@ -1,842 +1,842 @@
package org.coolreader.crengine;
import java.... | true | true | private void showProgress( final int mainProgress, final String msg )
{
final int progressId = ++nextProgressId;
mProgressMessage = msg;
mProgressPos = mainProgress;
if ( mainProgress==10000 ) {
Log.v("cr3", "mainProgress==10000 : calling hideProgress");
hideProgress();
return;
}
Log.v("cr3", "sh... | private void showProgress( final int mainProgress, final String msg )
{
final int progressId = ++nextProgressId;
mProgressMessage = msg;
mProgressPos = mainProgress;
if ( mainProgress==10000 ) {
Log.v("cr3", "mainProgress==10000 : calling hideProgress");
hideProgress();
return;
}
Log.v("cr3", "sh... |
diff --git a/TingJpct7/scene/com/ting/scene/Scene.java b/TingJpct7/scene/com/ting/scene/Scene.java
index 1b7bbc2..7303d8b 100644
--- a/TingJpct7/scene/com/ting/scene/Scene.java
+++ b/TingJpct7/scene/com/ting/scene/Scene.java
@@ -1,45 +1,45 @@
package com.ting.scene;
import com.threed.jpct.Light;
import com.threed.... | false | true | public Scene() {
//world.setAmbientLight(ambient.getRed(), ambient.getGreen(), ambient.getBlue());
shape = loadOBJ("BMan_02", 3);
// shape.calcTextureWrapSpherical();
shape.setTexture(addTexture("BMan_02.png"));
shape.build();
world.addObject(shape);
world.getCamera().setPosition(50, -20, -5);
world.... | public Scene() {
//world.setAmbientLight(ambient.getRed(), ambient.getGreen(), ambient.getBlue());
shape = loadOBJ("BMan_02", 6);
// shape.calcTextureWrapSpherical();
shape.setTexture(addTexture("BMan_02.png"));
shape.build();
world.addObject(shape);
world.getCamera().setPosition(50, -40, -15);
world... |
diff --git a/src/newbieprotect/Storage.java b/src/newbieprotect/Storage.java
index 60f314a..28507a1 100644
--- a/src/newbieprotect/Storage.java
+++ b/src/newbieprotect/Storage.java
@@ -1,106 +1,106 @@
package newbieprotect;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.... | true | true | protected boolean isPlayerProtected(String playername)
{
if (System.currentTimeMillis() - playerprotecttime.get(playername) > config.protecttime)
{
unprotectPlayer(playername);
}
Player player = Bukkit.getPlayerExact(playername);
try {
List<String> aregions = WGBukkit.getRegionManager(player.getWorld(... | protected boolean isPlayerProtected(String playername)
{
if (playerprotecttime.containsKey(playername) && System.currentTimeMillis() - playerprotecttime.get(playername) > config.protecttime)
{
unprotectPlayer(playername);
}
Player player = Bukkit.getPlayerExact(playername);
try {
List<String> aregions... |
diff --git a/GoldBankListener.java b/GoldBankListener.java
index 9cb9797..f1594c4 100644
--- a/GoldBankListener.java
+++ b/GoldBankListener.java
@@ -1,147 +1,148 @@
public class GoldBankListener extends PluginListener
{
private GoldBankData data;
private Bank bank;
private Bool bool;
private static Sign sign;... | true | true | public boolean onCommand(Player player, java.lang.String[] split)
{
if(split[0].equalsIgnoreCase("/goldbank"))
{
if(split[1].equalsIgnoreCase("transfer") && !split[2].equalsIgnoreCase("") && !split[3].equalsIgnoreCase("") && !split[4].equalsIgnoreCase(""))
{
if(split[3].equalsIgnoreCase("diamond"))
... | public boolean onCommand(Player player, java.lang.String[] split)
{
if(split[0].equalsIgnoreCase("/goldbank"))
{
if(split[1].equalsIgnoreCase("transfer") && !split[2].equalsIgnoreCase("") && !split[3].equalsIgnoreCase("") && !split[4].equalsIgnoreCase(""))
{
if(split[3].equalsIgnoreCase("diamond"))
... |
diff --git a/api/src/main/java/org/sonar/runner/Bootstrapper.java b/api/src/main/java/org/sonar/runner/Bootstrapper.java
index 9f482bb..8e8a32c 100644
--- a/api/src/main/java/org/sonar/runner/Bootstrapper.java
+++ b/api/src/main/java/org/sonar/runner/Bootstrapper.java
@@ -1,267 +1,270 @@
/*
* Sonar Runner - API
* ... | true | true | private void getBootstrapFiles(List<File> files) throws IOException {
String libs = remoteContent(BOOTSTRAP_INDEX_PATH);
String[] lines = libs.split("[\r\n]+");
for (String line : lines) {
line = line.trim();
if ("".equals(line)) {
continue;
}
String[] libAndMd5 = line.spli... | private void getBootstrapFiles(List<File> files) throws IOException {
String libs = remoteContent(BOOTSTRAP_INDEX_PATH);
String[] lines = libs.split("[\r\n]+");
for (String line : lines) {
line = line.trim();
if ("".equals(line)) {
continue;
}
String[] libAndMd5 = line.spli... |
diff --git a/src/leola/vm/asm/Scope.java b/src/leola/vm/asm/Scope.java
index 2b38a0f..62c3ac4 100644
--- a/src/leola/vm/asm/Scope.java
+++ b/src/leola/vm/asm/Scope.java
@@ -1,468 +1,468 @@
/*
Leola Programming Language
Author: Tony Sparks
See license.txt
*/
package leola.vm.asm;
import java.lang.reflect.Met... | true | true | public LeoObject storeObject(LeoString reference, LeoObject newValue) {
Scope current = this;
while (current != null) {
// if the value is the the current scope, break out
if (current.values != null && current.values.getWithJNull(reference) != null ) {
break;
}
// else check the parent ... | public LeoObject storeObject(LeoString reference, LeoObject newValue) {
Scope current = this;
while (current != null && current.scopeType.equals(ScopeType.LOCAL_SCOPE)) {
// if the value is the the current scope, break out
if (current.values != null && current.values.getWithJNull(reference) != null... |
diff --git a/Project/src/be/uclouvain/sinf1225/gourmet/DishListView.java b/Project/src/be/uclouvain/sinf1225/gourmet/DishListView.java
index 464fe6b..b1aee03 100644
--- a/Project/src/be/uclouvain/sinf1225/gourmet/DishListView.java
+++ b/Project/src/be/uclouvain/sinf1225/gourmet/DishListView.java
@@ -1,97 +1,97 @@
pack... | true | true | public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_dish_list);
// Initialisation des services de localisation
// locationListener = new GourmetLocationListener(this,this).init();
// Récupération du restaurant sur lequel on a cliqué et les ... | public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_dish_list);
// Initialisation des services de localisation
// locationListener = new GourmetLocationListener(this,this).init();
// Récupération du restaurant sur lequel on a cliqué et les ... |
diff --git a/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsSearchCommand.java b/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsSearchCommand.java
index ed07d76cb..85dcefdaf 100644
--- a/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsSearchCommand.java
+... | true | true | protected String getAdditionalFilter() {
synchronized (this) {
if (filterBuilder == null) {
filterBuilder = new StringBuilder(super.getAdditionalFilter());
// Add filter to retrieve all documents.
if (containsJustThePrefix() || getTransformedQuery... | protected String getAdditionalFilter() {
synchronized (this) {
if (filterBuilder == null) {
filterBuilder = new StringBuilder(super.getAdditionalFilter());
// Add filter to retrieve all documents.
if (containsJustThePrefix() || getTransformedQuery... |
diff --git a/src/org/bouncycastle/mail/smime/SMIMEUtil.java b/src/org/bouncycastle/mail/smime/SMIMEUtil.java
index 2029aa3a..31c9f7f5 100644
--- a/src/org/bouncycastle/mail/smime/SMIMEUtil.java
+++ b/src/org/bouncycastle/mail/smime/SMIMEUtil.java
@@ -1,310 +1,310 @@
package org.bouncycastle.mail.smime;
import java.... | true | true | static void outputBodyPart(
OutputStream out,
Part bodyPart,
String defaultContentTransferEncoding)
throws MessagingException, IOException
{
if (bodyPart instanceof MimeBodyPart)
{
MimeBodyPart mimePart = (MimeBodyPart)bodyPart;
... | static void outputBodyPart(
OutputStream out,
Part bodyPart,
String defaultContentTransferEncoding)
throws MessagingException, IOException
{
if (bodyPart instanceof MimeBodyPart)
{
MimeBodyPart mimePart = (MimeBodyPart)bodyPart;
... |
diff --git a/src/test/java/org/apache/wicket/examples/StartExamples.java b/src/test/java/org/apache/wicket/examples/StartExamples.java
index 9d1101b..03bcd0b 100644
--- a/src/test/java/org/apache/wicket/examples/StartExamples.java
+++ b/src/test/java/org/apache/wicket/examples/StartExamples.java
@@ -1,84 +1,84 @@
/*
... | true | true | public static void main(String[] args)
{
Server server = new Server();
SocketConnector connector = new SocketConnector();
// Set some timeout options to make debugging easier.
connector.setMaxIdleTime(1000 * 60 * 60);
connector.setSoLingerTime(-1);
connector.setPort(8080);
server.setConnectors(new Conn... | public static void main(String[] args)
{
Server server = new Server();
SocketConnector connector = new SocketConnector();
// Set some timeout options to make debugging easier.
connector.setMaxIdleTime(1000 * 60 * 60);
connector.setSoLingerTime(-1);
connector.setPort(8080);
server.setConnectors(new Conn... |
diff --git a/ShopifyAPITests/src/com/shopify/api/resources/AssetTest.java b/ShopifyAPITests/src/com/shopify/api/resources/AssetTest.java
index 1287730..ecd1fd7 100644
--- a/ShopifyAPITests/src/com/shopify/api/resources/AssetTest.java
+++ b/ShopifyAPITests/src/com/shopify/api/resources/AssetTest.java
@@ -1,20 +1,20 @@
... | true | true | public void testReadingInSingleAsset() {
String singleAsset = AssetLoader.loadAsset(fixturesDir, "Asset/singleAsset.json");
Asset result = reader.read(singleAsset, Asset.class).get(0);
{
assertEquals("2010-07-12T15:31:50-04:00", result.getCreated_at());
assertEquals("2010-07-12T15:31:50-04:00", result.g... | public void testReadingInSingleAsset() {
String singleAsset = AssetLoader.loadAsset(fixturesDir, "Asset/singleAsset.json");
Asset result = reader.read(singleAsset, Asset.class).get(0);
{
assertEquals("2010-07-12T15:31:50-04:00", result.getCreatedAt());
assertEquals("2010-07-12T15:31:50-04:00", result.ge... |
diff --git a/DbstarLauncher/src/com/dbstar/app/settings/RestoreFactoryUtil.java b/DbstarLauncher/src/com/dbstar/app/settings/RestoreFactoryUtil.java
index 1e2ac66e..e2b96bb2 100644
--- a/DbstarLauncher/src/com/dbstar/app/settings/RestoreFactoryUtil.java
+++ b/DbstarLauncher/src/com/dbstar/app/settings/RestoreFactoryUti... | true | true | public static void clearNetworkInfo() {
Context context = GDApplication.getAppContext();
WifiManager wifiMgr = (WifiManager) context
.getSystemService(Context.WIFI_SERVICE);
List<WifiConfiguration> allConfigs = wifiMgr.getConfiguredNetworks();
for(WifiConfiguration config: allConfigs) {
wifiMgr.removeN... | public static void clearNetworkInfo() {
Context context = GDApplication.getAppContext();
WifiManager wifiMgr = (WifiManager) context
.getSystemService(Context.WIFI_SERVICE);
List<WifiConfiguration> allConfigs = wifiMgr.getConfiguredNetworks();
for(WifiConfiguration config: allConfigs) {
wifiMgr.removeN... |
diff --git a/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/management/Cluster.java b/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/management/Cluster.java
index 5008b8a7..2322de58 100644
--- a/fog.routing.hrm/src/de/tuilmenau/ics/fog/routing/hierarchical/management/Cluster.java
+++ b/fog... | false | true | public void distributeMembershipRequests()
{
mCountDistributeMembershipRequests ++;
/*************************************
* Request for local coordinators
************************************/
if(HRMConfig.DebugOutput.SHOW_CLUSTERING_STEPS){
Logging.log(this, "\n\n\n################ REQUESTING MEMB... | public void distributeMembershipRequests()
{
mCountDistributeMembershipRequests ++;
/*************************************
* Request for local coordinators
************************************/
if(HRMConfig.DebugOutput.SHOW_CLUSTERING_STEPS){
Logging.log(this, "\n\n\n################ REQUESTING MEMB... |
diff --git a/CS425MP2/src/Machine.java b/CS425MP2/src/Machine.java
index fe863f8..a2e8527 100644
--- a/CS425MP2/src/Machine.java
+++ b/CS425MP2/src/Machine.java
@@ -1,318 +1,319 @@
import java.io.*;
import java.net.*;
import java.util.HashMap;
import java.util.Vector;
import java.io.ByteArrayInputStream;
im... | true | true | public static void main(String[] args) {
boolean mflag = false;
Machine m;
if (args.length == 2) {
mflag = args[1].equals("mastermode");
m = new Machine(mflag);
} else {
m = new Machine();
}
m.memberList = new Vector<String>();
m.myFileList = new Vector<String>();
System.out.println("in mac... | public static void main(String[] args) {
boolean mflag = false;
Machine m;
if (args.length == 2) {
mflag = args[1].equals("mastermode");
m = new Machine(mflag);
} else {
m = new Machine();
}
m.memberList = new Vector<String>();
m.myFileList = new Vector<String>();
System.out.println("in mac... |
diff --git a/src/main/java/javax/time/calendar/LocalDate.java b/src/main/java/javax/time/calendar/LocalDate.java
index 1843aaff..17d46b89 100644
--- a/src/main/java/javax/time/calendar/LocalDate.java
+++ b/src/main/java/javax/time/calendar/LocalDate.java
@@ -1,1077 +1,1075 @@
/*
* Copyright (c) 2007,2008, Stephen Co... | true | true | public static LocalDate fromModifiedJulianDays(long mjDays) {
long total = mjDays + 678941;
long y = 0;
long leapYearCount = 0;
int yearLength = -1;
do {
y += total / 365;
total %= 365;
total += leapYearCount;
if (y >= ... | public static LocalDate fromModifiedJulianDays(long mjDays) {
long total = mjDays + 678941;
long y = 0;
long leapYearCount = 0;
int yearLength = -1;
do {
y += total / 365;
total %= 365;
total += leapYearCount;
if (y >= ... |
diff --git a/ide/eclipse/esb/org.wso2.developerstudio.eclipse.gmf.esb.persistence/src/org/wso2/developerstudio/eclipse/gmf/esb/internal/persistence/SequenceTransformer.java b/ide/eclipse/esb/org.wso2.developerstudio.eclipse.gmf.esb.persistence/src/org/wso2/developerstudio/eclipse/gmf/esb/internal/persistence/SequenceTr... | false | true | private void handleServiceChaining(org.wso2.developerstudio.eclipse.gmf.esb.Sequences visualSequence,SequenceMediator sequence,List proxyNames) throws Exception{
IEditorPart editorPart = null;
IProject activeProject = null;
Sequence currentSequence = null;
IEditorReference editorReferences[] = PlatformUI.ge... | private void handleServiceChaining(org.wso2.developerstudio.eclipse.gmf.esb.Sequences visualSequence,SequenceMediator sequence,List proxyNames) throws Exception{
IEditorPart editorPart = null;
IProject activeProject = null;
Sequence currentSequence = null;
IEditorReference editorReferences[] = PlatformUI.ge... |
diff --git a/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/HorizontalGroup.java b/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/HorizontalGroup.java
index 675ae581a..bda5a355b 100644
--- a/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/HorizontalGroup.java
+++ b/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/HorizontalGroup.java
@@ ... | false | true | public void layout () {
float spacing = this.spacing;
float groupHeight = getHeight();
float x = reverse ? getWidth() : 0;
float dir = reverse ? -1 : 1;
SnapshotArray<Actor> children = getChildren();
for (int i = 0, n = children.size; i < n; i++) {
Actor child = children.get(i);
float width, height;
... | public void layout () {
float spacing = this.spacing;
float groupHeight = getHeight();
float x = reverse ? getWidth() : 0;
float dir = reverse ? -1 : 1;
SnapshotArray<Actor> children = getChildren();
for (int i = 0, n = children.size; i < n; i++) {
Actor child = children.get(i);
float width, height;
... |
diff --git a/src/org/biojava/bio/program/gff/GFFTools.java b/src/org/biojava/bio/program/gff/GFFTools.java
index f07c5f098..89ab50881 100644
--- a/src/org/biojava/bio/program/gff/GFFTools.java
+++ b/src/org/biojava/bio/program/gff/GFFTools.java
@@ -1,344 +1,347 @@
/*
* BioJava development code
... | true | true | public static SequenceDB annotateSequences(SequenceDB seqs, GFFEntrySet ents)
throws IllegalIDException, BioException{
Set names = new HashSet();
//get the list of names for each sequence
for (Iterator i = ents.lineIterator(); i.hasNext(); ) {
GFFRecord record = (GFFRecord)i.next();
if(! ... | public static SequenceDB annotateSequences(SequenceDB seqs, GFFEntrySet ents)
throws IllegalIDException, BioException{
Set names = new HashSet();
//get the list of names for each sequence
for (Iterator i = ents.lineIterator(); i.hasNext(); ) {
Object o = i.next();
if(o instanceof GFFRecor... |
diff --git a/AeroControl/src/com/aero/control/fragments/GPUFragment.java b/AeroControl/src/com/aero/control/fragments/GPUFragment.java
index fe9255b..5469ea9 100644
--- a/AeroControl/src/com/aero/control/fragments/GPUFragment.java
+++ b/AeroControl/src/com/aero/control/fragments/GPUFragment.java
@@ -1,430 +1,431 @@
pa... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setHasOptionsMenu(true);
// We have to load the xml layout first;
addPreferencesFromResource(R.layout.gpu_fragment);
root = this.getPreferenceScreen();
PreferenceCategory gpuCatego... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setHasOptionsMenu(true);
// We have to load the xml layout first;
addPreferencesFromResource(R.layout.gpu_fragment);
root = this.getPreferenceScreen();
PreferenceCategory gpuCatego... |
diff --git a/modules/resin/src/com/caucho/jsf/html/HtmlCommandLinkRenderer.java b/modules/resin/src/com/caucho/jsf/html/HtmlCommandLinkRenderer.java
index b036724b3..7bf483133 100644
--- a/modules/resin/src/com/caucho/jsf/html/HtmlCommandLinkRenderer.java
+++ b/modules/resin/src/com/caucho/jsf/html/HtmlCommandLinkRende... | true | true | public void encodeBegin(FacesContext context, UIComponent component)
throws IOException
{
ResponseWriter out = context.getResponseWriter();
String id = component.getId();
String accesskey;
String charset;
String coords;
String dir;
boolean disabled;
String hreflang;
String ... | public void encodeBegin(FacesContext context, UIComponent component)
throws IOException
{
ResponseWriter out = context.getResponseWriter();
String id = component.getId();
String accesskey;
String charset;
String coords;
String dir;
boolean disabled;
String hreflang;
String ... |
diff --git a/src/plugin/jdbc/src/org/rapidcontext/app/plugin/jdbc/JdbcConnection.java b/src/plugin/jdbc/src/org/rapidcontext/app/plugin/jdbc/JdbcConnection.java
index 0648934..47ab9c5 100644
--- a/src/plugin/jdbc/src/org/rapidcontext/app/plugin/jdbc/JdbcConnection.java
+++ b/src/plugin/jdbc/src/org/rapidcontext/app/plu... | true | true | protected void init() throws StorageException {
String driver;
String url;
String ping;
driver = dict.getString(JDBC_DRIVER, "").trim();
url = dict.getString(JDBC_URL, "").trim().toLowerCase();
ping = dict.getString(JDBC_PING, "").trim();
if (driver.isEmpt... | protected void init() throws StorageException {
String driver;
String url;
String ping;
driver = dict.getString(JDBC_DRIVER, "").trim();
url = dict.getString(JDBC_URL, "").trim().toLowerCase();
ping = dict.getString(JDBC_PING, "").trim();
if (driver.isEmpt... |
diff --git a/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardContext.java b/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/startup/SipStandardContext.java
index 8d600a960..a761317ed 100644
--- a/servers/sip-servlets/sip-servlets-impl/src/... | true | true | public synchronized void start() throws LifecycleException {
if(logger.isInfoEnabled()) {
logger.info("Starting the sip context");
}
if( initialized ) {
prepareServletContext();
}
// Add missing components as necessary
if (getResources() == null) { // (1) Required by Loader
if ... | public synchronized void start() throws LifecycleException {
if(logger.isInfoEnabled()) {
logger.info("Starting the sip context");
}
if( initialized ) {
prepareServletContext();
}
// Add missing components as necessary
if (getResources() == null) { // (1) Required by Loader
if ... |
diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java
index c88d7f34f..4e9d2759a 100644
--- a/src/tconstruct/common/TContent.java
+++ b/src/tconstruct/common/TContent.java
@@ -1,2438 +1,2442 @@
package tconstruct.common;
import cpw.mods.fml.common.*;
import cpw.mods.fml.common.even... | false | true | void registerBlocks ()
{
//Tool Station
toolStationWood = new ToolStationBlock(PHConstruct.woodStation, Material.wood).setUnlocalizedName("ToolStation");
GameRegistry.registerBlock(toolStationWood, ToolStationItemBlock.class, "ToolStationBlock");
GameRegistry.registerTileEntity(T... | void registerBlocks ()
{
//Tool Station
toolStationWood = new ToolStationBlock(PHConstruct.woodStation, Material.wood).setUnlocalizedName("ToolStation");
GameRegistry.registerBlock(toolStationWood, ToolStationItemBlock.class, "ToolStationBlock");
GameRegistry.registerTileEntity(T... |
diff --git a/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/DB2SingleDbJDBCConnection.java b/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/DB2SingleDbJDBCConnection.java
index 69d2612ed..3a2fc8611 100644
--- a/exo... | false | true | protected void prepareQueries() throws SQLException
{
super.prepareQueries();
FIND_NODES_AND_PROPERTIES =
"select J.*, P.ID AS P_ID, P.NAME AS P_NAME, P.VERSION AS P_VERSION, P.P_TYPE, P.P_MULTIVALUED,"
+ " V.DATA, V.ORDER_NUM, V.STORAGE_DESC from JCR_SVALUE V, JCR_SITEM P"
... | protected void prepareQueries() throws SQLException
{
super.prepareQueries();
FIND_NODES_AND_PROPERTIES =
"select J.*, P.ID AS P_ID, P.NAME AS P_NAME, P.VERSION AS P_VERSION, P.P_TYPE, P.P_MULTIVALUED,"
+ " V.DATA, V.ORDER_NUM, V.STORAGE_DESC from JCR_SVALUE V, JCR_SITEM P"
... |
diff --git a/VectorTileMap/src/org/mapsforge/android/utils/GlConfigChooser.java b/VectorTileMap/src/org/mapsforge/android/utils/GlConfigChooser.java
index 16e015e..621af76 100644
--- a/VectorTileMap/src/org/mapsforge/android/utils/GlConfigChooser.java
+++ b/VectorTileMap/src/org/mapsforge/android/utils/GlConfigChooser.... | false | true | public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
mValue = new int[1];
// Try to find a normal multisample configuration first.
int[] configSpec = {
EGL10.EGL_RED_SIZE, 5,
EGL10.EGL_GREEN_SIZE, 6,
EGL10.EGL_BLUE_SIZE, 5,
EGL10.EGL_ALPHA_SIZE, 0,
EGL10.EGL_DEPTH_SIZE, 24,
// ... | public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
mValue = new int[1];
// Try to find a normal multisample configuration first.
int[] configSpec = {
EGL10.EGL_RED_SIZE, 5,
EGL10.EGL_GREEN_SIZE, 6,
EGL10.EGL_BLUE_SIZE, 5,
EGL10.EGL_ALPHA_SIZE, 8,
EGL10.EGL_DEPTH_SIZE, 16,
// ... |
diff --git a/omod/src/main/java/org/openmrs/web/controller/report/export/DataExportFormController.java b/omod/src/main/java/org/openmrs/web/controller/report/export/DataExportFormController.java
index 9b5b90b..5d6e00b 100644
--- a/omod/src/main/java/org/openmrs/web/controller/report/export/DataExportFormController.java... | true | true | protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, Object obj,
BindException errors) throws Exception {
HttpSession httpSession = request.getSession();
String view = getFormView();
if (Context.isAuthenticated()) {
DataExportRepor... | protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, Object obj,
BindException errors) throws Exception {
HttpSession httpSession = request.getSession();
String view = getFormView();
if (Context.isAuthenticated()) {
DataExportRepor... |
diff --git a/src/main/java/IonCannon/mapreduce/sampling/SamplingMapper.java b/src/main/java/IonCannon/mapreduce/sampling/SamplingMapper.java
index 6e591cc..9621f3f 100644
--- a/src/main/java/IonCannon/mapreduce/sampling/SamplingMapper.java
+++ b/src/main/java/IonCannon/mapreduce/sampling/SamplingMapper.java
@@ -1,99 +1... | true | true | public void map(LongWritable line, Text input, Context context) throws IOException, InterruptedException {
System.out.println( input.toString());
String[] parsedConfigs = pattern.split(input.toString());
Float[] config = new Float[parsedConfigs.length - 1];
long userID = Long.parseL... | public void map(LongWritable line, Text input, Context context) throws IOException, InterruptedException {
System.out.println( input.toString());
String[] parsedConfigs = pattern.split(input.toString());
Float[] config = new Float[parsedConfigs.length - 1];
long userID = Long.parseL... |
diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java
index 52226ae..1e74413 100644
--- a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsEx.java
+++ b/src/net/milkbowl/vault/permission/plugins/Permi... | true | true | public Permission_PermissionsEx(Plugin plugin) {
this.plugin = plugin;
Bukkit.getServer().getPluginManager().registerEvents(new PermissionServerListener(this), plugin);
// Load Plugin in case it was loaded before
if (permission == null) {
Plugin perms = plugin.getServer(... | public Permission_PermissionsEx(Plugin plugin) {
this.plugin = plugin;
Bukkit.getServer().getPluginManager().registerEvents(new PermissionServerListener(this), plugin);
// Load Plugin in case it was loaded before
if (permission == null) {
Plugin perms = plugin.getServer(... |
diff --git a/GAE/src/org/waterforpeople/mapping/app/web/TaskServlet.java b/GAE/src/org/waterforpeople/mapping/app/web/TaskServlet.java
index 2b0d85578..3ffb76529 100644
--- a/GAE/src/org/waterforpeople/mapping/app/web/TaskServlet.java
+++ b/GAE/src/org/waterforpeople/mapping/app/web/TaskServlet.java
@@ -1,337 +1,341 @@... | false | true | private ArrayList<SurveyInstance> processFile(String fileName,
String phoneNumber, String checksum, Integer offset) {
ArrayList<SurveyInstance> surveyInstances = new ArrayList<SurveyInstance>();
try {
DeviceFilesDao dfDao = new DeviceFilesDao();
URL url = new URL(DEVICE_FILE_PATH + fileName);
Buffered... | private ArrayList<SurveyInstance> processFile(String fileName,
String phoneNumber, String checksum, Integer offset) {
ArrayList<SurveyInstance> surveyInstances = new ArrayList<SurveyInstance>();
try {
DeviceFilesDao dfDao = new DeviceFilesDao();
URL url = new URL(DEVICE_FILE_PATH + fileName);
Buffered... |
diff --git a/src/nl/b3p/viewer/config/services/ArcGISService.java b/src/nl/b3p/viewer/config/services/ArcGISService.java
index e79b1033c..4ce6bab7a 100644
--- a/src/nl/b3p/viewer/config/services/ArcGISService.java
+++ b/src/nl/b3p/viewer/config/services/ArcGISService.java
@@ -1,202 +1,205 @@
/*
* Copyright (C) 2011 ... | false | true | private Layer parseArcGISLayer(JSONObject agsl, GeoService service, ArcGISFeatureSource fs, Layer parent) throws JSONException {
Layer l = new Layer();
l.setParent(parent);
l.setService(service);
l.setFilterable(true);
l.setQueryable(true); // Could check capabilities field f... | private Layer parseArcGISLayer(JSONObject agsl, GeoService service, ArcGISFeatureSource fs, Layer parent) throws JSONException {
Layer l = new Layer();
l.setParent(parent);
l.setService(service);
l.setFilterable(true);
l.setQueryable(true); // Could check capabilities field f... |
diff --git a/src/com/bukkit/mg/plantspreader/PlantSpreaderPlayerListener.java b/src/com/bukkit/mg/plantspreader/PlantSpreaderPlayerListener.java
index 65a2f78..c2a156c 100644
--- a/src/com/bukkit/mg/plantspreader/PlantSpreaderPlayerListener.java
+++ b/src/com/bukkit/mg/plantspreader/PlantSpreaderPlayerListener.java
@@ ... | false | true | public void onPlayerMove(PlayerMoveEvent event) {
Random generator = new Random();
if(event.getPlayer().getLocation().getBlockX() == Math.round(event.getPlayer().getLocation().getBlockX())
|| event.getPlayer().getLocation().getBlockZ() == Math.round(event.getPlayer().getLocation().getBlockZ())) {
... | public void onPlayerMove(PlayerMoveEvent event) {
Random generator = new Random();
if(event.getPlayer().getLocation().getBlockX() == Math.round(event.getPlayer().getLocation().getBlockX())
|| event.getPlayer().getLocation().getBlockZ() == Math.round(event.getPlayer().getLocation().getBlockZ())) {
... |
diff --git a/sphinx4/edu/cmu/sphinx/research/parallel/ParallelAcousticScorer.java b/sphinx4/edu/cmu/sphinx/research/parallel/ParallelAcousticScorer.java
index 217c5b0b3..91223708d 100644
--- a/sphinx4/edu/cmu/sphinx/research/parallel/ParallelAcousticScorer.java
+++ b/sphinx4/edu/cmu/sphinx/research/parallel/ParallelAco... | true | true | public Scoreable calculateScores(List scoreableList) {
assert scoreableList.size() > 0;
try {
FrontEnd frontEnd = getFrontEnd(scoreableList);
Data data = frontEnd.getData();
if (data == null) {
return null;
}
if (data instanceof DataStartSignal... | public Scoreable calculateScores(List scoreableList) {
assert scoreableList.size() > 0;
try {
FrontEnd frontEnd = getFrontEnd(scoreableList);
Data data = frontEnd.getData();
if (data == null) {
return null;
}
if (data instanceof DataStartSignal... |
diff --git a/src/org/splitbrain/simpleical/SimpleIcalParser.java b/src/org/splitbrain/simpleical/SimpleIcalParser.java
index 7a3e4ee..86c9af4 100644
--- a/src/org/splitbrain/simpleical/SimpleIcalParser.java
+++ b/src/org/splitbrain/simpleical/SimpleIcalParser.java
@@ -1,135 +1,135 @@
package org.splitbrain.simpleical;... | true | true | public SimpleIcalEvent nextEvent() throws IOException {
SimpleIcalEvent event = null;
String lineup = null;
if(line == null) line = reader.readLine();
while (line != null){
nextline = reader.readLine();
lineup = line.toUpperCase();
// look into... | public SimpleIcalEvent nextEvent() throws IOException {
SimpleIcalEvent event = null;
String lineup = null;
if(line == null) line = reader.readLine();
while (line != null){
nextline = reader.readLine();
lineup = line.toUpperCase();
// look into... |
diff --git a/classes/com/sapienter/jbilling/client/user/MaintainAction.java b/classes/com/sapienter/jbilling/client/user/MaintainAction.java
index 0528feb2..947adab4 100644
--- a/classes/com/sapienter/jbilling/client/user/MaintainAction.java
+++ b/classes/com/sapienter/jbilling/client/user/MaintainAction.java
@@ -1,290... | true | true | public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
Logger log =... | public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
Logger log =... |
diff --git a/src/au/org/intersect/samifier/parser/GenomeParserImpl.java b/src/au/org/intersect/samifier/parser/GenomeParserImpl.java
index 591028d..c47e3d8 100644
--- a/src/au/org/intersect/samifier/parser/GenomeParserImpl.java
+++ b/src/au/org/intersect/samifier/parser/GenomeParserImpl.java
@@ -1,205 +1,205 @@
packag... | true | true | private Genome doParsing(File genomeFile) throws IOException,
GenomeFileParsingException {
Genome genome = new Genome();
BufferedReader reader = null;
try {
reader = new BufferedReader(new FileReader(genomeFile));
while ((line = reader.readLine()) != nul... | private Genome doParsing(File genomeFile) throws IOException,
GenomeFileParsingException {
Genome genome = new Genome();
BufferedReader reader = null;
try {
reader = new BufferedReader(new FileReader(genomeFile));
while ((line = reader.readLine()) != nul... |
diff --git a/src/TandemTree.java b/src/TandemTree.java
index df09646..f5ac5a2 100644
--- a/src/TandemTree.java
+++ b/src/TandemTree.java
@@ -1,22 +1,23 @@
import org.antlr.runtime.ANTLRStringStream;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.T... | true | true | public static void main(String args[]){
try{
TanGLexer lex = new TanGLexer(new ANTLRInputStream(new FileInputStream(args[0])));
TokenStream ts = new CommonTokenStream(lex);
TanGParser parse = new TanGParser(ts);
parse.tanG();
} catch(Exception e) {
System.err.println("exception: "+e);
}
... | public static void main(String args[]){
try{
TanGLexer lex = new TanGLexer(new ANTLRInputStream(new FileInputStream(args[0])));
TokenStream ts = new CommonTokenStream(lex);
lex.reset();
TanGParser parse = new TanGParser(ts);
parse.tanG();
} catch(Exception e) {
System.err.println("exception: "+... |
diff --git a/src/com/wickedspiral/jacss/parser/Parser.java b/src/com/wickedspiral/jacss/parser/Parser.java
index 537cd32..4540fd4 100644
--- a/src/com/wickedspiral/jacss/parser/Parser.java
+++ b/src/com/wickedspiral/jacss/parser/Parser.java
@@ -1,619 +1,620 @@
package com.wickedspiral.jacss.parser;
import com.googl... | true | true | public void token(Token token, String value)
{
if (options.isDebug()) System.err.printf("Token: %s, value: %s, space? %b, in rule? %b\n", token, value, space, inRule);
if (rgb)
{
if (NUMBER == token)
{
String h = Integer.toHexString(Integer.parseI... | public void token(Token token, String value)
{
if (options.isDebug()) System.err.printf("Token: %s, value: %s, space? %b, in rule? %b\n", token, value, space, inRule);
if (rgb)
{
if (NUMBER == token)
{
String h = Integer.toHexString(Integer.parseI... |
diff --git a/integration/src/test/java/org/slf4j/MultiBindingTest.java b/integration/src/test/java/org/slf4j/MultiBindingTest.java
index f17bd257..7e1b1838 100644
--- a/integration/src/test/java/org/slf4j/MultiBindingTest.java
+++ b/integration/src/test/java/org/slf4j/MultiBindingTest.java
@@ -1,62 +1,62 @@
/*
* Co... | true | true | public void test() throws Exception {
Logger logger = LoggerFactory.getLogger(this.getClass());
String msg = "hello world " + diff;
logger.info(msg);
assertTrue("number of lines should be greater than 4", sps.stringList
.size() > 4);
String s0 = (String) sps.stringList.get(0);
assertTr... | public void test() throws Exception {
Logger logger = LoggerFactory.getLogger(this.getClass());
String msg = "hello world " + diff;
logger.info(msg);
assertTrue("number of lines should be greater than 4", sps.stringList
.size() > 4);
String s0 = (String) sps.stringList.get(0);
assertTr... |
diff --git a/src/ru/regenix/jphp/compiler/jvm/stetament/MethodStmtCompiler.java b/src/ru/regenix/jphp/compiler/jvm/stetament/MethodStmtCompiler.java
index ff56e0eb..252c1246 100644
--- a/src/ru/regenix/jphp/compiler/jvm/stetament/MethodStmtCompiler.java
+++ b/src/ru/regenix/jphp/compiler/jvm/stetament/MethodStmtCompile... | true | true | void writeHeader(){
int access = 0;
if (statement != null){
switch (statement.getModifier()){
case PRIVATE: access += Opcodes.ACC_PRIVATE; break;
case PROTECTED: access += Opcodes.ACC_PROTECTED; break;
case PUBLIC: access += Opcodes.ACC_PUB... | void writeHeader(){
int access = 0;
if (statement != null){
switch (statement.getModifier()){
case PRIVATE: access += Opcodes.ACC_PRIVATE; break;
case PROTECTED: access += Opcodes.ACC_PROTECTED; break;
case PUBLIC: access += Opcodes.ACC_PUB... |
diff --git a/atlas-web/src/main/java/ae3/service/AtlasBitIndexQueryService.java b/atlas-web/src/main/java/ae3/service/AtlasBitIndexQueryService.java
index 9178e31e9..31c134f52 100644
--- a/atlas-web/src/main/java/ae3/service/AtlasBitIndexQueryService.java
+++ b/atlas-web/src/main/java/ae3/service/AtlasBitIndexQueryServ... | false | true | public List<Experiment> getExperimentsSortedByPvalueTRank(
final Long geneId,
final Attribute attribute,
int fromRow,
int toRow) {
List<Attribute> attrs;
if (attribute.getValue() == null) { // Empty attribute
List<String> efs = getScoringE... | public List<Experiment> getExperimentsSortedByPvalueTRank(
final Long geneId,
final Attribute attribute,
int fromRow,
int toRow) {
List<Attribute> attrs;
if (attribute.getValue() == null) { // Empty attribute
List<String> efs = getScoringE... |
diff --git a/src/main/java/org/otherobjects/cms/tools/FormatTool.java b/src/main/java/org/otherobjects/cms/tools/FormatTool.java
index e36e533c..a7bd63c9 100644
--- a/src/main/java/org/otherobjects/cms/tools/FormatTool.java
+++ b/src/main/java/org/otherobjects/cms/tools/FormatTool.java
@@ -1,157 +1,157 @@
package org.... | true | true | public String formatTextile(String textileSource)
{
// Remove double line breaks
String text = textileSource;//textileSource.replaceAll("/\n\n/", "\n");
// Recode headings
text = text.replaceAll("\\\\n", "\n");
text = text.replaceAll("(?m)^h3. ", "h4. ");
text =... | public String formatTextile(String textileSource)
{
// Remove double line breaks
String text = textileSource;//textileSource.replaceAll("/\n\n/", "\n");
// Recode headings
text = text.replaceAll("\\\\n", "\n");
text = text.replaceAll("(?m)^h3", "h4");
text = tex... |
diff --git a/src/main/java/pl/agh/enrollme/controller/AntTermFileController.java b/src/main/java/pl/agh/enrollme/controller/AntTermFileController.java
index ee9f424..caf7d71 100644
--- a/src/main/java/pl/agh/enrollme/controller/AntTermFileController.java
+++ b/src/main/java/pl/agh/enrollme/controller/AntTermFileControl... | false | true | private String basicTermsInformation(List<Subject> subjects) {
StringBuilder singleTermDetails = new StringBuilder();
StringBuilder collisions = new StringBuilder();
for (Subject subject: subjects) {
//make subjectID a header: (ant format)
singleTermDetails.append("[... | private String basicTermsInformation(List<Subject> subjects) {
StringBuilder singleTermDetails = new StringBuilder();
StringBuilder collisions = new StringBuilder();
for (Subject subject: subjects) {
//make subjectID a header: (ant format)
singleTermDetails.append("[... |
diff --git a/de.walware.statet.r.core/src/de/walware/statet/r/internal/core/pkgmanager/RPkgManager.java b/de.walware.statet.r.core/src/de/walware/statet/r/internal/core/pkgmanager/RPkgManager.java
index e97f0073..26d09d00 100644
--- a/de.walware.statet.r.core/src/de/walware/statet/r/internal/core/pkgmanager/RPkgManager... | true | true | private ISelectedRepos runLoadRepos(final RService r,
final IProgressMonitor monitor) throws CoreException {
try {
String bioCVersion;
{ final RObject data = r.evalData("as.character(tools:::.BioC_version_associated_with_R_version)", monitor);
bioCVersion = RDataUtil.checkSingleCharValue(data);
}
... | private ISelectedRepos runLoadRepos(final RService r,
final IProgressMonitor monitor) throws CoreException {
try {
String bioCVersion= null;
try {
final RObject data= r.evalData("as.character(rj:::.renv.getBioCVersion())", monitor);
bioCVersion= RDataUtil.checkSingleCharValue(data);
}
catch (f... |
diff --git a/TFC_Shared/src/TFC/Blocks/Vanilla/BlockCustomFlowing.java b/TFC_Shared/src/TFC/Blocks/Vanilla/BlockCustomFlowing.java
index 2557c1b74..a08a573b4 100644
--- a/TFC_Shared/src/TFC/Blocks/Vanilla/BlockCustomFlowing.java
+++ b/TFC_Shared/src/TFC/Blocks/Vanilla/BlockCustomFlowing.java
@@ -1,437 +1,437 @@
packag... | true | true | public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{
int var6 = this.getFlowDecay(par1World, par2, par3, par4);
byte var7 = 1;
if (this.blockMaterial == Material.lava /*&& !par1World.provider.isHellWorld*/)
{
var7 = 2;
}
boolean var8 = true;
int var10;
if (v... | public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{
int var6 = this.getFlowDecay(par1World, par2, par3, par4);
byte var7 = 1;
if (this.blockMaterial == Material.lava /*&& !par1World.provider.isHellWorld*/)
{
var7 = 2;
}
boolean var8 = true;
int var10;
if (v... |
diff --git a/src/org/odk/collect/android/widgets/DecimalWidget.java b/src/org/odk/collect/android/widgets/DecimalWidget.java
index db2eb31..0d77d19 100644
--- a/src/org/odk/collect/android/widgets/DecimalWidget.java
+++ b/src/org/odk/collect/android/widgets/DecimalWidget.java
@@ -1,94 +1,103 @@
/*
* Copyright (C) 20... | false | true | public DecimalWidget(Context context, FormEntryPrompt prompt) {
super(context, prompt);
// formatting
mAnswer.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mAnswerFontsize);
mAnswer.setInputType(InputType.TYPE_NUMBER_FLAG_DECIMAL);
// needed to make long readonly text scroll
... | public DecimalWidget(Context context, FormEntryPrompt prompt) {
super(context, prompt);
// formatting
mAnswer.setTextSize(TypedValue.COMPLEX_UNIT_DIP, mAnswerFontsize);
mAnswer.setInputType(InputType.TYPE_NUMBER_FLAG_DECIMAL);
// needed to make long readonly text scroll
... |
diff --git a/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java b/src/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java
index a57c320d..a4209ed6 100644
--- a/src/examples/api/do... | false | true | private void handleTextSegments()
throws SAXException
{
if ( currTextSegment.length() > 0 )
{
String segment = currTextSegment.toString();
List parentMatches = (List) matches.peek();
int len = parentMatches.size();
for ( int i = 0; i < len;... | private void handleTextSegments()
throws SAXException
{
if ( currTextSegment.length() > 0 )
{
String segment = currTextSegment.toString();
List<Rule> parentMatches = getMatches().peek();
int len = parentMatches.size();
for ( int i = 0; i < ... |
diff --git a/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java b/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java
index b7f2d6793..3de2bd5f0 100644
--- a/model/org/eclipse/cdt/internal/core/settings/model/ResourceChangeHandler.java
+++ b/model/org/eclipse/cdt/int... | true | true | public void done() {
// If the resource's project was moved / removed, don't consider the path for source entry removal
for (Iterator<IResource> it = fMovedResources.keySet().iterator(); it.hasNext() ; ) {
if (fRemovedProjects.contains(it.next().getProject()))
it.remove();
}
if (fMovedResources.... | public void done() {
// If the resource's project was moved / removed, don't consider the path for source entry removal
for (Iterator<IResource> it = fMovedResources.keySet().iterator(); it.hasNext() ; ) {
if (fRemovedProjects.contains(it.next().getProject()))
it.remove();
}
if (fMovedResources.... |
diff --git a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java
index 119f16a..6dff7ae 100644
--- a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java
+++ b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverT... | true | true | public String openNewWindow(final Runnable openCommand, final long timeoutSeconds) {
String oldHandle = webDriver.getWindowHandle();
final Set<String> existingWindowHandles = webDriver.getWindowHandles();
openCommand.run();
Function<WebDriver, String> function = new Function<WebDriver, String>() {
@Overri... | public String openNewWindow(final Runnable openCommand, final long timeoutSeconds) {
String oldHandle = webDriver.getWindowHandle();
final Set<String> existingWindowHandles = webDriver.getWindowHandles();
openCommand.run();
Function<WebDriver, String> function = new Function<WebDriver, String>() {
@Overri... |
diff --git a/baixing_quanleimu/src/com/baixing/view/fragment/PostGoodsFragment.java b/baixing_quanleimu/src/com/baixing/view/fragment/PostGoodsFragment.java
index 1a2d98ba..d9554fda 100644
--- a/baixing_quanleimu/src/com/baixing/view/fragment/PostGoodsFragment.java
+++ b/baixing_quanleimu/src/com/baixing/view/fragment/... | true | true | protected void handleMessage(Message msg, final Activity activity, final View rootView) {
hideProgress();
switch (msg.what) {
case MSG_DIALOG_BACK_WITH_DATA:{
Bundle bundle = (Bundle)msg.obj;
handleBackWithData(bundle.getInt(ARG_COMMON_REQ_CODE), bundle.getSerializable("lastChoise"));
break;
}
... | protected void handleMessage(Message msg, final Activity activity, final View rootView) {
hideProgress();
switch (msg.what) {
case MSG_DIALOG_BACK_WITH_DATA:{
Bundle bundle = (Bundle)msg.obj;
handleBackWithData(bundle.getInt(ARG_COMMON_REQ_CODE), bundle.getSerializable("lastChoise"));
break;
}
... |
diff --git a/src/share/classes/com/sun/tools/javafx/comp/JavafxAbstractTranslation.java b/src/share/classes/com/sun/tools/javafx/comp/JavafxAbstractTranslation.java
index 59e2dde2d..ead35c5c7 100644
--- a/src/share/classes/com/sun/tools/javafx/comp/JavafxAbstractTranslation.java
+++ b/src/share/classes/com/sun/tools/ja... | true | true | JCExpression doitExpr() {
assert sourceType != null;
assert targettedType != null;
if (targettedType.tag == TypeTags.UNKNOWN) {
//TODO: this is bad attribution
return translated;
}
if (types.isSameType(targettedType, sou... | JCExpression doitExpr() {
assert sourceType != null;
assert targettedType != null;
if (targettedType.tag == TypeTags.UNKNOWN) {
//TODO: this is bad attribution
return translated;
}
if (types.isSameType(targettedType, sou... |
diff --git a/components/bio-formats/src/loci/formats/in/IvisionReader.java b/components/bio-formats/src/loci/formats/in/IvisionReader.java
index d1315b4d2..e68f131cc 100644
--- a/components/bio-formats/src/loci/formats/in/IvisionReader.java
+++ b/components/bio-formats/src/loci/formats/in/IvisionReader.java
@@ -1,343 +... | false | true | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
in = new RandomAccessInputStream(id);
LOGGER.info("Populating metadata");
String version = in.readString(4);
addGlobalMeta("Version", version);
int fileFormat = in.read();
int dataType = in.read(... | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
in = new RandomAccessInputStream(id);
LOGGER.info("Populating metadata");
String version = in.readString(4);
addGlobalMeta("Version", version);
int fileFormat = in.read();
int dataType = in.read(... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AddVMDialog.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AddVMDialog.java
index d3008acb3..4e1de7ae0 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/AddVMDialog.java
+... | true | true | protected void createDialogFields() {
fVMTypeCombo= new ComboDialogField(SWT.READ_ONLY);
fVMTypeCombo.setLabelText(LauncherMessages.getString("addVMDialog.jreType")); //$NON-NLS-1$
fVMTypeCombo.setDialogFieldListener(new IDialogFieldListener() {
public void dialogFieldChanged(DialogField field) {
updateVM... | protected void createDialogFields() {
fVMTypeCombo= new ComboDialogField(SWT.READ_ONLY);
fVMTypeCombo.setLabelText(LauncherMessages.getString("addVMDialog.jreType")); //$NON-NLS-1$
if (fEditedVM == null) {
fVMTypeCombo.setDialogFieldListener(new IDialogFieldListener() {
public void dialogFieldChanged(Dial... |
diff --git a/src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java b/src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java
index 7850762ef..a06dbcb3d 100644
--- a/src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java
+++ b/src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java
@@ -1,378 +1,378 @@
/**
* Copyright ... | true | true | public void display(GLAutoDrawable drawable) {
final DimensionImmutable cis = renderer.getClippedImageSize();
final int tWidth = renderer.getParam(TileRendererBase.TR_CURRENT_TILE_WIDTH);
final int tHeight = renderer.getParam(TileRendererBase.TR_CURRENT_TILE_HEI... | public void display(GLAutoDrawable drawable) {
final DimensionImmutable cis = renderer.getClippedImageSize();
final int tWidth = renderer.getParam(TileRendererBase.TR_CURRENT_TILE_WIDTH);
final int tHeight = renderer.getParam(TileRendererBase.TR_CURRENT_TILE_HEI... |
diff --git a/MyParser.java b/MyParser.java
index 9b57649..cb62ff8 100755
--- a/MyParser.java
+++ b/MyParser.java
@@ -1,794 +1,794 @@
//---------------------------------------------------------------------
//
//---------------------------------------------------------------------
import java_cup.runtime.*;
impo... | true | true | STO
DoFuncCall(STO sto, Vector<ExprSTO> args)
{
if(!sto.isFunc())
{
m_nNumErrors++;
m_errors.print(Formatter.toString(ErrorMsg.not_function, sto.getName()));
return (new ErrorSTO(sto.getName()));
}
// We know it's a function, do functi... | STO
DoFuncCall(STO sto, Vector<ExprSTO> args)
{
if(!sto.isFunc())
{
m_nNumErrors++;
m_errors.print(Formatter.toString(ErrorMsg.not_function, sto.getName()));
return (new ErrorSTO(sto.getName()));
}
// We know it's a function, do functi... |
diff --git a/web/src/main/java/org/mule/galaxy/web/server/RegistryServiceImpl.java b/web/src/main/java/org/mule/galaxy/web/server/RegistryServiceImpl.java
index e0e8f228..eb5d43a9 100755
--- a/web/src/main/java/org/mule/galaxy/web/server/RegistryServiceImpl.java
+++ b/web/src/main/java/org/mule/galaxy/web/server/Regist... | true | true | private WSearchResults getSearchResults(Set<String> artifactTypes, SearchResults results) {
Map<String, EntryGroup> name2group = new HashMap<String, EntryGroup>();
Map<String, ItemRenderer> name2view = new HashMap<String, ItemRenderer>();
int total = 0;
for (Object obj : results.ge... | private WSearchResults getSearchResults(Set<String> artifactTypes, SearchResults results) {
Map<String, EntryGroup> name2group = new HashMap<String, EntryGroup>();
Map<String, ItemRenderer> name2view = new HashMap<String, ItemRenderer>();
int total = 0;
for (Object obj : results.ge... |
diff --git a/src/main/java/org/geppetto/frontend/SimulationListener.java b/src/main/java/org/geppetto/frontend/SimulationListener.java
index e5aeb4699..fc2cc298d 100644
--- a/src/main/java/org/geppetto/frontend/SimulationListener.java
+++ b/src/main/java/org/geppetto/frontend/SimulationListener.java
@@ -1,427 +1,429 @@... | false | true | public void initializeSimulation(String url, GeppettoVisitorWebSocket visitor){
try
{
switch(visitor.getCurrentRunMode()){
//User in control attempting to load another simulation
case CONTROLLING:
//Clear canvas of users connected for new model to be loaded
for(GeppettoVisitorWebSocket ob... | public void initializeSimulation(String url, GeppettoVisitorWebSocket visitor){
try
{
switch(visitor.getCurrentRunMode()){
//User in control attempting to load another simulation
case CONTROLLING:
//Clear canvas of users connected for new model to be loaded
for(GeppettoVisitorWebSocket ob... |
diff --git a/src/com/android/contacts/model/RawContact.java b/src/com/android/contacts/model/RawContact.java
index 3a193b4db..d8841983d 100644
--- a/src/com/android/contacts/model/RawContact.java
+++ b/src/com/android/contacts/model/RawContact.java
@@ -1,261 +1,262 @@
/*
* Copyright (C) 2012 The Android Open Source ... | true | true | private void setAccount(String accountName, String accountType, String dataSet) {
final ContentValues values = getValues();
if (accountName == null) {
if (accountType == null && dataSet == null) {
// This is a local account
values.putNull(RawContacts.ACCOU... | private void setAccount(String accountName, String accountType, String dataSet) {
final ContentValues values = getValues();
if (accountName == null) {
if (accountType == null && dataSet == null) {
// This is a local account
values.putNull(RawContacts.ACCOU... |
diff --git a/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java b/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java
index 4becc30d1..f858c5142 100644
--- a/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java
+++ b/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java
@@ ... | true | true | public void testDataInputOutput() throws Exception {
Random random = random();
for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
final int blockBits = _TestUtil.nextInt(random, 1, 20);
final int blockSize = 1 << blockBits;
final PagedBytes p = new PagedBytes(blockBits);
final DataOutpu... | public void testDataInputOutput() throws Exception {
Random random = random();
for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
final int blockBits = _TestUtil.nextInt(random, 1, 20);
final int blockSize = 1 << blockBits;
final PagedBytes p = new PagedBytes(blockBits);
final DataOutpu... |
diff --git a/web/src/main/java/org/fao/geonet/kernel/mef/Importer.java b/web/src/main/java/org/fao/geonet/kernel/mef/Importer.java
index 11d730e437..8842443f78 100644
--- a/web/src/main/java/org/fao/geonet/kernel/mef/Importer.java
+++ b/web/src/main/java/org/fao/geonet/kernel/mef/Importer.java
@@ -1,569 +1,569 @@
//==... | true | true | public static List<String> doImport(final Element params,
final ServiceContext context, File mefFile, final String stylePath,
final boolean indexGroup) throws Exception {
final GeonetContext gc = (GeonetContext) context
.getHandlerContext(Geonet.CONTEXT_NAME);
final DataManager dm = gc.getDataManager();
... | public static List<String> doImport(final Element params,
final ServiceContext context, File mefFile, final String stylePath,
final boolean indexGroup) throws Exception {
final GeonetContext gc = (GeonetContext) context
.getHandlerContext(Geonet.CONTEXT_NAME);
final DataManager dm = gc.getDataManager();
... |
diff --git a/src/main/java/de/cismet/cids/custom/objecteditors/wunda_blau/VermessungRissEditor.java b/src/main/java/de/cismet/cids/custom/objecteditors/wunda_blau/VermessungRissEditor.java
index 8f11b613..c0fc08f6 100644
--- a/src/main/java/de/cismet/cids/custom/objecteditors/wunda_blau/VermessungRissEditor.java
+++ b/... | false | true | private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
bindingGroup = new org.jdesktop.beansbinding.BindingGroup();
strFooter = new javax.swing.Box.Filler(new java.awt.Dimension(0, 22),
new java.awt.Dimension(0, 22),
new java.awt.Dime... | private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
bindingGroup = new org.jdesktop.beansbinding.BindingGroup();
strFooter = new javax.swing.Box.Filler(new java.awt.Dimension(0, 22),
new java.awt.Dimension(0, 22),
new java.awt.Dime... |
diff --git a/trunk/java/com/xerox/amazonws/sdb/SimpleDB.java b/trunk/java/com/xerox/amazonws/sdb/SimpleDB.java
index 201ac5d..577fcaa 100755
--- a/trunk/java/com/xerox/amazonws/sdb/SimpleDB.java
+++ b/trunk/java/com/xerox/amazonws/sdb/SimpleDB.java
@@ -1,229 +1,229 @@
//
// typica - A client library for Amazon Web Se... | true | true | public ListDomainsResult listDomains(String nextToken, int maxResults) throws SDBException {
Map<String, String> params = new HashMap<String, String>();
if (nextToken != null) {
params.put("NextToken", nextToken);
}
if (maxResults > 0) {
params.put("MaxResults", ""+maxResults);
}
GetMethod method = n... | public ListDomainsResult listDomains(String nextToken, int maxResults) throws SDBException {
Map<String, String> params = new HashMap<String, String>();
if (nextToken != null) {
params.put("NextToken", nextToken);
}
if (maxResults > 0) {
params.put("MaxNumberOfDomains", ""+maxResults);
}
GetMethod me... |
diff --git a/gdx/src/com/badlogic/gdx/graphics/g2d/ParticleEmitter.java b/gdx/src/com/badlogic/gdx/graphics/g2d/ParticleEmitter.java
index 9690b8cef..0b2029028 100644
--- a/gdx/src/com/badlogic/gdx/graphics/g2d/ParticleEmitter.java
+++ b/gdx/src/com/badlogic/gdx/graphics/g2d/ParticleEmitter.java
@@ -1,1298 +1,1294 @@
... | false | true | private void activateParticle (int index) {
Particle particle = particles[index];
if (particle == null) {
particles[index] = particle = newParticle(sprite);
particle.flip(flipX, flipY);
}
float percent = durationTimer / (float)duration;
int updateFlags = this.updateFlags;
float offsetTime = lifeOff... | private void activateParticle (int index) {
Particle particle = particles[index];
if (particle == null) {
particles[index] = particle = newParticle(sprite);
particle.flip(flipX, flipY);
}
float percent = durationTimer / (float)duration;
int updateFlags = this.updateFlags;
float offsetTime = lifeOff... |
diff --git a/src/org/rsbot/security/RestrictedSecurityManager.java b/src/org/rsbot/security/RestrictedSecurityManager.java
index c0874928..2e291f9c 100644
--- a/src/org/rsbot/security/RestrictedSecurityManager.java
+++ b/src/org/rsbot/security/RestrictedSecurityManager.java
@@ -1,261 +1,261 @@
package org.rsbot.securi... | true | true | public void checkConnect(String host, int port) {
if (host.equalsIgnoreCase("localhost") || host.equals("127.0.0.1"))
throw new SecurityException();
// ports other than HTTP (80), HTTPS (443) and unknown (-1) are automatically denied
if (!(port == -1 || port == 80 || port == 443)) {
throw new SecurityExce... | public void checkConnect(String host, int port) {
if (host.equalsIgnoreCase("localhost") || host.equals("127.0.0.1"))
throw new SecurityException();
// ports other than HTTP (80), HTTPS (443) and unknown (-1) are automatically denied
if (!(port == -1 || port == 80 || port == 443)) {
throw new SecurityExce... |
diff --git a/src/hl7v3util/src/com/vangent/hieos/hl7v3util/model/subject/CodedValue.java b/src/hl7v3util/src/com/vangent/hieos/hl7v3util/model/subject/CodedValue.java
index a859b9ec..bd92be02 100644
--- a/src/hl7v3util/src/com/vangent/hieos/hl7v3util/model/subject/CodedValue.java
+++ b/src/hl7v3util/src/com/vangent/hie... | true | true | public String getCNEFormatted() {
if (code == null) {
return "UNKNOWN_CODE";
}
if (codeSystem == null || codeSystem.isEmpty()) {
return code;
}
return code + "^" + codeSystem;
}
| public String getCNEFormatted() {
if (code == null) {
return "UNKNOWN_CODE";
}
if (codeSystem == null || codeSystem.isEmpty()) {
return code;
}
return code + "^^" + codeSystem;
}
|
diff --git a/tubular-core/src/test/java/org/trancecode/xproc/XProcTestSuiteReportBuilder.java b/tubular-core/src/test/java/org/trancecode/xproc/XProcTestSuiteReportBuilder.java
index 9173e6a6..bb35d601 100644
--- a/tubular-core/src/test/java/org/trancecode/xproc/XProcTestSuiteReportBuilder.java
+++ b/tubular-core/src/t... | true | true | public void write(final File file)
{
final Processor processor = new Processor(false);
final SaxonBuilder builder = new SaxonBuilder(processor.getUnderlyingConfiguration());
builder.startDocument();
builder.startElement(Elements.TEST_REPORT);
builder.startElement(Element... | public void write(final File file)
{
final Processor processor = new Processor(false);
final SaxonBuilder builder = new SaxonBuilder(processor.getUnderlyingConfiguration());
builder.startDocument();
builder.startElement(Elements.TEST_REPORT);
builder.startElement(Element... |
diff --git a/src/main/java/com/radonsky/monkeysched/Main.java b/src/main/java/com/radonsky/monkeysched/Main.java
index 6172c8e..9add252 100644
--- a/src/main/java/com/radonsky/monkeysched/Main.java
+++ b/src/main/java/com/radonsky/monkeysched/Main.java
@@ -1,24 +1,24 @@
package com.radonsky.monkeysched;
import stat... | true | true | public static void main(String[] args) {
TimeRule timeRule = RuleEngine.getDefault().getTimeRule();
DateTime currentTime = now();
DateTimeFormatter fmt = DateTimeFormat.fullDateTime();
System.out.println("The current time is " + fmt.print(currentTime));
boolean canRun = timeR... | public static void main(String[] args) {
TimeRule timeRule = RuleEngine.getDefault().getTimeRule();
DateTime currentTime = now();
DateTimeFormatter fmt = DateTimeFormat.fullDateTime();
System.out.println("The current time is " + fmt.print(currentTime));
boolean canRun = timeR... |
diff --git a/src/org/jruby/RubyBigDecimal.java b/src/org/jruby/RubyBigDecimal.java
index eb551a6a1..e1772fa95 100644
--- a/src/org/jruby/RubyBigDecimal.java
+++ b/src/org/jruby/RubyBigDecimal.java
@@ -1,525 +1,525 @@
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this fi... | true | true | public IRubyObject to_s(IRubyObject[] args) {
boolean engineering = true;
boolean pos_sign = false;
boolean pos_space = false;
int groups = 0;
if(args.length != 0 && !args[0].isNil()) {
String format = args[0].toString();
int start = 0;
in... | public IRubyObject to_s(IRubyObject[] args) {
boolean engineering = true;
boolean pos_sign = false;
boolean pos_space = false;
int groups = 0;
if(args.length != 0 && !args[0].isNil()) {
String format = args[0].toString();
int start = 0;
in... |
diff --git a/gdms/src/test/java/org/gdms/data/schema/MetadataUtilitiesTest.java b/gdms/src/test/java/org/gdms/data/schema/MetadataUtilitiesTest.java
index e130bc747..f97b98453 100644
--- a/gdms/src/test/java/org/gdms/data/schema/MetadataUtilitiesTest.java
+++ b/gdms/src/test/java/org/gdms/data/schema/MetadataUtilitiesT... | true | true | public void testGeometryDimension() throws Exception{
DefaultMetadata dm = new DefaultMetadata();
dm.addField("name", Type.STRING);
dm.addField("point", Type.POINT);
dm.addField("MultiPoint", Type.MULTIPOINT);
dm.addField("LineStrin... | public void testGeometryDimension() throws Exception{
DefaultMetadata dm = new DefaultMetadata();
dm.addField("name", Type.STRING);
dm.addField("point", Type.POINT);
dm.addField("MultiPoint", Type.MULTIPOINT);
dm.addField("LineStrin... |
diff --git a/src/carnero/cgeo/cgeomap.java b/src/carnero/cgeo/cgeomap.java
index 8f778ef..6057a96 100644
--- a/src/carnero/cgeo/cgeomap.java
+++ b/src/carnero/cgeo/cgeomap.java
@@ -1,1535 +1,1535 @@
package carnero.cgeo;
import android.app.Activity;
import android.app.ProgressDialog;
import java.util.ArrayList;
... | true | true | private void addOverlays(boolean canChangeTitle, boolean canInit) {
// scale bar
if (overlayScale == null && mapView != null) {
overlayScale = new cgOverlayScale(activity, base, settings);
mapView.getOverlays().add(overlayScale);
}
if (mapView.getOverlays().contains(overlayScale) == false) {
mapView.g... | private void addOverlays(boolean canChangeTitle, boolean canInit) {
// scale bar
if (overlayScale == null && mapView != null) {
overlayScale = new cgOverlayScale(activity, base, settings);
mapView.getOverlays().add(overlayScale);
}
if (mapView.getOverlays().contains(overlayScale) == false) {
mapView.g... |
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index cf7eea70b..9dd5351f9 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1,2439 +1,2435 @@
/*
* Copyright (C) 200... | false | true | private void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) {
super.onStartInputView(editorInfo, restarting);
final KeyboardSwitcher switcher = mKeyboardSwitcher;
final MainKeyboardView mainKeyboardView = switcher.getMainKeyboardView();
if (editorInf... | private void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) {
super.onStartInputView(editorInfo, restarting);
final KeyboardSwitcher switcher = mKeyboardSwitcher;
final MainKeyboardView mainKeyboardView = switcher.getMainKeyboardView();
if (editorInf... |
diff --git a/java/tools/src/com/jopdesign/debug/jdwp/util/PacketPrinter.java b/java/tools/src/com/jopdesign/debug/jdwp/util/PacketPrinter.java
index f44ce82f..a2fcc84f 100644
--- a/java/tools/src/com/jopdesign/debug/jdwp/util/PacketPrinter.java
+++ b/java/tools/src/com/jopdesign/debug/jdwp/util/PacketPrinter.java
@@ -1... | true | true | public static void main(String args[])
{
String [] data;
if(args.length > 0)
{
data = args;
}
else
{
data = new String[2];
data[0] = JDWPConstants.DEFAULT_SERVER_FILE;
data[1] = JDWPConstants.DEFAULT_CLIENT_FILE;
}
if(data.length == 1)
{
St... | public static void main(String args[])
{
String [] data;
if(args.length > 0)
{
data = args;
}
else
{
data = new String[2];
data[0] = JDWPConstants.DEFAULT_SERVER_FILE;
data[1] = JDWPConstants.DEFAULT_CLIENT_FILE;
}
if(data.length == 1)
{
St... |
diff --git a/src/java/com/threerings/getdown/launcher/GetdownApplet.java b/src/java/com/threerings/getdown/launcher/GetdownApplet.java
index baa390d..f680c75 100644
--- a/src/java/com/threerings/getdown/launcher/GetdownApplet.java
+++ b/src/java/com/threerings/getdown/launcher/GetdownApplet.java
@@ -1,308 +1,318 @@
//... | false | true | protected File initGetdown (String appbase, String appname, String imgpath)
throws Exception
{
// getdown requires full read/write permissions to the system; if we don't have this, then
// we need to not do anything unsafe, and display a message to the user telling them they
// n... | protected File initGetdown (String appbase, String appname, String imgpath)
throws Exception
{
// getdown requires full read/write permissions to the system; if we don't have this, then
// we need to not do anything unsafe, and display a message to the user telling them they
// n... |
diff --git a/src/com/directsupply/MisspelledSearchTermWordCount/Reduce.java b/src/com/directsupply/MisspelledSearchTermWordCount/Reduce.java
index 78bfb24..ce12585 100644
--- a/src/com/directsupply/MisspelledSearchTermWordCount/Reduce.java
+++ b/src/com/directsupply/MisspelledSearchTermWordCount/Reduce.java
@@ -1,23 +1... | true | true | public void reduce(Text key, Iterable<Text> values, Context context) throws IOException, InterruptedException {
int count = 0;
for (Text ignored : values) {
count++;
}
Text reduceOutput = new Text();
reduceOutput.set(String.format("%s\t%d", key, count));
... | public void reduce(Text key, Iterable<Text> values, Context context) throws IOException, InterruptedException {
int count = 0;
for (Text ignored : values) {
count++;
}
Text reduceOutput = new Text();
reduceOutput.set(String.format("%d", count));
context... |
diff --git a/src/rhsm/data/InstalledProduct.java b/src/rhsm/data/InstalledProduct.java
index a8028304..0cc1bfee 100644
--- a/src/rhsm/data/InstalledProduct.java
+++ b/src/rhsm/data/InstalledProduct.java
@@ -1,326 +1,334 @@
package rhsm.data;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import j... | false | true | static public List<InstalledProduct> parse(String stdoutListingOfInstalledProducts) {
/* [root@jsefler-onprem-62server ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
ProductName: Awe... | static public List<InstalledProduct> parse(String stdoutListingOfInstalledProducts) {
/* [root@jsefler-onprem-62server ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
ProductName: Awe... |
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java
index 1c26f5a30..ca6722e51 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/SearchPart.java
+++ b/org.eclipse.help.ui/src/org/eclips... | true | true | public SearchPart(final Composite parent, FormToolkit toolkit) {
container = toolkit.createComposite(parent);
scopeSetManager = new ScopeSetManager();
TableWrapLayout layout = new TableWrapLayout();
layout.numColumns = 2;
container.setLayout(layout);
// Search Expression
searchWordText = toolkit.createFo... | public SearchPart(final Composite parent, FormToolkit toolkit) {
container = toolkit.createComposite(parent);
scopeSetManager = new ScopeSetManager();
TableWrapLayout layout = new TableWrapLayout();
layout.numColumns = 2;
container.setLayout(layout);
// Search Expression
searchWordText = toolkit.createFo... |
diff --git a/modules/core/src/main/java/com/griefcraft/modules/worldguard/WorldGuardModule.java b/modules/core/src/main/java/com/griefcraft/modules/worldguard/WorldGuardModule.java
index 7d4f7db8..37089a1f 100644
--- a/modules/core/src/main/java/com/griefcraft/modules/worldguard/WorldGuardModule.java
+++ b/modules/core... | true | true | public void onRegisterProtection(LWCProtectionRegisterEvent event) {
if (worldGuard == null) {
return;
}
if (!configuration.getBoolean("worldguard.enabled", false)) {
return;
}
Player player = event.getPlayer();
Block block = event.getBlock()... | public void onRegisterProtection(LWCProtectionRegisterEvent event) {
if (worldGuard == null) {
return;
}
if (!configuration.getBoolean("worldguard.enabled", false)) {
return;
}
Player player = event.getPlayer();
Block block = event.getBlock()... |
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java
index b4855b031..e99032836 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/interna... | true | true | protected void createAttributeLayout() {
String title = getTitleString();
String keywords = "";
String url = "";
// Attributes Composite- this holds all the combo fiels and text
// fields
Composite attributesComposite = new Composite(infoArea, SWT.NONE);
GridLayout attributesLayout = new GridLayout();
... | protected void createAttributeLayout() {
String title = getTitleString();
String keywords = "";
String url = "";
// Attributes Composite- this holds all the combo fiels and text fields
Composite attributesComposite = new Composite(infoArea, SWT.NONE);
GridLayout attributesLayout = new GridLayout();
att... |
diff --git a/src/com/roshka/raf/params/ParametersProcessor.java b/src/com/roshka/raf/params/ParametersProcessor.java
index 5f1cd8d..db50d21 100644
--- a/src/com/roshka/raf/params/ParametersProcessor.java
+++ b/src/com/roshka/raf/params/ParametersProcessor.java
@@ -1,122 +1,122 @@
package com.roshka.raf.params;
impo... | true | true | private Object getValue(Class<?> clazz, RAFParameter rp, String value)
throws RAFException
{
String parameterName;
parameterName = rp.getParameterName();
Object ret = null;
if (clazz.isPrimitive()) {
if (clazz.equals(Byte.TYPE)) {
ret = NumberProcessor.parseByte(parameterName, value);
} el... | private Object getValue(Class<?> clazz, RAFParameter rp, String value)
throws RAFException
{
String parameterName;
parameterName = rp.getParameterName();
Object ret = null;
if (clazz.isPrimitive()) {
if (clazz.equals(Byte.TYPE)) {
ret = NumberProcessor.parseByte(parameterName, value);
} el... |
diff --git a/bundles/org.eclipse.equinox.p2.metadata.generator/src/org/eclipse/equinox/internal/p2/metadata/generator/EclipseGeneratorApplication.java b/bundles/org.eclipse.equinox.p2.metadata.generator/src/org/eclipse/equinox/internal/p2/metadata/generator/EclipseGeneratorApplication.java
index 0703985ca..bb632d262 10... | false | true | private void initialize(EclipseInstallGeneratorInfoProvider provider) throws ProvisionException {
if ("-source".equalsIgnoreCase(operation)) //$NON-NLS-1$
provider.initialize(new File(argument));
else if ("-inplace".equalsIgnoreCase(operation)) { //$NON-NLS-1$
provider.initialize(new File(argument));
init... | private void initialize(EclipseInstallGeneratorInfoProvider provider) throws ProvisionException {
if ("-source".equalsIgnoreCase(operation)) //$NON-NLS-1$
provider.initialize(new File(argument));
else if ("-inplace".equalsIgnoreCase(operation)) { //$NON-NLS-1$
provider.initialize(new File(argument));
init... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.