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/vol1/java-examples/src/main/java/com/heatonresearch/aifh/examples/regression/LinearRegressionExample.java b/vol1/java-examples/src/main/java/com/heatonresearch/aifh/examples/regression/LinearRegressionExample.java
index 81a5b52..5219de2 100644
--- a/vol1/java-examples/src/main/java/com/heatonresearch/aifh/... | true | true | public void process() {
try {
final InputStream istream = this.getClass().getResourceAsStream("/abalone.csv");
final DataSet ds = DataSet.load(istream);
// The following ranges are setup for the Iris data set. If you wish to normalize other files you will
//... | public void process() {
try {
final InputStream istream = this.getClass().getResourceAsStream("/abalone.csv");
final DataSet ds = DataSet.load(istream);
// The following ranges are setup for the Abalone data set. If you wish to normalize other files you will
... |
diff --git a/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java b/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java
index 8b67d849f..51b2b2c0f 100644
--- a/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java
+++ b/dspace-api/src/main/java/org/dspace/auth... | false | true | public int authenticate(Context context,
String netid,
String password,
String realm,
HttpServletRequest request)
throws SQLException
{
log.info(LogManager.getHeader(context, "auth", "... | public int authenticate(Context context,
String netid,
String password,
String realm,
HttpServletRequest request)
throws SQLException
{
log.info(LogManager.getHeader(context, "auth", "... |
diff --git a/WandPlugin/src/com/elmakers/mine/bukkit/plugins/wand/WandPlayerListener.java b/WandPlugin/src/com/elmakers/mine/bukkit/plugins/wand/WandPlayerListener.java
index 74d60e2..95c4154 100644
--- a/WandPlugin/src/com/elmakers/mine/bukkit/plugins/wand/WandPlayerListener.java
+++ b/WandPlugin/src/com/elmakers/mine... | true | true | public void onPlayerCommand(PlayerChatEvent event)
{
String[] split = event.getMessage().split(" ");
String commandString = split[0];
if (!commandString.equalsIgnoreCase("/wand"))
{
return;
}
PlayerWandList wands = plugin.getPlayerWands(event.getPlayer());
... | public void onPlayerCommand(PlayerChatEvent event)
{
String[] split = event.getMessage().split(" ");
String commandString = split[0];
if (!commandString.equalsIgnoreCase("/wand"))
{
return;
}
PlayerWandList wands = plugin.getPlayerWands(event.getPlayer());
... |
diff --git a/soar-robotics/splinter-soar/src/splintersoar/soar/OutputLinkManager.java b/soar-robotics/splinter-soar/src/splintersoar/soar/OutputLinkManager.java
index 7ae9d8d5f..51d108ae6 100644
--- a/soar-robotics/splinter-soar/src/splintersoar/soar/OutputLinkManager.java
+++ b/soar-robotics/splinter-soar/src/splinter... | true | true | public void update()
{
boolean motorsCommanded = false;
//System.out.print( "." );
// process output
for ( int i = 0; i < agent.GetNumberCommands(); ++i )
{
Identifier commandId = agent.GetCommand( i );
String commandName = commandId.GetAttribute();
if ( commandName.equals( "motor" ) )
... | public void update()
{
boolean motorsCommanded = false;
//System.out.print( "." );
// process output
for ( int i = 0; i < agent.GetNumberCommands(); ++i )
{
Identifier commandId = agent.GetCommand( i );
String commandName = commandId.GetAttribute();
if ( commandName.equals( "motor" ) )
... |
diff --git a/src/main/java/org/helix/mobile/component/formfield/FormFieldRenderer.java b/src/main/java/org/helix/mobile/component/formfield/FormFieldRenderer.java
index c48e66f9..36498d40 100644
--- a/src/main/java/org/helix/mobile/component/formfield/FormFieldRenderer.java
+++ b/src/main/java/org/helix/mobile/componen... | true | true | public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
ResponseWriter writer = context.getResponseWriter();
FormField ffield = (FormField) component;
writer.write("{");
writer.write("'id' : '" + ffield.getName() + "',");
writer.write("'name' :... | public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
ResponseWriter writer = context.getResponseWriter();
FormField ffield = (FormField) component;
writer.write("{");
writer.write("'id' : '" + ffield.getName() + "',");
writer.write("'name' :... |
diff --git a/src/compiler/language/ast/typeDefinition/InterfaceDefinitionAST.java b/src/compiler/language/ast/typeDefinition/InterfaceDefinitionAST.java
index 7f27fc0..d1164d0 100644
--- a/src/compiler/language/ast/typeDefinition/InterfaceDefinitionAST.java
+++ b/src/compiler/language/ast/typeDefinition/InterfaceDefini... | true | true | public String toString()
{
StringBuffer buffer = new StringBuffer();
if (access != null)
{
buffer.append(access);
buffer.append(" ");
}
for (int i = 0; i < modifiers.length; i++)
{
buffer.append(modifiers[i]);
buffer.append(" ");
}
buffer.append("interface ");... | public String toString()
{
StringBuffer buffer = new StringBuffer();
if (access != null)
{
buffer.append(access);
buffer.append(" ");
}
for (int i = 0; i < modifiers.length; i++)
{
buffer.append(modifiers[i]);
buffer.append(" ");
}
buffer.append("interface ");... |
diff --git a/src/main/java/org/jboss/demo/widgets/client/local/PickListWidget.java b/src/main/java/org/jboss/demo/widgets/client/local/PickListWidget.java
index 5030fb5..732a64e 100644
--- a/src/main/java/org/jboss/demo/widgets/client/local/PickListWidget.java
+++ b/src/main/java/org/jboss/demo/widgets/client/local/Pic... | true | true | public void updateSelectedCapitals(List<Capital> selectedCapitals) {
List<LIElement> liElements = new ArrayList<LIElement>();
// retrieve the list elements from the targetList
for (int i = 0; i < targetList.getChildCount(); i++ ) {
Node node = targetList.getChild(i);
... | public void updateSelectedCapitals(List<Capital> selectedCapitals) {
List<LIElement> liElements = new ArrayList<LIElement>();
// retrieve the list elements from the targetList
for (int i = 0; i < targetList.getChildCount(); i++ ) {
Node node = targetList.getChild(i);
... |
diff --git a/document-validator-core/src/main/java/org/unigram/docvalidator/util/FileLoader.java b/document-validator-core/src/main/java/org/unigram/docvalidator/util/FileLoader.java
index fb3538ae..10280e4a 100644
--- a/document-validator-core/src/main/java/org/unigram/docvalidator/util/FileLoader.java
+++ b/document-... | false | true | public int loadFile(InputStream inputStream) {
if (inputStream == null) {
LOG.error("Input Stream is null");
return 1;
}
InputStreamReader inputStreamReader = null;
BufferedReader bufferedReader = null;
try {
inputStreamReader = new InputStreamReader(inputStream, "UTF-8");
... | public int loadFile(InputStream inputStream) {
if (inputStream == null) {
LOG.error("Input Stream is null");
return 1;
}
InputStreamReader inputStreamReader = null;
BufferedReader bufferedReader = null;
try {
inputStreamReader = new InputStreamReader(inputStream, "UTF-8");
... |
diff --git a/src/delma/tree/QuadTree.java b/src/delma/tree/QuadTree.java
index 2da9c03..c83733d 100644
--- a/src/delma/tree/QuadTree.java
+++ b/src/delma/tree/QuadTree.java
@@ -1,123 +1,123 @@
package delma.tree;
import delma.graph.visualisation.Vector;
import java.util.Collection;
import java.util.Iterator;
imp... | true | true | public void addBody(Vector vector, double mass) {
count++;
if (external) {
if (center == null) {
center = vector;
this.mass = mass;
return;
} else {
int quadrantX = center.getX... | public void addBody(Vector vector, double mass) {
count++;
if (external) {
if (center == null) {
center = vector;
this.mass = mass;
return;
} else {
int quadrantX = center.getX... |
diff --git a/components/loci-plugins/src/loci/plugins/util/BFVirtualStack.java b/components/loci-plugins/src/loci/plugins/util/BFVirtualStack.java
index 2a8ba7d62..58cc72e89 100644
--- a/components/loci-plugins/src/loci/plugins/util/BFVirtualStack.java
+++ b/components/loci-plugins/src/loci/plugins/util/BFVirtualStack.... | false | true | public synchronized ImageProcessor getProcessor(int n) {
reader.setSeries(series);
// check cache first
if (currentSlice >= 0 && currentProcessor != null) {
List<MethodEntry> currentStack = currentProcessor.getMethodStack();
if (currentStack.size() > 1) {
methodStacks.get(currentSlice... | public synchronized ImageProcessor getProcessor(int n) {
reader.setSeries(series);
// check cache first
if (currentSlice >= 0 && currentProcessor != null) {
List<MethodEntry> currentStack = currentProcessor.getMethodStack();
if (currentStack.size() > 1) {
methodStacks.get(currentSlice... |
diff --git a/src/openblocks/common/tileentity/TileEntityElevator.java b/src/openblocks/common/tileentity/TileEntityElevator.java
index 50f2a762..d741ccd7 100644
--- a/src/openblocks/common/tileentity/TileEntityElevator.java
+++ b/src/openblocks/common/tileentity/TileEntityElevator.java
@@ -1,171 +1,171 @@
package open... | true | true | public void updateEntity() {
super.updateEntity();
if (!worldObj.isRemote) {
Iterator<Entry<String, Integer>> cooldownIter = cooldown.entrySet().iterator();
while (cooldownIter.hasNext()) {
Entry<String, Integer> entry = cooldownIter.next();
int less = entry.getValue() - 1;
entry.setValue(less)... | public void updateEntity() {
super.updateEntity();
if (!worldObj.isRemote) {
Iterator<Entry<String, Integer>> cooldownIter = cooldown.entrySet().iterator();
while (cooldownIter.hasNext()) {
Entry<String, Integer> entry = cooldownIter.next();
int less = entry.getValue() - 1;
entry.setValue(less)... |
diff --git a/src/com/android/email/mail/transport/SmtpSender.java b/src/com/android/email/mail/transport/SmtpSender.java
index 71a86306..a9b13a66 100644
--- a/src/com/android/email/mail/transport/SmtpSender.java
+++ b/src/com/android/email/mail/transport/SmtpSender.java
@@ -1,334 +1,334 @@
/*
* Copyright (C) 2008 Th... | true | true | public void open() throws MessagingException {
try {
mTransport.open();
// Eat the banner
executeSimpleCommand(null);
String localHost = "localhost";
// Try to get local address in the proper format.
InetAddress localAddress = mTransp... | public void open() throws MessagingException {
try {
mTransport.open();
// Eat the banner
executeSimpleCommand(null);
String localHost = "localhost";
// Try to get local address in the proper format.
InetAddress localAddress = mTransp... |
diff --git a/src/lib/com/izforge/izpack/installer/Installer.java b/src/lib/com/izforge/izpack/installer/Installer.java
index 8d3bc3ccd..0c251254f 100644
--- a/src/lib/com/izforge/izpack/installer/Installer.java
+++ b/src/lib/com/izforge/izpack/installer/Installer.java
@@ -1,135 +1,139 @@
/*
* IzPack - Copyright 2001... | false | true | public static void main(String[] args) {
Debug.log(" - Logger initialized at '" + new Date(System.currentTimeMillis()) + "'.");
Debug.log(" - commandline args: " + StringTool.stringArrayToSpaceSeparatedString(args));
// OS X tweakings
if (System.getProperty("mrj.version") != null) ... | public static void main(String[] args) {
Debug.log(" - Logger initialized at '" + new Date(System.currentTimeMillis()) + "'.");
Debug.log(" - commandline args: " + StringTool.stringArrayToSpaceSeparatedString(args));
// OS X tweakings
if (System.getProperty("mrj.version") != null) ... |
diff --git a/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/DescribeStep.java b/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/DescribeStep.java
index 0f6ba4ffa..84815c519 100644
--- a/dspace-xmlui/dspace-xmlui-api/src/main/java/org/d... | true | true | public void addBody(Body body) throws SAXException, WingException,
UIException, SQLException, IOException, AuthorizeException
{
// Obtain the inputs (i.e. metadata fields we are going to display)
Item item = submission.getItem();
Collection collection = submission.getCollection();
String actionURL = contextP... | public void addBody(Body body) throws SAXException, WingException,
UIException, SQLException, IOException, AuthorizeException
{
// Obtain the inputs (i.e. metadata fields we are going to display)
Item item = submission.getItem();
Collection collection = submission.getCollection();
String actionURL = contextP... |
diff --git a/src/edu/isi/pegasus/planner/common/PegasusConfiguration.java b/src/edu/isi/pegasus/planner/common/PegasusConfiguration.java
index c8bac5440..027c18a4a 100644
--- a/src/edu/isi/pegasus/planner/common/PegasusConfiguration.java
+++ b/src/edu/isi/pegasus/planner/common/PegasusConfiguration.java
@@ -1,237 +1,24... | true | true | public Properties getConfigurationProperties( String configuration ){
//sanity check
if( configuration == null ){
//default is the sharedfs
configuration = SHARED_FS_CONFIGURATION_VALUE;
}
Properties p = new Properties( );
if( configur... | public Properties getConfigurationProperties( String configuration ){
//sanity check
if( configuration == null ){
//default is the sharedfs
configuration = SHARED_FS_CONFIGURATION_VALUE;
}
Properties p = new Properties( );
if( configur... |
diff --git a/src/com/android/launcher/IconHighlights.java b/src/com/android/launcher/IconHighlights.java
index d99ba65..7bee436 100644
--- a/src/com/android/launcher/IconHighlights.java
+++ b/src/com/android/launcher/IconHighlights.java
@@ -1,77 +1,77 @@
package com.android.launcher;
import android.content.Context;... | true | true | private static Drawable newSelector(Context context){
GradientDrawable mDrawPressed;
GradientDrawable mDrawSelected;
StateListDrawable drawable=new StateListDrawable();
int selectedColor=AlmostNexusSettingsHelper.getHighlightsColor(context);
int pressedColor=AlmostNexusSettingsHelper.getHighlightsColorFocus(... | private static Drawable newSelector(Context context){
GradientDrawable mDrawPressed;
GradientDrawable mDrawSelected;
StateListDrawable drawable=new StateListDrawable();
int selectedColor=AlmostNexusSettingsHelper.getHighlightsColorFocus(context);
int pressedColor=AlmostNexusSettingsHelper.getHighlightsColor(... |
diff --git a/src/org/biojava/bio/structure/align/pairwise/AltAligComparator.java b/src/org/biojava/bio/structure/align/pairwise/AltAligComparator.java
index f9f7587b5..07c485a22 100644
--- a/src/org/biojava/bio/structure/align/pairwise/AltAligComparator.java
+++ b/src/org/biojava/bio/structure/align/pairwise/AltAligCom... | false | true | public int compare(Object arg0, Object arg1) {
AlternativeAlignment a = (AlternativeAlignment) arg0;
AlternativeAlignment b = (AlternativeAlignment) arg1;
int s1 = a.getIdx1().length;
int s2 = b.getIdx1().length;
if ( s1 > s2)
return 1;
i... | public int compare(Object arg0, Object arg1) {
AlternativeAlignment a = (AlternativeAlignment) arg0;
AlternativeAlignment b = (AlternativeAlignment) arg1;
int s1 = a.getIdx1().length;
int s2 = b.getIdx1().length;
if ( s1 > s2)
return 1;
i... |
diff --git a/src/com/mpower/controller/TangerineFormController.java b/src/com/mpower/controller/TangerineFormController.java
index 271cfbd7..1d5bee62 100644
--- a/src/com/mpower/controller/TangerineFormController.java
+++ b/src/com/mpower/controller/TangerineFormController.java
@@ -1,114 +1,114 @@
package com.mpower.c... | true | true | protected void createFieldMaps(HttpServletRequest request, Viewable viewable) {
if (isFormSubmission(request)) {
Map<String, String> fieldLabelMap = siteService.readFieldLabels(SessionServiceImpl.lookupUserSiteName(), PageType.valueOf(this.getPageType()), SessionServiceImpl.lookupUserRoles(), re... | protected void createFieldMaps(HttpServletRequest request, Viewable viewable) {
if (isFormSubmission(request)) {
Map<String, String> fieldLabelMap = siteService.readFieldLabels(SessionServiceImpl.lookupUserSiteName(), PageType.valueOf(this.getPageType()), SessionServiceImpl.lookupUserRoles(), re... |
diff --git a/src/de/uni_koblenz/jgralab/greql2/funlib/FirstEdge.java b/src/de/uni_koblenz/jgralab/greql2/funlib/FirstEdge.java
index 6339adb64..18aa0932d 100644
--- a/src/de/uni_koblenz/jgralab/greql2/funlib/FirstEdge.java
+++ b/src/de/uni_koblenz/jgralab/greql2/funlib/FirstEdge.java
@@ -1,123 +1,124 @@
/*
* JGraLab... | false | true | public JValue evaluate(Graph graph,
AbstractGraphMarker<AttributedElement> subgraph, JValue[] arguments)
throws EvaluateException {
switch (checkArguments(arguments)) {
case 0:
return new JValueImpl(graph.getFirstEdge());
case 1:
Edge current = graph.getFirstEdge();
JValueTypeCollection tc = argum... | public JValue evaluate(Graph graph,
AbstractGraphMarker<AttributedElement> subgraph, JValue[] arguments)
throws EvaluateException {
switch (checkArguments(arguments)) {
case 0:
return new JValueImpl(graph.getFirstEdge());
case 1:
// Edge current = graph.getFirstEdge();
JValueTypeCollection tc = ar... |
diff --git a/src/share/classes/com/sun/tools/javafx/code/JavafxClassSymbol.java b/src/share/classes/com/sun/tools/javafx/code/JavafxClassSymbol.java
index 603f4d6a1..e71f804a5 100644
--- a/src/share/classes/com/sun/tools/javafx/code/JavafxClassSymbol.java
+++ b/src/share/classes/com/sun/tools/javafx/code/JavafxClassSym... | true | true | public boolean isSubClass(Symbol base, Types types) {
if (! ((JavafxTypes) types).isCompoundClass(this))
return super.isSubClass(base, types);
if (this == base)
return true;
complete();
List<Type> supers = getSuperTypes();
for (List<Type> l = supers; l... | public boolean isSubClass(Symbol base, Types types) {
if (! (types instanceof JavafxTypes) || ! ((JavafxTypes) types).isCompoundClass(this))
return super.isSubClass(base, types);
if (this == base)
return true;
complete();
List<Type> supers = getSuperTypes();
... |
diff --git a/web-core/src/main/java/com/stratelia/webactiv/util/viewGenerator/html/wysiwyg/Wysiwyg.java b/web-core/src/main/java/com/stratelia/webactiv/util/viewGenerator/html/wysiwyg/Wysiwyg.java
index 42da43d70e..96a814eb5c 100644
--- a/web-core/src/main/java/com/stratelia/webactiv/util/viewGenerator/html/wysiwyg/Wys... | true | true | public String print() {
String configFile = wysiwygSettings.getString("configFile", URLManager.getApplicationURL() +"/wysiwyg/jsp/ckeditor/silverconfig.js");
StringBuilder builder = new StringBuilder(100);
builder.append("CKEDITOR.replace('").append(getReplace()).append("', {\n");
builder.append("wid... | public String print() {
String baseDir = wysiwygSettings.getString("baseDir", "ckeditor");
String configFile = wysiwygSettings.getString("configFile",
URLManager.getApplicationURL() + "/wysiwyg/jsp/" + baseDir + "/silverconfig.js");
StringBuilder builder = new StringBuilder(100);
builder.appe... |
diff --git a/src/com/spartango/hicgraph/analysis/cluster/CoefficientClusterer.java b/src/com/spartango/hicgraph/analysis/cluster/CoefficientClusterer.java
index c7a5db0..d7ac48d 100644
--- a/src/com/spartango/hicgraph/analysis/cluster/CoefficientClusterer.java
+++ b/src/com/spartango/hicgraph/analysis/cluster/Coefficie... | true | true | public void run() {
if (source != null) {
running = true;
System.out.println("Clusterer Started: " + source.getVertexCount()
+ " nodes & " + source.getEdgeCount()
+ " edges. on "
+ Thread.cur... | public void run() {
if (source != null) {
running = true;
System.out.println("Clusterer Started: " + source.getVertexCount()
+ " nodes & " + source.getEdgeCount()
+ " edges. on "
+ Thread.cur... |
diff --git a/src/org/hanuna/gitalk/commitmodel/CommitsModel.java b/src/org/hanuna/gitalk/commitmodel/CommitsModel.java
index 091226c..be49e15 100644
--- a/src/org/hanuna/gitalk/commitmodel/CommitsModel.java
+++ b/src/org/hanuna/gitalk/commitmodel/CommitsModel.java
@@ -1,75 +1,103 @@
package org.hanuna.gitalk.commitmod... | false | true | private void buildHideShowMap() {
for (int i = 0; i < commits.size(); i++) {
Commit commit = commits.get(i);
for (Commit parent : commit.getParents()) {
if (parent.getChildren().size() == 1) {
if (parent.wasRead()) {
if (par... | private void buildHideShowMap() {
for (int i = 0; i < commits.size(); i++) {
Commit commit = commits.get(i);
ReadOnlyList<Commit> currentChildrens = commit.getChildren();
if (currentChildrens.size() > 0) {
Commit lastChildren = currentChildrens.get(current... |
diff --git a/src/com/morphoss/acal/weekview/WeekViewActivity.java b/src/com/morphoss/acal/weekview/WeekViewActivity.java
index 23fba38..8b70be4 100644
--- a/src/com/morphoss/acal/weekview/WeekViewActivity.java
+++ b/src/com/morphoss/acal/weekview/WeekViewActivity.java
@@ -1,561 +1,561 @@
/*
* Copyright (C) 2011 Morp... | false | true | private void loadPrefs() {
//Load Prefs
prefs = PreferenceManager.getDefaultSharedPreferences(this);
TIME_24_HOUR = prefs.getBoolean(this.getString(R.string.prefTwelveTwentyfour), false);
try {
FIRST_DAY_OF_WEEK = Integer.parseInt(prefs.getString(getString(R.string.firstDayOfWeek), "0"));
if ( FIRST_DAY_... | private void loadPrefs() {
//Load Prefs
prefs = PreferenceManager.getDefaultSharedPreferences(this);
TIME_24_HOUR = prefs.getBoolean(this.getString(R.string.prefTwelveTwentyfour), false);
try {
FIRST_DAY_OF_WEEK = Integer.parseInt(prefs.getString(getString(R.string.firstDayOfWeek), "0"));
if ( FIRST_DAY_... |
diff --git a/com.ggasoftware.indigo.knime.plugin/src/com/ggasoftware/indigo/knime/combchem/IndigoReactionGeneratorNodeModel.java b/com.ggasoftware.indigo.knime.plugin/src/com/ggasoftware/indigo/knime/combchem/IndigoReactionGeneratorNodeModel.java
index 1335bc8..959c90d 100644
--- a/com.ggasoftware.indigo.knime.plugin/s... | true | true | protected BufferedDataTable[] execute(final BufferedDataTable[] inData,
final ExecutionContext exec) throws Exception {
BufferedDataTable reactionTable = inData[IndigoReactionGeneratorSettings.REACTION_PORT];
BufferedDataTable moleculeTable1 = inData[IndigoReactionGeneratorSettings.MOL_PORT1];
... | protected BufferedDataTable[] execute(final BufferedDataTable[] inData,
final ExecutionContext exec) throws Exception {
BufferedDataTable reactionTable = inData[IndigoReactionGeneratorSettings.REACTION_PORT];
BufferedDataTable moleculeTable1 = inData[IndigoReactionGeneratorSettings.MOL_PORT1];
... |
diff --git a/src/main/java/org/iplantc/de/client/views/panels/CatalogMainPanel.java b/src/main/java/org/iplantc/de/client/views/panels/CatalogMainPanel.java
index 3b48991c..0b9943e6 100644
--- a/src/main/java/org/iplantc/de/client/views/panels/CatalogMainPanel.java
+++ b/src/main/java/org/iplantc/de/client/views/panels... | true | true | private IconButton buildUnrateIcon(final Analysis model, final LayoutContainer hp) {
final IconButton icon = new IconButton("apps_rating_unrate_button"); //$NON-NLS-1$
icon.setToolTip(I18N.DISPLAY.unrate());
icon.setId("unrate_button"); //$NON-NLS-1$
icon.addSel... | private IconButton buildUnrateIcon(final Analysis model, final LayoutContainer hp) {
final IconButton icon = new IconButton("apps_rating_unrate_button"); //$NON-NLS-1$
icon.setToolTip(I18N.DISPLAY.unrate());
icon.setId("unrate_button"); //$NON-NLS-1$
icon.addSel... |
diff --git a/src/hemera/ext/batch/util/Request.java b/src/hemera/ext/batch/util/Request.java
index bb2001d..9886a88 100644
--- a/src/hemera/ext/batch/util/Request.java
+++ b/src/hemera/ext/batch/util/Request.java
@@ -1,145 +1,145 @@
package hemera.ext.batch.util;
import java.util.ArrayList;
import java.util.HashMa... | false | true | public Request(final JSONObject data) throws JSONException {
this.children = new ArrayList<ChildRequest>();
this.method = EHttpMethod.parse(data.getString("method"));
this.uri = data.getString("uri");
if (data.has("args")) {
this.args = new HashMap<String, String>();
final JSONArray argsArray = data.getJ... | public Request(final JSONObject data) throws JSONException {
this.children = new ArrayList<ChildRequest>();
this.method = EHttpMethod.parse(data.getString("method"));
this.uri = data.getString("uri");
if (data.has("args")) {
this.args = new HashMap<String, String>();
final JSONArray argsArray = data.getJ... |
diff --git a/oecsm/src/ke/go/moh/oec/oecsm/sync/data/SourceDataMiner.java b/oecsm/src/ke/go/moh/oec/oecsm/sync/data/SourceDataMiner.java
index 55d47bf..e1b0602 100644
--- a/oecsm/src/ke/go/moh/oec/oecsm/sync/data/SourceDataMiner.java
+++ b/oecsm/src/ke/go/moh/oec/oecsm/sync/data/SourceDataMiner.java
@@ -1,81 +1,81 @@
... | true | true | public SourceResultSet mine(Table table) throws SQLException {
SourceResultSet srs = null;
try {
String compositePK = getQueryCustomizer().buildCompositePrimaryKey(table);
String asciiCompositePK = getQueryCustomizer().buildAsciiCompositePrimaryKey(compositePK);
S... | public SourceResultSet mine(Table table) throws SQLException {
SourceResultSet srs = null;
try {
String compositePK = getQueryCustomizer().buildCompositePrimaryKey(table);
String asciiCompositePK = getQueryCustomizer().buildAsciiCompositePrimaryKey(compositePK);
S... |
diff --git a/Genotype-IO/src/main/java/org/molgenis/genotype/util/MafCalculator.java b/Genotype-IO/src/main/java/org/molgenis/genotype/util/MafCalculator.java
index b33db9a3..c40b9cf7 100644
--- a/Genotype-IO/src/main/java/org/molgenis/genotype/util/MafCalculator.java
+++ b/Genotype-IO/src/main/java/org/molgenis/genoty... | true | true | public static MafResult calculateMaf(Alleles alleles, Allele reference, List<Alleles> samplesAlleles)
{
HashMap<Allele, AtomicInteger> alleleCounts = new HashMap<Allele, AtomicInteger>(alleles.getAlleles().size());
for (Allele allele : alleles.getAlleles())
{
alleleCounts.put(allele, new AtomicInteger());
... | public static MafResult calculateMaf(Alleles alleles, Allele reference, List<Alleles> samplesAlleles)
{
HashMap<Allele, AtomicInteger> alleleCounts = new HashMap<Allele, AtomicInteger>(alleles.getAlleles().size());
for (Allele allele : alleles.getAlleles())
{
alleleCounts.put(allele, new AtomicInteger());
... |
diff --git a/luaj-vm/src/core/org/luaj/vm/LString.java b/luaj-vm/src/core/org/luaj/vm/LString.java
index 2e9a864..cb968f0 100644
--- a/luaj-vm/src/core/org/luaj/vm/LString.java
+++ b/luaj-vm/src/core/org/luaj/vm/LString.java
@@ -1,451 +1,451 @@
/*************************************************************************... | true | true | public int compareTo( LString o ) {
final byte[] a = this.m_bytes;
final byte[] b = o.m_bytes;
int i = this.m_offset;
int j = o.m_offset;
final int imax = i + m_length;
final int jmax = j + o.m_length;
if ( a == b && i == j && imax == jmax )
return 0;
while ( i < imax && j < jmax ) {
if ( a... | public int compareTo( LString o ) {
final byte[] a = this.m_bytes;
final byte[] b = o.m_bytes;
int i = this.m_offset;
int j = o.m_offset;
final int imax = i + m_length;
final int jmax = j + o.m_length;
if ( a == b && i == j && imax == jmax )
return 0;
while ( i < imax && j < jmax ) {
if ( a... |
diff --git a/frontend/grisu-client-swing/src/main/java/org/vpac/grisu/client/view/swing/files/BackendFileObjectCellRenderer.java b/frontend/grisu-client-swing/src/main/java/org/vpac/grisu/client/view/swing/files/BackendFileObjectCellRenderer.java
index 61f8a9b3..a645a29d 100644
--- a/frontend/grisu-client-swing/src/mai... | true | true | public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus) {
GrisuFileObject file = (GrisuFileObject)value;
FileSystemListFrontend fs = (FileSystemListFrontend)list.getModel();
JLabel label = null;
if ( ! fs.currentDirectoryIsOnRoot() && ... | public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus) {
GrisuFileObject file = (GrisuFileObject)value;
FileSystemListFrontend fs = (FileSystemListFrontend)list.getModel();
JLabel label = null;
if ( ! fs.currentDirectoryIsOnRoot() && ... |
diff --git a/src/hunternif/mc/dota2items/item/ArcaneBoots.java b/src/hunternif/mc/dota2items/item/ArcaneBoots.java
index c5be02f..1fbdcef 100644
--- a/src/hunternif/mc/dota2items/item/ArcaneBoots.java
+++ b/src/hunternif/mc/dota2items/item/ArcaneBoots.java
@@ -1,50 +1,53 @@
package hunternif.mc.dota2items.item;
imp... | false | true | public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
if (!tryUse(stack, player)) {
return stack;
}
startCooldown(stack, player);
Dota2Items.mechanics.getOrCreateEntityStats(player).removeMana(getManaCost());
world.playSoundAtEntity(player, Sound.ARCANE_BOOTS.getName(), 0.... | public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
if (!tryUse(stack, player)) {
return stack;
}
startCooldown(stack, player);
Dota2Items.mechanics.getOrCreateEntityStats(player).removeMana(getManaCost());
world.playSoundAtEntity(player, Sound.ARCANE_BOOTS.getName(), 0.... |
diff --git a/eclipse-plugin/plugins/com.google.jstestdriver.eclipse.ui/src/com/google/jstestdriver/eclipse/ui/views/TestResultsPanel.java b/eclipse-plugin/plugins/com.google.jstestdriver.eclipse.ui/src/com/google/jstestdriver/eclipse/ui/views/TestResultsPanel.java
index 27ee1c2..16a46cb 100644
--- a/eclipse-plugin/plug... | false | true | public TestResultsPanel(Composite parent, int style) {
super(parent, style);
setLayout(new GridLayout(3, true));
GridData layoutData = new GridData();
layoutData.grabExcessHorizontalSpace = true;
layoutData.grabExcessVerticalSpace = true;
layoutData.verticalAlignment = SWT.FILL;
layoutData... | public TestResultsPanel(Composite parent, int style) {
super(parent, style);
setLayout(new GridLayout(3, true));
GridData layoutData = new GridData();
layoutData.grabExcessHorizontalSpace = true;
layoutData.grabExcessVerticalSpace = true;
layoutData.verticalAlignment = SWT.FILL;
layoutData... |
diff --git a/framework/src/com/phonegap/CameraLauncher.java b/framework/src/com/phonegap/CameraLauncher.java
index 24e72d7c..ddeb9e16 100755
--- a/framework/src/com/phonegap/CameraLauncher.java
+++ b/framework/src/com/phonegap/CameraLauncher.java
@@ -1,289 +1,296 @@
/*
* PhoneGap is available under *either* the term... | true | true | public void onActivityResult(int requestCode, int resultCode, Intent intent) {
// Get src and dest types from request code
int srcType = (requestCode/16) - 1;
int destType = (requestCode % 16) - 1;
// If CAMERA
if (srcType == CAMERA) {
// If image available
if (resultCode == Activity.RESULT_OK)... | public void onActivityResult(int requestCode, int resultCode, Intent intent) {
// Get src and dest types from request code
int srcType = (requestCode/16) - 1;
int destType = (requestCode % 16) - 1;
// If CAMERA
if (srcType == CAMERA) {
// If image available
if (resultCode == Activity.RESULT_OK)... |
diff --git a/puzlib/src/main/java/com/totsp/crossword/io/IO.java b/puzlib/src/main/java/com/totsp/crossword/io/IO.java
index bb3bae2..b156e4b 100644
--- a/puzlib/src/main/java/com/totsp/crossword/io/IO.java
+++ b/puzlib/src/main/java/com/totsp/crossword/io/IO.java
@@ -1,345 +1,345 @@
package com.totsp.crossword.io;
... | true | true | public static Puzzle loadNative(DataInputStream input) throws IOException {
Puzzle puz = new Puzzle();
puz.setFileChecksum(input.readShort());
byte[] fileMagic = new byte[0xB];
for (int i = 0; i < fileMagic.length; i++) {
fileMagic[i] = input.readByte();
}
... | public static Puzzle loadNative(DataInputStream input) throws IOException {
Puzzle puz = new Puzzle();
puz.setFileChecksum(input.readShort());
byte[] fileMagic = new byte[0xB];
for (int i = 0; i < fileMagic.length; i++) {
fileMagic[i] = input.readByte();
}
... |
diff --git a/src/main/java/org/ets/nlp/ThriftServer.java b/src/main/java/org/ets/nlp/ThriftServer.java
index 5d325b0..c3e2742 100755
--- a/src/main/java/org/ets/nlp/ThriftServer.java
+++ b/src/main/java/org/ets/nlp/ThriftServer.java
@@ -1,247 +1,247 @@
package org.ets.nlp;
import java.lang.StringBuilder;
import ja... | true | true | public ClearNLPHandler () {
try {
InputStream dictStream = DemoDecoder.class.getResourceAsStream("/dictionary-1.4.0.zip");
InputStream morphStream = DemoDecoder.class.getResourceAsStream("/dictionary-1.4.0.zip");
InputStream posModelStream = DemoDecoder.class.getResourceAsStream("/ontonotes-en-... | public ClearNLPHandler () {
try {
InputStream dictStream = DemoDecoder.class.getResourceAsStream("/dictionary-1.4.0.zip");
InputStream morphStream = DemoDecoder.class.getResourceAsStream("/dictionary-1.4.0.zip");
InputStream posModelStream = DemoDecoder.class.getResourceAsStream("/ontonotes-en-... |
diff --git a/src/cli/org/codehaus/griffon/cli/GriffonScriptRunner.java b/src/cli/org/codehaus/griffon/cli/GriffonScriptRunner.java
index ef0072b..08764ed 100644
--- a/src/cli/org/codehaus/griffon/cli/GriffonScriptRunner.java
+++ b/src/cli/org/codehaus/griffon/cli/GriffonScriptRunner.java
@@ -1,785 +1,794 @@
/*
* Cop... | true | true | private int callPluginOrGriffonScript(String scriptName) {
// The class loader we will use to run Gant. It's the root
// loader plus all the application's compiled classes.
URLClassLoader classLoader;
try {
// JARs already on the classpath should be excluded.
... | private int callPluginOrGriffonScript(String scriptName) {
// The class loader we will use to run Gant. It's the root
// loader plus all the application's compiled classes.
URLClassLoader classLoader;
try {
// JARs already on the classpath should be excluded.
... |
diff --git a/Project_SASHA_Server/src/sfs2x/projectsasha/game/entities/software/Virus.java b/Project_SASHA_Server/src/sfs2x/projectsasha/game/entities/software/Virus.java
index e343f90..083aa6e 100644
--- a/Project_SASHA_Server/src/sfs2x/projectsasha/game/entities/software/Virus.java
+++ b/Project_SASHA_Server/src/sfs2... | false | true | public void runTriggeredAction(Gateway from, Gateway to)
{
if(to.hasSoftware(GameConsts.ANTIVIRUS))
{
Software s = (Antivirus)to.getInstalledSoftware(GameConsts.ANTIVIRUS);
s.runTriggeredAction(from, to);
}
if(from.hasSoftware(GameConsts.VIRUS))
{
Software[] lista = to.getInstalledSoftwares();
f... | public void runTriggeredAction(Gateway from, Gateway to)
{
if(from.hasSoftware(GameConsts.ANTIVIRUS))
{
Software s = (Antivirus)from.getInstalledSoftware(GameConsts.ANTIVIRUS);
s.runTriggeredAction(from, to);
}
if(to.hasSoftware(GameConsts.VIRUS))
{
Software[] lista = from.getInstalledSoftwares();
... |
diff --git a/src/com/android/contacts/util/BitmapUtil.java b/src/com/android/contacts/util/BitmapUtil.java
index 6f6650f92..87eeb3c8e 100644
--- a/src/com/android/contacts/util/BitmapUtil.java
+++ b/src/com/android/contacts/util/BitmapUtil.java
@@ -1,79 +1,83 @@
/*
* Copyright (C) 2012 The Android Open Source Projec... | false | true | public static int findOptimalSampleSize(int originalSmallerExtent, int targetExtent) {
// If we don't know sizes, we can't do sampling.
if (targetExtent < 1) return 1;
if (originalSmallerExtent < 1) return 1;
// test what the best sample size is
int extent = originalSmallerE... | public static int findOptimalSampleSize(int originalSmallerExtent, int targetExtent) {
// If we don't know sizes, we can't do sampling.
if (targetExtent < 1) return 1;
if (originalSmallerExtent < 1) return 1;
// Test what the best sample size is. To do that, we find the sample size ... |
diff --git a/src/uk/co/tggl/pluckerpluck/multiinv/MultiInv.java b/src/uk/co/tggl/pluckerpluck/multiinv/MultiInv.java
index 8a97446..e995bb2 100644
--- a/src/uk/co/tggl/pluckerpluck/multiinv/MultiInv.java
+++ b/src/uk/co/tggl/pluckerpluck/multiinv/MultiInv.java
@@ -1,127 +1,132 @@
package uk.co.tggl.pluckerpluck.multii... | false | true | public void onEnable() {
// Initialize Logger
log = new MILogger();
// Get the description file containing plugin information
PluginDescriptionFile pdfFile = this.getDescription();
// Load yaml files
MIYamlFiles.loadConfig();
MIYamlFiles.loadGroups();
... | public void onEnable() {
// Initialize Logger
log = new MILogger();
// Get the description file containing plugin information
PluginDescriptionFile pdfFile = this.getDescription();
// Load yaml files
MIYamlFiles.loadConfig();
MIYamlFiles.loadGroups();
... |
diff --git a/loci/formats/in/LIFReader.java b/loci/formats/in/LIFReader.java
index 3adf7ae7b..1d73baf20 100644
--- a/loci/formats/in/LIFReader.java
+++ b/loci/formats/in/LIFReader.java
@@ -1,560 +1,564 @@
//
// LIFReader.java
//
/*
LOCI Bio-Formats package for reading and converting biological file formats.
Cop... | false | true | private void initMetadata(String xml) throws FormatException, IOException {
Vector elements = new Vector();
seriesNames = new Vector();
// first parse each element in the XML string
StringTokenizer st = new StringTokenizer(xml, ">");
while (st.hasMoreTokens()) {
String token = st.nextToken... | private void initMetadata(String xml) throws FormatException, IOException {
Vector elements = new Vector();
seriesNames = new Vector();
// first parse each element in the XML string
StringTokenizer st = new StringTokenizer(xml, ">");
while (st.hasMoreTokens()) {
String token = st.nextToken... |
diff --git a/src/com/BreakingBytes/SifterReader/IssuesActivity.java b/src/com/BreakingBytes/SifterReader/IssuesActivity.java
index 09d82f5..0b1fa39 100644
--- a/src/com/BreakingBytes/SifterReader/IssuesActivity.java
+++ b/src/com/BreakingBytes/SifterReader/IssuesActivity.java
@@ -1,407 +1,408 @@
package com.BreakingBy... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.issues_list);
registerForContextMenu(getListView());
mSifterHelper = new SifterHelper(this);
try {
mSifterHelper.getKey();
} catch (Exception e) {
e.printStackTrace();
mSifterHelper.... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.issues_list);
registerForContextMenu(getListView());
mSifterHelper = new SifterHelper(this);
try {
mSifterHelper.getKey();
} catch (Exception e) {
e.printStackTrace();
mSifterHelper.... |
diff --git a/src/vafusion/recog/CharacterRecognizer.java b/src/vafusion/recog/CharacterRecognizer.java
index 4d16a2a..626f05f 100644
--- a/src/vafusion/recog/CharacterRecognizer.java
+++ b/src/vafusion/recog/CharacterRecognizer.java
@@ -1,28 +1,28 @@
package vafusion.recog;
import java.awt.image.BufferedImage;
imp... | true | true | public CharacterRecognizer(String filename) {
System.out.println("Loading neural net...");
nnet = NeuralNetwork.load(filename);
System.out.println("Done loading neural net.");
}
| public CharacterRecognizer(String filename) {
System.out.println("Loading neural net...");
//nnet = NeuralNetwork.load(filename);
System.out.println("Done loading neural net.");
}
|
diff --git a/astroboa-tests/src/test/java/org/betaconceptframework/astroboa/test/engine/definition/ExportDefinitionTest.java b/astroboa-tests/src/test/java/org/betaconceptframework/astroboa/test/engine/definition/ExportDefinitionTest.java
index 57eac7e..ae82c1f 100644
--- a/astroboa-tests/src/test/java/org/betaconceptf... | false | true | public void testExportDefinitionToXMLorJSON(){
List<ComplexCmsPropertyDefinition> complexTypes = definitionService.getAvailableAspectDefinitionsSortedByLocale("en");
for (ComplexCmsPropertyDefinition complexCmsPropertyDefinition : complexTypes){
complexCmsPropertyDefinition.xml(false);
complexCmsProper... | public void testExportDefinitionToXMLorJSON(){
List<ComplexCmsPropertyDefinition> complexTypes = definitionService.getAvailableAspectDefinitionsSortedByLocale("en");
for (ComplexCmsPropertyDefinition complexCmsPropertyDefinition : complexTypes){
complexCmsPropertyDefinition.xml(false);
complexCmsProper... |
diff --git a/LanPlaylistServer/src/main/java/net/kokkeli/player/VlcPlayer.java b/LanPlaylistServer/src/main/java/net/kokkeli/player/VlcPlayer.java
index f023429..b5af833 100644
--- a/LanPlaylistServer/src/main/java/net/kokkeli/player/VlcPlayer.java
+++ b/LanPlaylistServer/src/main/java/net/kokkeli/player/VlcPlayer.java... | true | true | public void play() throws ServiceException {
String file = trackQueue.poll();
if (file == null && playListPlaying){
try {
PlayList list = playlistService.getPlaylist(currentPlaylistId);
//TODO Some randomization... | public void play() throws ServiceException {
String file = trackQueue.poll();
if (file == null && playListPlaying){
try {
PlayList list = playlistService.getPlaylist(currentPlaylistId);
//TODO Some randomization... |
diff --git a/editor/server/src/org/oryxeditor/server/BPEL4ChorExporter.java b/editor/server/src/org/oryxeditor/server/BPEL4ChorExporter.java
index eef370ff..0fc363a8 100644
--- a/editor/server/src/org/oryxeditor/server/BPEL4ChorExporter.java
+++ b/editor/server/src/org/oryxeditor/server/BPEL4ChorExporter.java
@@ -1,771... | false | true | private void handleMessageLinksElement(Element messageLinksElement) {
ArrayList<Element> uselessLinks = new ArrayList<Element>();
// in this hash map:
// key : link name - type String
// value : messageLinkElement - type Element
HashMap<String, Element> linkNameRecorder = new HashMap<String, Element>()... | private void handleMessageLinksElement(Element messageLinksElement) {
ArrayList<Element> uselessLinks = new ArrayList<Element>();
// in this hash map:
// key : link name - type String
// value : messageLinkElement - type Element
HashMap<String, Element> linkNameRecorder = new HashMap<String, Element>()... |
diff --git a/src/org/yaxim/androidclient/service/SmackableImp.java b/src/org/yaxim/androidclient/service/SmackableImp.java
index 95deed9..d5c81eb 100644
--- a/src/org/yaxim/androidclient/service/SmackableImp.java
+++ b/src/org/yaxim/androidclient/service/SmackableImp.java
@@ -1,883 +1,884 @@
package org.yaxim.androidc... | true | true | private void registerMessageListener() {
// do not register multiple packet listeners
if (mPacketListener != null)
mXMPPConnection.removePacketListener(mPacketListener);
PacketTypeFilter filter = new PacketTypeFilter(Message.class);
mPacketListener = new PacketListener() {
public void processPacket(Pac... | private void registerMessageListener() {
// do not register multiple packet listeners
if (mPacketListener != null)
mXMPPConnection.removePacketListener(mPacketListener);
PacketTypeFilter filter = new PacketTypeFilter(Message.class);
mPacketListener = new PacketListener() {
public void processPacket(Pac... |
diff --git a/src/main/java/com/tinkerpop/gremlin/compiler/functions/g/string/ConcatFunction.java b/src/main/java/com/tinkerpop/gremlin/compiler/functions/g/string/ConcatFunction.java
index f6136b75..4c1ed09e 100644
--- a/src/main/java/com/tinkerpop/gremlin/compiler/functions/g/string/ConcatFunction.java
+++ b/src/main/... | true | true | public Atom<String> compute(final List<Operation> parameters) throws RuntimeException {
String resultString = "";
for (Operation operation : parameters) {
resultString = resultString.concat(operation.compute().toValueString());
}
return new Atom<String>(resultString);
... | public Atom<String> compute(final List<Operation> parameters) throws RuntimeException {
String resultString = "";
for (Operation operation : parameters) {
resultString = resultString.concat(operation.compute().toString());
}
return new Atom<String>(resultString);
}
|
diff --git a/src/biz/bokhorst/xprivacy/XContentResolver.java b/src/biz/bokhorst/xprivacy/XContentResolver.java
index 152afab5..0757920e 100644
--- a/src/biz/bokhorst/xprivacy/XContentResolver.java
+++ b/src/biz/bokhorst/xprivacy/XContentResolver.java
@@ -1,427 +1,431 @@
package biz.bokhorst.xprivacy;
import java.ut... | false | true | private void handleUriAfter(MethodHookParam param) throws Throwable {
// Check URI
if (param.args.length > 1 && param.args[0] instanceof Uri && param.getResult() != null) {
String uri = ((Uri) param.args[0]).toString().toLowerCase();
Cursor cursor = (Cursor) param.getResult();
Util.log(this, Log.INFO, "Af... | private void handleUriAfter(MethodHookParam param) throws Throwable {
// Check URI
if (param.args.length > 1 && param.args[0] instanceof Uri && param.getResult() != null) {
String uri = ((Uri) param.args[0]).toString().toLowerCase();
Cursor cursor = (Cursor) param.getResult();
Util.log(this, Log.INFO, "Af... |
diff --git a/jOOQ-codegen/src/main/java/org/jooq/util/GenerationTool.java b/jOOQ-codegen/src/main/java/org/jooq/util/GenerationTool.java
index d37664ce7..e74ecc6b4 100644
--- a/jOOQ-codegen/src/main/java/org/jooq/util/GenerationTool.java
+++ b/jOOQ-codegen/src/main/java/org/jooq/util/GenerationTool.java
@@ -1,437 +1,43... | true | true | public static void main(Configuration configuration) throws Exception {
Jdbc j = configuration.getJdbc();
org.jooq.util.jaxb.Generator g = configuration.getGenerator();
// Some default values for optional elements to avoid NPE's
if (g.getStrategy() == null)
g.setStrategy(new Strategy()... | public static void main(Configuration configuration) throws Exception {
Jdbc j = configuration.getJdbc();
org.jooq.util.jaxb.Generator g = configuration.getGenerator();
// Some default values for optional elements to avoid NPE's
if (g.getStrategy() == null)
g.setStrategy(new Strategy()... |
diff --git a/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/ThriftPluginServer.java b/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/ThriftPluginServer.java
index 9a862d2225..4c7804086c 100644
--- a/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/ThriftPluginServe... | true | true | public void start() throws IOException {
String hostname = address.getAddress().getHostAddress();
synchronized (this) {
if (server != null) {
throw new IllegalStateException("Thrift server already started");
}
LOG.info("Starting Thrift server");
ServerSocket sock = new ServerS... | public void start() throws IOException {
String hostname = address.getAddress().getHostAddress();
synchronized (this) {
if (server != null) {
throw new IllegalStateException("Thrift server already started");
}
LOG.info("Starting Thrift server");
ServerSocket sock = new ServerS... |
diff --git a/ShootPlane/src/com/beancore/util/FileUtil.java b/ShootPlane/src/com/beancore/util/FileUtil.java
index 23664de..8f21008 100644
--- a/ShootPlane/src/com/beancore/util/FileUtil.java
+++ b/ShootPlane/src/com/beancore/util/FileUtil.java
@@ -1,51 +1,51 @@
package com.beancore.util;
import java.io.BufferedRea... | true | true | public static String readFileToString(String filePath) throws IOException {
StringBuilder sb = new StringBuilder();
File file = new File(filePath);
BufferedReader br = new BufferedReader(new FileReader(file));
String line = null;
while ((line = br.readLine()) != null) {
sb.append(line).append("\r\n");
}
... | public static String readFileToString(String filePath) throws IOException {
StringBuilder sb = new StringBuilder();
File file = new File(filePath);
BufferedReader br = new BufferedReader(new FileReader(file));
String line = null;
while ((line = br.readLine()) != null) {
sb.append(new String(line.getBytes(... |
diff --git a/src/interactiveSprites/Spring_IS.java b/src/interactiveSprites/Spring_IS.java
index 79ee4f7..b5945d4 100644
--- a/src/interactiveSprites/Spring_IS.java
+++ b/src/interactiveSprites/Spring_IS.java
@@ -1,125 +1,125 @@
package interactiveSprites;
import game.Platformer;
import interactiveSprites.interact... | true | true | public Spring_IS() {
myType = "spring";
setStateManager(new StateManager(((Sprite)this), new StationaryState(this)));
//myGame.INTERACTIVE_SPRITES.add(this);
StateTransition collide = new ChangeStateTransition(getStateManager(), "ISCollision", new TouchingState((this)));
collide.activate();
StateT... | public Spring_IS() {
myType = "spring";
setStateManager(new StateManager(((GeneralSprite)this), new StationaryState(this)));
//myGame.INTERACTIVE_SPRITES.add(this);
StateTransition collide = new ChangeStateTransition(getStateManager(), "ISCollision", new TouchingState((this)));
collide.activate();
... |
diff --git a/components/bio-formats/src/loci/formats/in/SlidebookReader.java b/components/bio-formats/src/loci/formats/in/SlidebookReader.java
index d9a52c33d..d8f6cb4de 100644
--- a/components/bio-formats/src/loci/formats/in/SlidebookReader.java
+++ b/components/bio-formats/src/loci/formats/in/SlidebookReader.java
@@ ... | true | true | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
in = new RandomAccessInputStream(id);
isSpool = checkSuffix(id, "spl");
if (isSpool) {
metadataInPlanes = new Hashtable<Integer, Integer>();
}
LOGGER.info("Finding offsets to pixel data");
... | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
in = new RandomAccessInputStream(id);
isSpool = checkSuffix(id, "spl");
if (isSpool) {
metadataInPlanes = new Hashtable<Integer, Integer>();
}
LOGGER.info("Finding offsets to pixel data");
... |
diff --git a/trunk/org/xbill/DNS/ExtendedResolver.java b/trunk/org/xbill/DNS/ExtendedResolver.java
index aa76d2f..0927453 100644
--- a/trunk/org/xbill/DNS/ExtendedResolver.java
+++ b/trunk/org/xbill/DNS/ExtendedResolver.java
@@ -1,337 +1,339 @@
// Copyright (c) 1999 Brian Wellington (bwelling@xbill.org)
// Portions C... | false | true | public Message
send(Message query) throws IOException {
int q, r;
Message best = null;
IOException bestException = null;
boolean [] invalid = new boolean[resolvers.size()];
byte [] sent = new byte[resolvers.size()];
Vector queue = new Vector();
Hashtable idMap = new Hashtable();
Receiver receiver = new Receiver... | public Message
send(Message query) throws IOException {
int q, r;
Message best = null;
IOException bestException = null;
boolean [] invalid = new boolean[resolvers.size()];
byte [] sent = new byte[resolvers.size()];
byte [] recvd = new byte[resolvers.size()];
Vector queue = new Vector();
Hashtable idMap = new H... |
diff --git a/src/test/selenium/nl/surfnet/bod/pages/AbstractListPage.java b/src/test/selenium/nl/surfnet/bod/pages/AbstractListPage.java
index 4b3022cbc..9be82eee9 100644
--- a/src/test/selenium/nl/surfnet/bod/pages/AbstractListPage.java
+++ b/src/test/selenium/nl/surfnet/bod/pages/AbstractListPage.java
@@ -1,286 +1,28... | false | true | private void sortOn(String columnName, boolean reverse) {
if (StringUtils.hasText(columnName)) {
WebElement sortButton = null;
String sortButtonSelector = "*[href$=\"" + "sort=" + columnName;
try {
sortButton = tableHeader.findElement(By.cssSelector(sortButtonSelector + "\"]"));
... | private void sortOn(String columnName, boolean reverse) {
if (StringUtils.hasText(columnName)) {
WebElement sortButton = null;
String sortButtonSelector = "*[href$=\"" + "sort=" + columnName;
try {
sortButton = tableHeader.findElement(By.cssSelector(sortButtonSelector + "\"]"));
... |
diff --git a/src/ASSEMBLER/Runner.java b/src/ASSEMBLER/Runner.java
index 4199cc6..03d1f4f 100644
--- a/src/ASSEMBLER/Runner.java
+++ b/src/ASSEMBLER/Runner.java
@@ -1,605 +1,604 @@
package ASSEMBLER;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
impor... | true | true | public int setupIDs(){
try {
// all grid data ids
error = rungrd.allgridids(md.getAct_gridno(),
md.getAct_drainno(),
md.getAct_soilno(),
md.getAct_gfireno());
if (error != 0) {
System.out.println("problem in read... | public int setupIDs(){
try {
// all grid data ids
error = rungrd.allgridids(md.getAct_gridno(),
md.getAct_drainno(),
md.getAct_soilno(),
md.getAct_gfireno());
if (error != 0) {
System.out.println("problem in read... |
diff --git a/src/main/java/com/censoredsoftware/demigods/engine/listener/FlagListener.java b/src/main/java/com/censoredsoftware/demigods/engine/listener/FlagListener.java
index 34d0ff9b..90297c68 100644
--- a/src/main/java/com/censoredsoftware/demigods/engine/listener/FlagListener.java
+++ b/src/main/java/com/censoreds... | true | true | public void onEntityExplode(final EntityExplodeEvent event)
{
final Structure.Save save = Structures.getInRadiusWithFlag(event.getLocation(), Structure.Flag.PROTECTED_BLOCKS, true);
if(save == null) return;
Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Demigods.plugin, new Runnable()
{
@Overri... | public void onEntityExplode(final EntityExplodeEvent event)
{
final Structure.Save save = Structures.getInRadiusWithFlag(event.getLocation(), Structure.Flag.PROTECTED_BLOCKS, true);
if(save == null) return;
Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(Demigods.plugin, new Runnable()
{
@Overri... |
diff --git a/src/com/inc/im/serptracker/util/Parser.java b/src/com/inc/im/serptracker/util/Parser.java
index 2bec5b4..dcccd90 100644
--- a/src/com/inc/im/serptracker/util/Parser.java
+++ b/src/com/inc/im/serptracker/util/Parser.java
@@ -1,208 +1,213 @@
package com.inc.im.serptracker.util;
import java.net.MalformedU... | true | true | public static Keyword getRanking(Keyword keyword, Elements allResults,
String WEBSITE) {
if (keyword == null || allResults == null)
return null;
int numOfResults = allResults.size();
// DEBUG
// for (int i = 0; i < numOfResults; i++) {
// Element singleResult = allResults.get(i);
// Log.d("MY", i ... | public static Keyword getRanking(Keyword keyword, Elements allResults,
String WEBSITE) {
if (keyword == null || allResults == null)
return null;
int numOfResults = allResults.size();
// DEBUG
// for (int i = 0; i < numOfResults; i++) {
// Element singleResult = allResults.get(i);
// Log.d("MY", i ... |
diff --git a/g3/TeamMegamindMapper.java b/g3/TeamMegamindMapper.java
index 8939705..8166d07 100644
--- a/g3/TeamMegamindMapper.java
+++ b/g3/TeamMegamindMapper.java
@@ -1,97 +1,100 @@
package mapthatset.g3;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
import mapthatset.sim.*... | true | true | private ArrayList< Integer > getNewMapping() {
ArrayList< Integer > alNewMapping = new ArrayList< Integer >();
Random rdmGenerator = new Random();
int randomChoice = rdmGenerator.nextInt(3); //creates a random choice of 0, 1 or 2
//int randomChoice = 2;
switch(randomChoice) {
case 0:
System.... | private ArrayList< Integer > getNewMapping() {
ArrayList< Integer > alNewMapping = new ArrayList< Integer >();
Random rdmGenerator = new Random();
int randomChoice = rdmGenerator.nextInt(3); //creates a random choice of 0, 1 or 2
//int randomChoice = 2;
switch(randomChoice) {
case 0:
System.... |
diff --git a/java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java b/java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java
index ad9b617ac..0ff6c662c 100644
--- a/java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java
+++ b/java/engine/org/apache/derby/impl/servic... | false | true | private synchronized void findServer() {
//DERBY-3745 We want to avoid the timer leaking class loaders, so we make
// sure the context class loader is null before we start the MBean
// server which will create threads that we want to have a null context
// class loader
... | private synchronized void findServer() {
//DERBY-3745 We want to avoid the timer leaking class loaders, so we make
// sure the context class loader is null before we start the MBean
// server which will create threads that we want to have a null context
// class loader
... |
diff --git a/design-patterns/src/test/java/DummyTest.java b/design-patterns/src/test/java/DummyTest.java
index de8d4f0..6d51682 100644
--- a/design-patterns/src/test/java/DummyTest.java
+++ b/design-patterns/src/test/java/DummyTest.java
@@ -1,14 +1,14 @@
import org.junit.Test;
import static org.hamcrest.core.Is.is;... | true | true | public void testName() throws Exception {
assertThat(true, is(false));
}
| public void testName() throws Exception {
assertThat(true, is(true));
}
|
diff --git a/platform/com.subgraph.vega.http.proxy/src/com/subgraph/vega/internal/http/proxy/ProxyRequestHandler.java b/platform/com.subgraph.vega.http.proxy/src/com/subgraph/vega/internal/http/proxy/ProxyRequestHandler.java
index 1b0e1bf3..c554970f 100644
--- a/platform/com.subgraph.vega.http.proxy/src/com/subgraph/ve... | true | true | public void handle(HttpRequest request, HttpResponse response, HttpContext context) throws HttpException, IOException {
final ProxyTransaction transaction = new ProxyTransaction(requestEngine, context);
context.setAttribute(HttpProxy.PROXY_HTTP_TRANSACTION, transaction);
try {
if (handleRequest(transaction, ... | public void handle(HttpRequest request, HttpResponse response, HttpContext context) throws HttpException, IOException {
final ProxyTransaction transaction = new ProxyTransaction(requestEngine, context);
context.setAttribute(HttpProxy.PROXY_HTTP_TRANSACTION, transaction);
try {
if (handleRequest(transaction, ... |
diff --git a/src/java/com/idega/presentation/HtmlPage.java b/src/java/com/idega/presentation/HtmlPage.java
index 81e5db944..e89da2083 100644
--- a/src/java/com/idega/presentation/HtmlPage.java
+++ b/src/java/com/idega/presentation/HtmlPage.java
@@ -1,404 +1,407 @@
/**
* Copyright (C) 2004 idega Software
*
*/
... | false | true | public void print(IWContext ctx) throws IOException {
//ResponseWriter out = ctx.getResponseWriter();
//RenderUtils.ensureAllTagsFinished();
PrintWriter out = ctx.getWriter();
String template = getHtml();
if(template != null) {
//Process the HEAD first:
String[] headOpensSplit = template.split("<hea... | public void print(IWContext ctx) throws IOException {
//ResponseWriter out = ctx.getResponseWriter();
//RenderUtils.ensureAllTagsFinished();
PrintWriter out = ctx.getWriter();
String template = getHtml();
if(template != null) {
//Process the HEAD first:
String[] headOpensSplit = template.split("<hea... |
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java
index 69d1ef8bd..aaf5cb80f 100644
--- a/bundles/org.eclipse.wst.html.core/src/org/ecl... | true | true | public void validate(IndexedRegion node) {
Element target = (Element) node;
if (CMUtil.isForeign(target))
return;
CMElementDeclaration edec = CMUtil.getDeclaration(target);
if (edec == null)
return;
CMNamedNodeMap declarations = edec.getAttributes();
List modelQueryNodes = null;
NamedNodeMap attrs... | public void validate(IndexedRegion node) {
Element target = (Element) node;
if (CMUtil.isForeign(target))
return;
CMElementDeclaration edec = CMUtil.getDeclaration(target);
if (edec == null)
return;
CMNamedNodeMap declarations = edec.getAttributes();
List modelQueryNodes = null;
NamedNodeMap attrs... |
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
index dc9cca12..4022e040 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioListActivity.ja... | true | true | private void updateList() {
String name = getIntent().getStringExtra(EXTRA_NAME);
String name2 = getIntent().getStringExtra(EXTRA_NAME2);
int mode = getIntent().getIntExtra(EXTRA_MODE, 0);
List<Media> audioList;
List<String> itemList;
String currentItem = null;
... | private void updateList() {
String name = getIntent().getStringExtra(EXTRA_NAME);
String name2 = getIntent().getStringExtra(EXTRA_NAME2);
int mode = getIntent().getIntExtra(EXTRA_MODE, 0);
List<Media> audioList;
List<String> itemList;
String currentItem = null;
... |
diff --git a/java-binding/src/org/editorconfig/core/EditorConfig.java b/java-binding/src/org/editorconfig/core/EditorConfig.java
index 6d73e14..81a28fd 100644
--- a/java-binding/src/org/editorconfig/core/EditorConfig.java
+++ b/java-binding/src/org/editorconfig/core/EditorConfig.java
@@ -1,156 +1,156 @@
package org.ed... | true | true | public List<OutPair> getProperties(String filename)
throws EditorConfigException, ScriptException {
jythonEngine.eval("try:\n" +
"\toptions = get_properties('" + filename + "')\n" +
"except exceptions.ParsingError:\n" +
"\te = 'ParsingError'\n" +
... | public List<OutPair> getProperties(String filename)
throws EditorConfigException, ScriptException {
jythonEngine.eval("try:\n" +
"\toptions = get_properties(r\"\"\"" + filename + "\"\"\")\n" +
"except exceptions.ParsingError:\n" +
"\te = 'ParsingE... |
diff --git a/sources/net.sf.j2s.java.junit/src/junit/textui/ResultPrinter.java b/sources/net.sf.j2s.java.junit/src/junit/textui/ResultPrinter.java
index e926603..15d9479 100644
--- a/sources/net.sf.j2s.java.junit/src/junit/textui/ResultPrinter.java
+++ b/sources/net.sf.j2s.java.junit/src/junit/textui/ResultPrinter.java... | true | true | protected void printFooter(TestResult result) {
if (result.wasSuccessful()) {
/**
* @j2sNative
* console.log("\nOK" + " (" +
* result.runCount() + " test" + (result.runCount() == 1 ? "": "s") +
* ... | protected void printFooter(TestResult result) {
if (result.wasSuccessful()) {
/**
* @j2sNative
* console.log("\nOK" + " (" +
* result.runCount() + " test" + (result.runCount() == 1 ? "": "s") +
* ... |
diff --git a/src/main/java/WeatherFetcher.java b/src/main/java/WeatherFetcher.java
index fe48797..16d8ad2 100644
--- a/src/main/java/WeatherFetcher.java
+++ b/src/main/java/WeatherFetcher.java
@@ -1,96 +1,96 @@
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
i... | true | true | private void parseMeasurement() {
Measurement m = new Measurement();
m.setDataID(-999);
m.setStationID(-999);
m.setTime(new DateTime(DateTimeZone.forTimeZone(TimeZone.getTimeZone("GMT+1"))));
Double avgWindSpeed = parseWindSpeedDouble("Average Wind Speed", 1);
Double windSpeed = parseWindSpeedDouble... | private void parseMeasurement() {
Measurement m = new Measurement();
m.setDataID(-999);
m.setStationID(-999);
m.setTime(new DateTime(DateTimeZone.forTimeZone(TimeZone.getTimeZone("Europe/Oslo"))));
Double avgWindSpeed = parseWindSpeedDouble("Average Wind Speed", 1);
Double windSpeed = parseWindSpeed... |
diff --git a/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/InlineContainerArea.java b/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/InlineContainerArea.java
index b982152ee..93f597cfe 100644
--- a/plugins/org.eclipse.birt.report... | false | true | protected void close( boolean isLastLine ) throws BirtException
{
// TODO support specified height/width/alignment
// int width = currentIP + getOffsetX( )
// + localProperties.getPaddingRight( )
// + boxStyle.getRightBorderWidth( );
int contentWidth = currentIP - localProperties.getPaddingLeft( )
- bo... | protected void close( boolean isLastLine ) throws BirtException
{
// TODO support specified height/width/alignment
int contentWidth = currentIP;
if ( lineCount == 1 )
{
if ( specifiedWidth > contentWidth )
{
contentWidth = specifiedWidth;
}
}
setContentWidth( contentWidth );
int height = 0;... |
diff --git a/SeriesGuide/src/main/java/com/battlelancer/seriesguide/util/SimpleCrypto.java b/SeriesGuide/src/main/java/com/battlelancer/seriesguide/util/SimpleCrypto.java
index 932808217..eee13a64c 100644
--- a/SeriesGuide/src/main/java/com/battlelancer/seriesguide/util/SimpleCrypto.java
+++ b/SeriesGuide/src/main/java... | true | true | private static SecretKey getKey(Context context) throws IOException,
GeneralSecurityException {
// ensure seed/password
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context
.getApplicationContext());
String seed = prefs.getString(SeriesG... | private static SecretKey getKey(Context context) throws IOException,
GeneralSecurityException {
// ensure seed/password
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context
.getApplicationContext());
String seed = prefs.getString(SeriesG... |
diff --git a/h2/src/test/org/h2/test/db/TestOutOfMemory.java b/h2/src/test/org/h2/test/db/TestOutOfMemory.java
index 992085f7e..4b16d7b78 100644
--- a/h2/src/test/org/h2/test/db/TestOutOfMemory.java
+++ b/h2/src/test/org/h2/test/db/TestOutOfMemory.java
@@ -1,82 +1,83 @@
/*
* Copyright 2004-2013 H2 Group. Multiple-Li... | true | true | public void test() throws SQLException {
if (config.memory || config.mvcc) {
return;
}
for (int i = 0; i < 5; i++) {
System.gc();
}
deleteDb("outOfMemory");
Connection conn = getConnection("outOfMemory;MAX_OPERATION_MEMORY=1000000");
St... | public void test() throws SQLException {
if (config.memory || config.mvcc) {
return;
}
for (int i = 0; i < 5; i++) {
System.gc();
}
deleteDb("outOfMemory");
Connection conn = getConnection("outOfMemory;MAX_OPERATION_MEMORY=1000000");
St... |
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java
index 3d26a98b56..47efcf339a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.j... | true | true | protected BlockReader getBlockReader(InetSocketAddress dnAddr,
DatanodeInfo chosenNode,
String file,
ExtendedBlock block,
Token<BlockTokenIdentifier> blockToken,
... | protected BlockReader getBlockReader(InetSocketAddress dnAddr,
DatanodeInfo chosenNode,
String file,
ExtendedBlock block,
Token<BlockTokenIdentifier> blockToken,
... |
diff --git a/WEB-INF/src/org/cdlib/xtf/textIndexer/AccentFoldingFilter.java b/WEB-INF/src/org/cdlib/xtf/textIndexer/AccentFoldingFilter.java
index e8fa6aae..d055bbdf 100644
--- a/WEB-INF/src/org/cdlib/xtf/textIndexer/AccentFoldingFilter.java
+++ b/WEB-INF/src/org/cdlib/xtf/textIndexer/AccentFoldingFilter.java
@@ -1,100... | false | true | public Token next()
throws IOException
{
while (true)
{
// Get the next token. If we're at the end of the stream, get out.
Token t = input.next();
if (t == null)
return t;
// Does the word have any accented chars? If not, return it unchanged.
String term = t.ter... | public Token next()
throws IOException
{
int bumpAccum = 0;
while (true)
{
// Get the next token. If we're at the end of the stream, get out.
Token t = input.next();
if (t == null)
return t;
// Does the word have any accented chars? If not, return it unchanged.
... |
diff --git a/src/org/pentaho/agilebi/spoon/modeler/SpoonModelerController.java b/src/org/pentaho/agilebi/spoon/modeler/SpoonModelerController.java
index 5f68efa..ba0fda8 100644
--- a/src/org/pentaho/agilebi/spoon/modeler/SpoonModelerController.java
+++ b/src/org/pentaho/agilebi/spoon/modeler/SpoonModelerController.java... | false | true | public void editDataSource() {
try {
Spoon theSpoon = Spoon.getInstance();
Repository theRepository = theSpoon.getRepository();
List<DatabaseMeta> theDatabases = new ArrayList<DatabaseMeta>();
EngineMetaInterface theMeta = null;
HasDatabasesInterface theDatabasesInterface = null;
... | public void editDataSource() {
try {
Spoon theSpoon = Spoon.getInstance();
Repository theRepository = theSpoon.getRepository();
List<DatabaseMeta> theDatabases = new ArrayList<DatabaseMeta>();
EngineMetaInterface theMeta = null;
HasDatabasesInterface theDatabasesInterface = null;
... |
diff --git a/src/main/java/org/thymeleaf/itutorial/TemplateExecutor.java b/src/main/java/org/thymeleaf/itutorial/TemplateExecutor.java
index beae169..e301488 100644
--- a/src/main/java/org/thymeleaf/itutorial/TemplateExecutor.java
+++ b/src/main/java/org/thymeleaf/itutorial/TemplateExecutor.java
@@ -1,64 +1,64 @@
/*
... | true | true | public TemplateExecutor(
final HttpServletRequest request, final HttpServletResponse response,
final ServletContext servletContext, final MessageSource messageSource, final Locale locale) {
WebContext context = new WebContext(request, response, servletContext);
RequestContex... | public TemplateExecutor(
final HttpServletRequest request, final HttpServletResponse response,
final ServletContext servletContext, final MessageSource messageSource, final Locale locale) {
WebContext context = new WebContext(request, response, servletContext);
RequestContex... |
diff --git a/src/groupone/HomePage.java b/src/groupone/HomePage.java
index 99c38b4..fd8321f 100644
--- a/src/groupone/HomePage.java
+++ b/src/groupone/HomePage.java
@@ -1,61 +1,64 @@
package groupone;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
... | true | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
HttpSession userSession = request.getSession(false);
email = userSession.getAttribute("userEmail").toString();
String name = request.getParameter("button"... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
HttpSession userSession = request.getSession(false);
email = userSession.getAttribute("userEmail").toString();
String name = request.getParameter("button"... |
diff --git a/src/java/com/stackframe/sarariman/xmpp/XMPPServerImpl.java b/src/java/com/stackframe/sarariman/xmpp/XMPPServerImpl.java
index dfc3d8c..ec1de96 100644
--- a/src/java/com/stackframe/sarariman/xmpp/XMPPServerImpl.java
+++ b/src/java/com/stackframe/sarariman/xmpp/XMPPServerImpl.java
@@ -1,301 +1,301 @@
/*
*... | true | true | protected void startUp() throws Exception {
ConsoleAppender consoleAppender = new ConsoleAppender(new PatternLayout());
Logger.getRootLogger().addAppender(consoleAppender);
final Authenticator authenticator = new AuthenticatorImpl(directory);
StorageProviderRegistry providerRegistry ... | protected void startUp() throws Exception {
ConsoleAppender consoleAppender = new ConsoleAppender(new PatternLayout());
Logger.getRootLogger().addAppender(consoleAppender);
final Authenticator authenticator = new AuthenticatorImpl(directory);
StorageProviderRegistry providerRegistry ... |
diff --git a/SoundStream/src/com/thelastcrusade/soundstream/components/AboutFragment.java b/SoundStream/src/com/thelastcrusade/soundstream/components/AboutFragment.java
index 037d8c0..1e3578b 100644
--- a/SoundStream/src/com/thelastcrusade/soundstream/components/AboutFragment.java
+++ b/SoundStream/src/com/thelastcrusa... | false | true | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.fragment_about, container, false);
final TextView
repoLinkText = (TextView)v.findViewById(R.id.repo_link),
SlidingMenuLinkTex... | public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.fragment_about, container, false);
final TextView
repoLinkText = (TextView)v.findViewById(R.id.repo_link),
SlidingMenuLinkTex... |
diff --git a/Logbook.java b/Logbook.java
index 88454ae..d37f779 100644
--- a/Logbook.java
+++ b/Logbook.java
@@ -1,964 +1,965 @@
package HAS_Tools;
// Kindlet imports
import com.amazon.kindle.kindlet.AbstractKindlet;
import com.amazon.kindle.kindlet.KindletContext;
import com.amazon.kindle.kindlet.ui.KindletUIReso... | true | true | public void create(KindletContext context) {
this.ctx = context;
this.root = ctx.getRootContainer();
screenManager = KRepaintManager.getInstance();
get_date();
String[] crew_list = load_list(dir.concat("config/crew.csv"));
Flight.init(crew_list);
fmodel = new FlightModel(filename, save_date);
try {
... | public void create(KindletContext context) {
this.ctx = context;
this.root = ctx.getRootContainer();
screenManager = KRepaintManager.getInstance();
get_date();
String[] crew_list = load_list(dir.concat("config/crew.csv"));
Flight.init(crew_list);
fmodel = new FlightModel(filename, save_date);
try {
... |
diff --git a/src/com/heralli/ekonsehan/MultipleChoiceQuestionView.java b/src/com/heralli/ekonsehan/MultipleChoiceQuestionView.java
index 46ecd8b..b20065f 100644
--- a/src/com/heralli/ekonsehan/MultipleChoiceQuestionView.java
+++ b/src/com/heralli/ekonsehan/MultipleChoiceQuestionView.java
@@ -1,53 +1,55 @@
package com.... | true | true | public MultipleChoiceQuestionView(MultipleChoiceQuestion q) {
setBackground(Color.CYAN);
this.q = q;
setLayout(null);
JTextPane txtpnQuestiontext = new JTextPane();
txtpnQuestiontext.setFont(new Font("Arial", Font.PLAIN, 46));
txtpnQuestiontext.setText("questionText");
txtpnQuestiontext.setBounds(30, ... | public MultipleChoiceQuestionView(MultipleChoiceQuestion q) {
setBackground(Color.CYAN);
this.q = q;
setLayout(null);
JTextPane txtpnQuestiontext = new JTextPane();
txtpnQuestiontext.setFont(new Font("Arial", Font.PLAIN, 46));
txtpnQuestiontext.setText("questionText");
txtpnQuestiontext.setBounds(30, ... |
diff --git a/modules/extension/app-schema/app-schema/src/main/java/org/geotools/jdbc/JoiningJDBCFeatureSource.java b/modules/extension/app-schema/app-schema/src/main/java/org/geotools/jdbc/JoiningJDBCFeatureSource.java
index 1b10c2c3e8..6e01b678a6 100644
--- a/modules/extension/app-schema/app-schema/src/main/java/org/g... | true | true | protected String selectSQL(SimpleFeatureType featureType, JoiningQuery query, AtomicReference<PreparedFilterToSQL> toSQLref) throws IOException, SQLException, FilterToSQLException {
// first we create from clause, for aliases
StringBuffer fromclause = new StringBuffer();
ge... | protected String selectSQL(SimpleFeatureType featureType, JoiningQuery query, AtomicReference<PreparedFilterToSQL> toSQLref) throws IOException, SQLException, FilterToSQLException {
// first we create from clause, for aliases
StringBuffer fromclause = new StringBuffer();
ge... |
diff --git a/dig.java b/dig.java
index d9e4ef8..9b31be9 100644
--- a/dig.java
+++ b/dig.java
@@ -1,176 +1,176 @@
// Copyright (c) 1999 Brian Wellington (bwelling@xbill.org)
// Portions Copyright (c) 1999 Network Associates, Inc.
import java.io.*;
import java.util.*;
import org.xbill.DNS.*;
/** @author Brian W... | true | true | public static void
main(String argv[]) throws IOException {
String server;
int arg;
Message query;
Record rec;
Resolver res = null;
if (argv.length < 1) {
usage();
}
try {
arg = 0;
if (argv[arg].startsWith("@")) {
server = argv[arg++].substring(1);
res = new SimpleResolver(server);
}
else
r... | public static void
main(String argv[]) throws IOException {
String server;
int arg;
Message query;
Record rec;
Resolver res = null;
if (argv.length < 1) {
usage();
}
try {
arg = 0;
if (argv[arg].startsWith("@")) {
server = argv[arg++].substring(1);
res = new SimpleResolver(server);
}
else
r... |
diff --git a/wings/src/org/wings/plaf/xhtml/GridLayoutCG.java b/wings/src/org/wings/plaf/xhtml/GridLayoutCG.java
index d47b3918..c9859c3a 100644
--- a/wings/src/org/wings/plaf/xhtml/GridLayoutCG.java
+++ b/wings/src/org/wings/plaf/xhtml/GridLayoutCG.java
@@ -1,135 +1,143 @@
/*
* $Id$
* (c) Copyright 2000 wingS dev... | false | true | public void write(Device d, SLayoutManager l)
throws IOException
{
SGridLayout layout = (SGridLayout)l;
SContainer container = layout.getContainer();
List components = layout.getComponents();
boolean header = layout.getHeader();
boolean relative = layout.isRelati... | public void write(Device d, SLayoutManager l)
throws IOException
{
SGridLayout layout = (SGridLayout)l;
SContainer container = layout.getContainer();
List components = layout.getComponents();
boolean header = layout.getHeader();
boolean relative = layout.isRelati... |
diff --git a/src/main/java/water/api/GBMModelView.java b/src/main/java/water/api/GBMModelView.java
index e4a73d383..cb347936d 100644
--- a/src/main/java/water/api/GBMModelView.java
+++ b/src/main/java/water/api/GBMModelView.java
@@ -1,84 +1,86 @@
package water.api;
import hex.gbm.GBM.GBMModel;
import water.*;
imp... | false | true | public static void generateHTML(GBMModel m, StringBuilder sb){
DocGen.HTML.title(sb,"GBM Model");
DocGen.HTML.section(sb,"Confusion Matrix");
// Top row of CM
if( m.cm != null ) {
DocGen.HTML.arrayHead(sb);
sb.append("<tr class='warning'>");
sb.append("<th>Actual / Predicted</th>");... | public static void generateHTML(GBMModel m, StringBuilder sb){
DocGen.HTML.title(sb,"GBM Model");
// Top row of CM
if( m.cm != null ) {
DocGen.HTML.section(sb,"Confusion Matrix");
DocGen.HTML.arrayHead(sb);
sb.append("<tr class='warning'>");
sb.append("<th>Actual / Predicted</th>"... |
diff --git a/tests/frontend/org/voltdb/regressionsuites/MultiConfigSuiteBuilder.java b/tests/frontend/org/voltdb/regressionsuites/MultiConfigSuiteBuilder.java
index b30d18c6e..cc3414143 100644
--- a/tests/frontend/org/voltdb/regressionsuites/MultiConfigSuiteBuilder.java
+++ b/tests/frontend/org/voltdb/regressionsuites/... | false | true | public boolean addServerConfig(VoltServerConfig config) {
final String enabled_configs = System.getenv().get("VOLT_REGRESSIONS");
System.out.println("VOLT REGRESSIONS ENABLED: " + enabled_configs);
if (!(enabled_configs == null || enabled_configs.contentEquals("all")))
{
... | public boolean addServerConfig(VoltServerConfig config) {
final String enabled_configs = System.getenv().get("VOLT_REGRESSIONS");
System.out.println("VOLT REGRESSIONS ENABLED: " + enabled_configs);
if (!(enabled_configs == null || enabled_configs.contentEquals("all")))
{
... |
diff --git a/docear_plugin_services/src/org/docear/plugin/services/recommendations/mode/DocearRecommendationsMapController.java b/docear_plugin_services/src/org/docear/plugin/services/recommendations/mode/DocearRecommendationsMapController.java
index b933979bd..2834a1a61 100644
--- a/docear_plugin_services/src/org/doce... | true | true | public static Collection<RecommendationEntry> getNewRecommendations(boolean userRequest) throws UnknownHostException, UnexpectedException {
String name = CommunicationsController.getController().getUserName();
if (!CoreUtils.isEmpty(name)) {
MultivaluedMap<String,String> params = new StringKeyStringValueIgnor... | public static Collection<RecommendationEntry> getNewRecommendations(boolean userRequest) throws UnknownHostException, UnexpectedException {
String name = CommunicationsController.getController().getUserName();
if (!CoreUtils.isEmpty(name)) {
MultivaluedMap<String,String> params = new StringKeyStringValueIgnor... |
diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Extensions.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Extensions.java
index 5c5609750..0637717ed 100644
--- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/eng... | true | true | public static Version GetFriendlyVersion(Version source)
{
if (source != null)
{
int major = source.getMajor();
int minor = source.getMinor();
if (major == 4 && minor == 4)
{
major = 2;
minor = 1;
}
... | public static Version GetFriendlyVersion(Version source)
{
if (source != null)
{
int major = source.getMajor();
int minor = source.getMinor();
if (major == 4 && minor == 4)
{
major = 2;
minor = 1;
}
... |
diff --git a/modules/tools/phone/src/classes/org/jdesktop/wonderland/modules/phone/client/cell/PhoneMessageHandler.java b/modules/tools/phone/src/classes/org/jdesktop/wonderland/modules/phone/client/cell/PhoneMessageHandler.java
index 10da4a694..c4d7baa0f 100644
--- a/modules/tools/phone/src/classes/org/jdesktop/wonder... | false | true | public void processMessage(final PhoneResponseMessage message) {
if (message instanceof CallEndedResponseMessage) {
final CallEndedResponseMessage msg = (CallEndedResponseMessage) message;
if (msg.wasSuccessful() == false) {
logger.warning("Failed END_CALL");
return;
}
... | public void processMessage(final PhoneResponseMessage message) {
if (message instanceof CallEndedResponseMessage) {
final CallEndedResponseMessage msg = (CallEndedResponseMessage) message;
if (msg.wasSuccessful() == false) {
logger.warning("Failed END_CALL");
return;
}
... |
diff --git a/src/java/fedora/server/resourceIndex/ResourceIndexModule.java b/src/java/fedora/server/resourceIndex/ResourceIndexModule.java
index 188d410ac..facc7a584 100755
--- a/src/java/fedora/server/resourceIndex/ResourceIndexModule.java
+++ b/src/java/fedora/server/resourceIndex/ResourceIndexModule.java
@@ -1,271 +... | true | true | public void postInitModule() throws ModuleInitializationException {
logConfig("ResourceIndexModule: loading...");
// Parameter validation
if (getParameter("level")==null) {
throw new ModuleInitializationException(
"level parameter must be specified.", getRole());
} else {
... | public void postInitModule() throws ModuleInitializationException {
logConfig("ResourceIndexModule: loading...");
// Parameter validation
if (getParameter("level")==null) {
throw new ModuleInitializationException(
"level parameter must be specified.", getRole());
} else {
... |
diff --git a/freeplane/src/org/freeplane/view/swing/map/cloud/ConvexHull.java b/freeplane/src/org/freeplane/view/swing/map/cloud/ConvexHull.java
index 56910a0b6..a5fab0bdd 100644
--- a/freeplane/src/org/freeplane/view/swing/map/cloud/ConvexHull.java
+++ b/freeplane/src/org/freeplane/view/swing/map/cloud/ConvexHull.java... | false | true | Vector<Point> doGraham(final Vector<Point> p) {
int i;
int min, M;
Point t;
min = 0;
for (i = 1; i < p.size(); ++i) {
if (((Point) p.get(i)).y < ((Point) p.get(min)).y) {
min = i;
}
}
for (i = 0; i < p.size(); ++i) {
if ((((Point) p.get(i)).y == ((Point) p.get(min)).y) && (((Point) p.get(i))... | Vector<Point> doGraham(final Vector<Point> p) {
int i;
int min, m;
Point t;
min = 0;
for (i = 1; i < p.size(); ++i) {
if (((Point) p.get(i)).y < ((Point) p.get(min)).y) {
min = i;
}
}
for (i = 0; i < p.size(); ++i) {
if ((((Point) p.get(i)).y == ((Point) p.get(min)).y) && (((Point) p.get(i))... |
diff --git a/Nolotiro/src/main/java/org/alabs/nolotiro/SettingsActivity.java b/Nolotiro/src/main/java/org/alabs/nolotiro/SettingsActivity.java
index 8c02cd9..6c29902 100644
--- a/Nolotiro/src/main/java/org/alabs/nolotiro/SettingsActivity.java
+++ b/Nolotiro/src/main/java/org/alabs/nolotiro/SettingsActivity.java
@@ -1,2... | true | true | private void setupSimplePreferencesScreen() {
if (!isSimplePreferences(this)) {
return;
}
// In the simplified UI, fragments are not used at all and we instead
// use the older PreferenceActivity APIs.
// Add 'general' preferences.
addPreferencesFromReso... | private void setupSimplePreferencesScreen() {
if (!isSimplePreferences(this)) {
return;
}
// In the simplified UI, fragments are not used at all and we instead
// use the older PreferenceActivity APIs.
// Add 'general' preferences.
addPreferencesFromReso... |
diff --git a/src/com/kamosoft/happycontacts/facebook/SocialUserArrayAdapter.java b/src/com/kamosoft/happycontacts/facebook/SocialUserArrayAdapter.java
index 3bfa3f0..7720af8 100755
--- a/src/com/kamosoft/happycontacts/facebook/SocialUserArrayAdapter.java
+++ b/src/com/kamosoft/happycontacts/facebook/SocialUserArrayAdap... | true | true | public View getView( int position, View convertView, ViewGroup parent )
{
View view = convertView;
if ( view == null )
{
view = mInflater.inflate( R.layout.socialnetworkuser, null );
}
SocialNetworkUser user = getItem( position );
if ( user != null )
... | public View getView( int position, View convertView, ViewGroup parent )
{
View view = convertView;
if ( view == null )
{
view = mInflater.inflate( R.layout.socialnetworkuser, null );
}
SocialNetworkUser user = getItem( position );
if ( user != null )
... |
diff --git a/src/com/github/alexesprit/noisefmtor/adapter/FavouritesAdapter.java b/src/com/github/alexesprit/noisefmtor/adapter/FavouritesAdapter.java
index cce957b..1faa79d 100644
--- a/src/com/github/alexesprit/noisefmtor/adapter/FavouritesAdapter.java
+++ b/src/com/github/alexesprit/noisefmtor/adapter/FavouritesAdap... | true | true | public void bindView(View view, Context context, Cursor cursor) {
TextView titleView = (TextView)view.findViewById(R.id.track_view_title);
TextView artistView = (TextView)view.findViewById(R.id.track_view_artist);
artistView.setText(cursor.getString(cursor.getColumnIndex(FavouritesDatabase.C... | public void bindView(View view, Context context, Cursor cursor) {
TextView titleView = (TextView)view.findViewById(R.id.track_view_title);
TextView artistView = (TextView)view.findViewById(R.id.track_view_artist);
artistView.setText(cursor.getString(cursor.getColumnIndex(FavouritesDatabase.C... |
diff --git a/javafx.project/src/org/netbeans/modules/javafx/project/ui/customizer/CustomizerRun.java b/javafx.project/src/org/netbeans/modules/javafx/project/ui/customizer/CustomizerRun.java
index 83e2bb76..bff5d7bf 100644
--- a/javafx.project/src/org/netbeans/modules/javafx/project/ui/customizer/CustomizerRun.java
+++... | true | true | private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
buttonGroup1 = new javax.swing.ButtonGroup();
configSep = new javax.swing.JSeparator();
configPanel = new javax.swing.JPanel();
configLabel = new javax.swing.JLabel();
configCombo = new j... | private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
buttonGroup1 = new javax.swing.ButtonGroup();
configSep = new javax.swing.JSeparator();
configPanel = new javax.swing.JPanel();
configLabel = new javax.swing.JLabel();
configCombo = new j... |
diff --git a/src/com/example/droidbox/LoginActivity.java b/src/com/example/droidbox/LoginActivity.java
index de7db76..2b091b1 100755
--- a/src/com/example/droidbox/LoginActivity.java
+++ b/src/com/example/droidbox/LoginActivity.java
@@ -1,84 +1,84 @@
package com.example.droidbox;
import java.util.ArrayList;
import... | false | true | public void Authenticate(View view)
{
EditText pass = (EditText) findViewById(R.id.editText2);//getting the password
String tablePassword = pass.getText().toString();
EditText num = (EditText) findViewById(R.id.EditText01);//getting the table number
String tableNumber = num.getTe... | public void Authenticate(View view)
{
EditText pass = (EditText) findViewById(R.id.editText2);//getting the password
String tablePassword = pass.getText().toString();
EditText num = (EditText) findViewById(R.id.editText0);//getting the table number
String tableNumber = num.getTex... |
diff --git a/WartricksProject/wartricks/src/com/wartricks/utils/MapTools.java b/WartricksProject/wartricks/src/com/wartricks/utils/MapTools.java
index 7fb89ba..45052b3 100644
--- a/WartricksProject/wartricks/src/com/wartricks/utils/MapTools.java
+++ b/WartricksProject/wartricks/src/com/wartricks/utils/MapTools.java
@@ ... | true | true | public Array<Pair> getLOSCells(int x, int y, int x0, int y0) {
final Array<Pair> highlights = new Array<Pair>();
final int[] cubeCoordsOrigin = MapTools.coordOffset2Cube(x, y);
final int[] cubeCoordsDestination = MapTools.coordOffset2Cube(x0, y0);
final int dx = cubeCoordsOrigin[0] -... | public Array<Pair> getLOSCells(int x, int y, int x0, int y0) {
final Array<Pair> highlights = new Array<Pair>();
// PROBLEM! my offset system has 0,0 on the bottom left and is flat-top
// coord2Offset gives valid results, but they don't translate well
// for example my 0,1 should be ... |
diff --git a/edu/cmu/sphinx/frontend/util/StreamCepstrumSource.java b/edu/cmu/sphinx/frontend/util/StreamCepstrumSource.java
index f48a971b..1a92010e 100644
--- a/edu/cmu/sphinx/frontend/util/StreamCepstrumSource.java
+++ b/edu/cmu/sphinx/frontend/util/StreamCepstrumSource.java
@@ -1,246 +1,250 @@
/*
* Copyright 199... | true | true | public Data getData() throws DataProcessingException {
Data data = null;
if (curPoint == -1) {
data = new DataStartSignal();
curPoint++;
} else if (curPoint == numPoints) {
if (numPoints > 0) {
firstSampleNumber =
(firstSampleNumber - frameShift + frame... | public Data getData() throws DataProcessingException {
Data data = null;
if (curPoint == -1) {
data = new DataStartSignal();
curPoint++;
} else if (curPoint == numPoints) {
if (numPoints > 0) {
firstSampleNumber =
(firstSampleNumber - frameShift + frame... |
diff --git a/topcat/src/main/uk/ac/starlink/topcat/ColumnInfoWindow.java b/topcat/src/main/uk/ac/starlink/topcat/ColumnInfoWindow.java
index 4013f24d4..77b3e48ea 100644
--- a/topcat/src/main/uk/ac/starlink/topcat/ColumnInfoWindow.java
+++ b/topcat/src/main/uk/ac/starlink/topcat/ColumnInfoWindow.java
@@ -1,852 +1,857 @@... | true | true | public ColumnInfoWindow( final TopcatModel tcModel, Component parent ) {
super( tcModel, "Table Columns", parent );
this.tcModel = tcModel;
this.dataModel = tcModel.getDataModel();
this.columnModel = tcModel.getColumnModel();
this.columnList = tcModel.getColumnList();
... | public ColumnInfoWindow( final TopcatModel tcModel, Component parent ) {
super( tcModel, "Table Columns", parent );
this.tcModel = tcModel;
this.dataModel = tcModel.getDataModel();
this.columnModel = tcModel.getColumnModel();
this.columnList = tcModel.getColumnList();
... |
diff --git a/src/main/java/com/udev/process/SFigureRotationManager.java b/src/main/java/com/udev/process/SFigureRotationManager.java
index 02f7196..b8a8cb5 100644
--- a/src/main/java/com/udev/process/SFigureRotationManager.java
+++ b/src/main/java/com/udev/process/SFigureRotationManager.java
@@ -1,99 +1,97 @@
package ... | true | true | public void rotate(Figure figure, Field field) {
Cell[][] data = field.getCells();
List<Cell> cells = figure.getCells();
RotationState state = figure.getRotationState();
if (state == RotationState.HORIZONTAL && isPossibleToRotateVertically(figure, field)) {
Cell firstCell... | public void rotate(Figure figure, Field field) {
Cell[][] data = field.getCells();
List<Cell> cells = figure.getCells();
RotationState state = figure.getRotationState();
if (state == RotationState.HORIZONTAL && isPossibleToRotateVertically(figure, field)) {
Cell firstCell... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.