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/tests/org.eclipse.ecf.tests.provider.jms.activemq/src/org/eclipse/ecf/tests/provider/jms/activemq/remoteservice/ActiveMQClientServiceRegisterTest.java b/tests/org.eclipse.ecf.tests.provider.jms.activemq/src/org/eclipse/ecf/tests/provider/jms/activemq/remoteservice/ActiveMQClientServiceRegisterTest.java
ind... | true | true | public void testGetAndUseIRemoteService() throws Exception {
String classname = TestServiceInterface1.class.getName();
// Setup service tracker for client
ServiceTracker st = createProxyServiceTracker(classname);
// Server - register service with required OSGI property and some test properties
Properties ... | public void testGetAndUseIRemoteService() throws Exception {
String classname = TestServiceInterface1.class.getName();
// Setup service tracker for client
ServiceTracker st = createProxyServiceTracker(classname);
// Server - register service with required OSGI property and some test properties
Properties ... |
diff --git a/src/com/github/inside/PowerTimer.java b/src/com/github/inside/PowerTimer.java
index d46390a..0463451 100644
--- a/src/com/github/inside/PowerTimer.java
+++ b/src/com/github/inside/PowerTimer.java
@@ -1,43 +1,43 @@
package com.github.inside;
import java.util.Map;
import java.util.Iterator;
import java... | true | true | public static void iterateOverPowers(ConcurrentHashMap map)
{
Iterator<Map.Entry<String, PaddlePower>> entries = map.entrySet().iterator();
while (entries.hasNext())
{
Map.Entry<String, PaddlePower> entry = entries.next();
PaddlePower power = entry.getValue();
... | public static void iterateOverPowers(ConcurrentHashMap<String, PaddlePower> map)
{
Iterator<Map.Entry<String, PaddlePower>> entries = map.entrySet().iterator();
while (entries.hasNext())
{
Map.Entry<String, PaddlePower> entry = entries.next();
PaddlePower power =... |
diff --git a/src/com/axelby/podax/WidgetProvider.java b/src/com/axelby/podax/WidgetProvider.java
index aa976c8..ab3a861 100644
--- a/src/com/axelby/podax/WidgetProvider.java
+++ b/src/com/axelby/podax/WidgetProvider.java
@@ -1,61 +1,61 @@
package com.axelby.podax;
import android.app.PendingIntent;
import android.a... | true | true | public static void updateWidget(Context context) {
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
int[] ids = appWidgetManager.getAppWidgetIds(new ComponentName(context, "com.axelby.podax.WidgetProvider"));
if (ids.length == 0)
return;
boolean isPlaying = PlayerService.isPlaying... | public static void updateWidget(Context context) {
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
int[] ids = appWidgetManager.getAppWidgetIds(new ComponentName(context, "com.axelby.podax.WidgetProvider"));
if (ids.length == 0)
return;
boolean isPlaying = PlayerService.isPlaying... |
diff --git a/src/java/org/lwjgl/openal/ALC11.java b/src/java/org/lwjgl/openal/ALC11.java
index 031a1b8f..e6df2b5b 100644
--- a/src/java/org/lwjgl/openal/ALC11.java
+++ b/src/java/org/lwjgl/openal/ALC11.java
@@ -1,193 +1,193 @@
/*
* Copyright (c) 2002-2004 LWJGL Project
* All rights reserved.
*
* Redistributi... | true | true | static boolean initialize() {
try {
IntBuffer ib = BufferUtils.createIntBuffer(2);
ALC10.alcGetInteger(AL.getDevice(), ALC10.ALC_MAJOR_VERSION, ib);
ib.position(1);
ALC10.alcGetInteger(AL.getDevice(), ALC10.ALC_MINOR_VERSION, ib);
int major = ib.get(0);
int minor = ib.get(1);
// checking f... | static boolean initialize() {
try {
IntBuffer ib = BufferUtils.createIntBuffer(2);
ALC10.alcGetInteger(AL.getDevice(), ALC10.ALC_MAJOR_VERSION, ib);
ib.position(1);
ALC10.alcGetInteger(AL.getDevice(), ALC10.ALC_MINOR_VERSION, ib);
int major = ib.get(0);
int minor = ib.get(1);
// checking f... |
diff --git a/SettleExpenses/src/com/app/settleexpenses/SplashScreen.java b/SettleExpenses/src/com/app/settleexpenses/SplashScreen.java
index 1ebabdd..2562002 100644
--- a/SettleExpenses/src/com/app/settleexpenses/SplashScreen.java
+++ b/SettleExpenses/src/com/app/settleexpenses/SplashScreen.java
@@ -1,35 +1,31 @@
pack... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.splash);
Thread splashThread = new Thread() {
@Override
public void run() {
try {
int waited ... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.splash);
Thread splashThread = new Thread() {
@Override
public void run() {
try {
sleep(3000);... |
diff --git a/polly.core/src/commands/QuitCommand.java b/polly.core/src/commands/QuitCommand.java
index b474772d..20a38afc 100644
--- a/polly.core/src/commands/QuitCommand.java
+++ b/polly.core/src/commands/QuitCommand.java
@@ -1,75 +1,75 @@
package commands;
import polly.core.MyPlugin;
import de.skuzzle.polly.sd... | true | true | protected boolean executeOnBoth(User executer, String channel,
Signature signature) throws CommandException {
String message = "*kr�chz* *kr�chz* *kr�chz*";
if (this.match(signature, 1)) {
message = signature.getStringValue(0);
}
Conversation c = nu... | protected boolean executeOnBoth(User executer, String channel,
Signature signature) throws CommandException {
String message = "*kr�chz* *kr�chz* *kr�chz*";
if (this.match(signature, 1)) {
message = signature.getStringValue(0);
}
Conversation c = nu... |
diff --git a/git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/CleanerTest.java b/git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/CleanerTest.java
index ce3e2d7..7655c03 100644
--- a/git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/CleanerTest.java
+++ b/git-tests/src/jetbra... | true | true | public void test_clean() throws VcsException, InterruptedException {
System.setProperty("teamcity.server.git.gc.enabled ", String.valueOf(true));
if (System.getenv(Constants.GIT_PATH_ENV) != null)
System.setProperty("teamcity.server.git.executable.path", System.getenv(Constants.GIT_PATH_ENV));
fina... | public void test_clean() throws VcsException, InterruptedException {
System.setProperty("teamcity.server.git.gc.enabled", String.valueOf(true));
if (System.getenv(Constants.GIT_PATH_ENV) != null)
System.setProperty("teamcity.server.git.executable.path", System.getenv(Constants.GIT_PATH_ENV));
final... |
diff --git a/src/org/mozilla/javascript/regexp/SubString.java b/src/org/mozilla/javascript/regexp/SubString.java
index b5383c9f..4fdecb40 100644
--- a/src/org/mozilla/javascript/regexp/SubString.java
+++ b/src/org/mozilla/javascript/regexp/SubString.java
@@ -1,76 +1,75 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-m... | false | true | public SubString(char[] source, int start, int len)
{
// there must be a better way of doing this??
index = 0;
length = len;
charArray = new char[len];
for (int j = 0; j < len; j++)
charArray[j] = source[start + j];
}
| public SubString(char[] source, int start, int len)
{
index = 0;
length = len;
charArray = new char[len];
// is this copy needed?
System.arraycopy(source, start, charArray, 0, len);
}
|
diff --git a/fog/src/de/tuilmenau/ics/fog/util/BlockingEventHandling.java b/fog/src/de/tuilmenau/ics/fog/util/BlockingEventHandling.java
index 3812aa21..f0555020 100644
--- a/fog/src/de/tuilmenau/ics/fog/util/BlockingEventHandling.java
+++ b/fog/src/de/tuilmenau/ics/fog/util/BlockingEventHandling.java
@@ -1,94 +1,94 @@... | true | true | public synchronized Event waitForEvent(double pTimeout)
{
Event res = null;
boolean tInterrupted = false;
int tAttempt = 0;
do {
if(firstEvent != null) {
res = firstEvent;
firstEvent = null;
} else {
if(events != null) {
if(!events.isEmpty()) {
res = events.removeFirst();
... | public synchronized Event waitForEvent(double pTimeout)
{
Event res = null;
boolean tInterrupted = false;
int tAttempt = 0;
do {
if(firstEvent != null) {
res = firstEvent;
firstEvent = null;
} else {
if(events != null) {
if(!events.isEmpty()) {
res = events.removeFirst();
... |
diff --git a/src/se/kth/maandree/utilsay/Program.java b/src/se/kth/maandree/utilsay/Program.java
index 8c8e024..6f39ade 100644
--- a/src/se/kth/maandree/utilsay/Program.java
+++ b/src/se/kth/maandree/utilsay/Program.java
@@ -1,134 +1,133 @@
/**
* util-say — Utilities for cowsay and cowsay-like programs
*
* Copyr... | true | true | public static void main(final String... args) throws IOException
{
if ((args.length == 0) || ((args.length == 1) && args[0].equals("--help")))
{
System.out.println("Copyright (C) 2012, 2013 Mattias Andrée <maandree@member.fsf.org>");
System.out.println();
System.out.printl... | public static void main(final String... args) throws IOException
{
if ((args.length == 0) || ((args.length == 1) && args[0].equals("--help")))
{
System.out.println("Copyright (C) 2012, 2013 Mattias Andrée <maandree@member.fsf.org>");
System.out.println();
System.out.printl... |
diff --git a/mini2Dx-uats/src/main/java/org/mini2Dx/uats/common/TiledMapUAT.java b/mini2Dx-uats/src/main/java/org/mini2Dx/uats/common/TiledMapUAT.java
index e5c1a8601..054f926ac 100644
--- a/mini2Dx-uats/src/main/java/org/mini2Dx/uats/common/TiledMapUAT.java
+++ b/mini2Dx-uats/src/main/java/org/mini2Dx/uats/common/Tile... | true | true | public static void main(String[] args) {
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
cfg.title = "mini2Dx - Graphics Verification Test";
cfg.useGL20 = true;
cfg.width = 800;
cfg.height = 600;
cfg.useCPUSynch = false;
cfg.vSyncEnabled = true;
new LwjglApplication(new Mini2Dx... | public static void main(String[] args) {
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
cfg.title = "mini2Dx - TiledMap Verification Test";
cfg.useGL20 = true;
cfg.width = 800;
cfg.height = 600;
cfg.useCPUSynch = false;
cfg.vSyncEnabled = true;
new LwjglApplication(new Mini2Dx... |
diff --git a/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java b/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java
index... | true | true | protected CheckOutScmResult executeCheckOutCommand( ScmProviderRepository repository, ScmFileSet fileSet,
ScmVersion version )
throws ScmException
{
getLogger().debug( "executing checkout command..." );
ClearCaseScmProviderRepositor... | protected CheckOutScmResult executeCheckOutCommand( ScmProviderRepository repository, ScmFileSet fileSet,
ScmVersion version )
throws ScmException
{
getLogger().debug( "executing checkout command..." );
ClearCaseScmProviderRepositor... |
diff --git a/src/main/java/cc/redberry/core/utils/TensorUtils.java b/src/main/java/cc/redberry/core/utils/TensorUtils.java
index 9bac76e..7cd7e05 100644
--- a/src/main/java/cc/redberry/core/utils/TensorUtils.java
+++ b/src/main/java/cc/redberry/core/utils/TensorUtils.java
@@ -1,476 +1,476 @@
/*
* Redberry: symbolic ... | true | true | public static boolean equalsExactly(Tensor u, Tensor v) {
if (u == v)
return true;
if (u.getClass() != v.getClass())
return false;
if (u instanceof Complex)
return u.equals(v);
if (u.hashCode() != v.hashCode())
return false;
if ... | public static boolean equalsExactly(Tensor u, Tensor v) {
if (u == v)
return true;
if (u.getClass() != v.getClass())
return false;
if (u instanceof Complex)
return u.equals(v);
if (u.hashCode() != v.hashCode())
return false;
if ... |
diff --git a/src/plugin/PluginManager.java b/src/plugin/PluginManager.java
index d5fe5a2..16fb218 100644
--- a/src/plugin/PluginManager.java
+++ b/src/plugin/PluginManager.java
@@ -1,31 +1,31 @@
package plugin;
import java.io.File;
import java.util.ArrayList;
public class PluginManager {
public static ... | false | true | public static ArrayList<PluginFile> loadInstalledPlugins() {
File path = new File("src/plugin");
File files[] = path.listFiles();
ArrayList<PluginFile> filePaths = new ArrayList<PluginFile>();
try {
ClassLoader loader = ClassLoader.getSystemClassLoader();
for (File file : files) {
if (file.getNam... | public static ArrayList<PluginFile> loadInstalledPlugins() {
File path = new File("plugins");
File files[] = path.listFiles();
ArrayList<PluginFile> filePaths = new ArrayList<PluginFile>();
try {
ClassLoader loader = ClassLoader.getSystemClassLoader();
for (File file : files) {
if (file.getName()... |
diff --git a/com.ibm.wala.core/src/com/ibm/wala/analysis/reflection/ForNameContextInterpreter.java b/com.ibm.wala.core/src/com/ibm/wala/analysis/reflection/ForNameContextInterpreter.java
index a1b0b642b..100ceedff 100644
--- a/com.ibm.wala.core/src/com/ibm/wala/analysis/reflection/ForNameContextInterpreter.java
+++ b/c... | false | true | private SSAInstruction[] makeStatements(JavaTypeContext context) {
ArrayList<SSAInstruction> statements = new ArrayList<SSAInstruction>();
int nextLocal = 1;
int retValue = nextLocal++;
TypeReference tr = context.getType().getTypeReference();
if (tr != null) {
SSALoadClassInstruction l = new... | private SSAInstruction[] makeStatements(JavaTypeContext context) {
ArrayList<SSAInstruction> statements = new ArrayList<SSAInstruction>();
// vn1 is the string parameter
int retValue = 2;
TypeReference tr = context.getType().getTypeReference();
if (tr != null) {
SSALoadClassInstruction l = n... |
diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java
index a62d4e4..a468060 100644
--- a/src/com/gitblit/GitBlit.java
+++ b/src/com/gitblit/GitBlit.java
@@ -1,1718 +1,1723 @@
/*
* Copyright 2011 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not u... | true | true | public void updateRepositoryModel(String repositoryName, RepositoryModel repository,
boolean isCreate) throws GitBlitException {
Repository r = null;
if (isCreate) {
// ensure created repository name ends with .git
if (!repository.name.toLowerCase().endsWith(org.eclipse.jgit.lib.Constants.DOT_GIT_EXT)) {
... | public void updateRepositoryModel(String repositoryName, RepositoryModel repository,
boolean isCreate) throws GitBlitException {
Repository r = null;
if (isCreate) {
// ensure created repository name ends with .git
if (!repository.name.toLowerCase().endsWith(org.eclipse.jgit.lib.Constants.DOT_GIT_EXT)) {
... |
diff --git a/src/org/apache/xerces/validators/common/XMLValidator.java b/src/org/apache/xerces/validators/common/XMLValidator.java
index 0546456c4..1eaca6211 100644
--- a/src/org/apache/xerces/validators/common/XMLValidator.java
+++ b/src/org/apache/xerces/validators/common/XMLValidator.java
@@ -1,3548 +1,3551 @@
/*
... | false | true | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if (fGrammar == null &&
!fValidating && !fNamespacesEnabled) {
fCurrentElementIndex = -1;
fCurrentContentSpecType = ... | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if (fGrammar == null &&
!fValidating && !fNamespacesEnabled) {
fCurrentElementIndex = -1;
fCurrentContentSpecType = ... |
diff --git a/core/src/main/java/com/dtolabs/rundeck/core/tasks/net/ExtSSHExec.java b/core/src/main/java/com/dtolabs/rundeck/core/tasks/net/ExtSSHExec.java
index 77a9d8752..c02becd75 100644
--- a/core/src/main/java/com/dtolabs/rundeck/core/tasks/net/ExtSSHExec.java
+++ b/core/src/main/java/com/dtolabs/rundeck/core/tasks... | true | true | private void executeCommand(Session session, String cmd, StringBuffer sb)
throws BuildException {
final ByteArrayOutputStream out ;
final OutputStream tee;
final OutputStream teeout;
if(null!=outputFile || null!=outputProperty){
out = new ByteArrayOutputStream();
... | private void executeCommand(Session session, String cmd, StringBuffer sb)
throws BuildException {
final ByteArrayOutputStream out ;
final OutputStream tee;
final OutputStream teeout;
if(null!=outputFile || null!=outputProperty){
out = new ByteArrayOutputStream();
... |
diff --git a/jmx-extractor/src/main/java/org/jmxdatamart/Extractor/Bean2DB.java b/jmx-extractor/src/main/java/org/jmxdatamart/Extractor/Bean2DB.java
index 48e52d2..c729bd6 100644
--- a/jmx-extractor/src/main/java/org/jmxdatamart/Extractor/Bean2DB.java
+++ b/jmx-extractor/src/main/java/org/jmxdatamart/Extractor/Bean2DB.... | true | true | public static void main(String[] args) {
// TODO code application logic here
int expected = 42;
//Create new test MBean
TestBean tb = new TestBean();
tb.setA(new Integer(expected));
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
String mbName = ... | public static void main(String[] args) {
// TODO code application logic here
int expected = 42;
//Create new test MBean
TestBean tb = new TestBean();
tb.setA(new Integer(expected));
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
String mbName = ... |
diff --git a/src/java/org/apache/xmlrpc/XmlRpcClientLite.java b/src/java/org/apache/xmlrpc/XmlRpcClientLite.java
index eb5de41..2c868d0 100644
--- a/src/java/org/apache/xmlrpc/XmlRpcClientLite.java
+++ b/src/java/org/apache/xmlrpc/XmlRpcClientLite.java
@@ -1,423 +1,427 @@
package org.apache.xmlrpc;
/*
* The Apach... | false | true | Object execute (String method, Vector params)
throws XmlRpcException, IOException
{
long now = System.currentTimeMillis ();
fault = false;
try
{
if (buffer == null)
{
buffer = new ByteArrayOut... | Object execute (String method, Vector params)
throws XmlRpcException, IOException
{
long now = System.currentTimeMillis ();
fault = false;
try
{
if (buffer == null)
{
buffer = new ByteArrayOut... |
diff --git a/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentItemsSource.java b/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentItemsSource.java
index d89d88875..20f75829b 100644
--- a/modules/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ContentItemsS... | true | true | public void printStatistics(String itemsName) {
boolean print = false;
String col = " ";
StringBuilder sb = new StringBuilder();
String newline = System.getProperty("line.separator");
sb.append("------------> ").append(getClass().getSimpleName()).append(" statistics (").append(pri... | public void printStatistics(String itemsName) {
if (!verbose) {
return;
}
boolean print = false;
String col = " ";
StringBuilder sb = new StringBuilder();
String newline = System.getProperty("line.separator");
sb.append("------------> ").append(getClass().getSimpleNa... |
diff --git a/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityResolutionGenerator.java b/common/plugins/org.jboss.tools.common.ui/src/org/jboss/tools/common/ui/marker/ConfigureProblemSeverityResolutionGenerator.java
index d687efeb6..8cc3405c4 100644
--- a/common/plug... | false | true | public IMarkerResolution[] getResolutions(IMarker marker) {
ArrayList<IMarkerResolution> resolutions = new ArrayList<IMarkerResolution>();
int position = marker.getAttribute(IMarker.CHAR_START, 0);
try {
if(marker.getResource() instanceof IFile){
IFile file = (IFile)marker.getResource();
if(file != nu... | public IMarkerResolution[] getResolutions(IMarker marker) {
ArrayList<IMarkerResolution> resolutions = new ArrayList<IMarkerResolution>();
int position = marker.getAttribute(IMarker.CHAR_START, 0);
try {
if(marker.getResource() instanceof IFile){
IFile file = (IFile)marker.getResource();
if(file != nu... |
diff --git a/src/org/github/nas774/piax/piaxshell/PIAXShell.java b/src/org/github/nas774/piax/piaxshell/PIAXShell.java
index 44818aa..1e07e3a 100644
--- a/src/org/github/nas774/piax/piaxshell/PIAXShell.java
+++ b/src/org/github/nas774/piax/piaxshell/PIAXShell.java
@@ -1,829 +1,831 @@
package org.github.nas774.piax.pia... | false | true | protected boolean initSettings(String args[]) {
try {
String propfile = PROPERTY_FILE;
String tmp_peername = "";
String tmp_piaxaddress = "";
String tmp_piaxport = "";
String tmp_seed = "";
boolean tmp_autojoin = false;
boo... | protected boolean initSettings(String args[]) {
try {
String propfile = PROPERTY_FILE;
String tmp_peername = "";
String tmp_piaxaddress = "";
String tmp_piaxport = "";
String tmp_seed = "";
boolean tmp_autojoin = false;
boo... |
diff --git a/src/cytoscape/visual/ValueDisplayer.java b/src/cytoscape/visual/ValueDisplayer.java
index deb592a80..19300c88f 100755
--- a/src/cytoscape/visual/ValueDisplayer.java
+++ b/src/cytoscape/visual/ValueDisplayer.java
@@ -1,600 +1,598 @@
//------------------------------------------------------------------------... | false | true | private void setInputIconListener(String title, String objectName,
Object startObject,
JDialog parentDialog, byte type) {
// set up button to display icon only
this.setContentAreaFilled(false);
// get icons - cannot be done from a static context
ImageIcon[] icons = null;
HashMap iToS = nul... | private void setInputIconListener(String title, String objectName,
Object startObject,
JDialog parentDialog, byte type) {
// set up button to display icon only
this.setContentAreaFilled(false);
// get icons - cannot be done from a static context
ImageIcon[] icons = null;
HashMap iToS = nul... |
diff --git a/src/main/java/de/cismet/cismap/commons/capabilities/AbstractVersionNegotiator.java b/src/main/java/de/cismet/cismap/commons/capabilities/AbstractVersionNegotiator.java
index 9c09d2da..fdf565e9 100644
--- a/src/main/java/de/cismet/cismap/commons/capabilities/AbstractVersionNegotiator.java
+++ b/src/main/jav... | false | true | protected String getCapabilitiesDocument(String link) throws MalformedURLException,
MissingArgumentException,
AccessMethodIsNotSupportedException,
RequestFailedException,
NoHandlerForURLException,
Exception {
String startVersion = getVersionFromLink(link);
fin... | protected String getCapabilitiesDocument(String link) throws MalformedURLException,
MissingArgumentException,
AccessMethodIsNotSupportedException,
RequestFailedException,
NoHandlerForURLException,
Exception {
String startVersion = getVersionFromLink(link);
fin... |
diff --git a/src/generator/com/operationaldynamics/codegen/ProxiedArrayThing.java b/src/generator/com/operationaldynamics/codegen/ProxiedArrayThing.java
index 984de9e2..6372c2e3 100644
--- a/src/generator/com/operationaldynamics/codegen/ProxiedArrayThing.java
+++ b/src/generator/com/operationaldynamics/codegen/ProxiedA... | true | true | String extraTranslationToJava(String name, DefsFile data) {
if (type instanceof InterfaceThing) {
return "fillObjectArray((Object[])" + name + ", _" + name + ")";
}
if (type instanceof ObjectThing) {
return "fillObjectArray(" + name + ", _" + name + ")";
} els... | String extraTranslationToJava(String name, DefsFile data) {
if (type instanceof InterfaceThing) {
return "fillObjectArray((Object[])" + name + ", _" + name + ")";
} else if (type instanceof ObjectThing) {
return "fillObjectArray(" + name + ", _" + name + ")";
} else {... |
diff --git a/src/esmska/Main.java b/src/esmska/Main.java
index db1d95d5..9a47b7c6 100644
--- a/src/esmska/Main.java
+++ b/src/esmska/Main.java
@@ -1,333 +1,334 @@
package esmska;
import esmska.gui.ThemeManager;
import esmska.update.LegacyUpdater;
import java.beans.IntrospectionException;
import java.util.Locale;... | true | true | public static void main(String[] args) {
//initialize logging
LogSupport.init();
//store records for pushing it to logfile later
LogSupport.storeRecords(true);
//handle uncaught exceptions
Thread.setDefaultUncaughtExceptionHandler(ExceptionDialog.getExceptionHandler(... | public static void main(String[] args) {
//initialize logging
LogSupport.init();
//store records for pushing it to logfile later
LogSupport.storeRecords(true);
//handle uncaught exceptions
Thread.setDefaultUncaughtExceptionHandler(ExceptionDialog.getExceptionHandler(... |
diff --git a/src/minecraft/co/uk/flansmods/client/model/ModelVehicle.java b/src/minecraft/co/uk/flansmods/client/model/ModelVehicle.java
index 9ebd419e..f5a79029 100644
--- a/src/minecraft/co/uk/flansmods/client/model/ModelVehicle.java
+++ b/src/minecraft/co/uk/flansmods/client/model/ModelVehicle.java
@@ -1,310 +1,310 ... | false | true | public void render(float f5, EntityVehicle vehicle, float f)
{
boolean rotateWheels = vehicle.getVehicleType().rotateWheels;
//Rendering the body
if(vehicle.isPartIntact(EnumDriveablePart.core))
{
for(int i = 0; i < bodyModel.length; i++)
{
bodyModel[i].render(... | public void render(float f5, EntityVehicle vehicle, float f)
{
boolean rotateWheels = vehicle.getVehicleType().rotateWheels;
//Rendering the body
if(vehicle.isPartIntact(EnumDriveablePart.core))
{
for(int i = 0; i < bodyModel.length; i++)
{
bodyModel[i].render(... |
diff --git a/svn/branches/1.3-dev/src/org/cfeclipse/cfml/editors/actions/GenericEncloserAction.java b/svn/branches/1.3-dev/src/org/cfeclipse/cfml/editors/actions/GenericEncloserAction.java
index bc5c81bc..d0b9f907 100644
--- a/svn/branches/1.3-dev/src/org/cfeclipse/cfml/editors/actions/GenericEncloserAction.java
+++ b/... | true | true | public void run(IAction action)
{
// IEditorInput input = editor.getEditorInput();
// FileEditorInput fInput = (FileEditorInput)input;
// System.out.println("Is this readonly" + fInput.getFile().isReadOnly());
if(editor != null && editor.isEditable())
{
/*
* to fix the fact that you can run this... | public void run(IAction action)
{
// IEditorInput input = editor.getEditorInput();
// FileEditorInput fInput = (FileEditorInput)input;
// System.out.println("Is this readonly" + fInput.getFile().isReadOnly());
if(editor != null && editor.isEditable())
{
/*
* to fix the fact that you can run this... |
diff --git a/src/org/jetbrains/plugins/clojure/formatter/processors/ClojureIndentProcessor.java b/src/org/jetbrains/plugins/clojure/formatter/processors/ClojureIndentProcessor.java
index 57adebf..89550b8 100644
--- a/src/org/jetbrains/plugins/clojure/formatter/processors/ClojureIndentProcessor.java
+++ b/src/org/jetbra... | true | true | public static Indent getChildIndent(ClojureBlock parent, ASTNode prevChildNode, ASTNode child) {
ASTNode astNode = parent.getNode();
final PsiElement psiParent = astNode.getPsi();
// For Groovy file
if (psiParent instanceof ClojureFile) {
return Indent.getNoneIndent();
}
ASTNode node =... | public static Indent getChildIndent(ClojureBlock parent, ASTNode prevChildNode, ASTNode child) {
ASTNode astNode = parent.getNode();
final PsiElement psiParent = astNode.getPsi();
// For Groovy file
if (psiParent instanceof ClojureFile) {
return Indent.getNoneIndent();
}
ASTNode node =... |
diff --git a/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/MylarPlugin.java b/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/MylarPlugin.java
index cc9e697c1..a7469a7d0 100644
--- a/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/MylarPlugin.java
+++ b/org.eclipse.mylyn.context.core/src... | false | true | private static void readBridge(IConfigurationElement element) {
try {
Object object = element
.createExecutableExtension(CoreExtensionPointReader.ELEMENT_STRUCTURE_BRIDGE_CLASS);
// MylarStatusHandler.log("> reading bridge: " +
// object.getClass(), null);
if (object instanceof IMylarStructur... | private static void readBridge(IConfigurationElement element) {
try {
Object object = element
.createExecutableExtension(CoreExtensionPointReader.ELEMENT_STRUCTURE_BRIDGE_CLASS);
if (object instanceof IMylarStructureBridge) {
IMylarStructureBridge bridge = (IMylarStructureBridge) object;
My... |
diff --git a/src/main/java/com/treasure_data/bulk_import/writer/FileWriter.java b/src/main/java/com/treasure_data/bulk_import/writer/FileWriter.java
index fc049e2..fb2a244 100644
--- a/src/main/java/com/treasure_data/bulk_import/writer/FileWriter.java
+++ b/src/main/java/com/treasure_data/bulk_import/writer/FileWriter.... | false | true | public void next(Row row) throws PreparePartsException {
int size = row.getValues().length;
// begin writing
if (row.needAdditionalTimeColumn()) {
// if the row doesn't have 'time' column, new 'time' column needs
// to be appended to it.
writeBeginRow(siz... | public void next(Row row) throws PreparePartsException {
int size = row.getValues().length;
// begin writing
if (row.needAdditionalTimeColumn()) {
// if the row doesn't have 'time' column, new 'time' column needs
// to be appended to it.
writeBeginRow(siz... |
diff --git a/PolyMeal/src/main/java/com/mustangexchange/polymeal/Parser.java b/PolyMeal/src/main/java/com/mustangexchange/polymeal/Parser.java
index 578fe32..07612c0 100644
--- a/PolyMeal/src/main/java/com/mustangexchange/polymeal/Parser.java
+++ b/PolyMeal/src/main/java/com/mustangexchange/polymeal/Parser.java
@@ -1,1... | false | true | public void parse(boolean breakfast)
{
Elements h2Eles = doc.getElementsByTag("h2");
Elements tables = doc.select("table");
String tempName = "";
String tempPrice = "";
//parses html with tag hierarchy starting with each table the moving to each table row, then table ... | public void parse(boolean breakfast)
{
Elements h2Eles = doc.getElementsByTag("h2");
Elements tables = doc.select("table");
//parses html with tag hierarchy starting with each table the moving to each table row, then table data and then each strong tag
for(Element table : tab... |
diff --git a/src/main/java/de/tuberlin/dima/presslufthammer/data/hierarchical/json/JSONRecordFileIterator.java b/src/main/java/de/tuberlin/dima/presslufthammer/data/hierarchical/json/JSONRecordFileIterator.java
index a3e1ea6..666dbb9 100644
--- a/src/main/java/de/tuberlin/dima/presslufthammer/data/hierarchical/json/JSO... | false | true | public RecordDecoder next() {
if (scan == null) {
return null;
}
if (scan.hasNextLine()) {
JSONObject job = (JSONObject) JSONValue.parse(scan.nextLine());
RecordDecoder decoder = new JSONRecordDecoder(schema, job);
return decoder;
} els... | public RecordDecoder next() {
if (scan == null) {
return null;
}
while (scan.hasNextLine()) {
String line = scan.nextLine();
if (line.equals("")) {
continue;
}
JSONObject job = (JSONObject) JSONValue.parse(line);
... |
diff --git a/src/org/usfirst/frc4682/Audacity/commands/CommandBase.java b/src/org/usfirst/frc4682/Audacity/commands/CommandBase.java
index a37a8d8..2b7f9b9 100644
--- a/src/org/usfirst/frc4682/Audacity/commands/CommandBase.java
+++ b/src/org/usfirst/frc4682/Audacity/commands/CommandBase.java
@@ -1,43 +1,43 @@
package ... | true | true | public static void init() {
// This MUST be here. If the OI creates Commands (which it very likely
// will), constructing it during the construction of CommandBase (from
// which commands extend), subsystems are not guaranteed to be
// yet. Thus, their requires() statements may grab ... | public static void init() {
// This MUST be here. If the OI creates Commands (which it very likely
// will), constructing it during the construction of CommandBase (from
// which commands extend), subsystems are not guaranteed to be
// yet. Thus, their requires() statements may grab ... |
diff --git a/src/java/org/powertac/common/interfaces/Customer.java b/src/java/org/powertac/common/interfaces/Customer.java
index 06b7b08..7dd31d0 100644
--- a/src/java/org/powertac/common/interfaces/Customer.java
+++ b/src/java/org/powertac/common/interfaces/Customer.java
@@ -1,48 +1,48 @@
/*
* Copyright 2009-2010 t... | true | true | public CustomerInfo generateCustomerInfo();
| public CustomerInfo[] generateCustomerInfoList();
|
diff --git a/src/dungeonCrawler/GameElements/Player.java b/src/dungeonCrawler/GameElements/Player.java
index db414d3..28cc6e7 100644
--- a/src/dungeonCrawler/GameElements/Player.java
+++ b/src/dungeonCrawler/GameElements/Player.java
@@ -1,80 +1,81 @@
package dungeonCrawler.GameElements;
import java.awt.Color;
impo... | false | true | public void reduceHealth(int Health, GameLogic logic) {
if (this.Health-Health > 0){
System.out.println("!" + (this.Health-Health));
this.Health = this.Health-Health;
System.out.println("Health verloren! Health: " + this.Health);
}
else {
lives--;
if(lives<=0){
this.Health -= Health;
Syste... | public void reduceHealth(int Health, GameLogic logic) {
if (this.Health-Health > 0){
this.Health = this.Health-Health;
System.out.println("Health verloren! Health: " + this.Health);
}
else {
lives--;
if(lives<=0){
this.Health -= Health;
System.out.println("!TOT! (x.x) Health: " + this.Health)... |
diff --git a/src/com/personalityextractor/entity/resolver/ViterbiResolver.java b/src/com/personalityextractor/entity/resolver/ViterbiResolver.java
index d340c64..e2ff199 100644
--- a/src/com/personalityextractor/entity/resolver/ViterbiResolver.java
+++ b/src/com/personalityextractor/entity/resolver/ViterbiResolver.java... | true | true | public List<WikipediaEntity> resolve(List<String> entities) {
ArrayList<Entity> entityList = new ArrayList<Entity>();
double bestProbability = (-1)*Integer.MAX_VALUE;
String bestPath = "";
List<String> bestSequence=null;
// find potential wiki entities for each entity
... | public List<WikipediaEntity> resolve(List<String> entities) {
List<WikipediaEntity> entityList = new ArrayList<WikipediaEntity>();
double bestProbability = (-1)*Integer.MAX_VALUE;
String bestPath = "";
List<String> bestSequence=null;
// find potential wiki entities for each ... |
diff --git a/src/org/antlr/works/ate/swing/ATEKeyBindings.java b/src/org/antlr/works/ate/swing/ATEKeyBindings.java
index e31eb66..72bb54e 100644
--- a/src/org/antlr/works/ate/swing/ATEKeyBindings.java
+++ b/src/org/antlr/works/ate/swing/ATEKeyBindings.java
@@ -1,188 +1,188 @@
/*
[The "BSD licence"]
Copyright (c) 2... | true | true | public void addEmacsKeyBindings() {
InputMap inputMap = textComponent.getInputMap();
// Ctrl-b to go backward one character
KeyStroke key = KeyStroke.getKeyStroke(KeyEvent.VK_B, Event.CTRL_MASK);
inputMap.put(key, DefaultEditorKit.backwardAction);
// Ctrl-f to go forward on... | public void addEmacsKeyBindings() {
InputMap inputMap = textComponent.getInputMap();
// Ctrl-b to go backward one character
KeyStroke key = KeyStroke.getKeyStroke(KeyEvent.VK_B, Event.CTRL_MASK);
inputMap.put(key, DefaultEditorKit.backwardAction);
// Ctrl-f to go forward on... |
diff --git a/src/main/java/de/beimax/simplespleef/SimpleSpleef.java b/src/main/java/de/beimax/simplespleef/SimpleSpleef.java
index 68af7db..14c914c 100644
--- a/src/main/java/de/beimax/simplespleef/SimpleSpleef.java
+++ b/src/main/java/de/beimax/simplespleef/SimpleSpleef.java
@@ -1,472 +1,472 @@
package de.beimax.simp... | true | true | public void init() {
// create plugin dir, if needed
new File("plugins" + File.separator + "SimpleSpleef" + File.separator)
.mkdirs();
// check files
File confFile = new File("plugins" + File.separator + "SimpleSpleef",
"SimpleSpleef.yml");
File enFile = new File("plugins" + File.separator + "Simple... | public void init() {
// create plugin dir, if needed
new File("plugins" + File.separator + "SimpleSpleef" + File.separator)
.mkdirs();
// check files
File confFile = new File("plugins" + File.separator + "SimpleSpleef",
"SimpleSpleef.yml");
File enFile = new File("plugins" + File.separator + "Simple... |
diff --git a/plugins/src/kg/apc/jmeter/perfmon/PerfMonCollector.java b/plugins/src/kg/apc/jmeter/perfmon/PerfMonCollector.java
index b0595baf..7ab6da71 100644
--- a/plugins/src/kg/apc/jmeter/perfmon/PerfMonCollector.java
+++ b/plugins/src/kg/apc/jmeter/perfmon/PerfMonCollector.java
@@ -1,304 +1,307 @@
package kg.apc.j... | true | true | private void initiateConnector(String host, int port, int index, String metric, String params) {
InetSocketAddress addr = new InetSocketAddress(host, port);
String stringKey = addr.toString() + "#" + index;
// handle label parameter
MetricParams paramsParsed = MetricParams.createFro... | private void initiateConnector(String host, int port, int index, String metric, String params) {
InetSocketAddress addr = new InetSocketAddress(host, port);
String stringKey = addr.toString() + "#" + index;
// handle label parameter
MetricParams paramsParsed = MetricParams.createFro... |
diff --git a/Slick/src/org/newdawn/slick/geom/Vector2f.java b/Slick/src/org/newdawn/slick/geom/Vector2f.java
index ab84b5f..e038734 100644
--- a/Slick/src/org/newdawn/slick/geom/Vector2f.java
+++ b/Slick/src/org/newdawn/slick/geom/Vector2f.java
@@ -1,346 +1,346 @@
package org.newdawn.slick.geom;
import org.newdawn.... | true | true | public void setTheta(double theta) {
// Next lines are to prevent numbers like -1.8369701E-16
// when working with negative numbers
if ((theta < -360) || (theta > 360)) {
theta = theta % 360;
}
if (theta < 0) {
theta = 360 + theta;
}
double oldTheta = getTheta();
if ((theta < -360) || (theta > 36... | public void setTheta(double theta) {
// Next lines are to prevent numbers like -1.8369701E-16
// when working with negative numbers
if ((theta < -360) || (theta > 360)) {
theta = theta % 360;
}
if (theta < 0) {
theta = 360 + theta;
}
double oldTheta = getTheta();
if ((theta < -360) || (theta > 36... |
diff --git a/src/server/j2se/com/sun/sgs/impl/kernel/TaskHandler.java b/src/server/j2se/com/sun/sgs/impl/kernel/TaskHandler.java
index 164855dae..a0d464f6a 100644
--- a/src/server/j2se/com/sun/sgs/impl/kernel/TaskHandler.java
+++ b/src/server/j2se/com/sun/sgs/impl/kernel/TaskHandler.java
@@ -1,146 +1,146 @@
package ... | true | true | public static void runTransactionalTask(KernelRunnable task)
throws Exception
{
if (logger.isLoggable(Level.FINEST))
logger.log(Level.FINEST, "starting a new transactional context");
// create a new transaction and set it as currently active
TransactionHandle handle ... | public static void runTransactionalTask(KernelRunnable task)
throws Exception
{
if (logger.isLoggable(Level.FINEST))
logger.log(Level.FINEST, "starting a new transactional context");
// create a new transaction and set it as currently active
TransactionHandle handle ... |
diff --git a/src/me/libraryaddict/Hungergames/Listeners/LibsFeastManager.java b/src/me/libraryaddict/Hungergames/Listeners/LibsFeastManager.java
index d1302ed..2fd905c 100644
--- a/src/me/libraryaddict/Hungergames/Listeners/LibsFeastManager.java
+++ b/src/me/libraryaddict/Hungergames/Listeners/LibsFeastManager.java
@@ ... | false | true | public void generateChests(final Location loc, final int height) {
ChestManager cm = HungergamesApi.getChestManager();
ConfigManager config = HungergamesApi.getConfigManager();
for (Player p : Bukkit.getOnlinePlayers()) {
Location l = p.getLocation().clone();
l.setY(l... | public void generateChests(final Location loc, final int height) {
ChestManager cm = HungergamesApi.getChestManager();
ConfigManager config = HungergamesApi.getConfigManager();
for (Player p : Bukkit.getOnlinePlayers()) {
Location l = p.getLocation().clone();
l.setY(l... |
diff --git a/tests/src/java/org/apache/log4j/util/JunitTestRunnerFilter.java b/tests/src/java/org/apache/log4j/util/JunitTestRunnerFilter.java
index 341bd348..43214d77 100644
--- a/tests/src/java/org/apache/log4j/util/JunitTestRunnerFilter.java
+++ b/tests/src/java/org/apache/log4j/util/JunitTestRunnerFilter.java
@@ -1... | true | true | public String filter(String in) {
if (in == null) {
return null;
}
if (
util.match(
"/at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner/", in)) {
return null;
} else if (
util.match(
"/at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner/... | public String filter(String in) {
if (in == null) {
return null;
}
if (
util.match(
"/at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner/", in)) {
return null;
} else if (
util.match(
"/at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner/... |
diff --git a/src/org/harleydroid/HarleyDroidService.java b/src/org/harleydroid/HarleyDroidService.java
index 73721b0..6260a20 100644
--- a/src/org/harleydroid/HarleyDroidService.java
+++ b/src/org/harleydroid/HarleyDroidService.java
@@ -1,331 +1,331 @@
//
// HarleyDroid: Harley Davidson J1850 Data Analyser for Androi... | true | true | public void run() {
int errors = 0;
//int cnt = 0;
if (!HarleyDroid.EMULATOR) {
try {
if (D) Log.d(TAG, "started");
mSock = mDevice.createRfcommSocketToServiceRecord(MY_UUID);
mSock.connect();
if (D) Log.d(TAG, "connected");
mIn = new BufferedReader(... | public void run() {
int errors = 0;
//int cnt = 0;
if (!HarleyDroid.EMULATOR) {
try {
if (D) Log.d(TAG, "started");
mSock = mDevice.createRfcommSocketToServiceRecord(MY_UUID);
mSock.connect();
if (D) Log.d(TAG, "connected");
mIn = new BufferedReader(... |
diff --git a/eqtl-mapping-pipeline/src/main/java/eqtlmappingpipeline/normalization/NormalizationConsoleGUI.java b/eqtl-mapping-pipeline/src/main/java/eqtlmappingpipeline/normalization/NormalizationConsoleGUI.java
index dad68a24..110c1947 100644
--- a/eqtl-mapping-pipeline/src/main/java/eqtlmappingpipeline/normalization... | false | true | public NormalizationConsoleGUI(String[] args) {
String in = null;
String out = null;
String cov = null;
boolean fullNorm = true;
boolean runLogTransform = false;
boolean runMTransform = false;
boolean runQQNorm = false;
boolean runCenterScale = false... | public NormalizationConsoleGUI(String[] args) {
String in = null;
String out = null;
String cov = null;
boolean fullNorm = true;
boolean runLogTransform = false;
boolean runMTransform = false;
boolean runQQNorm = false;
boolean runCenterScale = false... |
diff --git a/grails-app/services/org/chai/kevin/util/Utils.java b/grails-app/services/org/chai/kevin/util/Utils.java
index 65c2f95a..6a5b2d93 100644
--- a/grails-app/services/org/chai/kevin/util/Utils.java
+++ b/grails-app/services/org/chai/kevin/util/Utils.java
@@ -1,188 +1,182 @@
/**
* Copyright (c) 2011, Clinton ... | true | true | public static String getValueString(Type type, Value value){
if(value != null && !value.isNull()){
switch (type.getType()) {
case NUMBER:
return value.getNumberValue().toString();
case BOOL:
return value.getBooleanValue().toString();
case STRING:
return value.getStringValue();
case TEXT:
... | public static String getValueString(Type type, Value value){
if(value != null && !value.isNull()){
switch (type.getType()) {
case NUMBER:
return value.getNumberValue().toString();
case BOOL:
return value.getBooleanValue().toString();
case STRING:
return value.getStringValue();
case TEXT:
... |
diff --git a/src/directi/androidteam/training/chatclient/Chat/ChatListAdaptor.java b/src/directi/androidteam/training/chatclient/Chat/ChatListAdaptor.java
index 98a4a1a..24b2aa8 100644
--- a/src/directi/androidteam/training/chatclient/Chat/ChatListAdaptor.java
+++ b/src/directi/androidteam/training/chatclient/Chat/Chat... | true | true | public View getView(int position,View view,ViewGroup viewg){
Log.d("isSenderView","hey "+(new Integer(position)).toString());
View row = view;
if(row==null) {
LayoutInflater vi = (LayoutInflater)this.context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
row = vi.infla... | public View getView(int position,View view,ViewGroup viewg){
Log.d("isSenderView","hey "+(new Integer(position)).toString());
View row = view;
if(row==null) {
LayoutInflater vi = (LayoutInflater)this.context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
row = vi.infla... |
diff --git a/src/com/android/email/RecipientAdapter.java b/src/com/android/email/RecipientAdapter.java
index 0a990f95..03a58ee1 100644
--- a/src/com/android/email/RecipientAdapter.java
+++ b/src/com/android/email/RecipientAdapter.java
@@ -1,70 +1,71 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* ... | true | true | public RecipientAdapter(Context context, RecipientEditTextView list) {
super(context);
Resources r = context.getResources();
Bitmap def = BitmapFactory.decodeResource(r, R.drawable.ic_contact_picture);
list.setChipDimensions(
r.getDrawable(R.drawable.chip_background),... | public RecipientAdapter(Context context, RecipientEditTextView list) {
super(context);
Resources r = context.getResources();
Bitmap def = BitmapFactory.decodeResource(r, R.drawable.ic_contact_picture);
list.setChipDimensions(
r.getDrawable(R.drawable.chip_background),... |
diff --git a/smoketester/src/test/java/SmokeTest.java b/smoketester/src/test/java/SmokeTest.java
index 00fa312..184884f 100644
--- a/smoketester/src/test/java/SmokeTest.java
+++ b/smoketester/src/test/java/SmokeTest.java
@@ -1,30 +1,30 @@
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.Http... | true | true | public void should_display_front_page() throws IOException {
HttpResponse response = client.execute(new HttpGet("http://localhost:9080/smidig2011/index.jsp"));
String content = EntityUtils.toString(response.getEntity());
assertThat(content, containsString("woop woop"));
}
| public void should_display_front_page() throws IOException {
HttpResponse response = client.execute(new HttpGet("http://localhost:9080/smidig2011/index.jsp"));
String content = EntityUtils.toString(response.getEntity());
assertThat(content, containsString("shoop shoop"));
}
|
diff --git a/src/java/org/codehaus/groovy/grails/web/metaclass/RedirectDynamicMethod.java b/src/java/org/codehaus/groovy/grails/web/metaclass/RedirectDynamicMethod.java
index 5fe537e88..492965457 100644
--- a/src/java/org/codehaus/groovy/grails/web/metaclass/RedirectDynamicMethod.java
+++ b/src/java/org/codehaus/groovy... | true | true | public Object invoke(Object target, String methodName, Object[] arguments) {
if(arguments.length == 0)
throw new MissingMethodException(METHOD_SIGNATURE,target.getClass(),arguments);
Map argMap = arguments[0] instanceof Map ? (Map)arguments[0] : Collections.EMPTY_MAP;
if(argMap.... | public Object invoke(Object target, String methodName, Object[] arguments) {
if(arguments.length == 0)
throw new MissingMethodException(METHOD_SIGNATURE,target.getClass(),arguments);
Map argMap = arguments[0] instanceof Map ? (Map)arguments[0] : Collections.EMPTY_MAP;
if(argMap.... |
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
index bddaaf394..59d2d0fce 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclip... | false | true | public static void setupNewBugAttributes(TaskRepository taskRepository, RepositoryTaskData newTaskData)
throws CoreException {
String product = newTaskData.getProduct();
newTaskData.removeAllAttributes();
RepositoryConfiguration repositoryConfiguration = BugzillaCorePlugin.getRepositoryConfiguration(taskRe... | public static void setupNewBugAttributes(TaskRepository taskRepository, RepositoryTaskData newTaskData)
throws CoreException {
String product = newTaskData.getProduct();
newTaskData.removeAllAttributes();
RepositoryConfiguration repositoryConfiguration = BugzillaCorePlugin.getRepositoryConfiguration(taskRe... |
diff --git a/crypto/src/org/bouncycastle/cms/KeyAgreeRecipientInformation.java b/crypto/src/org/bouncycastle/cms/KeyAgreeRecipientInformation.java
index 394b2a8d..6d327298 100644
--- a/crypto/src/org/bouncycastle/cms/KeyAgreeRecipientInformation.java
+++ b/crypto/src/org/bouncycastle/cms/KeyAgreeRecipientInformation.ja... | true | true | public KeyAgreeRecipientInformation(
KeyAgreeRecipientInfo info,
AlgorithmIdentifier encAlg,
AlgorithmIdentifier macAlg,
InputStream data)
{
super(encAlg, macAlg, AlgorithmIdentifier.getInstance(info.getKeyEncryptionAlgorithm()), data);
this.info = info;
... | public KeyAgreeRecipientInformation(
KeyAgreeRecipientInfo info,
AlgorithmIdentifier encAlg,
AlgorithmIdentifier macAlg,
InputStream data)
{
super(encAlg, macAlg, AlgorithmIdentifier.getInstance(info.getKeyEncryptionAlgorithm()), data);
this.info = info;
... |
diff --git a/src/de/ueller/midlet/gps/Trace.java b/src/de/ueller/midlet/gps/Trace.java
index 420fe046..f96839dc 100644
--- a/src/de/ueller/midlet/gps/Trace.java
+++ b/src/de/ueller/midlet/gps/Trace.java
@@ -1,3559 +1,3567 @@
/*
* GpsMid - Copyright (c) 2007 Harald Mueller james22 at users dot sourceforge dot net
*... | true | true | public void commandAction(Command c, Displayable d) {
updateLastUserActionTime();
try {
if((keyboardLocked) && (d != null)) {
// show alert in keypressed() that keyboard is locked
keyPressed(0);
return;
}
if ((c == CMDS[PAN_LEFT25_CMD]) || (c == CMDS[PAN_RIGHT25_CMD])
|| (c == CMDS[P... | public void commandAction(Command c, Displayable d) {
updateLastUserActionTime();
try {
if((keyboardLocked) && (d != null)) {
// show alert in keypressed() that keyboard is locked
keyPressed(0);
return;
}
if ((c == CMDS[PAN_LEFT25_CMD]) || (c == CMDS[PAN_RIGHT25_CMD])
|| (c == CMDS[P... |
diff --git a/contentconnector-core/src/main/java/com/gentics/cr/CRConfigFileLoader.java b/contentconnector-core/src/main/java/com/gentics/cr/CRConfigFileLoader.java
index e82eb19b..83a44730 100644
--- a/contentconnector-core/src/main/java/com/gentics/cr/CRConfigFileLoader.java
+++ b/contentconnector-core/src/main/java/... | true | true | private void loadConfigFile(final String path) {
String errorMessage = "Could not load configuration file at: "
+ CRUtil.resolveSystemProperties("${" + CRUtil.PORTALNODE_CONFPATH
+ "}/rest/" + this.getName() + ".properties") + "!";
try {
//LOAD SERVLET CONFIGURATION
String confpath = CRUtil.resolveSy... | private void loadConfigFile(final String path) {
String errorMessage = "Could not load configuration file at: "
+ CRUtil.resolveSystemProperties(path) + "!";
try {
//LOAD SERVLET CONFIGURATION
String confpath = CRUtil.resolveSystemProperties(path);
java.io.File defaultConfigfile = new java.io.File(conf... |
diff --git a/src/main/java/jenkins/plugins/shiningpanda/utils/BuilderUtil.java b/src/main/java/jenkins/plugins/shiningpanda/utils/BuilderUtil.java
index 7f3377e..07abd55 100644
--- a/src/main/java/jenkins/plugins/shiningpanda/utils/BuilderUtil.java
+++ b/src/main/java/jenkins/plugins/shiningpanda/utils/BuilderUtil.java... | true | true | public static PythonInstallation getInstallation(AbstractBuild<?, ?> build, BuildListener listener, EnvVars environment,
String name) throws IOException, InterruptedException
{
// Check if this is a matrix build
if (build instanceof MatrixRun)
{
// Check if the en... | public static PythonInstallation getInstallation(AbstractBuild<?, ?> build, BuildListener listener, EnvVars environment,
String name) throws IOException, InterruptedException
{
// Check if this is a matrix build
if ((Object) build instanceof MatrixRun)
{
// Check ... |
diff --git a/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskManager.java b/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskManager.java
index eb693da0c..52b601353 100644
--- a/work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/task/JDialogTaskMa... | true | true | public void run() {
try {
// actually run the first task
// don't dispaly the tunables here - they were handled above.
taskMonitor.setTask(first);
first.run(taskMonitor);
if (taskMonitor.cancelled())
return;
// now execute all subsequent tasks
while (taskIterator.hasNext()) {
... | public void run() {
try {
// actually run the first task
// don't dispaly the tunables here - they were handled above.
taskMonitor.setTask(first);
first.run(taskMonitor);
if (taskMonitor.cancelled())
return;
// now execute all subsequent tasks
while (taskIterator.hasNext()) {
... |
diff --git a/SpagoBIWhatIfEngine/src/it/eng/spagobi/engines/whatif/model/PivotJsonHTMLSerializer.java b/SpagoBIWhatIfEngine/src/it/eng/spagobi/engines/whatif/model/PivotJsonHTMLSerializer.java
index 87b86f8cf..07f5a874e 100644
--- a/SpagoBIWhatIfEngine/src/it/eng/spagobi/engines/whatif/model/PivotJsonHTMLSerializer.jav... | true | true | public void serialize(PivotModel value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException{
logger.debug("IN");
String table="";
logger.debug("Creating the renderer");
StringWriter writer = new StringWriter();
WhatIfHTMLRenderer renderer = new WhatIfHTMLRender... | public void serialize(PivotModel value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException{
logger.debug("IN");
String table="";
logger.debug("Creating the renderer");
StringWriter writer = new StringWriter();
WhatIfHTMLRenderer renderer = new WhatIfHTMLRender... |
diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/ResourceHelper.java
index 59d3984ab..1b76b5833 100644
--- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/Res... | true | true | public static void delete(final IProject project, boolean deleteContent) throws CoreException {
for (int i= 0; i < MAX_RETRY; i++) {
try {
project.delete(deleteContent, true, NULL_MONITOR);
i= MAX_RETRY;
} catch (CoreException x) {
if (i == MAX_RETRY - 1) {
FileBuffersTestPlugin.getDefault().g... | public static void delete(final IProject project, boolean deleteContent) throws CoreException {
for (int i= 0; i < MAX_RETRY; i++) {
try {
project.delete(deleteContent, true, NULL_MONITOR);
i= MAX_RETRY;
} catch (CoreException x) {
if (i == MAX_RETRY - 1) {
FileBuffersTestPlugin.getDefault().g... |
diff --git a/pmd/src/net/sourceforge/pmd/rules/OverrideBothEqualsAndHashcode.java b/pmd/src/net/sourceforge/pmd/rules/OverrideBothEqualsAndHashcode.java
index f7c817416..82e11ffac 100644
--- a/pmd/src/net/sourceforge/pmd/rules/OverrideBothEqualsAndHashcode.java
+++ b/pmd/src/net/sourceforge/pmd/rules/OverrideBothEquals... | true | true | public Object visit(ASTMethodDeclarator node, Object data) {
if (implementsComparable) {
return data;
}
int iFormalParams = 0;
String paramName = null;
for (int ix = 0; ix < node.jjtGetNumChildren(); ix++) {
SimpleNode sn = (SimpleNode) node.jjtGetChi... | public Object visit(ASTMethodDeclarator node, Object data) {
if (implementsComparable) {
return data;
}
int iFormalParams = 0;
String paramName = null;
for (int ix = 0; ix < node.jjtGetNumChildren(); ix++) {
SimpleNode sn = (SimpleNode) node.jjtGetChi... |
diff --git a/src/api/org/openmrs/arden/Call.java b/src/api/org/openmrs/arden/Call.java
index a34273b9..d3cfd227 100644
--- a/src/api/org/openmrs/arden/Call.java
+++ b/src/api/org/openmrs/arden/Call.java
@@ -1,106 +1,106 @@
/**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the... | true | true | public void write(Writer w) {
try {
w.append("\t\t\t\tString value = null;\n");
w.append("\t\t\t\tString variable = null;\n");
w.append("\t\t\t\tint varLen = 0;\n");
for (int i = 0; i < parameters.size(); i++) {
String currParam = parameters.get(i);
w.append("\t\t\t\tvarLen = " + "\"" + currP... | public void write(Writer w) {
try {
w.append("\t\t\t\tString value = null;\n");
w.append("\t\t\t\tString variable = null;\n");
w.append("\t\t\t\tint varLen = 0;\n");
for (int i = 0; i < parameters.size(); i++) {
String currParam = parameters.get(i);
w.append("\t\t\t\tvarLen = " + "\"" + currP... |
diff --git a/spock-maven/src/main/java/org/spockframework/buildsupport/maven/FindSpecksMojo.java b/spock-maven/src/main/java/org/spockframework/buildsupport/maven/FindSpecksMojo.java
index ac4839dd..f5901eda 100644
--- a/spock-maven/src/main/java/org/spockframework/buildsupport/maven/FindSpecksMojo.java
+++ b/spock-mav... | true | true | public void execute() throws MojoExecutionException {
List<File> tests;
try {
tests = new JUnit4TestClassFinder().findTestClasses(testOutputDirectory);
} catch (IOException e) {
throw new MojoExecutionException("IO error while searching for test classes", e);
}
getLog().info(String.fo... | public void execute() throws MojoExecutionException {
List<File> tests;
try {
tests = new JUnit4TestClassFinder().findTestClasses(testOutputDirectory);
} catch (IOException e) {
// chaining the exception would result in a cluttered error message
throw new MojoExecutionException(e.toStrin... |
diff --git a/src/edu/unc/genomics/wigmath/ValueDistribution.java b/src/edu/unc/genomics/wigmath/ValueDistribution.java
index 18640f6..48a4d8d 100644
--- a/src/edu/unc/genomics/wigmath/ValueDistribution.java
+++ b/src/edu/unc/genomics/wigmath/ValueDistribution.java
@@ -1,124 +1,125 @@
package edu.unc.genomics.wigmath;
... | false | true | public void run() throws IOException {
log.debug("Generating histogram of Wig values");
if (min == null) {
min = (float) inputFile.min();
}
if (max == null) {
max = (float) inputFile.max();
}
FloatHistogram hist = new FloatHistogram(numBins, min, max);
N = inputFile.numBases();
mean = inputFil... | public void run() throws IOException {
log.debug("Generating histogram of Wig values");
if (min == null) {
min = (float) inputFile.min();
}
if (max == null) {
max = (float) inputFile.max();
}
FloatHistogram hist = new FloatHistogram(numBins, min, max);
N = inputFile.numBases();
mean = inputFil... |
diff --git a/src/main/ed/js/engine/Convert.java b/src/main/ed/js/engine/Convert.java
index 30a660c20..31366e66e 100644
--- a/src/main/ed/js/engine/Convert.java
+++ b/src/main/ed/js/engine/Convert.java
@@ -1,1308 +1,1314 @@
// Convert.java
package ed.js.engine;
import java.io.*;
import java.util.*;
import org... | false | true | private void _add( Node n , ScriptOrFnNode sn , State state ){
switch ( n.getType() ){
case Token.TYPEOF:
_append( "JS_typeof( " , n );
_assertOne( n );
_add( n.getFirstChild() , state );
_append( " ) " , n );
break;
... | private void _add( Node n , ScriptOrFnNode sn , State state ){
switch ( n.getType() ){
case Token.TYPEOF:
_append( "JS_typeof( " , n );
_assertOne( n );
_add( n.getFirstChild() , state );
_append( " ) " , n );
break;
... |
diff --git a/flexodesktop/modules/flexoworkfloweditor/src/main/java/org/openflexo/wkf/swleditor/gr/RoleContainerGR.java b/flexodesktop/modules/flexoworkfloweditor/src/main/java/org/openflexo/wkf/swleditor/gr/RoleContainerGR.java
index 4354783d4..4822fb09c 100644
--- a/flexodesktop/modules/flexoworkfloweditor/src/main/j... | true | true | public RoleContainerGR(Role role, SwimmingLaneRepresentation aDrawing) {
super(role, ShapeType.RECTANGLE, aDrawing);
((org.openflexo.fge.shapes.Rectangle) getShape()).setIsRounded(false);
setLayer(SWLEditorConstants.ROLE_LAYER);
setMinimalWidth(180);
setMinimalHeight(80);
setBorder(new ShapeBorder(0, 0, 0... | public RoleContainerGR(Role role, SwimmingLaneRepresentation aDrawing) {
super(role, ShapeType.RECTANGLE, aDrawing);
((org.openflexo.fge.shapes.Rectangle) getShape()).setIsRounded(false);
setLayer(SWLEditorConstants.ROLE_LAYER);
setMinimalWidth(180);
setMinimalHeight(80);
setBorder(new ShapeBorder(0, 0, 0... |
diff --git a/src/com/jidesoft/swing/CheckBoxTree.java b/src/com/jidesoft/swing/CheckBoxTree.java
index 711aa310..583c8c6d 100644
--- a/src/com/jidesoft/swing/CheckBoxTree.java
+++ b/src/com/jidesoft/swing/CheckBoxTree.java
@@ -1,519 +1,522 @@
/*
* @(#)CheckBoxTree.java 8/11/2005
*
* Copyright 2002 - 2005 JIDE So... | true | true | private void toggleSelections(TreePath[] treePaths) {
if (treePaths == null || treePaths.length == 0 || !_tree.isEnabled()) {
return;
}
CheckBoxTreeSelectionModel selectionModel = _tree.getCheckBoxTreeSelectionModel();
List<TreePath> pathToAdded = ... | private void toggleSelections(TreePath[] treePaths) {
if (treePaths == null || treePaths.length == 0 || !_tree.isEnabled()) {
return;
}
if (treePaths.length == 1 && !_tree.isCheckBoxEnabled(treePaths[0])) {
return;
}
Che... |
diff --git a/src/org/springframework/richclient/form/builder/GridBagLayoutFormBuilder.java b/src/org/springframework/richclient/form/builder/GridBagLayoutFormBuilder.java
index fc80c793..56e7a308 100644
--- a/src/org/springframework/richclient/form/builder/GridBagLayoutFormBuilder.java
+++ b/src/org/springframework/ric... | false | true | public GridBagLayoutFormBuilder appendLabeledField(String propertyName,
final JComponent field,
LabelOrientation labelOrientation,
int colSpan,
... | public GridBagLayoutFormBuilder appendLabeledField(String propertyName,
final JComponent field,
LabelOrientation labelOrientation,
int colSpan,
... |
diff --git a/src/org/jruby/util/Join.java b/src/org/jruby/util/Join.java
index 84e55ee9d..a521ef02d 100644
--- a/src/org/jruby/util/Join.java
+++ b/src/org/jruby/util/Join.java
@@ -1,129 +1,130 @@
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to th... | false | true | public void send(int index, Object o) {
Reaction selectedReaction = null;
Object[] args = null;
synchronized (this) {
final LinkedList writing = writes[index];
if ( writing == null ) {
throw new IndexOutOfBoundsException();
}
wr... | public void send(int index, Object o) {
Reaction selectedReaction = null;
Object[] args = null;
synchronized (this) {
final LinkedList writing = writes[index];
if ( writing == null ) {
throw new IndexOutOfBoundsException();
}
wr... |
diff --git a/src/test/java/com/ning/atlas/chef/TestUbuntuChefSoloInitializer.java b/src/test/java/com/ning/atlas/chef/TestUbuntuChefSoloInitializer.java
index 488dee9..bbd6751 100644
--- a/src/test/java/com/ning/atlas/chef/TestUbuntuChefSoloInitializer.java
+++ b/src/test/java/com/ning/atlas/chef/TestUbuntuChefSoloInit... | false | true | public void testSystemMapMakesItUp() throws Exception
{
assumeThat(System.getProperty("RUN_EC2_TESTS"), notNullValue());
Environment env = new Environment("ec2");
env.setProvisioner(ec2);
ServerTemplate st = new ServerTemplate("server");
st.setBase("java-core");
... | public void testSystemMapMakesItUp() throws Exception
{
assumeThat(System.getProperty("RUN_EC2_TESTS"), notNullValue());
Environment env = new Environment("ec2");
env.setProvisioner(ec2);
ServerTemplate st = new ServerTemplate("server");
st.setBase("java-core");
... |
diff --git a/tests/src/com/android/music/MusicPlayerStability.java b/tests/src/com/android/music/MusicPlayerStability.java
index 5654adb..d84d2f8 100644
--- a/tests/src/com/android/music/MusicPlayerStability.java
+++ b/tests/src/com/android/music/MusicPlayerStability.java
@@ -1,88 +1,90 @@
/*
* Copyright (C) 2009 Th... | false | true | public void testPlay30sMP3() throws Exception {
// Launch the songs list. Pick the fisrt song and play
try {
Instrumentation inst = getInstrumentation();
inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN);
mTrackList = getActivity().getListView();
int ... | public void testPlay30sMP3() throws Exception {
// Launch the songs list. Pick the fisrt song and play
try {
Instrumentation inst = getInstrumentation();
//Make sure the song list shown up
Thread.sleep(2000);
inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPA... |
diff --git a/code/mnj/lua/Lua.java b/code/mnj/lua/Lua.java
index f98cf37..84936f0 100644
--- a/code/mnj/lua/Lua.java
+++ b/code/mnj/lua/Lua.java
@@ -1,3954 +1,3953 @@
/* $Header$
* (c) Copyright 2006, Intuwave Ltd. All Rights Reserved.
*
* Although Intuwave has tested this program and reviewed the documentati... | true | true | private void vmExecute(int nexeccalls)
{
// This labelled while loop is used to simulate the effect of C's
// goto. The end of the while loop is never reached. The beginning
// of the while loop is branched to using a "continue reentry;"
// statement (when a Lua function is called or returns).
ree... | private void vmExecute(int nexeccalls)
{
// This labelled while loop is used to simulate the effect of C's
// goto. The end of the while loop is never reached. The beginning
// of the while loop is branched to using a "continue reentry;"
// statement (when a Lua function is called or returns).
ree... |
diff --git a/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearch.java b/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearch.java
index a5ee98cb..4c9b8987 100644
--- a/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearch.java
+++ b/pn-dispatcher/src/main/java/info/papyri/dispatch/BiblioSearc... | true | true | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
BufferedReader reader = null;
try {
String q = request.getParameter... | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
BufferedReader reader = null;
try {
String q = request.getParameter... |
diff --git a/src/main/java/swsec/Exit.java b/src/main/java/swsec/Exit.java
index 1120fd4..96d2997 100644
--- a/src/main/java/swsec/Exit.java
+++ b/src/main/java/swsec/Exit.java
@@ -1,24 +1,25 @@
package swsec;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServl... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession(false);
session.invalidate();
response.sendRedirect("index.jsp");
}
| protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession(false);
if (session != null)
session.invalidate();
response.sendRedirect("index.jsp");
}
|
diff --git a/runtime/src/main/java/org/qi4j/runtime/entity/UnitOfWorkCompositeBuilder.java b/runtime/src/main/java/org/qi4j/runtime/entity/UnitOfWorkCompositeBuilder.java
index 49b1094d6..c6b50fc6f 100644
--- a/runtime/src/main/java/org/qi4j/runtime/entity/UnitOfWorkCompositeBuilder.java
+++ b/runtime/src/main/java/org... | true | true | public T newInstance()
{
EntityState state;
String identity = getPropertyValues().get( IDENTITY_METHOD ).toString();
if( identity == null )
{
Class compositeType = context.getCompositeModel().getCompositeClass();
IdentityGenerator identityGenerator = uow.s... | public T newInstance()
{
EntityState state;
String identity = (String) getPropertyValues().get( IDENTITY_METHOD );
if( identity == null )
{
Class compositeType = context.getCompositeModel().getCompositeClass();
IdentityGenerator identityGenerator = uow.sta... |
diff --git a/Client/src/main/java/menu/DelayNode.java b/Client/src/main/java/menu/DelayNode.java
index 7823438..0709428 100644
--- a/Client/src/main/java/menu/DelayNode.java
+++ b/Client/src/main/java/menu/DelayNode.java
@@ -1,143 +1,144 @@
package menu;
import repository.DelayCom;
import java.io.IOException;
imp... | false | true | public DelayNode() {
super();
action = new DelayCom();
header = new Text("Slideshow Intervall");
header.setFont(Font.font("Tahoma", FontWeight.NORMAL, 20));
unit = new Text("Sekunder");
unit.setFont(Font.font("Tahoma", FontWeight.NORMAL, 15));
error = new T... | public DelayNode() {
super();
action = new DelayCom();
header = new Text("Slideshow Intervall");
header.setFont(Font.font("Tahoma", FontWeight.NORMAL, 20));
unit = new Text("Sekunder");
unit.setFont(Font.font("Tahoma", FontWeight.NORMAL, 15));
error = new T... |
diff --git a/src/com/anwpteuz/bomberman/Fire.java b/src/com/anwpteuz/bomberman/Fire.java
index 24940d0..1ba75c1 100644
--- a/src/com/anwpteuz/bomberman/Fire.java
+++ b/src/com/anwpteuz/bomberman/Fire.java
@@ -1,82 +1,83 @@
package com.anwpteuz.bomberman;
import java.awt.Color;
import java.awt.Graphics;
import jav... | false | true | public void update() {
millisLived += Game.targetTime;
/**
* Run placeFireChild only if all the following applies:
* 1. Range isn't reached
* 2. This ain't yet a parent
* 3. It has lived long enough to spread
*/
if(range > 0 && !isParent && millisLived >= millisSpreadTime) {
placeFireChild(... | public void update() {
millisLived += Game.targetTime;
/**
* Run placeFireChild only if all the following applies:
* 1. Range isn't reached
* 2. This ain't yet a parent
* 3. It has lived long enough to spread
*/
if(range > 0 && !isParent && millisLived >= millisSpreadTime) {
placeFireChild(... |
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
index 47e589f74..f9ebee153 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpres... | true | true | private void runTest() {
timer = 0;
if (cmds.size() > 0) return;
if (bp_id == null) {
srv_bp.set(null, new IBreakpoints.DoneCommand() {
public void doneCommand(IToken token, Exception error) {
if (error != null) {
exit(e... | private void runTest() {
timer = 0;
if (cmds.size() > 0) return;
if (bp_id == null) {
srv_bp.set(null, new IBreakpoints.DoneCommand() {
public void doneCommand(IToken token, Exception error) {
if (error != null) {
exit(e... |
diff --git a/src/ui/TradeRecordTable.java b/src/ui/TradeRecordTable.java
index 1e5fe25..5f6b19e 100644
--- a/src/ui/TradeRecordTable.java
+++ b/src/ui/TradeRecordTable.java
@@ -1,182 +1,183 @@
/**
*
*/
package ui;
import java.sql.Date;
import java.util.ArrayList;
import java.util.List;
import javax.swing... | true | true | public Object getValueAt(int row, int col) {
if (myRecords.size() <= row) {
return "";
}
TradeRecord tr = myRecords.get(row);
switch (col) {
case COL_TRADE_TIME: {
Date date = new Date(tr.getTime());
return date.toLocaleString();
}
case COL_TRADE_PRISE:
return Helper.getCurrencyString(Math.... | public Object getValueAt(int row, int col) {
if (myRecords.size() <= row) {
return "";
}
TradeRecord tr = myRecords.get(row);
switch (col) {
case COL_TRADE_TIME: {
Date date = new Date(tr.getTime());
return date.toLocaleString();
}
case COL_TRADE_PRISE:
return Helper.getCurrencyString(Math.... |
diff --git a/SWADroid/src/es/ugr/swad/swadroid/Preferences.java b/SWADroid/src/es/ugr/swad/swadroid/Preferences.java
index 1f4ef1e5..6faa74b4 100644
--- a/SWADroid/src/es/ugr/swad/swadroid/Preferences.java
+++ b/SWADroid/src/es/ugr/swad/swadroid/Preferences.java
@@ -1,183 +1,184 @@
/*
* This file is part of SWADroi... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.preferences);
//Get the custom preference
Preference savePref = findPreference("savePref");
Preference userIDPref = findPreference("userIDPref");
... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.preferences);
//Get the custom preference
Preference savePref = findPreference("savePref");
Preference userIDPref = findPreference("userIDPref");
... |
diff --git a/osmdroid-android/src/org/osmdroid/views/overlay/ItemizedOverlay.java b/osmdroid-android/src/org/osmdroid/views/overlay/ItemizedOverlay.java
index 404b005..a97fb31 100644
--- a/osmdroid-android/src/org/osmdroid/views/overlay/ItemizedOverlay.java
+++ b/osmdroid-android/src/org/osmdroid/views/overlay/Itemized... | true | true | protected synchronized Drawable boundToHotspot(final Drawable marker, HotspotPlace hotspot) {
final int markerWidth = (int) (marker.getIntrinsicWidth() * mScale);
final int markerHeight = (int) (marker.getIntrinsicHeight() * mScale);
mRect.set(0, 0, 0 + markerWidth, 0 + markerHeight);
if (hotspot == null) {
... | protected synchronized Drawable boundToHotspot(final Drawable marker, HotspotPlace hotspot) {
final int markerWidth = (int) (marker.getIntrinsicWidth() * mScale);
final int markerHeight = (int) (marker.getIntrinsicHeight() * mScale);
mRect.set(0, 0, 0 + markerWidth, 0 + markerHeight);
if (hotspot == null) {
... |
diff --git a/4dnest/src/org/fourdnest/androidclient/services/TagSuggestionService.java b/4dnest/src/org/fourdnest/androidclient/services/TagSuggestionService.java
index 667a613..89f92b8 100644
--- a/4dnest/src/org/fourdnest/androidclient/services/TagSuggestionService.java
+++ b/4dnest/src/org/fourdnest/androidclient/se... | false | true | private synchronized void broadcastTags(Intent intent) {
TagCache cache = app.getTagCache();
synchronized(cache) {
// First broadcast the autocomplete suggestions
Integer currentNestId = Integer.valueOf(intent.getIntExtra(BUNDLE_NEST_ID, -1));
List<String> out = new ArrayList<String>();
Set<String> lt ... | private synchronized void broadcastTags(Intent intent) {
TagCache cache = app.getTagCache();
synchronized(cache) {
// First broadcast the autocomplete suggestions
Integer currentNestId = Integer.valueOf(intent.getIntExtra(BUNDLE_NEST_ID, -1));
Set<String> out;
Set<String> lt = cache.getLocalTags(curren... |
diff --git a/src/main/ed/net/httpclient/HttpConnection.java b/src/main/ed/net/httpclient/HttpConnection.java
index b3f7a0810..f946d6df9 100644
--- a/src/main/ed/net/httpclient/HttpConnection.java
+++ b/src/main/ed/net/httpclient/HttpConnection.java
@@ -1,815 +1,816 @@
// HttpConnection.java
/**
* Copyright (C)... | false | true | public void go()
throws IOException {
boolean doIWantKeepAlive = true;
_lastAccess = System.currentTimeMillis();
if ( _sock == null ){
int port = _currentUrl.getPort();
if ( port < 0 ){
if ( _currentUrl.getProtocol().equalsIgnoreCase("https"... | public void go()
throws IOException {
boolean doIWantKeepAlive = true;
_lastAccess = System.currentTimeMillis();
if ( _sock == null ){
int port = _currentUrl.getPort();
if ( port < 0 ){
if ( _currentUrl.getProtocol().equalsIgnoreCase("https"... |
diff --git a/src/main/java/edu/stanford/mobisocial/bumblebee/RabbitMQMessengerService.java b/src/main/java/edu/stanford/mobisocial/bumblebee/RabbitMQMessengerService.java
index e63489e..ede7fd8 100644
--- a/src/main/java/edu/stanford/mobisocial/bumblebee/RabbitMQMessengerService.java
+++ b/src/main/java/edu/stanford/mo... | false | true | public RabbitMQMessengerService(TransportIdentityProvider ident,
ConnectionStatus status) {
super(ident, status);
mFormat = new MessageFormat(ident);
exchangeKey = new String(encodeRSAPublicKey(ident.userPublicKey()));
queueName = exchangeKey;
factory = new ConnectionFactory();
factory... | public RabbitMQMessengerService(TransportIdentityProvider ident,
ConnectionStatus status) {
super(ident, status);
mFormat = new MessageFormat(ident);
exchangeKey = new String(encodeRSAPublicKey(ident.userPublicKey()));
queueName = exchangeKey;
factory = new ConnectionFactory();
factory... |
diff --git a/src/it/example/storygame/Read.java b/src/it/example/storygame/Read.java
index 6763f52..da076fc 100644
--- a/src/it/example/storygame/Read.java
+++ b/src/it/example/storygame/Read.java
@@ -1,53 +1,54 @@
package it.example.storygame;
import android.os.Bundle;
import android.app.Activity;
import android... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.read);
story1=(Button)findViewById(R.id.story1);
story1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// T... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.read);
story1=(Button)findViewById(R.id.story1);
story1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// T... |
diff --git a/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelGenotyperV2Walker.java b/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelGenotyperV2Walker.java
index 954157005..7a3b05f1b 100644
--- a/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelGenotyperV2Walker.java
+++ b/java/src/org/... | false | true | public Integer map(ReferenceContext ref, SAMRecord read, ReadMetaDataTracker metaDataTracker) {
// if ( read.getReadName().equals("428EFAAXX090610:2:36:1384:639#0") ) System.out.println("GOT READ");
if ( DEBUG ) {
// System.out.println("DEBUG>> read at "+ read.getAli... | public Integer map(ReferenceContext ref, SAMRecord read, ReadMetaDataTracker metaDataTracker) {
// if ( read.getReadName().equals("428EFAAXX090610:2:36:1384:639#0") ) System.out.println("GOT READ");
if ( DEBUG ) {
// System.out.println("DEBUG>> read at "+ read.getAli... |
diff --git a/src/de/ub0r/android/andGMXsms/Connector.java b/src/de/ub0r/android/andGMXsms/Connector.java
index a6be865a..41f842dd 100644
--- a/src/de/ub0r/android/andGMXsms/Connector.java
+++ b/src/de/ub0r/android/andGMXsms/Connector.java
@@ -1,382 +1,387 @@
package de.ub0r.android.andGMXsms;
import java.io.IOExcep... | false | true | private boolean sendData(final StringBuffer packetData) {
try {
// get Connection
HttpURLConnection c = (HttpURLConnection) (new URL("http://"
+ TARGET_HOST + TARGET_PATH)).openConnection();
// set prefs
c.setRequestProperty("User-Agent", TARGET_AGENT);
c.setRequestProperty("Content-Encoding", TA... | private boolean sendData(final StringBuffer packetData) {
try {
// get Connection
HttpURLConnection c = (HttpURLConnection) (new URL("http://"
+ TARGET_HOST + TARGET_PATH)).openConnection();
// set prefs
c.setRequestProperty("User-Agent", TARGET_AGENT);
c.setRequestProperty("Content-Encoding", TA... |
diff --git a/src/osm/src/main/java/org/geogit/osm/cli/commands/OSMDownload.java b/src/osm/src/main/java/org/geogit/osm/cli/commands/OSMDownload.java
index 2c778e87..d6345fe7 100644
--- a/src/osm/src/main/java/org/geogit/osm/cli/commands/OSMDownload.java
+++ b/src/osm/src/main/java/org/geogit/osm/cli/commands/OSMDownloa... | false | true | private void update() throws Exception {
GeoGIT geogit = cli.getGeogit();
final Optional<Ref> currHead = geogit.command(RefParse.class).setName(Ref.HEAD).call();
Preconditions.checkState(currHead.isPresent(), "Repository has no HEAD, can't update.");
Preconditions.checkState(currHead... | private void update() throws Exception {
GeoGIT geogit = cli.getGeogit();
final Optional<Ref> currHead = geogit.command(RefParse.class).setName(Ref.HEAD).call();
Preconditions.checkState(currHead.isPresent(), "Repository has no HEAD, can't update.");
Preconditions.checkState(currHead... |
diff --git a/vaadin-touchkit-agpl/src/test/java/com/vaadin/addon/touchkit/itest/VerticalComponentGroupTest.java b/vaadin-touchkit-agpl/src/test/java/com/vaadin/addon/touchkit/itest/VerticalComponentGroupTest.java
index 5ef8677..9e32e94 100644
--- a/vaadin-touchkit-agpl/src/test/java/com/vaadin/addon/touchkit/itest/Vert... | true | true | public VerticalComponentGroupTest() {
setDescription("This is VerticalComponentGroup test");
VerticalComponentGroup verticalComponentGroup = new VerticalComponentGroup(
"Vertical component group");
verticalComponentGroup.addComponent(new Button("Button"));
TextField ... | public VerticalComponentGroupTest() {
setDescription("This is VerticalComponentGroup test");
VerticalComponentGroup verticalComponentGroup = new VerticalComponentGroup(
"Vertical component group");
verticalComponentGroup.addComponent(new Button("Button"));
TextField ... |
diff --git a/src/main/java/com/stackmob/example/PubNub.java b/src/main/java/com/stackmob/example/PubNub.java
index 4b1f8a7..8f94a69 100644
--- a/src/main/java/com/stackmob/example/PubNub.java
+++ b/src/main/java/com/stackmob/example/PubNub.java
@@ -1,213 +1,213 @@
package com.stackmob.example;
/**
* Created with ... | true | true | public ResponseToProcess execute(ProcessedAPIRequest request, SDKServiceProvider serviceProvider) {
String channelEncoded = "0";
String jsonMessageEncoded = "{}";
String answer_id = "";
String question_id = "";
int count = 1;
String PUBLISH_KEY = "";
String SUBSCRIBE_KEY = "";
String ... | public ResponseToProcess execute(ProcessedAPIRequest request, SDKServiceProvider serviceProvider) {
String channelEncoded = "0";
String jsonMessageEncoded = "{}";
String answer_id = "";
String question_id = "";
int count = 1;
String PUBLISH_KEY = "";
String SUBSCRIBE_KEY = "";
String ... |
diff --git a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/editor/EditorManager.java b/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/editor/EditorManager.java
index 85a8c1f69..a98a65274 100644
--- a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/editor/EditorManager.java
+++ b/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/d... | true | true | private void convertLineDelimiters(IEditorPart editorPart) {
EditorManager.log.debug("Converting line delimiters...");
// get path of file
IFile file = ((FileEditorInput) editorPart.getEditorInput())
.getFile();
IPath[] paths = new IPath[1];
... | private void convertLineDelimiters(IEditorPart editorPart) {
EditorManager.log.debug("Converting line delimiters...");
// get path of file
IFile file = ((FileEditorInput) editorPart.getEditorInput())
.getFile();
IPath[] paths = new IPath[1];
... |
diff --git a/iwsn/wsn-device-drivers/src/main/java/de/uniluebeck/itm/wsn/devicedrivers/jennic/FlashProgramOperation.java b/iwsn/wsn-device-drivers/src/main/java/de/uniluebeck/itm/wsn/devicedrivers/jennic/FlashProgramOperation.java
index 30e929ef..797fc1fd 100644
--- a/iwsn/wsn-device-drivers/src/main/java/de/uniluebeck... | false | true | private boolean programFlash() throws Exception {
JennicBinFile jennicProgram = null;
// Enter programming mode
if (!device.enterProgrammingMode()) {
log.error("Unable to enter programming mode");
return false;
}
// Wait for a connection
while (!isCancelled() && !device.waitForConnection())
log... | private boolean programFlash() throws Exception {
JennicBinFile jennicProgram = null;
// Enter programming mode
if (!device.enterProgrammingMode()) {
log.error("Unable to enter programming mode");
return false;
}
// Wait for a connection
while (!isCancelled() && !device.waitForConnection())
log... |
diff --git a/Servlets/src/fr/imie/servlet/Projet.java b/Servlets/src/fr/imie/servlet/Projet.java
index 2e3d874..d1470e4 100644
--- a/Servlets/src/fr/imie/servlet/Projet.java
+++ b/Servlets/src/fr/imie/servlet/Projet.java
@@ -1,313 +1,313 @@
package fr.imie.servlet;
import java.io.IOException;
import java.sql.Conne... | true | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// Modifier un projet
if (request.getParameter("updateAction") != null
&& request.getParameter("updateAction").equals("Confirmer")) {
ProjetDTO projetUpdate = getProjet(request.g... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// Modifier un projet
if (request.getParameter("updateAction") != null
&& request.getParameter("updateAction").equals("Confirmer")) {
ProjetDTO projetUpdate = getProjet(request.g... |
diff --git a/alfresco-mobile-android/src/org/alfresco/mobile/android/ui/filebrowser/LocalFileExplorerFragment.java b/alfresco-mobile-android/src/org/alfresco/mobile/android/ui/filebrowser/LocalFileExplorerFragment.java
index 0a1d01e4..5e79e250 100644
--- a/alfresco-mobile-android/src/org/alfresco/mobile/android/ui/file... | true | true | public Dialog onCreateDialog(Bundle savedInstanceState)
{
View toolButton = null;
LayoutInflater inflater = LayoutInflater.from(getActivity());
View v = inflater.inflate(R.layout.sdk_list, null);
View toolsGroup = v.findViewById(R.id.tools_group);
//Set to a dec... | public Dialog onCreateDialog(Bundle savedInstanceState)
{
View toolButton = null;
LayoutInflater inflater = LayoutInflater.from(getActivity());
View v = inflater.inflate(R.layout.sdk_list, null);
View toolsGroup = v.findViewById(R.id.tools_group);
//Set to a dec... |
diff --git a/java/drda/org/apache/derby/drda/NetworkServerControl.java b/java/drda/org/apache/derby/drda/NetworkServerControl.java
index edd97b93d..f02b1df47 100644
--- a/java/drda/org/apache/derby/drda/NetworkServerControl.java
+++ b/java/drda/org/apache/derby/drda/NetworkServerControl.java
@@ -1,800 +1,800 @@
/*
... | true | true | public static void main(String args[]) {
NetworkServerControlImpl server = null;
//
// The following variable lets us preserve the error printing behavior
// seen before we started installing a security manager. Errors can be
// raised as we figure out whether we need to ins... | public static void main(String args[]) {
NetworkServerControlImpl server = null;
//
// The following variable lets us preserve the error printing behavior
// seen before we started installing a security manager. Errors can be
// raised as we figure out whether we need to ins... |
diff --git a/GAE/src/org/waterforpeople/mapping/app/web/dto/RawDataImportRequest.java b/GAE/src/org/waterforpeople/mapping/app/web/dto/RawDataImportRequest.java
index c15d20f81..1d5be3a16 100644
--- a/GAE/src/org/waterforpeople/mapping/app/web/dto/RawDataImportRequest.java
+++ b/GAE/src/org/waterforpeople/mapping/app/w... | true | true | protected void populateFields(HttpServletRequest req) throws Exception {
if (req.getParameter(LOCALE_ID_PARAM) != null) {
try {
setSurveyedLocaleId(new Long(req.getParameter(LOCALE_ID_PARAM)));
} catch (Exception e) {
// swallow
}
}
if (req.getParameter(SURVEY_INSTANCE_ID_PARAM) != null) {
tr... | protected void populateFields(HttpServletRequest req) throws Exception {
if (req.getParameter(LOCALE_ID_PARAM) != null) {
try {
setSurveyedLocaleId(new Long(req.getParameter(LOCALE_ID_PARAM)));
} catch (Exception e) {
// swallow
}
}
if (req.getParameter(SURVEY_INSTANCE_ID_PARAM) != null) {
tr... |
diff --git a/aQute.libg/src/aQute/lib/data/Data.java b/aQute.libg/src/aQute/lib/data/Data.java
index ef48662aa..6a8ff0383 100644
--- a/aQute.libg/src/aQute/lib/data/Data.java
+++ b/aQute.libg/src/aQute/lib/data/Data.java
@@ -1,79 +1,78 @@
package aQute.lib.data;
import java.lang.reflect.*;
import java.util.*;
imp... | true | true | public static String validate(Object o) throws Exception {
StringBuilder sb = new StringBuilder();
Formatter formatter = new Formatter(sb);
Field fields[] = o.getClass().getFields();
for (Field f : fields) {
Validator patternValidator = f.getAnnotation(Validator.class);
Numeric numericValidator = f.getA... | public static String validate(Object o) throws Exception {
StringBuilder sb = new StringBuilder();
Formatter formatter = new Formatter(sb);
Field fields[] = o.getClass().getFields();
for (Field f : fields) {
Validator patternValidator = f.getAnnotation(Validator.class);
Numeric numericValidator = f.getA... |
diff --git a/stream/fabric-bridge-zookeeper/src/test/java/org/fusesource/fabric/bridge/zk/internal/ZkServerSetupBean.java b/stream/fabric-bridge-zookeeper/src/test/java/org/fusesource/fabric/bridge/zk/internal/ZkServerSetupBean.java
index 4b93c0d99..5e8abdf9b 100644
--- a/stream/fabric-bridge-zookeeper/src/test/java/or... | true | true | public void start() {
IZKClient client = ((FabricServiceImpl)fabricService).getZooKeeper();
// import ZK contents
TestImport testImport = new TestImport();
testImport.setSource("target/test-classes/zkexport");
testImport.setNRegEx(new String[] {"dummy"});
testImport.... | public void start() {
IZKClient client = ((FabricServiceImpl)fabricService).getZooKeeper();
// import ZK contents
TestImport testImport = new TestImport();
testImport.setSource("target/test-classes/zkexport");
testImport.setNRegEx(new String[] {"dummy"});
// TODO do ... |
diff --git a/cydonia/src/main/java/de/findus/cydonia/main/MainController.java b/cydonia/src/main/java/de/findus/cydonia/main/MainController.java
index e986e84..d6d7c4e 100644
--- a/cydonia/src/main/java/de/findus/cydonia/main/MainController.java
+++ b/cydonia/src/main/java/de/findus/cydonia/main/MainController.java
@@ ... | false | true | protected void swap(Object a, Object b) {
Vector3f posA = null;
if(a instanceof Player) {
posA = ((Player) a).getControl().getPhysicsLocation();
}else if(a instanceof Flube) {
posA = ((Flube) a).getControl().getPhysicsLocation();
}
Vector3f posB = null;
if(b instanceof Player) {
posB = ((Player... | protected void swap(Object a, Object b) {
Vector3f posA = null;
if(a instanceof Player) {
posA = ((Player) a).getControl().getPhysicsLocation();
}else if(a instanceof Flube) {
posA = ((Flube) a).getControl().getPhysicsLocation();
}
Vector3f posB = null;
if(b instanceof Player) {
posB = ((Player... |
diff --git a/src/main/ris2n3.java b/src/main/ris2n3.java
index 5eaf578..0d56ace 100644
--- a/src/main/ris2n3.java
+++ b/src/main/ris2n3.java
@@ -1,35 +1,35 @@
package main;
import compilation.AuthorCompiler;
import extraction.RISExtractor;
import java.io.File;
import templates.UniqueURIGenerator;
/*
* To ch... | false | true | public static void main(String[] args)
{
File dir = new File(args[0]);
UniqueURIGenerator uUg = new UniqueURIGenerator();
RISExtractor risEx = new RISExtractor(dir, uUg);
AuthorCompiler aC = risEx.extractAuthorNames(true);
aC.outputNamesN3("foaf-names.n3");
... | public static void main(String[] args)
{
File dir = new File(args[0]);
UniqueURIGenerator uUg = new UniqueURIGenerator();
RISExtractor risEx = new RISExtractor(dir, uUg);
AuthorCompiler aC = risEx.extractAuthorNames(true);
//aC.outputNamesN3("foaf-names.n3");
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.