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/compiler/src/main/java/dagger/internal/codegen/FullGraphProcessor.java b/compiler/src/main/java/dagger/internal/codegen/FullGraphProcessor.java
index 5d43ab75..1911fef6 100644
--- a/compiler/src/main/java/dagger/internal/codegen/FullGraphProcessor.java
+++ b/compiler/src/main/java/dagger/internal/codegen/F... | true | true | private Map<String, Binding<?>> processCompleteModule(TypeElement rootModule) {
Map<String, TypeElement> allModules = new LinkedHashMap<String, TypeElement>();
collectIncludesRecursively(rootModule, allModules);
Linker linker = new Linker(null, new CompileTimePlugin(processingEnv),
new ReportingE... | private Map<String, Binding<?>> processCompleteModule(TypeElement rootModule) {
Map<String, TypeElement> allModules = new LinkedHashMap<String, TypeElement>();
collectIncludesRecursively(rootModule, allModules);
Linker linker = new Linker(null, new CompileTimePlugin(processingEnv),
new ReportingE... |
diff --git a/src/org/torproject/ernie/db/ConsensusHealthChecker.java b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
index 18a8f71..a6e5889 100644
--- a/src/org/torproject/ernie/db/ConsensusHealthChecker.java
+++ b/src/org/torproject/ernie/db/ConsensusHealthChecker.java
@@ -1,858 +1,858 @@
/* Copyright 2010 ... | true | true | public void writeStatusWebsite() {
/* If we don't have any consensus, we cannot write useful consensus
* health information to the website. Do not overwrite existing page
* with a warning, because we might just not have learned about a new
* consensus in this execution. */
if (this.mostRecentC... | public void writeStatusWebsite() {
/* If we don't have any consensus, we cannot write useful consensus
* health information to the website. Do not overwrite existing page
* with a warning, because we might just not have learned about a new
* consensus in this execution. */
if (this.mostRecentC... |
diff --git a/src/main/java/de/cismet/security/exceptions/AuthenticationCanceledException.java b/src/main/java/de/cismet/security/exceptions/AuthenticationCanceledException.java
index 92e5568..65fd887 100644
--- a/src/main/java/de/cismet/security/exceptions/AuthenticationCanceledException.java
+++ b/src/main/java/de/cis... | true | true | public AuthenticationCanceledException() {
super("The HTTP authentication was canceled by user");
}
| public AuthenticationCanceledException() {
super("The HTTP authentication was canceled by user"); //NOI18N
}
|
diff --git a/test/src/main/java/org/jvnet/hudson/test/GroovyHudsonTestCase.java b/test/src/main/java/org/jvnet/hudson/test/GroovyHudsonTestCase.java
index 2953e6350..bba691f6e 100644
--- a/test/src/main/java/org/jvnet/hudson/test/GroovyHudsonTestCase.java
+++ b/test/src/main/java/org/jvnet/hudson/test/GroovyHudsonTestC... | true | true | public Object executeOnServer(final Closure c) throws Throwable {
final Throwable[] t = new Throwable[1];
final Object[] r = new Object[1];
ClosureExecuterAction cea = hudson.getExtensionList(RootAction.class).get(ClosureExecuterAction.class);
UUID id = UUID.randomUUID();
ce... | public Object executeOnServer(final Closure c) throws Throwable {
final Throwable[] t = new Throwable[1];
final Object[] r = new Object[1];
ClosureExecuterAction cea = hudson.getExtensionList(RootAction.class).get(ClosureExecuterAction.class);
UUID id = UUID.randomUUID();
ce... |
diff --git a/DND/src/edu/teco/dnd/module/ModuleMain.java b/DND/src/edu/teco/dnd/module/ModuleMain.java
index 6294f44..c66d151 100644
--- a/DND/src/edu/teco/dnd/module/ModuleMain.java
+++ b/DND/src/edu/teco/dnd/module/ModuleMain.java
@@ -1,231 +1,231 @@
package edu.teco.dnd.module;
import io.netty.bootstrap.Bootstra... | true | true | public static void main(final String[] args) {
final Set<EventLoopGroup> eventLoopGroups = new HashSet<EventLoopGroup>();
TCPConnectionManager tcpConnectionManager;
final ConfigReader moduleConfig;
InternalLoggerFactory.setDefaultFactory(new Log4j2LoggerFactory());
String configPath = DEFAULT_CONFIG_PATH;
... | public static void main(final String[] args) {
final Set<EventLoopGroup> eventLoopGroups = new HashSet<EventLoopGroup>();
TCPConnectionManager tcpConnectionManager;
final ConfigReader moduleConfig;
InternalLoggerFactory.setDefaultFactory(new Log4j2LoggerFactory());
String configPath = DEFAULT_CONFIG_PATH;
... |
diff --git a/src/com/quackware/tric/ui/MyPreferenceActivity.java b/src/com/quackware/tric/ui/MyPreferenceActivity.java
index 984b382..c01d9a4 100644
--- a/src/com/quackware/tric/ui/MyPreferenceActivity.java
+++ b/src/com/quackware/tric/ui/MyPreferenceActivity.java
@@ -1,127 +1,127 @@
package com.quackware.tric.ui;
... | true | true | private PreferenceScreen generatePreferenceScreen(Stats s)
{
CheckBoxPreference sharePreference = new CheckBoxPreference(this);
sharePreference.setKey("checkbox_share_" + s.getName());
sharePreference.setTitle(getString(R.string.pref_share_title));
sharePreference.setSummary(getString(R.string.pref_share_summ... | private PreferenceScreen generatePreferenceScreen(Stats s)
{
CheckBoxPreference sharePreference = new CheckBoxPreference(this);
sharePreference.setKey("checkbox_share_" + s.getName());
sharePreference.setTitle(getString(R.string.pref_share_title));
sharePreference.setSummary(getString(R.string.pref_share_summ... |
diff --git a/common/logisticspipes/routing/PathFinder.java b/common/logisticspipes/routing/PathFinder.java
index b0f85039..711e303a 100644
--- a/common/logisticspipes/routing/PathFinder.java
+++ b/common/logisticspipes/routing/PathFinder.java
@@ -1,176 +1,184 @@
/**
* Copyright (c) Krapht, 2011
*
* "LogisticsP... | false | true | private HashMap<RoutedPipe, ExitRoute> getConnectedRoutingPipes(TileGenericPipe startPipe, LinkedList<TileGenericPipe> visited, IPaintPath pathPainter) {
HashMap<RoutedPipe, ExitRoute> foundPipes = new HashMap<RoutedPipe, ExitRoute>();
//Break recursion if we have visited a set number of pipes, to prevent clien... | private HashMap<RoutedPipe, ExitRoute> getConnectedRoutingPipes(TileGenericPipe startPipe, LinkedList<TileGenericPipe> visited, IPaintPath pathPainter) {
HashMap<RoutedPipe, ExitRoute> foundPipes = new HashMap<RoutedPipe, ExitRoute>();
//Break recursion if we have visited a set number of pipes, to prevent clien... |
diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/exps/MatchesExpression.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/exps/MatchesExpression.java
index f0248687c..d5e717e06 100644
--- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/exps/MatchesExpression.java
+++ b/o... | true | true | public void appendTo(Select sel, ExpContext ctx, ExpState state,
SQLBuffer buf) {
BinaryOpExpState bstate = (BinaryOpExpState) state;
_val.calculateValue(sel, ctx, bstate.state1, _const, bstate.state2);
_const.calculateValue(sel, ctx, bstate.state2, _val, bstate.state1);
Co... | public void appendTo(Select sel, ExpContext ctx, ExpState state,
SQLBuffer buf) {
BinaryOpExpState bstate = (BinaryOpExpState) state;
_val.calculateValue(sel, ctx, bstate.state1, _const, bstate.state2);
_const.calculateValue(sel, ctx, bstate.state2, _val, bstate.state1);
Co... |
diff --git a/src/com/axelby/podax/Helper.java b/src/com/axelby/podax/Helper.java
index ac10956..f1c5e24 100644
--- a/src/com/axelby/podax/Helper.java
+++ b/src/com/axelby/podax/Helper.java
@@ -1,90 +1,90 @@
package com.axelby.podax;
import java.util.List;
import android.app.ActivityManager;
import android.app.A... | true | true | public static boolean ensureWifi(Context context) {
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo netInfo = cm.getActiveNetworkInfo();
if (netInfo == null || !netInfo.isConnectedOrConnecting())
return false;
// always OK if we're on wifi
... | public static boolean ensureWifi(Context context) {
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo netInfo = cm.getActiveNetworkInfo();
if (netInfo == null || !netInfo.isConnectedOrConnecting())
return false;
// always OK if we're on wifi
... |
diff --git a/src/main/java/net/tsuttsu305/tundereportmapper/TunderePortMapper.java b/src/main/java/net/tsuttsu305/tundereportmapper/TunderePortMapper.java
index 0eeac50..279a572 100644
--- a/src/main/java/net/tsuttsu305/tundereportmapper/TunderePortMapper.java
+++ b/src/main/java/net/tsuttsu305/tundereportmapper/Tunder... | false | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (command.getName().equalsIgnoreCase("port")){
if (args.length != 2){
sender.sendMessage(ChatColor.RED + command.getUsage());
return true;
}
... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (command.getName().equalsIgnoreCase("port")){
if (args.length != 1){
sender.sendMessage(ChatColor.RED + command.getUsage());
return true;
}
... |
diff --git a/plugins/org.bonitasoft.studio.migration/src/org/bonitasoft/studio/migration/custom/migration/form/FileWidgetActionMigration.java b/plugins/org.bonitasoft.studio.migration/src/org/bonitasoft/studio/migration/custom/migration/form/FileWidgetActionMigration.java
index 0c69335fb9..6189f910d2 100644
--- a/plugi... | false | true | public void migrateAfter(Model model, Metamodel metamodel)
throws MigrationException {
for(Instance fileWidget : model.getAllInstances("form.FileWidget")){
String documentName = fileWidget.get("outputDocumentName");
if(documentName != null){
Instance storageExpression = StringToExpressionConverter.creat... | public void migrateAfter(Model model, Metamodel metamodel)
throws MigrationException {
for(Instance fileWidget : model.getAllInstances("form.FileWidget")){
String documentName = fileWidget.get("outputDocumentName");
if(documentName != null){
Instance storageExpression = StringToExpressionConverter.creat... |
diff --git a/code/uci/pacman/ai/Blinky.java b/code/uci/pacman/ai/Blinky.java
index d2e26d0..15f1292 100644
--- a/code/uci/pacman/ai/Blinky.java
+++ b/code/uci/pacman/ai/Blinky.java
@@ -1,112 +1,114 @@
package code.uci.pacman.ai;
import code.uci.pacman.game.*;
import code.uci.pacman.objects.controllable.*;
/**
... | false | true | public Direction getMove() {
if ((curY > 215 && curY <= 250) && (curX >= 250 && curX <= 325)) {
this.position(this.x(), 205);
lastDirection = Direction.LEFT;
curDirection = Direction.UP;
}
if(isBeingControlled)
{
return curDirection;
}
// as of now, this ghost just tries to get to you as ... | public Direction getMove() {
int curX = this.x();
int curY = this.y();
if ((curY > 215 && curY <= 250) && (curX >= 250 && curX <= 325)) {
this.position(this.x(), 205);
lastDirection = Direction.LEFT;
curDirection = Direction.UP;
}
if(isBeingControlled)
{
return curDirection;
}
// as of now... |
diff --git a/src/friskstick/cops/commands/FriskCommand.java b/src/friskstick/cops/commands/FriskCommand.java
index 717a983..16b40f8 100644
--- a/src/friskstick/cops/commands/FriskCommand.java
+++ b/src/friskstick/cops/commands/FriskCommand.java
@@ -1,158 +1,158 @@
package friskstick.cops.commands;
import org.bukkit... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Player player = null;
if(sender instanceof Player) {
player = (Player)sender;
}
if(player == null) {
sender.sendMessage("You cannot run this command in the console!");
} else {
if(commandLa... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Player player = null;
if(sender instanceof Player) {
player = (Player)sender;
}
if(player == null) {
sender.sendMessage("You cannot run this command in the console!");
} else {
if(commandLa... |
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefUpdate.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefUpdate.java
index 394af2953..fcf38e695 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefUpdate.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefUpdate.java
@@ -1,654 +1,655 @@
/*
* Cop... | true | true | private Result updateImpl(final RevWalk walk, final Store store)
throws IOException {
RevObject newObj;
RevObject oldObj;
if (getRefDatabase().isNameConflicting(getName()))
return Result.LOCK_FAILURE;
try {
if (!tryLock(true))
return Result.LOCK_FAILURE;
if (expValue != null) {
final Objec... | private Result updateImpl(final RevWalk walk, final Store store)
throws IOException {
RevObject newObj;
RevObject oldObj;
// don't make expensive conflict check if this is an existing Ref
if (oldValue == null && getRefDatabase().isNameConflicting(getName()))
return Result.LOCK_FAILURE;
try {
if (!t... |
diff --git a/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java b/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
index f59813c1d..5b07102b3 100644
--- a/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
+++ b/activemq-web/src/main/jav... | true | true | protected void appendParametersToMessage(HttpServletRequest request, TextMessage message) throws JMSException {
Map parameterMap = request.getParameterMap();
if (parameterMap == null) {
return;
}
Map parameters = new HashMap(parameterMap);
String correlationID = a... | protected void appendParametersToMessage(HttpServletRequest request, TextMessage message) throws JMSException {
Map parameterMap = request.getParameterMap();
if (parameterMap == null) {
return;
}
Map parameters = new HashMap(parameterMap);
String correlationID = a... |
diff --git a/src/main/java/com/talis/labs/tdb/tdbloader3/tdbloader3.java b/src/main/java/com/talis/labs/tdb/tdbloader3/tdbloader3.java
index 0ff146a..bdb8167 100644
--- a/src/main/java/com/talis/labs/tdb/tdbloader3/tdbloader3.java
+++ b/src/main/java/com/talis/labs/tdb/tdbloader3/tdbloader3.java
@@ -1,271 +1,271 @@
/*... | false | true | public int run(String[] args) throws Exception {
if ( args.length != 2 ) {
System.err.printf("Usage: %s [generic options] <input> <output>\n", getClass().getName());
ToolRunner.printGenericCommandUsage(System.err);
return -1;
}
Configuration configuration = getConf();
configuration.set("runId", Str... | public int run(String[] args) throws Exception {
if ( args.length != 2 ) {
System.err.printf("Usage: %s [generic options] <input> <output>\n", getClass().getName());
ToolRunner.printGenericCommandUsage(System.err);
return -1;
}
Configuration configuration = getConf();
configuration.set("runId", Str... |
diff --git a/src/play/modules/thymeleaf/dialect/ProcessorUtil.java b/src/play/modules/thymeleaf/dialect/ProcessorUtil.java
index 56acb95..2390d10 100644
--- a/src/play/modules/thymeleaf/dialect/ProcessorUtil.java
+++ b/src/play/modules/thymeleaf/dialect/ProcessorUtil.java
@@ -1,107 +1,107 @@
/*
* Copyright 2012 Sato... | true | true | static String toActionString(final Arguments arguments, String attributeValue) {
Matcher matcher = PARAM_PATTERN.matcher(attributeValue);
if (!matcher.matches()) {
return Router.reverse(attributeValue)
.toString();
}
String exp = matcher.group(1)... | static String toActionString(final Arguments arguments, String attributeValue) {
Matcher matcher = PARAM_PATTERN.matcher(attributeValue);
if (!matcher.matches()) {
return Router.reverse(attributeValue)
.toString();
}
String exp = matcher.group(1)... |
diff --git a/loci/jvmlink/ConnThread.java b/loci/jvmlink/ConnThread.java
index b0b2287..1cc1be6 100644
--- a/loci/jvmlink/ConnThread.java
+++ b/loci/jvmlink/ConnThread.java
@@ -1,744 +1,744 @@
//
// ConnThread.java
//
/*
JVMLink client/server architecture for communicating between Java and
non-Java programs usi... | false | true | private void setVar() throws IOException {
String name = readString();
int type = readInt();
Object value = null;
if (type == ARRAY_TYPE) {
int insideType = readInt();
int arrayLength = readInt();
int size = getSize(insideType);
Object theArray = null;
if (insideType == I... | private void setVar() throws IOException {
String name = readString();
int type = readInt();
Object value = null;
if (type == ARRAY_TYPE) {
int insideType = readInt();
int arrayLength = readInt();
int size = getSize(insideType);
Object theArray = null;
if (insideType == I... |
diff --git a/coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/util/MockAuthorizationServerFilter.java b/coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/util/MockAuthorizationServerFilter.java
index 9edd9c73..d3d358c9 100644
--- a/coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservic... | true | true | public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
AuthenticatedPrincipal principal = new SAMLAuthenticatedPrincipal("john.doe", Arrays.asList(new String[]{"user"}), new HashMap<String, String>(), Arrays.asList(new String[]{"showroom_sh... | public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
AuthenticatedPrincipal principal = new SAMLAuthenticatedPrincipal("john.doe", Arrays.asList(new String[]{"user"}), new HashMap<String, String>(), Arrays.asList(new String[]{"showroom_sh... |
diff --git a/src/main/java/sk/opendatanode/ui/HomePage.java b/src/main/java/sk/opendatanode/ui/HomePage.java
index 0d5abf9..4c77351 100644
--- a/src/main/java/sk/opendatanode/ui/HomePage.java
+++ b/src/main/java/sk/opendatanode/ui/HomePage.java
@@ -1,47 +1,47 @@
package sk.opendatanode.ui;
import java.io.IOExceptio... | true | true | public HomePage(PageParameters parameters) {
SearchQueryPage sp = new SearchQueryPage("searchPage", parameters);
add(sp);
QueryResponse response = null;
try {
response = SolrQueryHelper.search(parameters);
} catch (IOException e) {
logger.err... | public HomePage(final PageParameters parameters) {
SearchQueryPage sp = new SearchQueryPage("searchPage", parameters);
add(sp);
QueryResponse response = null;
try {
response = SolrQueryHelper.search(parameters);
} catch (IOException e) {
logg... |
diff --git a/aQute.libg/src/aQute/lib/getopt/CommandLine.java b/aQute.libg/src/aQute/lib/getopt/CommandLine.java
index 18436dd14..9a7015e88 100644
--- a/aQute.libg/src/aQute/lib/getopt/CommandLine.java
+++ b/aQute.libg/src/aQute/lib/getopt/CommandLine.java
@@ -1,580 +1,581 @@
package aQute.lib.getopt;
import java.l... | false | true | public String execute(Object target, String cmd, List<String> input) throws Exception {
if (cmd.equals("help")) {
StringBuilder sb = new StringBuilder();
Formatter f = new Formatter(sb);
if (input.isEmpty())
help(f, target);
else {
for (String s : input) {
help(f, target, s);
}
}
... | public String execute(Object target, String cmd, List<String> input) throws Exception {
if (cmd.equals("help")) {
StringBuilder sb = new StringBuilder();
Formatter f = new Formatter(sb);
if (input.isEmpty())
help(f, target);
else {
for (String s : input) {
help(f, target, s);
}
}
... |
diff --git a/src/com/jonathanedgecombe/interpreter/ast/IfStatement.java b/src/com/jonathanedgecombe/interpreter/ast/IfStatement.java
index 8f500ef..d058be2 100644
--- a/src/com/jonathanedgecombe/interpreter/ast/IfStatement.java
+++ b/src/com/jonathanedgecombe/interpreter/ast/IfStatement.java
@@ -1,72 +1,73 @@
package ... | true | true | public void run(Interpreter interpreter) {
int left = leftExpression.evaluate(interpreter).getValue();
int right = rightExpression.evaluate(interpreter).getValue();
boolean flag;
switch (relationalOperator) {
case EQUAL:
flag = (left == right);
break;
case LESSTHAN:
flag = (left < right);
... | public void run(Interpreter interpreter) {
int left = leftExpression.evaluate(interpreter).getValue();
int right = rightExpression.evaluate(interpreter).getValue();
boolean flag;
switch (relationalOperator) {
case EQUAL:
flag = (left == right);
break;
case LESSTHAN:
flag = (left < right);
... |
diff --git a/src/de/uulm/datalove/swu2gtfs/swu2gtfs.java b/src/de/uulm/datalove/swu2gtfs/swu2gtfs.java
index 1671c28..f7800b8 100644
--- a/src/de/uulm/datalove/swu2gtfs/swu2gtfs.java
+++ b/src/de/uulm/datalove/swu2gtfs/swu2gtfs.java
@@ -1,54 +1,54 @@
package de.uulm.datalove.swu2gtfs;
import java.io.BufferedWriter;... | true | true | public static void main(String[] args) {
new Parser(args, routes);
for( String name: routes.keySet() )
{
Route currentRoute = routes.get(name);
routeCounter++;
tripCounter = tripCounter + currentRoute.trips().size();
}
System.out.println(routeCounter + "... | public static void main(String[] args) {
new Parser(args, routes);
for( String name: routes.keySet() )
{
Route currentRoute = routes.get(name);
routeCounter++;
tripCounter = tripCounter + currentRoute.trips().size();
}
System.out.println(routeCounter + "... |
diff --git a/srcj/com/sun/electric/technology/technologies/MoCMOS.java b/srcj/com/sun/electric/technology/technologies/MoCMOS.java
index 4bf90eb04..e27ada258 100644
--- a/srcj/com/sun/electric/technology/technologies/MoCMOS.java
+++ b/srcj/com/sun/electric/technology/technologies/MoCMOS.java
@@ -1,1264 +1,1266 @@
/* -... | false | true | public static Xml.Technology getPatchedXml(Map<TechFactory.Param,Object> params) {
int ruleSet = ((Integer)params.get(techParamRuleSet)).intValue();
int numMetals = ((Integer)params.get(techParamNumMetalLayers)).intValue();
boolean secondPolysilicon = ((Boolean)params.get(techParamUseSecondP... | public static Xml.Technology getPatchedXml(Map<TechFactory.Param,Object> params) {
int ruleSet = ((Integer)params.get(techParamRuleSet)).intValue();
int numMetals = ((Integer)params.get(techParamNumMetalLayers)).intValue();
boolean secondPolysilicon = ((Boolean)params.get(techParamUseSecondP... |
diff --git a/src/org/mozilla/javascript/Interpreter.java b/src/org/mozilla/javascript/Interpreter.java
index 70fc2bbf..b0a004ec 100644
--- a/src/org/mozilla/javascript/Interpreter.java
+++ b/src/org/mozilla/javascript/Interpreter.java
@@ -1,2531 +1,2533 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basi... | true | true | public static Object interpret(Context cx, Scriptable scope,
Scriptable thisObj, Object[] args,
NativeFunction fnOrScript,
InterpreterData theData)
throws JavaScriptException
{
int i;
... | public static Object interpret(Context cx, Scriptable scope,
Scriptable thisObj, Object[] args,
NativeFunction fnOrScript,
InterpreterData theData)
throws JavaScriptException
{
int i;
... |
diff --git a/src/main/java/biomesoplenty/integration/TreeCapitatorIntegration.java b/src/main/java/biomesoplenty/integration/TreeCapitatorIntegration.java
index 97d39b2bf..65ecfd6fc 100644
--- a/src/main/java/biomesoplenty/integration/TreeCapitatorIntegration.java
+++ b/src/main/java/biomesoplenty/integration/TreeCapit... | true | true | public static void init()
{
int logs1 = Blocks.logs1.get().blockID;
int logs2 = Blocks.logs2.get().blockID;
int logs3 = Blocks.logs3.get().blockID;
int logs4 = Blocks.logs4.get().blockID;
int leavesColorized1 = Blocks.leavesColorized1.get().blockID;
int leavesColo... | public static void init()
{
int logs1 = Blocks.logs1.get().blockID;
int logs2 = Blocks.logs2.get().blockID;
int logs3 = Blocks.logs3.get().blockID;
int logs4 = Blocks.logs4.get().blockID;
int leavesColorized1 = Blocks.leavesColorized1.get().blockID;
int leavesColo... |
diff --git a/component/scripting/src/main/java/org/exoplatform/commons/utils/PortalPrinter.java b/component/scripting/src/main/java/org/exoplatform/commons/utils/PortalPrinter.java
index d79378575..6d28eb6c6 100755
--- a/component/scripting/src/main/java/org/exoplatform/commons/utils/PortalPrinter.java
+++ b/component/... | true | true | public void print(Object o) {
try {
if (o instanceof Text) {
((Text)o).writeTo(this);
} else {
write(String.valueOf(o));
}
} catch (IOException e) {}
}
| public void print(Object o) {
try {
if (o == null) {
write("null");
} else if (o instanceof Text) {
((Text)o).writeTo(this);
} else {
write(String.valueOf(o));
}
} catch (IOException e) {}
}
|
diff --git a/src/com/android/providers/media/MediaUpgradeReceiver.java b/src/com/android/providers/media/MediaUpgradeReceiver.java
index f9eb5ba..eeba2e3 100644
--- a/src/com/android/providers/media/MediaUpgradeReceiver.java
+++ b/src/com/android/providers/media/MediaUpgradeReceiver.java
@@ -1,94 +1,95 @@
/*
* Copyr... | true | true | public void onReceive(Context context, Intent intent) {
// We are now running with the system up, but no apps started,
// so can do whatever cleanup after an upgrade that we want.
// Lookup the last known database version
SharedPreferences prefs = context.getSharedPreferences(TAG, C... | public void onReceive(Context context, Intent intent) {
// We are now running with the system up, but no apps started,
// so can do whatever cleanup after an upgrade that we want.
// Lookup the last known database version
SharedPreferences prefs = context.getSharedPreferences(TAG, C... |
diff --git a/src/ischemia/CompoundProcedure.java b/src/ischemia/CompoundProcedure.java
index 233bbc6..ecacf9e 100644
--- a/src/ischemia/CompoundProcedure.java
+++ b/src/ischemia/CompoundProcedure.java
@@ -1,28 +1,28 @@
package ischemia;
//A user-defined procedure
public class CompoundProcedure extends Procedure {
... | true | true | public EvaluationResult evalProcedure(Environment environment,
SchemeObject args) throws EvalException {
//Extend the environment so that the arguments passed to the procedure are
//visible
Environment evalEnv = new Environment(environment, new Frame(unboundArgs, args));
//Since we wrapped the body of... | public EvaluationResult evalProcedure(Environment environment,
SchemeObject args) throws EvalException {
//Extend the environment so that the arguments passed to the procedure are
//visible
Environment evalEnv = new Environment(environment, new Frame(unboundArgs, args));
//Since we wrapped the body of... |
diff --git a/ide/eclipse/cep/org.wso2.developerstudio.eclipse.artifact.cep/src/org/wso2/developerstudio/eclipse/artifact/cep/ui/wizard/CEPProjectCreationWizard.java b/ide/eclipse/cep/org.wso2.developerstudio.eclipse.artifact.cep/src/org/wso2/developerstudio/eclipse/artifact/cep/ui/wizard/CEPProjectCreationWizard.java
i... | true | true | public boolean performFinish() {
CEPProjectEditorPage.isCreatedProject = false;
boolean already = false;
try {
if (getModel().getSelectedOption().equals("import.cepproject")) {
File importFile = getModel().getImportFile();
CEPProjectEditorPage.initialFileLocation = importFile
.getAbsolutePath();... | public boolean performFinish() {
CEPProjectEditorPage.isCreatedProject = false;
boolean already = false;
try {
if (getModel().getSelectedOption().equals("import.cepproject")) {
File importFile = getModel().getImportFile();
CEPProjectEditorPage.initialFileLocation = importFile
.getAbsolutePath();... |
diff --git a/src/org/jsc/client/RegisterScreen.java b/src/org/jsc/client/RegisterScreen.java
index 31ff908..525c207 100644
--- a/src/org/jsc/client/RegisterScreen.java
+++ b/src/org/jsc/client/RegisterScreen.java
@@ -1,683 +1,683 @@
package org.jsc.client;
import java.util.ArrayList;
import java.util.Date;
import... | true | true | private void register() {
GWT.log("Registering for a class...", null);
if (loginSession.isAuthenticated()) {
// This is the array of roster entries that should be created in the db
ArrayList<RosterEntry> entryList = new ArrayList<RosterEntry>();
... | private void register() {
GWT.log("Registering for a class...", null);
if (loginSession.isAuthenticated()) {
// This is the array of roster entries that should be created in the db
ArrayList<RosterEntry> entryList = new ArrayList<RosterEntry>();
... |
diff --git a/opentripplanner-graph-builder/src/main/java/org/opentripplanner/graph_builder/impl/osm/OpenStreetMapGraphBuilderImpl.java b/opentripplanner-graph-builder/src/main/java/org/opentripplanner/graph_builder/impl/osm/OpenStreetMapGraphBuilderImpl.java
index 2d5bc00..92d1cc8 100644
--- a/opentripplanner-graph-bui... | false | true | public void buildGraph(Graph graph) {
// We want to prune nodes that don't have any edges
Set<Integer> nodesWithNeighbors = new HashSet<Integer>();
for (OSMWay way : _ways.values()) {
List<Integer> nodes = way.getNodeRefs();
if (nodes.size() ... | public void buildGraph(Graph graph) {
// We want to prune nodes that don't have any edges
Set<Integer> nodesWithNeighbors = new HashSet<Integer>();
for (OSMWay way : _ways.values()) {
List<Integer> nodes = way.getNodeRefs();
if (nodes.size() ... |
diff --git a/tz-commons/tz-commons-auth/src/main/java/com/thruzero/auth/realm/TzAuthorizingRealm.java b/tz-commons/tz-commons-auth/src/main/java/com/thruzero/auth/realm/TzAuthorizingRealm.java
index 416d7c0..006ec9b 100644
--- a/tz-commons/tz-commons-auth/src/main/java/com/thruzero/auth/realm/TzAuthorizingRealm.java
++... | true | true | protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
try {
AuthenticationInfo result;
String submittedLoginId = token.getPrincipal().toString();
char[] submittedOneTimePw = (char[])token.getCredentials();
String nonce = null;
... | protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
try {
AuthenticationInfo result;
String submittedLoginId = token.getPrincipal().toString();
char[] submittedOneTimePw = (char[])token.getCredentials();
String nonce = null;
... |
diff --git a/srcj/com/sun/electric/tool/io/output/Spice.java b/srcj/com/sun/electric/tool/io/output/Spice.java
index 4affcd7c1..0c0e467ae 100755
--- a/srcj/com/sun/electric/tool/io/output/Spice.java
+++ b/srcj/com/sun/electric/tool/io/output/Spice.java
@@ -1,3314 +1,3314 @@
/* -*- tab-width: 4 -*-
*
* Electric(tm)... | true | true | protected void writeCellTopology(Cell cell, CellNetInfo cni, VarContext context, Topology.MyCellInfo info)
{
if (cell == topCell && USE_GLOBALS) {
Netlist netList = cni.getNetList();
Global.Set globals = netList.getGlobals();
int globalSize = globals.size();
if (!Simu... | protected void writeCellTopology(Cell cell, CellNetInfo cni, VarContext context, Topology.MyCellInfo info)
{
if (cell == topCell && USE_GLOBALS) {
Netlist netList = cni.getNetList();
Global.Set globals = netList.getGlobals();
int globalSize = globals.size();
if (!Simu... |
diff --git a/src/main/java/com/google/devtools/j2objc/util/UnicodeUtils.java b/src/main/java/com/google/devtools/j2objc/util/UnicodeUtils.java
index a273ece..54491ce 100644
--- a/src/main/java/com/google/devtools/j2objc/util/UnicodeUtils.java
+++ b/src/main/java/com/google/devtools/j2objc/util/UnicodeUtils.java
@@ -1,1... | true | true | static String escapeUnicodeSequences(String s, boolean logErrorMessage) {
if (s.contains("\\u")) {
StringBuilder buffer = new StringBuilder();
int i, lastIndex = 0;
while ((i = s.indexOf("\\u", lastIndex)) != -1) {
String chunk = s.substring(lastIndex, i);
buffer.append(chunk);
... | static String escapeUnicodeSequences(String s, boolean logErrorMessage) {
if (s.contains("\\u")) {
StringBuilder buffer = new StringBuilder();
int i, lastIndex = 0;
while ((i = s.indexOf("\\u", lastIndex)) != -1) {
String chunk = s.substring(lastIndex, i);
buffer.append(chunk);
... |
diff --git a/api/src/main/java/org/jboss/seam/solder/properties/query/PropertyQuery.java b/api/src/main/java/org/jboss/seam/solder/properties/query/PropertyQuery.java
index 0aa699b0..073d420a 100644
--- a/api/src/main/java/org/jboss/seam/solder/properties/query/PropertyQuery.java
+++ b/api/src/main/java/org/jboss/seam/... | true | true | private List<Property<V>> getResultList(boolean writable)
{
List<Property<V>> results = new ArrayList<Property<V>>();
// First check public accessor methods (we ignore private methods)
for (Method method : targetClass.getMethods())
{
if (!(method.getName().startsWith("is") || met... | private List<Property<V>> getResultList(boolean writable)
{
List<Property<V>> results = new ArrayList<Property<V>>();
// First check public accessor methods (we ignore private methods)
for (Method method : targetClass.getMethods())
{
if (!(method.getName().startsWith("is") || met... |
diff --git a/compass2/core/src/main/java/no/ovitas/compass2/config/KnowledgeBases.java b/compass2/core/src/main/java/no/ovitas/compass2/config/KnowledgeBases.java
index 628bb6d..663e7ea 100644
--- a/compass2/core/src/main/java/no/ovitas/compass2/config/KnowledgeBases.java
+++ b/compass2/core/src/main/java/no/ovitas/com... | false | true | public KnowledgeBase getKnowledgeBase(String name) {
if (name != null && !name.isEmpty()) {
return elements.get(name);
} else {
return null;
}
}
| public KnowledgeBase getKnowledgeBase(String name) {
if (name != null && elements.containsKey(name)) {
return elements.get(name);
} else {
logger.error("The " + name + " KnowledgeBase is not exists!");
return null;
}
}
|
diff --git a/aggregator/src/main/java/org/demo/AggregatorRouterJava.java b/aggregator/src/main/java/org/demo/AggregatorRouterJava.java
index 83a6128..bbe197d 100644
--- a/aggregator/src/main/java/org/demo/AggregatorRouterJava.java
+++ b/aggregator/src/main/java/org/demo/AggregatorRouterJava.java
@@ -1,16 +1,16 @@
pack... | false | true | public void configure() throws Exception {
from("file:./target/test-classes/camel/in").convertBodyTo( String.class ).
aggregate(new BodyAppenderAggregator()).xpath("/item/@id").completionTimeout(1000).completionSize(0).
to("file:./target/test-classes/camel/out");
}
| public void configure() throws Exception {
from("file:./target/scala-2.10/classes/camel/in").convertBodyTo( String.class ).
aggregate(new BodyAppenderAggregator()).xpath("/item/@id").completionTimeout(1000).completionSize(0).
to("file:./target/scala-2.10/classes/camel/out");
... |
diff --git a/eclipse_files/src/agent/GantryAgent.java b/eclipse_files/src/agent/GantryAgent.java
index a30dee6e..86c58bc5 100644
--- a/eclipse_files/src/agent/GantryAgent.java
+++ b/eclipse_files/src/agent/GantryAgent.java
@@ -1,228 +1,228 @@
package agent;
import java.util.ArrayList;
import java.util.List;
impor... | false | true | public boolean pickAndExecuteAnAction() {
for(Bin bin:binList) {
if(bin.binState==BinStatus.PENDING){
addBinToGraphics(bin);
return true;
}
}
// TODO Auto-generated method stub
if(waitForDrop == false) {
for (MyFeeder currentFeeder : feeders) {
for (Bin bin : binList) {
if (bin.par... | public boolean pickAndExecuteAnAction() {
for(Bin bin:binList) {
if(bin.binState==BinStatus.PENDING){
addBinToGraphics(bin);
return true;
}
}
// TODO Auto-generated method stub
if(waitForDrop == false) {
for (MyFeeder currentFeeder : feeders) {
for (Bin bin : binList) {
if (bin.par... |
diff --git a/src/nz/gen/wellington/guardian/android/activities/ArticleListActivity.java b/src/nz/gen/wellington/guardian/android/activities/ArticleListActivity.java
index f5f44ef..5207dc5 100644
--- a/src/nz/gen/wellington/guardian/android/activities/ArticleListActivity.java
+++ b/src/nz/gen/wellington/guardian/android... | false | true | public void handleMessage(Message msg) {
super.handleMessage(msg);
switch (msg.what) {
case ARTICLE_READY:
Article article = (Article) msg.getData().getSerializable("article");
LayoutInflater mInflater = LayoutInflater.from(context);
LinearLayout mainpane = (LinearLayout... | public void handleMessage(Message msg) {
super.handleMessage(msg);
switch (msg.what) {
case ARTICLE_READY:
Article article = (Article) msg.getData().getSerializable("article");
LayoutInflater mInflater = LayoutInflater.from(context);
LinearLayout mainpane = (LinearLayout... |
diff --git a/JavaLib/src/com/punchline/javalib/entities/systems/physical/ParticleSystem.java b/JavaLib/src/com/punchline/javalib/entities/systems/physical/ParticleSystem.java
index ba7654f..7165800 100644
--- a/JavaLib/src/com/punchline/javalib/entities/systems/physical/ParticleSystem.java
+++ b/JavaLib/src/com/punchli... | true | true | protected void process(Entity e) {
Particle p = e.getComponent();
//Move the particle
Vector2 pos = p.getPosition().cpy();
Vector2 deltaX = new Vector2(p.getLinearVelocity().x * deltaSeconds(), p.getLinearVelocity().y * deltaSeconds());
//DO RAY CASTING FOR COLLIDABLE CHECK
if(e.hasComponent(Collidab... | protected void process(Entity e) {
Particle p = e.getComponent();
//Move the particle
Vector2 pos = p.getPosition().cpy();
Vector2 deltaX = new Vector2(p.getLinearVelocity().x * deltaSeconds(), p.getLinearVelocity().y * deltaSeconds());
//DO RAY CASTING FOR COLLIDABLE CHECK
if(e.hasComponent(Collidab... |
diff --git a/core/src/main/java/net/tirasa/hct/repository/HCTQuery.java b/core/src/main/java/net/tirasa/hct/repository/HCTQuery.java
index 4b9654e..8be105c 100644
--- a/core/src/main/java/net/tirasa/hct/repository/HCTQuery.java
+++ b/core/src/main/java/net/tirasa/hct/repository/HCTQuery.java
@@ -1,395 +1,395 @@
/*
*... | true | true | private void buildSQLQuery(final Locale locale, final Availability availability) throws RepositoryException {
LOG.debug("Query type: {}", getType());
final String actualBase = getType() == Type.TAXONOMY_DOCS ? "/content/documents" : base;
LOG.debug("Search base: {}", actualBase);
fi... | private void buildSQLQuery(final Locale locale, final Availability availability) throws RepositoryException {
LOG.debug("Query type: {}", getType());
final String actualBase = getType() == Type.TAXONOMY_DOCS ? "/content/documents" : base;
LOG.debug("Search base: {}", actualBase);
fi... |
diff --git a/src/main/java/org/andidev/applicationname/config/SpringMvcConfig.java b/src/main/java/org/andidev/applicationname/config/SpringMvcConfig.java
index d9d2e09..8d44565 100644
--- a/src/main/java/org/andidev/applicationname/config/SpringMvcConfig.java
+++ b/src/main/java/org/andidev/applicationname/config/Spri... | true | true | public void addResourceHandlers(ResourceHandlerRegistry registry) {
if ("prod".equals(environment.getProperty("application.version"))) {
registry.addResourceHandler("/resources-" + environment.getProperty("application.version") + "/**")
.addResourceLocations("/resources/")
... | public void addResourceHandlers(ResourceHandlerRegistry registry) {
if ("prod".equals(environment.getProperty("application.environment"))) {
registry.addResourceHandler("/resources-" + environment.getProperty("application.version") + "/**")
.addResourceLocations("/resources/"... |
diff --git a/calendar-webapp/src/main/java/org/exoplatform/calendar/webui/UIFormColorPicker.java b/calendar-webapp/src/main/java/org/exoplatform/calendar/webui/UIFormColorPicker.java
index e1d5bdb8..6a09f877 100644
--- a/calendar-webapp/src/main/java/org/exoplatform/calendar/webui/UIFormColorPicker.java
+++ b/calendar-... | true | true | public void processRender(WebuiRequestContext context) throws Exception
{
JavascriptManager jsManager = context.getJavascriptManager();
RequireJS requireJS = jsManager.getRequireJS();
requireJS.require("SHARED/jquery","gj");
requireJS.require("SHARED/bts_dropdown","btsdropdown");
requireJS.requi... | public void processRender(WebuiRequestContext context) throws Exception
{
JavascriptManager jsManager = context.getJavascriptManager();
RequireJS requireJS = jsManager.getRequireJS();
requireJS.require("SHARED/jquery","gj");
requireJS.require("SHARED/bts_dropdown","btsdropdown");
requireJS.requi... |
diff --git a/src/assignment7/Main.java b/src/assignment7/Main.java
index 92b2e12..b1e4413 100644
--- a/src/assignment7/Main.java
+++ b/src/assignment7/Main.java
@@ -1,39 +1,39 @@
package assignment7;
import java.util.ArrayList;
import java.util.List;
import assignment7.EpidemicSystem;
import assignment7.Epidemic... | true | true | public static void main( String[] args ) {
list.add(new Patient(160, 72.7));
list.add(new Patient(178, 82.7));
list.add(new Patient(167, 76.9));
list.add(new Patient(177, 802.0));
list.add(new Patient(156, 79.3));
list.add(new Patient(180, 76.4));
list.add(new Patient(176, 78.9));
list.add(new Patient(... | public static void main( String[] args ) {
list.add(new Patient(160, 72.7));
list.add(new Patient(178, 82.7));
list.add(new Patient(167, 76.9));
list.add(new Patient(177, 82.0));
list.add(new Patient(156, 79.3));
list.add(new Patient(180, 76.4));
list.add(new Patient(176, 78.9));
list.add(new Patient(1... |
diff --git a/AdamBots-FIRST-2013-Robot-Code/src/robot/sensors/FancyCounter.java b/AdamBots-FIRST-2013-Robot-Code/src/robot/sensors/FancyCounter.java
index a920af1..3929c46 100644
--- a/AdamBots-FIRST-2013-Robot-Code/src/robot/sensors/FancyCounter.java
+++ b/AdamBots-FIRST-2013-Robot-Code/src/robot/sensors/FancyCounter.... | true | true | public double pidGet() {
double time = getPeriod() * _ticksPerPeriod;
double rpm = 60 / time;
// if (rom > 5000) // was that before, but i thought i might need something different that wasn't 5000
if (rpm > 6000) {
errorVal++;
rpm = lastRpm;
} else i... | public double pidGet() {
double time = getPeriod();
double rpm = (60 / time) / _ticksPerPeriod;
// if (rom > 5000) // was that before, but i thought i might need something different that wasn't 5000
if (rpm > 6000) {
errorVal++;
rpm = lastRpm;
} else... |
diff --git a/src/main/java/de/lessvoid/nifty/examples/all/MenuController.java b/src/main/java/de/lessvoid/nifty/examples/all/MenuController.java
index 6aa6f939..467d6e00 100644
--- a/src/main/java/de/lessvoid/nifty/examples/all/MenuController.java
+++ b/src/main/java/de/lessvoid/nifty/examples/all/MenuController.java
@... | true | true | public void bind(final Nifty niftyParam, final Screen screenParam) {
this.nifty = niftyParam;
this.screen = screenParam;
hideIfThere("thumbHelloWorld");
hideIfThere("thumbHint");
hideIfThere("thumbTextAlign");
hideIfThere("thumbTextField");
hideIfThere("thumbDropDownList");
hideIfThere... | public void bind(final Nifty niftyParam, final Screen screenParam) {
this.nifty = niftyParam;
this.screen = screenParam;
hideIfThere("thumbHelloWorld");
hideIfThere("thumbHint");
hideIfThere("thumbMouse");
hideIfThere("thumbTextAlign");
hideIfThere("thumbTextField");
hideIfThere("thumb... |
diff --git a/src/main/java/org/terasology/launcher/gui/LauncherFrame.java b/src/main/java/org/terasology/launcher/gui/LauncherFrame.java
index c8d3f05..e419052 100644
--- a/src/main/java/org/terasology/launcher/gui/LauncherFrame.java
+++ b/src/main/java/org/terasology/launcher/gui/LauncherFrame.java
@@ -1,581 +1,584 @@... | false | true | private void initComponents() {
final int xShift = 0;
int yShift = 0;
if (isUndecorated()) {
yShift += 30;
}
// Download button
downloadButton = new TSButton(BundleUtils.getLabel("launcher_download"));
downloadButton.setBounds(FRAME_WIDTH - 96 - 1... | private void initComponents() {
final int xShift = 0;
int yShift = 0;
if (isUndecorated()) {
yShift += 30;
}
// Download button
downloadButton = new TSButton(BundleUtils.getLabel("launcher_download"));
downloadButton.setBounds(FRAME_WIDTH - 96 - 1... |
diff --git a/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java b/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java
index d08e2bb96..673497e05 100644
--- a/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java
+++ b/activemq-c... | true | true | protected boolean matchesForwardingFilter(Message message, MessageEvaluationContext mec) {
if (contains(message.getBrokerPath(), networkBrokerId)) {
if (LOG.isTraceEnabled()) {
LOG.trace("Message all ready routed once through target broker ("
+ networkBro... | protected boolean matchesForwardingFilter(Message message, MessageEvaluationContext mec) {
if (contains(message.getBrokerPath(), networkBrokerId)) {
if (LOG.isTraceEnabled()) {
LOG.trace("Message all ready routed once through target broker ("
+ networkBro... |
diff --git a/de.walware.statet.r.ui/srcDebug/de/walware/statet/r/internal/debug/ui/preferences/REnvPreferencePage.java b/de.walware.statet.r.ui/srcDebug/de/walware/statet/r/internal/debug/ui/preferences/REnvPreferencePage.java
index 227f9809..b3c71e89 100644
--- a/de.walware.statet.r.ui/srcDebug/de/walware/statet/r/int... | true | true | protected Control createContents(final Composite parent) {
final Composite pageComposite = new Composite(parent, SWT.NONE);
pageComposite.setLayout(LayoutUtil.applyCompositeDefaults(new GridLayout(), 1));
final Label label = new Label(pageComposite, SWT.LEFT);
label.setText(Messages.REnv_REnvList_label);
lab... | protected Control createContents(final Composite parent) {
final Composite pageComposite = new Composite(parent, SWT.NONE);
pageComposite.setLayout(LayoutUtil.applyCompositeDefaults(new GridLayout(), 1));
final Label label = new Label(pageComposite, SWT.LEFT);
label.setText(Messages.REnv_REnvList_label);
lab... |
diff --git a/modules/org.restlet/src/org/restlet/engine/io/ReadableSizedChannel.java b/modules/org.restlet/src/org/restlet/engine/io/ReadableSizedChannel.java
index e16f14963..a5d487a9d 100644
--- a/modules/org.restlet/src/org/restlet/engine/io/ReadableSizedChannel.java
+++ b/modules/org.restlet/src/org/restlet/engine/... | true | true | public int read(ByteBuffer dst) throws IOException {
int result = -1;
if (this.availableSize > 0) {
if (this.availableSize < dst.remaining()) {
dst.limit((int) (this.availableSize + dst.position()));
}
result = getWrappedChannel().read(dst);
... | public int read(ByteBuffer dst) throws IOException {
int result = -1;
if (this.availableSize > 0) {
if (this.availableSize < dst.remaining()) {
dst.limit((int) (this.availableSize + dst.position()));
}
result = getWrappedChannel().read(dst);
... |
diff --git a/agile-apps/agile-app-dashboard/src/main/java/org/headsupdev/agile/app/dashboard/Account.java b/agile-apps/agile-app-dashboard/src/main/java/org/headsupdev/agile/app/dashboard/Account.java
index e07b8f1c..071bc1a7 100644
--- a/agile-apps/agile-app-dashboard/src/main/java/org/headsupdev/agile/app/dashboard/A... | true | true | public void layout()
{
super.layout();
add( CSSPackageResource.getHeaderContribution( getClass(), "account.css" ) );
org.headsupdev.agile.api.User user = getSession().getUser();
username = getPageParameters().getString( "username" );
if ( username != null )
{
... | public void layout()
{
super.layout();
add( CSSPackageResource.getHeaderContribution( getClass(), "account.css" ) );
org.headsupdev.agile.api.User user = getSession().getUser();
username = getPageParameters().getString( "username" );
if ( username != null )
{
... |
diff --git a/src/main/java/com/salesforce/phoenix/schema/MetaDataClient.java b/src/main/java/com/salesforce/phoenix/schema/MetaDataClient.java
index 27e0a230..ff8c6a48 100644
--- a/src/main/java/com/salesforce/phoenix/schema/MetaDataClient.java
+++ b/src/main/java/com/salesforce/phoenix/schema/MetaDataClient.java
@@ -1... | false | true | private PTable createTable(CreateTableStatement statement, byte[][] splits, PTable parent) throws SQLException {
PTableType tableType = statement.getTableType();
boolean wasAutoCommit = connection.getAutoCommit();
connection.rollback();
try {
connection.setAutoCommit(fals... | private PTable createTable(CreateTableStatement statement, byte[][] splits, PTable parent) throws SQLException {
PTableType tableType = statement.getTableType();
boolean wasAutoCommit = connection.getAutoCommit();
connection.rollback();
try {
connection.setAutoCommit(fals... |
diff --git a/OpERP/src/main/java/devopsdistilled/operp/client/items/panes/details/ProductDetailsPane.java b/OpERP/src/main/java/devopsdistilled/operp/client/items/panes/details/ProductDetailsPane.java
index db878419..f1c12465 100644
--- a/OpERP/src/main/java/devopsdistilled/operp/client/items/panes/details/ProductDetai... | false | true | public ProductDetailsPane() {
pane = new JPanel();
pane.setLayout(new MigLayout("", "[][grow]", "[][][grow][]"));
JLabel lblProductId = new JLabel("Product ID");
pane.add(lblProductId, "cell 0 0,alignx trailing");
productIdField = new JTextField();
productIdField.setEditable(false);
pane.add(productIdF... | public ProductDetailsPane() {
pane = new JPanel();
pane.setLayout(new MigLayout("", "[][grow]", "[][][grow][]"));
JLabel lblProductId = new JLabel("Product ID");
pane.add(lblProductId, "cell 0 0,alignx trailing");
productIdField = new JTextField();
productIdField.setEditable(false);
pane.add(productIdF... |
diff --git a/src/main/java/com/mmounirou/spotirss/provider/Apple.java b/src/main/java/com/mmounirou/spotirss/provider/Apple.java
index 9312155..ebd5282 100644
--- a/src/main/java/com/mmounirou/spotirss/provider/Apple.java
+++ b/src/main/java/com/mmounirou/spotirss/provider/Apple.java
@@ -1,72 +1,72 @@
/*
* Copyright... | true | true | public Track apply(@Nullable String strTitle)
{
int rankPos = strTitle.indexOf(".");
String strRank = strTitle.substring(0, rankPos);
String strArtistAndSong = strTitle.substring(rankPos + 1);
String strTempSong = strArtistAndSong.substring(0, strArtistAndSong.lastIndexOf("-"));
String strTempArtist = str... | public Track apply(@Nullable String strTitle)
{
int rankPos = strTitle.indexOf(".");
String strRank = strTitle.substring(0, rankPos);
String strArtistAndSong = strTitle.substring(rankPos + 1);
String strTempSong = strArtistAndSong.substring(0, strArtistAndSong.lastIndexOf(" - "));
String strTempArtist = s... |
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
index 7dbc7901..4086a8e7 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
@@ -1,890 +1,890 @@
... | true | true | private static void onBufferDrawKey(final Key key, final Canvas canvas, Paint paint,
KeyDrawParams params, boolean isManualTemporaryUpperCase) {
final boolean debugShowAlign = LatinImeLogger.sVISUALDEBUG;
// Draw key background.
final int bgWidth = key.mWidth - key.mVisualInsetsL... | private static void onBufferDrawKey(final Key key, final Canvas canvas, Paint paint,
KeyDrawParams params, boolean isManualTemporaryUpperCase) {
final boolean debugShowAlign = LatinImeLogger.sVISUALDEBUG;
// Draw key background.
final int bgWidth = key.mWidth - key.mVisualInsetsL... |
diff --git a/extrabiomes/src/extrabiomes/module/fabrica/recipe/WoodCookBook.java b/extrabiomes/src/extrabiomes/module/fabrica/recipe/WoodCookBook.java
index 03b2f4d3..84d57cd0 100644
--- a/extrabiomes/src/extrabiomes/module/fabrica/recipe/WoodCookBook.java
+++ b/extrabiomes/src/extrabiomes/module/fabrica/recipe/WoodCoo... | true | true | private static void addPlankCustomRecipes() {
Optional<? extends Block> stairs = BlockManager.ACACIASTAIRS
.getBlock();
if (stairs.isPresent()) {
final IRecipe recipe = new ShapedOreRecipe(new ItemStack(
stairs.get(), 4), new String[] { "p ", "pp ",
"ppp" }, 'p', "plankAcacia");
Extrabiomes.... | private static void addPlankCustomRecipes() {
Optional<? extends Block> stairs = BlockManager.ACACIASTAIRS
.getBlock();
if (stairs.isPresent()) {
final IRecipe recipe = new ShapedOreRecipe(new ItemStack(
stairs.get(), 4), new String[] { "p ", "pp ",
"ppp" }, 'p', "plankAcacia");
Extrabiomes.... |
diff --git a/src/main/java/org/crosswire/jsword/book/study/StrongsNumber.java b/src/main/java/org/crosswire/jsword/book/study/StrongsNumber.java
index ffcf7268..858b3905 100644
--- a/src/main/java/org/crosswire/jsword/book/study/StrongsNumber.java
+++ b/src/main/java/org/crosswire/jsword/book/study/StrongsNumber.java
@... | true | true | private boolean parse(String input) {
String text = input;
language = 'U';
strongsNumber = 9999;
part = "";
// Does it match
Matcher m = STRONGS_PATTERN.matcher(text);
if (!m.lookingAt()) {
return false;
}
String lang = m.group(1)... | private boolean parse(String input) {
String text = input;
language = 'U';
strongsNumber = 9999;
part = "";
// Does it match
Matcher m = STRONGS_PATTERN.matcher(text);
if (!m.lookingAt()) {
return false;
}
String lang = m.group(1)... |
diff --git a/src/FE_SRC_COMMON/com/ForgeEssentials/util/Localization.java b/src/FE_SRC_COMMON/com/ForgeEssentials/util/Localization.java
index c38900151..145a4d634 100644
--- a/src/FE_SRC_COMMON/com/ForgeEssentials/util/Localization.java
+++ b/src/FE_SRC_COMMON/com/ForgeEssentials/util/Localization.java
@@ -1,197 +1,19... | false | true | public void load()
{
OutputHandler.SOP("Loading languages");
String langDir = "com/ForgeEssentials/util/lang/";
for (String langFile : langFiles)
try
{
LanguageRegistry.instance().loadLocalization(ClassLoader.getSystemResource(langDir + langFile), langFile.substring(langFile.lastIndexOf('/') + 1, lan... | public void load()
{
OutputHandler.SOP("Loading languages");
String langDir = "/com/ForgeEssentials/util/lang/";
for (String langFile : langFiles)
try
{
LanguageRegistry.instance().loadLocalization(langDir + langFile, langFile.substring(langFile.lastIndexOf('/') + 1, langFile.lastIndexOf('.')), true)... |
diff --git a/samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper/item/ItemTypeExtractionStrategy.java b/samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper/item/ItemTypeExtractionStrategy.java
index 14f4dd794..cc09412a3 100755
--- a/samigo-qti/src/java/org/sakaiproject/tool/assessment/qti/helper... | true | true | private static String matchGuess(String toGuess)
{
// not sure how well this works for i18n.
String itemType = null;
if (toGuess.indexOf("multiple") != -1 &&
toGuess.indexOf("response") != -1)
{
itemType = AuthoringConstantStrings.MCMC;
}
else if (toGuess.indexOf("true") != -1... | private static String matchGuess(String toGuess)
{
// not sure how well this works for i18n.
String itemType = null;
if (toGuess.indexOf("multiple") != -1 &&
toGuess.indexOf("response") != -1)
{
itemType = AuthoringConstantStrings.MCMC;
}
else if (toGuess.indexOf("true") != -1... |
diff --git a/src/main/java/org/mybatis/spring/SqlSessionFactoryBean.java b/src/main/java/org/mybatis/spring/SqlSessionFactoryBean.java
index c8643eca..8fe0e69a 100644
--- a/src/main/java/org/mybatis/spring/SqlSessionFactoryBean.java
+++ b/src/main/java/org/mybatis/spring/SqlSessionFactoryBean.java
@@ -1,440 +1,441 @@
... | true | true | protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
Configuration configuration;
XMLConfigBuilder xmlConfigBuilder = null;
if (this.configLocation != null) {
xmlConfigBuilder = new XMLConfigBuilder(this.configLocation.getInputStream(), null, this.c... | protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
Configuration configuration;
XMLConfigBuilder xmlConfigBuilder = null;
if (this.configLocation != null) {
xmlConfigBuilder = new XMLConfigBuilder(this.configLocation.getInputStream(), null, this.c... |
diff --git a/src/tools/hb/HappensBeforeTool.java b/src/tools/hb/HappensBeforeTool.java
index bcffb7e..411c085 100644
--- a/src/tools/hb/HappensBeforeTool.java
+++ b/src/tools/hb/HappensBeforeTool.java
@@ -1,400 +1,400 @@
/******************************************************************************
Copyright (c) 2... | false | true | private boolean checkAfter(CV prev, String prevOp, ShadowThread currentThread, String curOp,
AccessEvent fad, boolean isWrite, ShadowVar p) {
CV cv = get(currentThread);
if(prev.anyGt(cv)) {
int start=0;
while(true) {
start=prev.nextGt(cv, start);
if (start==-1) {
break;
}
Object... | private boolean checkAfter(CV prev, String prevOp, ShadowThread currentThread, String curOp,
AccessEvent fad, boolean isWrite, ShadowVar p) {
CV cv = get(currentThread);
if(prev.anyGt(cv)) {
int start=0;
while(true) {
start=prev.nextGt(cv, start);
if (start==-1) {
break;
}
Object... |
diff --git a/Slick/src/org/newdawn/slick/SpriteSheet.java b/Slick/src/org/newdawn/slick/SpriteSheet.java
index 603722c..ad6418a 100644
--- a/Slick/src/org/newdawn/slick/SpriteSheet.java
+++ b/Slick/src/org/newdawn/slick/SpriteSheet.java
@@ -1,201 +1,204 @@
package org.newdawn.slick;
import java.io.InputStream;
/... | true | true | protected void initImpl() {
if (subImages != null) {
return;
}
int tilesAcross = ((getWidth() - tw) / (tw + spacing)) + 1;
int tilesDown = ((getHeight() - th) / (th + spacing)) + 2;
subImages = new Image[tilesAcross][tilesDown];
for (int x=0;x<tilesAcross;x++) {
for (int y=0;y<tilesDown;y++) {
... | protected void initImpl() {
if (subImages != null) {
return;
}
int tilesAcross = ((getWidth() - tw) / (tw + spacing)) + 1;
int tilesDown = ((getHeight() - th) / (th + spacing)) + 1;
if (getHeight() - th % (th+spacing) != 0) {
tilesDown++;
}
subImages = new Image[tilesAcross][tilesDown];
for... |
diff --git a/src/com/wehuibao/DocListFragment.java b/src/com/wehuibao/DocListFragment.java
index b08d3c3..77be235 100644
--- a/src/com/wehuibao/DocListFragment.java
+++ b/src/com/wehuibao/DocListFragment.java
@@ -1,465 +1,466 @@
package com.wehuibao;
import java.io.BufferedOutputStream;
import java.io.BufferedRead... | true | true | public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
setRetainInstance(true);
setHasOptionsMenu(true);
SharedPreferences prefs = PreferenceManager
.getDefaultSharedPreferences(getActivity()
.getApplicationContext());
listUrl = getArguments().getS... | public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
setRetainInstance(true);
setHasOptionsMenu(true);
SharedPreferences prefs = PreferenceManager
.getDefaultSharedPreferences(getActivity()
.getApplicationContext());
listUrl = getArguments().getS... |
diff --git a/src/com/btmura/android/reddit/app/LinkFragment.java b/src/com/btmura/android/reddit/app/LinkFragment.java
index 313285e7..e3521afd 100644
--- a/src/com/btmura/android/reddit/app/LinkFragment.java
+++ b/src/com/btmura/android/reddit/app/LinkFragment.java
@@ -1,133 +1,134 @@
/*
* Copyright (C) 2012 Brian ... | true | true | private void setupWebView(WebView webView) {
WebSettings settings = webView.getSettings();
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setJavaScriptEnabled(true);
settings.setLoadWithOverviewMode(true);
settings.setSupportZo... | private void setupWebView(WebView webView) {
WebSettings settings = webView.getSettings();
settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false);
settings.setDomStorageEnabled(true);
settings.setJavaScriptEnabled(true);
settings.setLoadWithOver... |
diff --git a/utils/org/eclipse/cdt/utils/Platform.java b/utils/org/eclipse/cdt/utils/Platform.java
index 2eb67ebbd..a99aab2b1 100644
--- a/utils/org/eclipse/cdt/utils/Platform.java
+++ b/utils/org/eclipse/cdt/utils/Platform.java
@@ -1,93 +1,102 @@
/**********************************************************************... | false | true | public static String getOSArch() {
if (cachedArch == null) {
String arch = org.eclipse.core.runtime.Platform.getOSArch();
if (arch.equals(org.eclipse.core.runtime.Platform.ARCH_PPC)) {
// Determine if the platform is actually a ppc64 machine
Process unameProcess;
String cmd[] = {"uname", "-p"}; //... | public static String getOSArch() {
if (cachedArch == null) {
String arch = org.eclipse.core.runtime.Platform.getOSArch();
if (arch.equals(org.eclipse.core.runtime.Platform.ARCH_PPC)) {
// Determine if the platform is actually a ppc64 machine
Process unameProcess;
String cmd[] = {"uname", "-p"}; //... |
diff --git a/src/main/java/com/sohu/jafka/console/Dumper.java b/src/main/java/com/sohu/jafka/console/Dumper.java
index 1fea0e4..baefed7 100644
--- a/src/main/java/com/sohu/jafka/console/Dumper.java
+++ b/src/main/java/com/sohu/jafka/console/Dumper.java
@@ -1,99 +1,100 @@
/**
* Licensed to the Apache Software Foundat... | true | true | public static void main(String[] args) throws Exception {
OptionParser parser = new OptionParser();
parser.accepts("no-message", "do not decode message(utf-8 strings)");
parser.accepts("no-offset", "do not print message offset");
parser.accepts("no-size", "do not print message size")... | public static void main(String[] args) throws Exception {
OptionParser parser = new OptionParser();
parser.accepts("no-message", "do not decode message(utf-8 strings)");
parser.accepts("no-offset", "do not print message offset");
parser.accepts("no-size", "do not print message size")... |
diff --git a/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java b/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
index 0f505316..9a524234 100644
--- a/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
+++ b/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
@... | true | true | public void run() {
boolean quiesceRequested = false;
// A sleeper that sleeps for msgInterval.
Sleeper sleeper = new Sleeper(this.msgInterval, this.stopRequested);
try {
init(reportForDuty(sleeper));
long lastMsg = 0;
// Now ask master what it wants us to do and tell it what we have... | public void run() {
boolean quiesceRequested = false;
// A sleeper that sleeps for msgInterval.
Sleeper sleeper = new Sleeper(this.msgInterval, this.stopRequested);
try {
init(reportForDuty(sleeper));
long lastMsg = 0;
// Now ask master what it wants us to do and tell it what we have... |
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/link/InclusivePositionUpdater.java b/org.eclipse.text/src/org/eclipse/jface/text/link/InclusivePositionUpdater.java
index 6075d39ac..35dc529d5 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/link/InclusivePositionUpdater.java
+++ b/org.eclipse.text/src/o... | true | true | public void update(DocumentEvent event) {
int eventOffset= event.getOffset();
int eventOldLength= event.getLength();
int eventNewLength= event.getText() == null ? 0 : event.getText().length();
int deltaLength= eventNewLength - eventOldLength;
try {
Position[] positions= event.getDocument().getPositions(... | public void update(DocumentEvent event) {
int eventOffset= event.getOffset();
int eventOldLength= event.getLength();
int eventNewLength= event.getText() == null ? 0 : event.getText().length();
int deltaLength= eventNewLength - eventOldLength;
try {
Position[] positions= event.getDocument().getPositions(... |
diff --git a/izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.java b/izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.java
index 0579f4d3..eaea6e3e 100644
--- a/izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelAutomationHelper.java
+++ b/izpack-src/t... | false | true | public void runAutomated(AutomatedInstallData idata, IXMLElement panelRoot)
{
final class PInfo
{
private boolean _selected;
private int _index;
private String _name = "";
PInfo(boolean selected, String index, String name)
{
... | public void runAutomated(AutomatedInstallData idata, IXMLElement panelRoot)
{
final class PInfo
{
private boolean _selected;
private int _index;
private String _name = "";
PInfo(boolean selected, String index, String name)
{
... |
diff --git a/WEB-INF/src/org/cdlib/xtf/textIndexer/TextIndexer.java b/WEB-INF/src/org/cdlib/xtf/textIndexer/TextIndexer.java
index ddf7d149..eae6507f 100644
--- a/WEB-INF/src/org/cdlib/xtf/textIndexer/TextIndexer.java
+++ b/WEB-INF/src/org/cdlib/xtf/textIndexer/TextIndexer.java
@@ -1,440 +1,442 @@
package org.cdlib.xt... | false | true | public static void main( String[] args )
{
try {
IndexerConfig cfgInfo = new IndexerConfig();
XMLConfigParser cfgParser = new XMLConfigParser();
SrcTreeProcessor srcTreeProcessor = new SrcTreeProcessor();
IdxTreeCleaner indexCleaner = new IdxT... | public static void main( String[] args )
{
try {
IndexerConfig cfgInfo = new IndexerConfig();
XMLConfigParser cfgParser = new XMLConfigParser();
SrcTreeProcessor srcTreeProcessor = new SrcTreeProcessor();
IdxTreeCleaner indexCleaner = new IdxT... |
diff --git a/src/main/java/com/philihp/weblabora/model/CommandUse.java b/src/main/java/com/philihp/weblabora/model/CommandUse.java
index d25c631..1abe5f1 100644
--- a/src/main/java/com/philihp/weblabora/model/CommandUse.java
+++ b/src/main/java/com/philihp/weblabora/model/CommandUse.java
@@ -1,60 +1,68 @@
package com.... | true | true | public void execute(Board board, CommandParameters params)
throws WeblaboraException {
String buildingId = params.get(0);
UsageParam usageParam = null;
boolean usingPrior = params.getSuffix().contains("*");
switch (params.size()) {
case 1:
usageParam = new UsageParam("");
break;
case 2:
usage... | public void execute(Board board, CommandParameters params)
throws WeblaboraException {
String buildingId = params.get(0);
UsageParam usageParam = null;
boolean usingPrior = params.getSuffix().contains("*");
switch (params.size()) {
case 1:
usageParam = new UsageParam("");
break;
case 2:
usage... |
diff --git a/src/main/java/br/org/indt/ndg/mobile/settings/SettingsStructure.java b/src/main/java/br/org/indt/ndg/mobile/settings/SettingsStructure.java
index 384b404..611e03e 100644
--- a/src/main/java/br/org/indt/ndg/mobile/settings/SettingsStructure.java
+++ b/src/main/java/br/org/indt/ndg/mobile/settings/SettingsSt... | true | true | public void createDefaultSettings(PrintStream _out) {
String defaultServerUrl = AppMIDlet.getInstance().getDefaultServerUrl();
String[] defaultServlets = AppMIDlet.getInstance().getDefaultServlets();
// Reset to default values
setLanguage(defaultLanguage.getLocale());
setReg... | public void createDefaultSettings(PrintStream _out) {
String defaultServerUrl = AppMIDlet.getInstance().getDefaultServerUrl();
String[] defaultServlets = AppMIDlet.getInstance().getDefaultServlets();
// Reset to default values
setLanguage(defaultLanguage.getLocale());
setReg... |
diff --git a/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/EventView.java b/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/EventView.java
index 79d65476..742ea9c3 100644
--- a/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/EventView.java
+++ b/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/EventView.java
@@ -1,527... | true | true | public boolean configure(Element element,
final ClientFactory clientFactory, Arguments args) {
String height = args.getArg(0);
if (args.size() > 1) {
cmdBus = clientFactory.getEventBus(args.getArg(1));
}
table.setSize("100%", height);
table.setEmptyTableWidget(new Label("No Events"));
pager = new... | public boolean configure(Element element,
final ClientFactory clientFactory, Arguments args) {
String height = args.getArg(0);
if (args.size() > 1) {
cmdBus = clientFactory.getEventBus(args.getArg(1));
}
table.setSize("100%", height);
table.setEmptyTableWidget(new Label("No Events"));
pager = new... |
diff --git a/src/main/java/org/instructionexecutor/InstructionCompiledExecutor.java b/src/main/java/org/instructionexecutor/InstructionCompiledExecutor.java
index bf69f8236..26ed424f5 100644
--- a/src/main/java/org/instructionexecutor/InstructionCompiledExecutor.java
+++ b/src/main/java/org/instructionexecutor/Instruct... | true | true | public InstructionCompiledExecutor(Node node) {
InstructionExtractor extractor = new InstructionExtractor(constantPool);
List<Instruction> instructions = extractor.extractInstructions(node);
// Find out the parent of closures.
// Assumes every ENTER has a ASSIGN-CLOSURE referencing it.
Map<Integer, Integer>... | public InstructionCompiledExecutor(Node node) {
InstructionExtractor extractor = new InstructionExtractor(constantPool);
List<Instruction> instructions = extractor.extractInstructions(node);
// Find out the parent of closures.
// Assumes every ENTER has a ASSIGN-CLOSURE referencing it.
Map<Integer, Integer>... |
diff --git a/XMLSpider.java b/XMLSpider.java
index 482d2d0..8c63d37 100644
--- a/XMLSpider.java
+++ b/XMLSpider.java
@@ -1,1043 +1,1044 @@
/* This code is part of Freenet. It is distributed under the GNU General
* Public License, version 2 (or at your option any later version). See
* http://www.gnu.org/ for furthe... | true | true | private void startSomeRequests() {
FreenetURI[] initialURIs = core.getBookmarkURIs();
for (int i = 0; i < initialURIs.length; i++)
queueURI(initialURIs[i], "bookmark", false);
ArrayList<ClientGetter> toStart = null;
synchronized (this) {
if (stopped)
return;
synchronized (runningFetch) {
int ... | private void startSomeRequests() {
FreenetURI[] initialURIs = core.getBookmarkURIs();
for (int i = 0; i < initialURIs.length; i++)
queueURI(initialURIs[i], "bookmark", false);
ArrayList<ClientGetter> toStart = null;
synchronized (this) {
if (stopped)
return;
synchronized (runningFetch) {
int ... |
diff --git a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/viewport/event/ViewportEventHandler.java b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/viewport/event/ViewportEventHandler.java
index f6eb0c5f..272b1be9 100644
--- a/org.eclipse.nebula.widg... | false | true | public void handleLayerEvent(IStructuralChangeEvent event) {
if (event.isHorizontalStructureChanged()) {
viewportLayer.invalidateHorizontalStructure();
}
if (event.isVerticalStructureChanged()) {
viewportLayer.invalidateVerticalStructure();
}
Collection<StructuralDiff> columnDiffs = event.getColumnD... | public void handleLayerEvent(IStructuralChangeEvent event) {
if (event.isHorizontalStructureChanged()) {
viewportLayer.invalidateHorizontalStructure();
}
if (event.isVerticalStructureChanged()) {
viewportLayer.invalidateVerticalStructure();
}
Collection<StructuralDiff> columnDiffs = event.getColumnD... |
diff --git a/plugins/org.eclipse.emf.eef.runtime.extended/src/org/eclipse/emf/eef/runtime/ui/editors/pages/EEFDetailsPage.java b/plugins/org.eclipse.emf.eef.runtime.extended/src/org/eclipse/emf/eef/runtime/ui/editors/pages/EEFDetailsPage.java
index 35d676fbe..3fd7d7120 100644
--- a/plugins/org.eclipse.emf.eef.runtime.e... | true | true | public void createContents(Composite parent) {
toolkit = getManagedForm().getToolkit();
parent.setLayout(EEFFormLayoutFactory.createDetailsGridLayout(false, 1));
parent.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite container = toolkit.createComposite(parent, SWT.FLAT);
GridLayout containerLayout... | public void createContents(Composite parent) {
toolkit = getManagedForm().getToolkit();
parent.setLayout(EEFFormLayoutFactory.createDetailsGridLayout(false, 1));
parent.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite container = toolkit.createComposite(parent, SWT.FLAT);
GridLayout containerLayout... |
diff --git a/Workspace/iMapDBApp/src/org/ltc/imapdbapp/iMapDBApp.java b/Workspace/iMapDBApp/src/org/ltc/imapdbapp/iMapDBApp.java
index c5eb3f8..1bb301c 100644
--- a/Workspace/iMapDBApp/src/org/ltc/imapdbapp/iMapDBApp.java
+++ b/Workspace/iMapDBApp/src/org/ltc/imapdbapp/iMapDBApp.java
@@ -1,37 +1,37 @@
/*
Licen... | true | true | public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
// Set by <content src="index.html" /> in config.xml
super.setIntegerProperty("splashscreen", R.drawable.imap);
super.loadUrl("file:///android_asset/www/index.html", 5000);
//super.loadU... | public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
// Set by <content src="index.html" /> in config.xml
super.setIntegerProperty("splashscreen", R.drawable.imap);
super.loadUrl("file:///android_asset/www/indexDebug.html", 5000);
//super.... |
diff --git a/src/main/java/com/modelmetrics/Order.java b/src/main/java/com/modelmetrics/Order.java
index 872c309..31aa0f8 100644
--- a/src/main/java/com/modelmetrics/Order.java
+++ b/src/main/java/com/modelmetrics/Order.java
@@ -1,79 +1,79 @@
package com.modelmetrics;
public class Order {
public final static i... | true | true | public int getTotal() {
int totalPrice = 0;
String[] options = {_optionOne, _optionTwo, _optionThree};
int[] price = {Option1Price, Option2Price, Option3Price};
for(int i=0; i < options.length; i++) {
if(options[i] != null && options[i].length() > 0) {
totalPrice += price[i];
}
}
return totalPric... | public int getTotal() {
int totalPrice = Order.MSRP;
String[] options = {_optionOne, _optionTwo, _optionThree};
int[] price = {Option1Price, Option2Price, Option3Price};
for(int i=0; i < options.length; i++) {
if(options[i] != null && options[i].length() > 0) {
totalPrice += price[i];
}
}
return ... |
diff --git a/src/ZoneDessin.java b/src/ZoneDessin.java
index 6c7d5ad..b08aa86 100755
--- a/src/ZoneDessin.java
+++ b/src/ZoneDessin.java
@@ -1,232 +1,232 @@
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import javax.swing.JPanel;
@SuppressWarnings("s... | true | true | public void paintComponent(Graphics gd){
Graphics2D g = (Graphics2D)gd;
//ETAPE 1 : Afficher toutes les anciennes actions
//Background
//Fond de la zone de dessin
g.setColor(new Color(180,180,180));//Couleur de fond
g.fillRect(0, 0, this.getWidth(), this.getHeight());//On défini une couleur derriere le ... | public void paintComponent(Graphics gd){
Graphics2D g = (Graphics2D)gd;
//ETAPE 1 : Afficher toutes les anciennes actions
//Background
//Fond de la zone de dessin
g.setColor(new Color(180,180,180));//Couleur de fond
g.fillRect(0, 0, this.getWidth(), this.getHeight());//On défini une couleur derriere le ... |
diff --git a/contrib/Quote.java b/contrib/Quote.java
index fa5989c..1806e9f 100644
--- a/contrib/Quote.java
+++ b/contrib/Quote.java
@@ -1,1510 +1,1513 @@
import uk.co.uwcs.choob.*;
import uk.co.uwcs.choob.modules.*;
import uk.co.uwcs.choob.support.*;
import uk.co.uwcs.choob.support.events.*;
import java.util.*;
... | true | true | public void commandCreate( Message mes ) throws ChoobException
{
if (!(mes instanceof ChannelEvent))
{
irc.sendContextReply( mes, "Sorry, this command can only be used in a channel" );
return;
}
String chan = ((ChannelEvent)mes).getChannel();
List<Message> history = mods.history.getLastMessages( mes, ... | public void commandCreate( Message mes ) throws ChoobException
{
if (!(mes instanceof ChannelEvent))
{
irc.sendContextReply( mes, "Sorry, this command can only be used in a channel" );
return;
}
String chan = ((ChannelEvent)mes).getChannel();
List<Message> history = mods.history.getLastMessages( mes, ... |
diff --git a/src/web/org/openmrs/web/controller/ConceptFormController.java b/src/web/org/openmrs/web/controller/ConceptFormController.java
index 34aac050..a9346428 100644
--- a/src/web/org/openmrs/web/controller/ConceptFormController.java
+++ b/src/web/org/openmrs/web/controller/ConceptFormController.java
@@ -1,823 +1,... | true | true | public Concept getConceptFromFormData() {
// add all the new names/descriptions to the concept
for (Locale locale : locales) {
ConceptName fullySpecifiedNameInLocale = namesByLocale.get(locale);
if (StringUtils.hasText(fullySpecifiedNameInLocale.getName())) {
concept.setFullySpecifiedName(fully... | public Concept getConceptFromFormData() {
// add all the new names/descriptions to the concept
for (Locale locale : locales) {
ConceptName fullySpecifiedNameInLocale = namesByLocale.get(locale);
if (StringUtils.hasText(fullySpecifiedNameInLocale.getName())) {
concept.setFullySpecifiedName(fully... |
diff --git a/src/com/android/exchange/service/EmailSyncAdapterService.java b/src/com/android/exchange/service/EmailSyncAdapterService.java
index d4d69bcb..93aa0a4b 100644
--- a/src/com/android/exchange/service/EmailSyncAdapterService.java
+++ b/src/com/android/exchange/service/EmailSyncAdapterService.java
@@ -1,835 +1,... | true | true | public void onPerformSync(final android.accounts.Account acct, final Bundle extras,
final String authority, final ContentProviderClient provider,
final SyncResult syncResult) {
LogUtils.i(TAG, "onPerformSync: %s, %s", acct.toString(), extras.toString());
T... | public void onPerformSync(final android.accounts.Account acct, final Bundle extras,
final String authority, final ContentProviderClient provider,
final SyncResult syncResult) {
LogUtils.i(TAG, "onPerformSync: %s, %s", acct.toString(), extras.toString());
T... |
diff --git a/CSipSimple/src/com/csipsimple/wizards/impl/FastVoip.java b/CSipSimple/src/com/csipsimple/wizards/impl/FastVoip.java
index 0df26e89..98aeb628 100644
--- a/CSipSimple/src/com/csipsimple/wizards/impl/FastVoip.java
+++ b/CSipSimple/src/com/csipsimple/wizards/impl/FastVoip.java
@@ -1,44 +1,44 @@
/**
* Copyri... | true | true | public SipProfile buildAccount(SipProfile account) {
SipProfile acc = super.buildAccount(account);
acc.proxies = new String[] {"sip:proxy.fastvoip.com"};
acc.transport = SipProfile.TRANSPORT_UDP;
return acc;
}
| public SipProfile buildAccount(SipProfile account) {
SipProfile acc = super.buildAccount(account);
acc.proxies = new String[] {"sip:sip.fastvoip.com"};
acc.transport = SipProfile.TRANSPORT_UDP;
return acc;
}
|
diff --git a/play-dcep-distributedetalis/src/main/java/eu/play_project/dcep/distributedetalis/join/HistoricalQueryContainer.java b/play-dcep-distributedetalis/src/main/java/eu/play_project/dcep/distributedetalis/join/HistoricalQueryContainer.java
index 24eab74f..c3952877 100644
--- a/play-dcep-distributedetalis/src/mai... | true | true | private StringBuilder makeBody(StringBuilder ret, StringBuilder p, int depth){
StringBuilder path = p;
String pathMinusOne;
if(depth == vvariables.size()){
path.append(") ");
ret.append(path);
}
else if(depth == 0){
path = new StringBuilder();
List<String> values = map.get(vvariables.get(depth... | private StringBuilder makeBody(StringBuilder ret, StringBuilder p, int depth){
StringBuilder path = p;
String pathMinusOne;
if(depth == vvariables.size()){
path.append(") ");
ret.append(path);
}
else if(depth == 0){
path = new StringBuilder();
List<String> values = map.get(vvariables.get(depth... |
diff --git a/reflection/src/org/jvnet/jaxb/reflection/JAXBModelFactory.java b/reflection/src/org/jvnet/jaxb/reflection/JAXBModelFactory.java
index 752763a9..eb572e3b 100644
--- a/reflection/src/org/jvnet/jaxb/reflection/JAXBModelFactory.java
+++ b/reflection/src/org/jvnet/jaxb/reflection/JAXBModelFactory.java
@@ -1,125... | true | true | public static <T,C,F,M> TypeInfoSet<T,C,F,M> create(
AnnotationReader<T,C,F,M> reader,
Navigator<T,C,F,M> navigator,
ErrorHandler errorHandler,
Collection<C> classes ) {
ModelBuilder<T,C,F,M> builder = new ModelBuilder<T,C,F,M>(reader,navigator,Collections.<Class,Class>empty... | public static <T,C,F,M> TypeInfoSet<T,C,F,M> create(
AnnotationReader<T,C,F,M> reader,
Navigator<T,C,F,M> navigator,
ErrorHandler errorHandler,
Collection<C> classes ) {
ModelBuilder<T,C,F,M> builder = new ModelBuilder<T,C,F,M>(reader,navigator,Collections.<C,C>emptyMap(),nu... |
diff --git a/src/bspkrs/treecapitator/fml/IDResolverMappingList.java b/src/bspkrs/treecapitator/fml/IDResolverMappingList.java
index 1ef14a2..8502b9f 100644
--- a/src/bspkrs/treecapitator/fml/IDResolverMappingList.java
+++ b/src/bspkrs/treecapitator/fml/IDResolverMappingList.java
@@ -1,262 +1,262 @@
package bspkrs.tre... | true | true | private void init()
{
/*
* Get IDs from ID Resolver if it's loaded
*/
if (Loader.isModLoaded(TCSettings.idResolverModID))
{
TCLog.info("ID Resolver has been detected. Processing ID config...");
Properties idrKnownIDs = null;
... | private void init()
{
/*
* Get IDs from ID Resolver if it's loaded
*/
if (Loader.isModLoaded(TCSettings.idResolverModID))
{
TCLog.info("ID Resolver has been detected. Processing ID config...");
Properties idrKnownIDs = null;
... |
diff --git a/app2/src/com/handbagdevices/handbag/PacketGenerator.java b/app2/src/com/handbagdevices/handbag/PacketGenerator.java
index 92434ff..88a5e93 100644
--- a/app2/src/com/handbagdevices/handbag/PacketGenerator.java
+++ b/app2/src/com/handbagdevices/handbag/PacketGenerator.java
@@ -1,38 +1,38 @@
package com.hand... | true | true | private static String encodeField(String content) {
if (content.startsWith("[")
|| content.contains(";")
|| content.contains("\n")) {
// TODO: Explictly create formatter instance?
// (Due to comment in String.format docs:
// "...somewhat costly in terms... | private static String encodeField(String content) {
if (content.startsWith("[")
|| content.contains(";")
|| content.contains("\n")) {
// TODO: Explicitly create formatter instance?
// (Due to comment in String.format docs:
// "...somewhat costly in t... |
diff --git a/src/java/nl/b3p/viewer/admin/stripes/ApplicationTreeLayerActionBean.java b/src/java/nl/b3p/viewer/admin/stripes/ApplicationTreeLayerActionBean.java
index 2a2069258..b37765b83 100644
--- a/src/java/nl/b3p/viewer/admin/stripes/ApplicationTreeLayerActionBean.java
+++ b/src/java/nl/b3p/viewer/admin/stripes/App... | true | true | public Resolution save() throws JSONException {
applicationLayer.getDetails().clear();
applicationLayer.getDetails().putAll(details);
applicationLayer.getReaders().clear();
for (String groupName : groupsRead) {
applicationLayer.getReaders().add(groupName);
}
... | public Resolution save() throws JSONException {
applicationLayer.getDetails().clear();
applicationLayer.getDetails().putAll(details);
applicationLayer.getReaders().clear();
for (String groupName : groupsRead) {
applicationLayer.getReaders().add(groupName);
}
... |
diff --git a/main/src/main/java/com/bloatit/web/linkable/features/FeatureOfferListComponent.java b/main/src/main/java/com/bloatit/web/linkable/features/FeatureOfferListComponent.java
index 543b1f61e..fe0abc4ef 100644
--- a/main/src/main/java/com/bloatit/web/linkable/features/FeatureOfferListComponent.java
+++ b/main/sr... | true | true | protected FeatureOfferListComponent(final Feature feature, ElveosUserToken userToken) {
super();
PageIterable<Offer> offers = new EmptyPageIterable<Offer>();
offers = feature.getOffers();
int nbUnselected = offers.size();
final Offer selectedOffer = feature.getSelectedOffer(... | protected FeatureOfferListComponent(final Feature feature, ElveosUserToken userToken) {
super();
PageIterable<Offer> offers = new EmptyPageIterable<Offer>();
offers = feature.getOffers();
int nbUnselected = offers.size();
final Offer selectedOffer = feature.getSelectedOffer(... |
diff --git a/src/org/jruby/util/Dir.java b/src/org/jruby/util/Dir.java
index 8f3da0dba..913c35b9c 100644
--- a/src/org/jruby/util/Dir.java
+++ b/src/org/jruby/util/Dir.java
@@ -1,602 +1,602 @@
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Co... | false | true | private static int glob_helper(String cwd, byte[] _path, int path, int plen, int sub, int flags, GlobFunc func, GlobArgs arg) {
int p,m;
int status = 0;
ByteList buf = new ByteList();
byte[] newpath = null;
File st;
List link = new ArrayList();
p = sub != -1 ?... | private static int glob_helper(String cwd, byte[] _path, int path, int plen, int sub, int flags, GlobFunc func, GlobArgs arg) {
int p,m;
int status = 0;
ByteList buf = new ByteList();
byte[] newpath = null;
File st;
List link = new ArrayList();
p = sub != -1 ?... |
diff --git a/src/main/java/org/spoutcraft/launcher/GameLauncher.java b/src/main/java/org/spoutcraft/launcher/GameLauncher.java
index e2d50b3..3fa34fb 100644
--- a/src/main/java/org/spoutcraft/launcher/GameLauncher.java
+++ b/src/main/java/org/spoutcraft/launcher/GameLauncher.java
@@ -1,207 +1,208 @@
/*
* This file i... | true | true | public void runGame(String user, String session, String downloadTicket, Modpack modpack) {
if (modpack != null) {
System.out.println(modpack.getDisplayName());
System.out.println(modpack.getName());
this.setTitle(modpack.getDisplayName());
File icon = new File(Utils.getAssetsDirectory(), modpack.getName(... | public void runGame(String user, String session, String downloadTicket, Modpack modpack) {
if (modpack != null) {
System.out.println(modpack.getDisplayName());
System.out.println(modpack.getName());
this.setTitle(modpack.getDisplayName());
File icon = new File(Utils.getAssetsDirectory(), modpack.getName(... |
diff --git a/org.maven.ide.eclipse/src/org/maven/ide/eclipse/archetype/ArchetypeCatalogsWriter.java b/org.maven.ide.eclipse/src/org/maven/ide/eclipse/archetype/ArchetypeCatalogsWriter.java
index bb73149e..d7ea4ed8 100644
--- a/org.maven.ide.eclipse/src/org/maven/ide/eclipse/archetype/ArchetypeCatalogsWriter.java
+++ b/... | false | true | public void parse(InputSource input) throws SAXException {
ContentHandler handler = getContentHandler();
handler.startDocument();
handler.startElement(null, ELEMENT_CATALOGS, ELEMENT_CATALOGS, new AttributesImpl());
for(ArchetypeCatalogFactory factory : this.catalogs) {
if(factory.i... | public void parse(InputSource input) throws SAXException {
ContentHandler handler = getContentHandler();
handler.startDocument();
handler.startElement(null, ELEMENT_CATALOGS, ELEMENT_CATALOGS, new AttributesImpl());
for(ArchetypeCatalogFactory factory : this.catalogs) {
if(factory.i... |
diff --git a/src/test/java/org/atlasapi/beans/FullToSimpleModelTranslatorTest.java b/src/test/java/org/atlasapi/beans/FullToSimpleModelTranslatorTest.java
index 95d16997..c612ba68 100644
--- a/src/test/java/org/atlasapi/beans/FullToSimpleModelTranslatorTest.java
+++ b/src/test/java/org/atlasapi/beans/FullToSimpleModelT... | true | true | public void testCanCreateSimpleItemFromFullItem() throws Exception {
org.atlasapi.media.entity.Item fullItem = new org.atlasapi.media.entity.Item();
Version version = new Version();
Restriction restriction = new Restriction();
restriction.setRestricted(true);
restriction.setMessage("adults only");
ve... | public void testCanCreateSimpleItemFromFullItem() throws Exception {
org.atlasapi.media.entity.Item fullItem = new org.atlasapi.media.entity.Item();
Version version = new Version();
Restriction restriction = new Restriction();
restriction.setRestricted(true);
restriction.setMessage("adults only");
ve... |
diff --git a/user/src/com/google/gwt/user/server/rpc/RPCServletUtils.java b/user/src/com/google/gwt/user/server/rpc/RPCServletUtils.java
index 63179bd9b..c020de981 100644
--- a/user/src/com/google/gwt/user/server/rpc/RPCServletUtils.java
+++ b/user/src/com/google/gwt/user/server/rpc/RPCServletUtils.java
@@ -1,257 +1,27... | false | true | public static String readContentAsUtf8(HttpServletRequest request)
throws IOException, ServletException {
int contentLength = request.getContentLength();
if (contentLength == -1) {
// Content length must be known.
throw new ServletException("Content-Length must be specified");
}
Str... | public static String readContentAsUtf8(HttpServletRequest request)
throws IOException, ServletException {
int contentLength = request.getContentLength();
if (contentLength == -1) {
// Content length must be known.
throw new ServletException("Content-Length must be specified");
}
Str... |
diff --git a/src/au/gov/naa/digipres/xena/plugin/image/test/JpegGuesserTester.java b/src/au/gov/naa/digipres/xena/plugin/image/test/JpegGuesserTester.java
index b79c743c..2691856d 100644
--- a/src/au/gov/naa/digipres/xena/plugin/image/test/JpegGuesserTester.java
+++ b/src/au/gov/naa/digipres/xena/plugin/image/test/Jpeg... | true | true | public static void main(String[] argv){
JpegGuesser guesser = new JpegGuesser();
XenaInputSource xis = null;
List fileNameList = new ArrayList();
fileNameList.add("d:\\test_data\\dino.jpg");
fileNameList.add("d:\\test_data\\dino.jpg");
file... | public static void main(String[] argv){
JpegGuesser guesser = new JpegGuesser();
XenaInputSource xis = null;
List<String> fileNameList = new ArrayList<String>();
fileNameList.add("d:\\test_data\\dino.jpg");
fileNameList.add("d:\\test_data\\dino.jpg... |
diff --git a/xstream/src/java/com/thoughtworks/xstream/converters/collections/PropertiesConverter.java b/xstream/src/java/com/thoughtworks/xstream/converters/collections/PropertiesConverter.java
index 99657d5d..7ae71f29 100644
--- a/xstream/src/java/com/thoughtworks/xstream/converters/collections/PropertiesConverter.ja... | true | true | public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) {
Properties properties = (Properties) source;
Map map = sort ? new TreeMap(properties) : properties;
for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) {
Map.Ent... | public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) {
Properties properties = (Properties) source;
Map map = sort ? (Map)new TreeMap(properties) : (Map)properties;
for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) {
... |
diff --git a/src/ise/gameoflife/participants/GroupDataModel.java b/src/ise/gameoflife/participants/GroupDataModel.java
index 4fa653a..3811664 100644
--- a/src/ise/gameoflife/participants/GroupDataModel.java
+++ b/src/ise/gameoflife/participants/GroupDataModel.java
@@ -1,257 +1,256 @@
package ise.gameoflife.participant... | true | true | double getEstimatedSocialLocation()
{
/*
* Algorithm:
* - The leaders are those people trust most
* - The social location is ratio(ish) of leaders to group members
* - This can be modelled as the the deviation of the trust values
* - If one agent is trusted more than others, high deviation
* ... | double getEstimatedSocialLocation()
{
/*
* Algorithm:
* - The leaders are those people trust most
* - The social location is ratio(ish) of leaders to group members
* - This can be modelled as the the deviation of the trust values
* - If one agent is trusted more than others, high deviation
* ... |
diff --git a/src/org/biojavax/bio/seq/io/FastaFormat.java b/src/org/biojavax/bio/seq/io/FastaFormat.java
index 34d399b7e..d9a53911e 100644
--- a/src/org/biojavax/bio/seq/io/FastaFormat.java
+++ b/src/org/biojavax/bio/seq/io/FastaFormat.java
@@ -1,278 +1,278 @@
/*
* BioJava development code
*
*... | true | true | public boolean readRichSequence(
BufferedReader reader,
SymbolTokenization symParser,
RichSeqIOListener rsiol,
Namespace ns
) throws
IllegalSymbolException,
IOException,
ParseException {
String line = re... | public boolean readRichSequence(
BufferedReader reader,
SymbolTokenization symParser,
RichSeqIOListener rsiol,
Namespace ns
) throws
IllegalSymbolException,
IOException,
ParseException {
String line = re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.