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/smtp/src/org/subethamail/smtp/command/DataCommand.java b/smtp/src/org/subethamail/smtp/command/DataCommand.java
index 8308700..2289e50 100644
--- a/smtp/src/org/subethamail/smtp/command/DataCommand.java
+++ b/smtp/src/org/subethamail/smtp/command/DataCommand.java
@@ -1,40 +1,40 @@
package org.subethamail.... | false | true | public void execute(String commandString, ConnectionContext context) throws IOException
{
Session session = context.getSession();
if (!session.getHasSender())
{
context.sendResponse("503 Error: need MAIL command");
return;
}
else if (session.getRecipientCount() == 0)
{
context.sendResponse("503 ... | public void execute(String commandString, ConnectionContext context) throws IOException
{
Session session = context.getSession();
if (!session.getHasSender())
{
context.sendResponse("503 Error: need MAIL command");
return;
}
else if (session.getRecipientCount() == 0)
{
context.sendResponse("503 ... |
diff --git a/src/org/ohmage/domain/campaign/prompt/BoundedPrompt.java b/src/org/ohmage/domain/campaign/prompt/BoundedPrompt.java
index e9395ceb..e3f0091f 100644
--- a/src/org/ohmage/domain/campaign/prompt/BoundedPrompt.java
+++ b/src/org/ohmage/domain/campaign/prompt/BoundedPrompt.java
@@ -1,366 +1,376 @@
/***********... | false | true | public Object validateValue(final Object value) throws DomainException {
long longValue;
// If it's already a NoResponse value, then return make sure that if it
// was skipped that it as skippable.
if(value instanceof NoResponse) {
if(NoResponse.SKIPPED.equals(value) && (! skippable())) {
throw new D... | public Object validateValue(final Object value) throws DomainException {
long longValue;
// If it's already a NoResponse value, then return make sure that if it
// was skipped that it as skippable.
if(value instanceof NoResponse) {
if(NoResponse.SKIPPED.equals(value) && (! skippable())) {
throw new D... |
diff --git a/src/frontend/EditingWindow.java b/src/frontend/EditingWindow.java
index 0e55de3..1fed27e 100644
--- a/src/frontend/EditingWindow.java
+++ b/src/frontend/EditingWindow.java
@@ -1,190 +1,192 @@
package frontend;
import java.awt.Toolkit;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListe... | true | true | public EditingWindow(final Bruno parentApp, final DocumentModel doc)
throws IOException, ClassNotFoundException {
this.parentApp = parentApp;
this.doc = doc;
// Read contents of file
StringBuilder contents = new StringBuilder();
if (doc.getFile() != null) {
Scanner scanner = null;
try {
scanner... | public EditingWindow(final Bruno parentApp, final DocumentModel doc)
throws IOException, ClassNotFoundException {
this.parentApp = parentApp;
this.doc = doc;
// Read contents of file
StringBuilder contents = new StringBuilder();
if (doc.getFile() != null) {
Scanner scanner = null;
try {
scanner... |
diff --git a/src/org/freshwaterlife/fishlink/xlwrap/SheetWrite.java b/src/org/freshwaterlife/fishlink/xlwrap/SheetWrite.java
index 6393eae..a5c8c2d 100644
--- a/src/org/freshwaterlife/fishlink/xlwrap/SheetWrite.java
+++ b/src/org/freshwaterlife/fishlink/xlwrap/SheetWrite.java
@@ -1,493 +1,494 @@
package org.freshwater... | true | true | private boolean writeTemplateColumn(BufferedWriter writer, String column)
throws FishLinkException{
String category = getCellValue (column, categoryRow);
//ystem.out.println(category + " " + metaColumn + " " + categoryRow);
String field = getCellValue (column, fieldRow);
... | private boolean writeTemplateColumn(BufferedWriter writer, String column)
throws FishLinkException{
String category = getCellValue (column, categoryRow);
//ystem.out.println(category + " " + metaColumn + " " + categoryRow);
String field = getCellValue (column, fieldRow);
... |
diff --git a/src/main/java/org/lcf/android/data/DataManager.java b/src/main/java/org/lcf/android/data/DataManager.java
index 5eb638c..2422f5f 100644
--- a/src/main/java/org/lcf/android/data/DataManager.java
+++ b/src/main/java/org/lcf/android/data/DataManager.java
@@ -1,99 +1,100 @@
package org.lcf.android.data;
im... | true | true | public void run(){
if(event == null){
return;
}
HttpClient client=new DefaultHttpClient();
//建立Http请求
HttpPost post = new HttpPost(Constants.getServerAddr() + event.getAddr());
List<NameValuePair> qparams = new ArrayList<NameValuePair>();
TreeMap<String,Object> tm = new TreeMap<String,Object>... | public void run(){
if(event == null){
return;
}
HttpClient client=new DefaultHttpClient();
client.getParams().setParameter("http.protocol.content-charset", "UTF-8");
//建立Http请求
HttpPost post = new HttpPost(Constants.getServerAddr() + event.getAddr());
List<NameValuePair> qparams = new ArrayLi... |
diff --git a/src/org/yaxim/androidclient/service/XMPPService.java b/src/org/yaxim/androidclient/service/XMPPService.java
index 5b29615..104597d 100644
--- a/src/org/yaxim/androidclient/service/XMPPService.java
+++ b/src/org/yaxim/androidclient/service/XMPPService.java
@@ -1,466 +1,468 @@
package org.yaxim.androidclien... | true | true | private void createServiceRosterStub() {
mService2RosterConnection = new IXMPPRosterService.Stub() {
public void registerRosterCallback(IXMPPRosterCallback callback)
throws RemoteException {
if (callback != null)
mRosterCallbacks.register(callback);
}
public void unregisterRosterCallback(IXM... | private void createServiceRosterStub() {
mService2RosterConnection = new IXMPPRosterService.Stub() {
public void registerRosterCallback(IXMPPRosterCallback callback)
throws RemoteException {
if (callback != null)
mRosterCallbacks.register(callback);
}
public void unregisterRosterCallback(IXM... |
diff --git a/drools-analytics/src/test/java/org/drools/analytics/ConsequenceTest.java b/drools-analytics/src/test/java/org/drools/analytics/ConsequenceTest.java
index 1588dc2a80..29c4756380 100644
--- a/drools-analytics/src/test/java/org/drools/analytics/ConsequenceTest.java
+++ b/drools-analytics/src/test/java/org/dro... | false | true | public void testMissingConsiquence() throws Exception {
StatelessSession session = getStatelessSession(this.getClass()
.getResourceAsStream("Consequence.drl"));
session.setAgendaFilter(new RuleNameMatchesAgendaFilter(
"No action - possibly commented out"));
Collection<? extends Object> testData = getTe... | public void testMissingConsequence() throws Exception {
StatelessSession session = getStatelessSession(this.getClass()
.getResourceAsStream("Consequence.drl"));
session.setAgendaFilter(new RuleNameMatchesAgendaFilter(
"No action - possibly commented out"));
AnalyticsDataFactory.getAnalyticsData();
Co... |
diff --git a/app/utils/DataUtil.java b/app/utils/DataUtil.java
index 2dd46ca..b066470 100644
--- a/app/utils/DataUtil.java
+++ b/app/utils/DataUtil.java
@@ -1,84 +1,84 @@
package utils;
import com.mongodb.DB;
import com.mongodb.MongoException;
import com.mongodb.ReadPreference;
import com.mongodb.MongoClient;
i... | true | true | public static DB getDB() {
try {
mongoClient = new MongoClient("ds061787.mongolab.com", 61787);
// mongoClient = new MongoClient( );
mongoClient.setReadPreference(ReadPreference.primary());
DB dataBase = mongoClient.getDB("heroku_app15452455");
// ... | public static DB getDB() {
try {
mongoClient = new MongoClient("ds061787.mongolab.com", 61787);
// mongoClient = new MongoClient( );
// mongoClient.setReadPreference(ReadPreference.primary());
DB dataBase = mongoClient.getDB("heroku_app15452455");
// ... |
diff --git a/src/dev/mCraft/Coinz/GUI/TellerMenu/TellerPopup.java b/src/dev/mCraft/Coinz/GUI/TellerMenu/TellerPopup.java
index 5882262..12c205f 100644
--- a/src/dev/mCraft/Coinz/GUI/TellerMenu/TellerPopup.java
+++ b/src/dev/mCraft/Coinz/GUI/TellerMenu/TellerPopup.java
@@ -1,170 +1,170 @@
package dev.mCraft.Coinz.GUI.T... | true | true | public TellerPopup(SpoutPlayer player) {
hook = this;
copper = new GenericTexture();
bronze = new GenericTexture();
silver = new GenericTexture();
gold = new GenericTexture();
platinum = new GenericTexture();
//backGround = new GenericTexture();
escape = new GenericButton();
title = new Generic... | public TellerPopup(SpoutPlayer player) {
hook = this;
copper = new GenericTexture();
bronze = new GenericTexture();
silver = new GenericTexture();
gold = new GenericTexture();
platinum = new GenericTexture();
//backGround = new GenericTexture();
escape = new GenericButton();
title = new Generic... |
diff --git a/src/com/example/android/lasergame/LaserCalculator.java b/src/com/example/android/lasergame/LaserCalculator.java
index 0e3d114..b0004d7 100644
--- a/src/com/example/android/lasergame/LaserCalculator.java
+++ b/src/com/example/android/lasergame/LaserCalculator.java
@@ -1,167 +1,173 @@
package com.example.an... | true | true | private void startReflecting(Line incomingLine) {
Line[] walls = { new Line(0, 0, 0, mCanvasHeight), new Line(0, 0, mCanvasWidth, 0),
new Line(mCanvasWidth, 0, mCanvasWidth, mCanvasHeight),
new Line(0, mCanvasHeight, mCanvasWidth, mCanvasHeight) };
Intersects intersec... | private void startReflecting(Line incomingLine) {
Line[] walls = { new Line(0, 0, 0, mCanvasHeight), new Line(0, 0, mCanvasWidth, 0),
new Line(mCanvasWidth, 0, mCanvasWidth, mCanvasHeight),
new Line(0, mCanvasHeight, mCanvasWidth, mCanvasHeight) };
Intersects intersec... |
diff --git a/src/com/axelby/podax/ActiveDownloadListActivity.java b/src/com/axelby/podax/ActiveDownloadListActivity.java
index 0789bea..1a4f2f7 100644
--- a/src/com/axelby/podax/ActiveDownloadListActivity.java
+++ b/src/com/axelby/podax/ActiveDownloadListActivity.java
@@ -1,135 +1,135 @@
package com.axelby.podax;
i... | true | true | public View getView(int position, View convertView, ViewGroup parent) {
Podcast podcast = (Podcast)getItem(position);
LinearLayout view;
if (convertView == null) {
view = (LinearLayout)_layoutInflater.inflate(R.layout.downloads_list_item, null);
}
else {
view = (LinearLayout)convertView;
... | public View getView(int position, View convertView, ViewGroup parent) {
Podcast podcast = (Podcast)getItem(position);
LinearLayout view;
if (convertView == null) {
view = (LinearLayout)_layoutInflater.inflate(R.layout.downloads_list_item, null);
}
else {
view = (LinearLayout)convertView;
... |
diff --git a/src/org/openmrs/module/reporting/dataset/definition/evaluator/SimplePatientDataSetEvaluator.java b/src/org/openmrs/module/reporting/dataset/definition/evaluator/SimplePatientDataSetEvaluator.java
index 0a0e495f..2debe133 100644
--- a/src/org/openmrs/module/reporting/dataset/definition/evaluator/SimplePatie... | true | true | public DataSet evaluate(DataSetDefinition dataSetDefinition, EvaluationContext context) {
SimpleDataSet dataSet = new SimpleDataSet(dataSetDefinition, context);
SimplePatientDataSetDefinition definition = (SimplePatientDataSetDefinition) dataSetDefinition;
context = ObjectUtil.nvl(context, new EvaluationCo... | public DataSet evaluate(DataSetDefinition dataSetDefinition, EvaluationContext context) {
SimpleDataSet dataSet = new SimpleDataSet(dataSetDefinition, context);
SimplePatientDataSetDefinition definition = (SimplePatientDataSetDefinition) dataSetDefinition;
context = ObjectUtil.nvl(context, new EvaluationCo... |
diff --git a/src/main/java/com/alexrnl/commons/arguments/Arguments.java b/src/main/java/com/alexrnl/commons/arguments/Arguments.java
index a5a507b..a6afa31 100644
--- a/src/main/java/com/alexrnl/commons/arguments/Arguments.java
+++ b/src/main/java/com/alexrnl/commons/arguments/Arguments.java
@@ -1,103 +1,103 @@
packag... | true | true | public String toString () {
final StringBuilder usage = new StringBuilder(programName + " usage as follow:");
for (final Parameter param : parameters) {
usage.append(TAB);
if (!param.isRequired()) {
usage.append('[');
} else {
usage.append(' ');
}
usage.append(" ").append(StringUtils.separa... | public String toString () {
final StringBuilder usage = new StringBuilder(programName).append(" usage as follow:");
for (final Parameter param : parameters) {
usage.append(TAB);
if (!param.isRequired()) {
usage.append('[');
} else {
usage.append(' ');
}
usage.append(" ").append(StringUtils.... |
diff --git a/src/antgame/core/World.java b/src/antgame/core/World.java
index 9b2063a..4aef89f 100644
--- a/src/antgame/core/World.java
+++ b/src/antgame/core/World.java
@@ -1,261 +1,261 @@
package antgame.core;
import java.util.ArrayList;
import antgame.AntGame;
import antgame.services.RandomNumber;
public... | false | true | public World(String mapLocation, String antR, String antB, int numOfAnts){//, String antR, String antB){
this.map = new Map(mapLocation);
ants = new Ant[numOfAnts];
this.redAntBrain = new AntBrain(antR);
this.blackAntBrain = new AntBrain(antB);
// antPointer is the pointer in the array of ants to point to... | public World(String mapLocation, String antR, String antB, int numOfAnts){//, String antR, String antB){
this.map = new Map(mapLocation);
ants = new Ant[numOfAnts];
this.redAntBrain = new AntBrain(antR);
this.blackAntBrain = new AntBrain(antB);
// antPointer is the pointer in the array of ants to point to... |
diff --git a/source/RMG/jing/rxnSys/ReactionModelGenerator.java b/source/RMG/jing/rxnSys/ReactionModelGenerator.java
index 4448286d..61b63956 100644
--- a/source/RMG/jing/rxnSys/ReactionModelGenerator.java
+++ b/source/RMG/jing/rxnSys/ReactionModelGenerator.java
@@ -1,4183 +1,4189 @@
//////////////////////////////////... | true | true | public void initializeReactionSystems() throws InvalidSymbolException, IOException {
//#[ operation initializeReactionSystem()
try {
String initialConditionFile = System.getProperty("jing.rxnSys.ReactionModelGenerator.conditionFile");
if (initialConditionFile == null) {
S... | public void initializeReactionSystems() throws InvalidSymbolException, IOException {
//#[ operation initializeReactionSystem()
try {
String initialConditionFile = System.getProperty("jing.rxnSys.ReactionModelGenerator.conditionFile");
if (initialConditionFile == null) {
S... |
diff --git a/calendar-service/src/main/java/org/exoplatform/calendar/service/CalendarSetting.java b/calendar-service/src/main/java/org/exoplatform/calendar/service/CalendarSetting.java
index a9cbe2fa..bc142c0a 100644
--- a/calendar-service/src/main/java/org/exoplatform/calendar/service/CalendarSetting.java
+++ b/calend... | true | true | public CalendarSetting() {
viewType = WORKING_VIEW;
timeInterval = DEFAULT_TIME_INTERVAL;
weekStartOn = String.valueOf(Calendar.SUNDAY);
dateFormat = "MM/dd/yyyy";
timeFormat = "hh:mm a";
isShowWorkingTime = true;
timeZone = TimeZone.getDefault().getID();
filterPrivateCalendars = new S... | public CalendarSetting() {
viewType = WORKING_VIEW;
timeInterval = DEFAULT_TIME_INTERVAL;
weekStartOn = String.valueOf(Calendar.SUNDAY);
dateFormat = "MM/dd/yyyy";
timeFormat = "hh:mm a";
isShowWorkingTime = true;
timeZone = TimeZone.getDefault().getID();
filterPrivateCalendars = new S... |
diff --git a/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java b/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java
index 1214a6bb..b3b88d15 100644
--- a/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/... | true | true | private IStatus updateFileNameStatus() {
StatusInfo status= new StatusInfo();
fFileVariablePath= null;
String fileName= fFileNameField.getText();
if (fileName.length() == 0) {
status.setError(NewWizardMessages.EditVariableEntryDialog_filename_empty);
return status;
} else {
if (!Path.EMPTY.isVali... | private IStatus updateFileNameStatus() {
StatusInfo status= new StatusInfo();
fFileVariablePath= null;
String fileName= fFileNameField.getText();
if (fileName.length() == 0) {
status.setError(NewWizardMessages.EditVariableEntryDialog_filename_empty);
return status;
} else {
if (!Path.EMPTY.isVali... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/RuntimeClasspathAdvancedDialog.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/RuntimeClasspathAdvancedDialog.java
index 88f052df0..942d44ea5 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/interna... | false | true | protected Control createDialogArea(Composite parent) {
Font font = parent.getFont();
initializeDialogUnits(parent);
Composite composite= (Composite) super.createDialogArea(parent);
Composite inner= new Composite(composite, SWT.NONE);
GridLayout layout= new GridLayout();
layout.makeColumnsEqualWidth =... | protected Control createDialogArea(Composite parent) {
Font font = parent.getFont();
initializeDialogUnits(parent);
Composite composite= (Composite) super.createDialogArea(parent);
Composite inner= new Composite(composite, SWT.NONE);
GridLayout layout= new GridLayout();
layout.makeColumnsEqualWidth =... |
diff --git a/nuxeo-platform-forum/src/main/java/org/nuxeo/ecm/platform/forum/web/PostActionBean.java b/nuxeo-platform-forum/src/main/java/org/nuxeo/ecm/platform/forum/web/PostActionBean.java
index e95949fdd..7a8ad9a4a 100644
--- a/nuxeo-platform-forum/src/main/java/org/nuxeo/ecm/platform/forum/web/PostActionBean.java
+... | true | true | public String addPost() throws ClientException, WMWorkflowException {
DocumentModel dm = documentManager.createDocumentModel("Post");
dm.setProperty("post", "author",
commentManagerActions.getPrincipalName());
dm.setProperty("post", "title", title);
dm.setProperty("... | public String addPost() throws ClientException, WMWorkflowException {
DocumentModel dm = documentManager.createDocumentModel("Post");
dm.setProperty("post", "author",
commentManagerActions.getPrincipalName());
dm.setProperty("post", "title", title);
dm.setProperty("... |
diff --git a/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java b/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java
index 4a6f5e56c..d3a0ccc63 100644
--- a/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java
+++ b/htmlunit/src/main/java/com/gargoylesoftw... | false | true | private void initDefaultFeatures() {
try {
final Properties props = new Properties();
props.load(getClass().getResourceAsStream("/com/gargoylesoftware/htmlunit/javascript/configuration/"
+ nickname_ + ".properties"));
for (final Object key : props.keyS... | private void initDefaultFeatures() {
try {
final Properties props = new Properties();
props.load(getClass().getResourceAsStream("/com/gargoylesoftware/htmlunit/javascript/configuration/"
+ nickname_ + ".properties"));
for (final Object key : props.keyS... |
diff --git a/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/FavoriteAtEclipseMarketplaceHandler.java b/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/actions/FavoriteAtEclipseMarketplaceHandler.java
index fb99d448..7125150e 100644
--- a/central/plugins/org.jboss.tools.c... | true | true | public String getLocation() {
return "http://marketplace.eclipse.org/node/15557";
}
| public String getLocation() {
return "http://marketplace.eclipse.org/node/121986";
}
|
diff --git a/src/engine/agent/tim/agents/PopUpAgent.java b/src/engine/agent/tim/agents/PopUpAgent.java
index a8d41e2..09f2297 100644
--- a/src/engine/agent/tim/agents/PopUpAgent.java
+++ b/src/engine/agent/tim/agents/PopUpAgent.java
@@ -1,569 +1,569 @@
package engine.agent.tim.agents;
import java.util.*;
import ja... | true | true | public boolean pickAndExecuteAnAction() {
// Check to see if a GUI break message came in
if (guiBreakState == GUIBreakState.stop) {
actBreakPopUpOff();
return false; // Make sure the method does not call again
}
else if (guiBreakState == GUIBreakState.restart) {
actBreakPopUpOn();
return true; ... | public boolean pickAndExecuteAnAction() {
// Check to see if a GUI break message came in
if (guiBreakState == GUIBreakState.stop) {
actBreakPopUpOff();
return false; // Make sure the method does not call again
}
else if (guiBreakState == GUIBreakState.restart) {
actBreakPopUpOn();
return true; ... |
diff --git a/pmd/src/net/sourceforge/pmd/lang/xml/ast/XmlParser.java b/pmd/src/net/sourceforge/pmd/lang/xml/ast/XmlParser.java
index 70f18b692..e685194e4 100644
--- a/pmd/src/net/sourceforge/pmd/lang/xml/ast/XmlParser.java
+++ b/pmd/src/net/sourceforge/pmd/lang/xml/ast/XmlParser.java
@@ -1,158 +1,158 @@
/**
* BSD-st... | true | true | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
// XmlNode method?
if (method.getDeclaringClass().isAssignableFrom(XmlNode.class)
&& !"java.lang.Object".equals(method.getDeclaringClass().getName())) {
if ("jjtGetNumChildren".equals(method.getName())) {
return... | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
// XmlNode method?
if (method.getDeclaringClass().isAssignableFrom(XmlNode.class)
&& !"java.lang.Object".equals(method.getDeclaringClass().getName())) {
if ("jjtGetNumChildren".equals(method.getName())) {
return... |
diff --git a/src/za/co/rational/OpenGlEsPolygon/OpenGlEsPolygon.java b/src/za/co/rational/OpenGlEsPolygon/OpenGlEsPolygon.java
index 9cb0803..13e7d5e 100644
--- a/src/za/co/rational/OpenGlEsPolygon/OpenGlEsPolygon.java
+++ b/src/za/co/rational/OpenGlEsPolygon/OpenGlEsPolygon.java
@@ -1,73 +1,73 @@
/* Copyright (C) 201... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GLSurfaceView mGLView = new OpenGlEsPolygonView(this);
setContentView(mGLView);
}
| public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
GLSurfaceView mGLView = new OpenGlEsPolygonView(this);
setContentView(mGLView);
}
|
diff --git a/app/net/sparkmuse/task/UpdateUserStatisticsTask.java b/app/net/sparkmuse/task/UpdateUserStatisticsTask.java
index 587561f..e4f4884 100644
--- a/app/net/sparkmuse/task/UpdateUserStatisticsTask.java
+++ b/app/net/sparkmuse/task/UpdateUserStatisticsTask.java
@@ -1,50 +1,50 @@
package net.sparkmuse.task;
i... | false | true | public UserVO transform(UserVO userVO) {
final Integer posts = datastore.find().type(Post.class)
.addFilter("author", Query.FilterOperator.EQUAL, userVO)
.returnCount()
.now();
final Integer sparks = datastore.find().type(SparkVO.class)
.addFilter("author", Query.FilterOperator... | public UserVO transform(UserVO userVO) {
final Integer posts = datastore.find().type(Post.class)
.addFilter("authorUserId", Query.FilterOperator.EQUAL, userVO.getId())
.returnCount()
.now();
final Integer sparks = datastore.find().type(SparkVO.class)
.addFilter("authorUserId", ... |
diff --git a/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/provider/FeatureLabelMappingItemProvider.java b/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/gmf/mappings/provider/FeatureLabelMappingItemProvider.java
index e4ac0c1af..27b817ee3 100644
--- a/plugins/org.eclipse.gmf.map.edit/src/org/eclipse/... | true | true | protected void addFeaturesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(new ItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_FeatureLabelMapping_features_feature"),
getString("_UI_PropertyDescrip... | protected void addFeaturesPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(new ItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_FeatureLabelMapping_features_feature"),
getString("_UI_PropertyDescrip... |
diff --git a/regression/jvm/ObjectCreationAndManipulationTest.java b/regression/jvm/ObjectCreationAndManipulationTest.java
index e87c3267..9d73ece9 100644
--- a/regression/jvm/ObjectCreationAndManipulationTest.java
+++ b/regression/jvm/ObjectCreationAndManipulationTest.java
@@ -1,177 +1,175 @@
/*
* Copyright (C) 200... | false | true | public static void main(String[] args) {
testNewObject();
testObjectInitialization();
testInstanceFieldAccess();
testNewArray();
testANewArray();
testArrayLength();
testMultiANewArray();
testIsInstanceOf();
/* FIXME:
testIntArrayLoadAndStore();... | public static void main(String[] args) {
testNewObject();
testObjectInitialization();
testInstanceFieldAccess();
testNewArray();
testANewArray();
testArrayLength();
testMultiANewArray();
testIsInstanceOf();
testIntArrayLoadAndStore();
t... |
diff --git a/eu.alert-project.iccs.stardom.core/eu.alert-project.iccs.stardom.alert-connector/src/main/java/eu/alertproject/iccs/stardom/activemqconnector/internal/MailNewMailListener.java b/eu.alert-project.iccs.stardom.core/eu.alert-project.iccs.stardom.alert-connector/src/main/java/eu/alertproject/iccs/stardom/activ... | true | true | public void process(Message message) throws IOException, JMSException {
MailingListConnectorContext context = null;
ObjectMapper mapper = new ObjectMapper();
String text = ((TextMessage) message).getText();
if(StringUtils.isEmpty(text)){
logger.warn("A message received... | public void process(Message message) throws IOException, JMSException {
MailingListConnectorContext context = null;
ObjectMapper mapper = new ObjectMapper();
String text = ((TextMessage) message).getText();
if(StringUtils.isEmpty(text)){
logger.warn("A message received... |
diff --git a/jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/StylesheetRenderer.java b/jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/StylesheetRenderer.java
index 4c72edc2d..98c9a792c 100644
--- a/jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/StylesheetRenderer.java
+++ b/jsf-ri/src/main/jav... | true | true | public void encodeEnd(FacesContext context, UIComponent component)
throws IOException {
Map<String,Object> attributes = component.getAttributes();
Map<Object, Object> contextMap = context.getAttributes();
String name = (String) attributes.get("name");
String library = (St... | public void encodeEnd(FacesContext context, UIComponent component)
throws IOException {
Map<String,Object> attributes = component.getAttributes();
Map<Object, Object> contextMap = context.getAttributes();
String name = (String) attributes.get("name");
String library = (St... |
diff --git a/src/main/java/org/spoutcraft/client/inventory/InventoryUtil.java b/src/main/java/org/spoutcraft/client/inventory/InventoryUtil.java
index 224c2fca..63551a2c 100644
--- a/src/main/java/org/spoutcraft/client/inventory/InventoryUtil.java
+++ b/src/main/java/org/spoutcraft/client/inventory/InventoryUtil.java
@... | true | true | public static void replaceItem(int id, int damage) {
int slot = -1;
InventoryPlayer inventory = Minecraft.theMinecraft.thePlayer.inventory;
for (int i = 0; i < inventory.mainInventory.length; i++) {
if (inventory.mainInventory[i] != null && i != inventory.currentItem) {
if (inventory.mainInventory[i].item... | public static void replaceItem(int id, int damage) {
int slot = -1;
InventoryPlayer inventory = Minecraft.theMinecraft.thePlayer.inventory;
for (int i = 0; i < inventory.mainInventory.length; i++) {
if (inventory.mainInventory[i] != null && i != inventory.currentItem) {
if (inventory.mainInventory[i].item... |
diff --git a/arith/ModInteger.java b/arith/ModInteger.java
index 25bdd2f1..c7d8c605 100644
--- a/arith/ModInteger.java
+++ b/arith/ModInteger.java
@@ -1,699 +1,699 @@
/*
* $Id$
*/
package edu.jas.arith;
import java.util.Random;
import java.io.Reader;
import edu.jas.structure.GcdRingElem;
import edu.jas.... | true | true | public ModInteger[] egcd(ModInteger S) {
ModInteger[] ret = new ModInteger[3];
ret[0] = null;
ret[1] = null;
ret[2] = null;
if ( S == null || S.isZERO() ) {
ret[0] = this;
return ret;
}
if ( isZERO() ) {
ret[0] = S;
... | public ModInteger[] egcd(ModInteger S) {
ModInteger[] ret = new ModInteger[3];
ret[0] = null;
ret[1] = null;
ret[2] = null;
if ( S == null || S.isZERO() ) {
ret[0] = this;
return ret;
}
if ( isZERO() ) {
ret[0] = S;
... |
diff --git a/src/loci/slim/TwoDPane.java b/src/loci/slim/TwoDPane.java
index e6c11ae..105d701 100644
--- a/src/loci/slim/TwoDPane.java
+++ b/src/loci/slim/TwoDPane.java
@@ -1,839 +1,839 @@
//
// TwoDPane.java
//
/*
SLIM Plotter application and curve fitting library for
combined spectral lifetime visualization a... | true | true | public TwoDPane(SlimPlotter slim, SlimData data, SlimTypes types)
throws VisADException, RemoteException
{
this.slim = slim;
this.data = data;
this.types = types;
roiCount = data.width * data.height;
roiPercent = 100;
// create 2D display
iPlot = new DisplayImplJ3D("image", new Two... | public TwoDPane(SlimPlotter slim, SlimData data, SlimTypes types)
throws VisADException, RemoteException
{
this.slim = slim;
this.data = data;
this.types = types;
roiCount = data.width * data.height;
roiPercent = 100;
// create 2D display
iPlot = new DisplayImplJ3D("image", new Two... |
diff --git a/src/com/osastudio/newshub/data/AppProperties.java b/src/com/osastudio/newshub/data/AppProperties.java
index cc33ab6..9052a57 100644
--- a/src/com/osastudio/newshub/data/AppProperties.java
+++ b/src/com/osastudio/newshub/data/AppProperties.java
@@ -1,156 +1,156 @@
package com.osastudio.newshub.data;
imp... | true | true | public AppProperties(JSONObject jsonObject) {
super(jsonObject);
if (isSuccess()) {
try {
if (!jsonObject.isNull(JSON_KEY_APK_URL)) {
setApkUrl(jsonObject.getString(JSON_KEY_APK_URL).trim());
}
if (!jsonObject.isNull(JSON_KEY_MIN_VERSION_CODE))... | public AppProperties(JSONObject jsonObject) {
super(jsonObject);
if (isSuccess()) {
try {
if (!jsonObject.isNull(JSON_KEY_APK_URL)) {
setApkUrl(jsonObject.getString(JSON_KEY_APK_URL).trim());
}
if (!jsonObject.isNull(JSON_KEY_MIN_VERSION_CODE))... |
diff --git a/driver/src/main/java/com/cloudbees/sdk/ArtifactInstallFactory.java b/driver/src/main/java/com/cloudbees/sdk/ArtifactInstallFactory.java
index f7a15de..0e090e0 100644
--- a/driver/src/main/java/com/cloudbees/sdk/ArtifactInstallFactory.java
+++ b/driver/src/main/java/com/cloudbees/sdk/ArtifactInstallFactory.... | true | true | private GAV install(Artifact a) throws Exception {
MavenRepositorySystemSession session = getSessionFactory();
if (localRepository != null)
session.setLocalRepositoryManager(getRs().newLocalRepositoryManager(localRepository));
// System.out.println("Local repo: " + session.getLoca... | private GAV install(Artifact a) throws Exception {
MavenRepositorySystemSession session = getSessionFactory();
if (localRepository != null)
session.setLocalRepositoryManager(getRs().newLocalRepositoryManager(localRepository));
// System.out.println("Local repo: " + session.getLoca... |
diff --git a/tests/gdx-tests/src/com/badlogic/gdx/tests/OrthoCamBorderTest.java b/tests/gdx-tests/src/com/badlogic/gdx/tests/OrthoCamBorderTest.java
index fa655d67a..a9e1f5358 100644
--- a/tests/gdx-tests/src/com/badlogic/gdx/tests/OrthoCamBorderTest.java
+++ b/tests/gdx-tests/src/com/badlogic/gdx/tests/OrthoCamBorderT... | false | true | private Rectangle calculateGLViewport (int desiredWidth, int desiredHeight) {
Rectangle viewport = new Rectangle();
if (Gdx.graphics.getWidth() > Gdx.graphics.getHeight()) {
float aspect = (float)Gdx.graphics.getHeight() / HEIGHT;
viewport.width = WIDTH * aspect;
viewport.height = Gdx.graphics.getHeight()... | private Rectangle calculateGLViewport (int desiredWidth, int desiredHeight) {
Rectangle viewport = new Rectangle();
if (Gdx.graphics.getWidth() > Gdx.graphics.getHeight()) {
float aspect = (float)Gdx.graphics.getHeight() / desiredHeight;
viewport.width = desiredWidth * aspect;
viewport.height = Gdx.graphi... |
diff --git a/domino/eclipse/plugins/com.ibm.xsp.sbtsdk/src/nsf/playground/playground/PreviewXPagesHandler.java b/domino/eclipse/plugins/com.ibm.xsp.sbtsdk/src/nsf/playground/playground/PreviewXPagesHandler.java
index a4a9f92ac..6528c3426 100644
--- a/domino/eclipse/plugins/com.ibm.xsp.sbtsdk/src/nsf/playground/playgrou... | true | true | public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String sOptions = req.getParameter("fm_options");
String id = req.getParameter("fm_id");
RequestParams requestParams = new RequestParams(sOptions,id);
req.getSession().setAttribute(LAST_REQUE... | public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String sOptions = req.getParameter("fm_options");
String id = req.getParameter("fm_id");
RequestParams requestParams = new RequestParams(sOptions,id);
req.getSession().setAttribute(LAST_REQUE... |
diff --git a/src/main/us/exultant/ahs/io/WorkTargetChannelCloser.java b/src/main/us/exultant/ahs/io/WorkTargetChannelCloser.java
index a3b252c..9ac16b3 100644
--- a/src/main/us/exultant/ahs/io/WorkTargetChannelCloser.java
+++ b/src/main/us/exultant/ahs/io/WorkTargetChannelCloser.java
@@ -1,27 +1,27 @@
package us.exult... | true | true | protected Void run() throws IOException {
assert new Loggar(LoggerFactory.getLogger(OutputSystem_WorkerChannelSelectable.class)).debug("closing channel {}", $channel);
$channel.close();
return null;
}
| protected Void run() throws IOException {
assert new Loggar(LoggerFactory.getLogger(WorkTargetChannelCloser.class)).debug("closing channel {}", $channel);
$channel.close();
return null;
}
|
diff --git a/gnu/testlet/java/lang/Character/unicode.java b/gnu/testlet/java/lang/Character/unicode.java
index 41df7fcb..b6a76f26 100644
--- a/gnu/testlet/java/lang/Character/unicode.java
+++ b/gnu/testlet/java/lang/Character/unicode.java
@@ -1,622 +1,637 @@
// Tags: JDK1.1
// Uses: CharInfo
package gnu.testlet.ja... | false | true | public void performTests()
{
for ( int x =0; x <= 0xffff; x++ )
{
// isLowerCase
char i = (char)x;
if ( "Ll".equals(chars[i].category) !=
Character.isLowerCase((char)i) )
{
reportError(i,
(Character.isLowerCase((char)i) ? "lowercase" : "not-lowercase" ));
}
else checkPassed();
// isUppe... | public void performTests()
{
for ( int x =0; x <= 0xffff; x++ )
{
// isLowerCase
char i = (char)x;
if ( "Ll".equals(chars[i].category) !=
Character.isLowerCase((char)i) )
{
reportError(i,
(Character.isLowerCase((char)i) ? "lowercase" : "not-lowercase" ));
}
else checkPassed();
// isUppe... |
diff --git a/src/com/github/nyao/gwtgithub/client/GitHubApi.java b/src/com/github/nyao/gwtgithub/client/GitHubApi.java
index 3a07459..1f90719 100644
--- a/src/com/github/nyao/gwtgithub/client/GitHubApi.java
+++ b/src/com/github/nyao/gwtgithub/client/GitHubApi.java
@@ -1,328 +1,328 @@
package com.github.nyao.gwtgithub.... | true | true | private <T extends JavaScriptObject> void post(String url, GHValue<?> request,
AsyncCallback<T> callback) {
String requestUrl = makeRequestUrl(url);
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, requestUrl);
String requestJson = request.toJson();
final ... | private <T extends JavaScriptObject> void post(String url, GHValue<?> request,
AsyncCallback<T> callback) {
String requestUrl = makeRequestUrl(url);
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, requestUrl);
String requestJson = request.toJson();
final ... |
diff --git a/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java b/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
index 340030daa..3d9ad63d7 100644
--- a/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
+++ b/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
@@ -1,407 +1,407 @@
/*********************************... | true | true | public void setViewport (float width, float height, boolean stretch) {
if (!stretch) {
if (width > height && width / (float)Gdx.graphics.getWidth() <= height / (float)Gdx.graphics.getHeight()) {
float toDeviceSpace = Gdx.graphics.getHeight() / height;
float toViewportSpace = height / Gdx.graphics.getHeigh... | public void setViewport (float width, float height, boolean stretch) {
if (!stretch) {
if (width > height && width / (float)Gdx.graphics.getWidth() <= height / (float)Gdx.graphics.getHeight()) {
float toDeviceSpace = Gdx.graphics.getHeight() / height;
float toViewportSpace = height / Gdx.graphics.getHeigh... |
diff --git a/components/bio-formats/src/loci/formats/in/LeicaHandler.java b/components/bio-formats/src/loci/formats/in/LeicaHandler.java
index 8a11b3fc4..ca27ce315 100644
--- a/components/bio-formats/src/loci/formats/in/LeicaHandler.java
+++ b/components/bio-formats/src/loci/formats/in/LeicaHandler.java
@@ -1,992 +1,99... | true | true | public void startElement(String uri, String localName, String qName,
Attributes attributes)
{
if (attributes.getLength() > 0 && !qName.equals("Element") &&
!qName.equals("Attachment") && !qName.equals("LMSDataContainerHeader"))
{
nameStack.push(qName);
}
Hashtable h = getSeriesHasht... | public void startElement(String uri, String localName, String qName,
Attributes attributes)
{
if (attributes.getLength() > 0 && !qName.equals("Element") &&
!qName.equals("Attachment") && !qName.equals("LMSDataContainerHeader"))
{
nameStack.push(qName);
}
Hashtable h = getSeriesHasht... |
diff --git a/calendar/app/bootstrap/Bootstrap.java b/calendar/app/bootstrap/Bootstrap.java
index 0953283..3d5fa61 100644
--- a/calendar/app/bootstrap/Bootstrap.java
+++ b/calendar/app/bootstrap/Bootstrap.java
@@ -1,17 +1,18 @@
package bootstrap;
import models.User;
import play.jobs.Job;
import play.jobs.OnApplica... | true | true | public void doJob() {
if (User.count() == 0) {
Fixtures.loadModels("bootstrap-data.yml");
}
}
| public void doJob() {
Fixtures.deleteAllModels();
if (User.count() == 0) {
Fixtures.loadModels("bootstrap-data.yml");
}
}
|
diff --git a/src/main/ed/appserver/jxp/JxpSource.java b/src/main/ed/appserver/jxp/JxpSource.java
index ff9ad60e3..1081844dc 100644
--- a/src/main/ed/appserver/jxp/JxpSource.java
+++ b/src/main/ed/appserver/jxp/JxpSource.java
@@ -1,190 +1,190 @@
// Source.java
package ed.appserver.jxp;
import java.io.*;
import j... | true | true | public synchronized JSFunction getFunction()
throws IOException {
_checkTime();
if ( _func != null )
return _func;
_lastParse = lastUpdated();
_dependencies.clear();
Template t = new Template( getName() , getContent() , Language... | public synchronized JSFunction getFunction()
throws IOException {
_checkTime();
if ( _func != null )
return _func;
_lastParse = Calendar.getInstance().getTimeInMillis();
_dependencies.clear();
Template t = new Template( getName(... |
diff --git a/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/submission/workflow/PerformTaskStep.java b/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/submission/workflow/PerformTaskStep.java
index d21012057..2c543cbf5 100644
--- a/dspace-xmlui/dspace-xmlui-api/src/main/... | true | true | public void addBody(Body body) throws SAXException, WingException,
UIException, SQLException, IOException, AuthorizeException
{
// Get any metadata that may be removed by unselecting one of these options.
Item item = submission.getItem();
Collection collection = submission.getCollection(... | public void addBody(Body body) throws SAXException, WingException,
UIException, SQLException, IOException, AuthorizeException
{
// Get any metadata that may be removed by unselecting one of these options.
Item item = submission.getItem();
Collection collection = submission.getCollection(... |
diff --git a/arffgenerator/src/AttTest.java b/arffgenerator/src/AttTest.java
index 3cfc815..6b8db35 100644
--- a/arffgenerator/src/AttTest.java
+++ b/arffgenerator/src/AttTest.java
@@ -1,52 +1,52 @@
import java.util.Random;
public class AttTest {
public static void main(String[] args) throws Exception {
Syst... | false | true | public static void main(String[] args) throws Exception {
System.out.println("@relation vreme" + "\n");
String[] opis = {"hladno", "toplo", "vetrovno", "de�evno", "sne�i"};
int temperatura = 0;
String[] veter = {"0", "5", "10", "20", "50"};
String[] moznost_padavin = {"0", "10", "20", "30", "40", "50", "60"... | public static void main(String[] args) throws Exception {
System.out.println("@relation vreme" + "\n");
String[] opis = {"hladno", "toplo", "vetrovno", "de�evno", "sne�i"};
int temperatura = 0;
String[] veter = {"0", "5", "10", "20", "50"};
String[] moznost_padavin = {"0", "10", "20", "30", "40", "50", "60"... |
diff --git a/bw-calendar-client-webcommon/src/main/java/org/bedework/webcommon/event/SuggestAction.java b/bw-calendar-client-webcommon/src/main/java/org/bedework/webcommon/event/SuggestAction.java
index a5a1e7b..500412f 100644
--- a/bw-calendar-client-webcommon/src/main/java/org/bedework/webcommon/event/SuggestAction.j... | false | true | public int doAction(final BwRequest request,
final BwActionFormBase form) throws Throwable {
final Client cl = request.getClient();
final HttpServletResponse response = request.getResponse();
/** Check access
*/
final boolean publicAdmin = cl.getPublicAdmin();
if (cl.is... | public int doAction(final BwRequest request,
final BwActionFormBase form) throws Throwable {
final Client cl = request.getClient();
final HttpServletResponse response = request.getResponse();
/** Check access
*/
final boolean publicAdmin = cl.getPublicAdmin();
if (cl.is... |
diff --git a/src/org/rsbot/event/impl/TWebStatus.java b/src/org/rsbot/event/impl/TWebStatus.java
index 7da0c54d..f57a37aa 100644
--- a/src/org/rsbot/event/impl/TWebStatus.java
+++ b/src/org/rsbot/event/impl/TWebStatus.java
@@ -1,26 +1,26 @@
package org.rsbot.event.impl;
import org.rsbot.event.listeners.TextPaintLis... | true | true | public int drawLine(final Graphics render, int idx) {
final String[] items = {"Web Queue", "Buffering: " + WebQueue.weAreBuffering + ", " + WebQueue.bufferingCount + " nodes.", "Speed Buffering: " + WebQueue.speedBuffer,
"Cache Writer", "Queue Size: " + WebQueue.queueSize(0), "Remove queue size: " + WebQueue.que... | public int drawLine(final Graphics render, int idx) {
final String[] items = {"Web Queue", "Buffering: " + WebQueue.weAreBuffering + ", " + WebQueue.bufferingCount + " nodes.",
"Cache Writer", "Queue Size: " + WebQueue.queueSize(0), "Remove queue size: " + WebQueue.queueSize(1), "Removing queue size: " + WebQueu... |
diff --git a/Model/src/java/fr/cg95/cvq/service/request/SubjectIdCheck.java b/Model/src/java/fr/cg95/cvq/service/request/SubjectIdCheck.java
index e11e6d4e4..b052c6646 100644
--- a/Model/src/java/fr/cg95/cvq/service/request/SubjectIdCheck.java
+++ b/Model/src/java/fr/cg95/cvq/service/request/SubjectIdCheck.java
@@ -1,5... | false | true | public boolean isSatisfied(Object validatedObject, Object valueToValidate, OValContext context,
Validator validator) throws OValException {
RequestData requestData = (RequestData)validatedObject;
if (requestData.getId() != null) {
BigInteger subjectId = (BigInteger)HibernateUtil.... | public boolean isSatisfied(Object validatedObject, Object valueToValidate, OValContext context,
Validator validator) throws OValException {
RequestData requestData = (RequestData)validatedObject;
if (requestData.getId() != null) {
BigInteger subjectId = (BigInteger)HibernateUtil.... |
diff --git a/src/main/java/db/SubTaskDb.java b/src/main/java/db/SubTaskDb.java
index c40ecb8..7ebffef 100644
--- a/src/main/java/db/SubTaskDb.java
+++ b/src/main/java/db/SubTaskDb.java
@@ -1,406 +1,406 @@
package db;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
impo... | true | true | public static List<String> getImageSubtasks() {
StringBuilder sql = new StringBuilder();
sql.append("SELECT tasks.id, subtasks.file_name, tasks.date_created, tasks.submitter FROM tasks JOIN subtasks ON tasks.id = subtasks.task ");
sql.append("WHERE tasks.media_type=1 ORDER BY tasks.date_created DES");
... | public static List<String> getImageSubtasks() {
StringBuilder sql = new StringBuilder();
sql.append("SELECT tasks.id, subtasks.file_name, tasks.date_created, tasks.submitter FROM tasks JOIN subtasks ON tasks.id = subtasks.task ");
sql.append("WHERE tasks.media_type=1 ORDER BY tasks.date_created DESC");... |
diff --git a/core/src/visad/trunk/data/visad/object/BinaryDataArray.java b/core/src/visad/trunk/data/visad/object/BinaryDataArray.java
index de6f89540..0546b3292 100644
--- a/core/src/visad/trunk/data/visad/object/BinaryDataArray.java
+++ b/core/src/visad/trunk/data/visad/object/BinaryDataArray.java
@@ -1,86 +1,86 @@
... | true | true | public static final Data[] read(BinaryReader reader)
throws IOException, VisADException
{
DataInput file = reader.getInput();
final int len = file.readInt();
if(DEBUG_RD_DATA)System.err.println("rdDataRA: len (" + len + ")");
if (len < 1) {
throw new IOException("Corrupted file (bad Data arra... | public static final Data[] read(BinaryReader reader)
throws IOException, VisADException
{
DataInput file = reader.getInput();
final int len = file.readInt();
if(DEBUG_RD_DATA)System.err.println("rdDataRA: len (" + len + ")");
if (len < 1) {
throw new IOException("Corrupted file (bad Data arra... |
diff --git a/src/edu/ucla/loni/server/FileServiceImpl.java b/src/edu/ucla/loni/server/FileServiceImpl.java
index 666e45b..4b0b9d6 100644
--- a/src/edu/ucla/loni/server/FileServiceImpl.java
+++ b/src/edu/ucla/loni/server/FileServiceImpl.java
@@ -1,519 +1,519 @@
package edu.ucla.loni.server;
import edu.ucla.loni.clie... | true | true | private void copyOrMoveFile(Directory root, Pipefile pipe, String packageName, boolean copy) throws Exception{
// Source
String oldAbsolutePath = pipe.absolutePath;
File src = new File(oldAbsolutePath);
// If the source does not exist
if (!src.exists()) {
throw new Exception("Soruce file does not exist... | private void copyOrMoveFile(Directory root, Pipefile pipe, String packageName, boolean copy) throws Exception{
// Source
String oldAbsolutePath = pipe.absolutePath;
File src = new File(oldAbsolutePath);
// If the source does not exist
if (!src.exists()) {
throw new Exception("Soruce file does not exist... |
diff --git a/src/main/java/com/mollom/client/MollomClient.java b/src/main/java/com/mollom/client/MollomClient.java
index 07a446a..49cfbf7 100644
--- a/src/main/java/com/mollom/client/MollomClient.java
+++ b/src/main/java/com/mollom/client/MollomClient.java
@@ -1,604 +1,604 @@
package com.mollom.client;
import com.s... | true | true | public void checkContent(Content content)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (content.getAuthorIp() != null) {
postParams.putSingle("authorIp", content.getAuthorIp())... | public void checkContent(Content content)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (content.getAuthorIp() != null) {
postParams.putSingle("authorIp", content.getAuthorIp())... |
diff --git a/licanciator/src/ar/edu/utn/frsf/licenciator/gui/windows/EmitirGUI.java b/licanciator/src/ar/edu/utn/frsf/licenciator/gui/windows/EmitirGUI.java
index ddbbf68..9e53a05 100644
--- a/licanciator/src/ar/edu/utn/frsf/licenciator/gui/windows/EmitirGUI.java
+++ b/licanciator/src/ar/edu/utn/frsf/licenciator/gui/wi... | false | true | public EmitirGUI() {
setIconImage(Toolkit.getDefaultToolkit().getImage("C:\\Users\\VICTORIA\\Downloads\\descarga (1).jpg"));
setTitle("Emitir Licencia");
final JComboBox textTipoDoc = new JComboBox();
textTipoDoc.addItem("DNI");
textTipoDoc.addItem("LC");
textTipoDoc.addItem("LE");
JButton btnBuscar =... | public EmitirGUI() {
setIconImage(Toolkit.getDefaultToolkit().getImage("C:\\Users\\VICTORIA\\Downloads\\descarga (1).jpg"));
setTitle("Emitir Licencia");
final JComboBox textTipoDoc = new JComboBox();
textTipoDoc.addItem("DNI");
textTipoDoc.addItem("LC");
textTipoDoc.addItem("LE");
JButton btnBuscar =... |
diff --git a/src/java/com/android/internal/telephony/PhoneFactory.java b/src/java/com/android/internal/telephony/PhoneFactory.java
index ab28ff2..f46f828 100644
--- a/src/java/com/android/internal/telephony/PhoneFactory.java
+++ b/src/java/com/android/internal/telephony/PhoneFactory.java
@@ -1,230 +1,234 @@
/*
* Cop... | true | true | public static void makeDefaultPhone(Context context) {
synchronized(Phone.class) {
if (!sMadeDefaults) {
sLooper = Looper.myLooper();
sContext = context;
if (sLooper == null) {
throw new RuntimeException(
... | public static void makeDefaultPhone(Context context) {
synchronized(Phone.class) {
if (!sMadeDefaults) {
sLooper = Looper.myLooper();
sContext = context;
if (sLooper == null) {
throw new RuntimeException(
... |
diff --git a/source/de/anomic/crawler/Balancer.java b/source/de/anomic/crawler/Balancer.java
index 609d2cd15..2461ec4ac 100644
--- a/source/de/anomic/crawler/Balancer.java
+++ b/source/de/anomic/crawler/Balancer.java
@@ -1,516 +1,516 @@
// plasmaCrawlBalancer.java
// -----------------------
// part of YaCy
// (C) ... | true | true | public Request pop(final boolean delay, final CrawlProfile profile) throws IOException {
// returns a crawl entry from the stack and ensures minimum delta times
filltop(delay, -600000, false);
filltop(delay, -60000, false);
filltop(delay, -10000, false);
filltop(delay, -6000, fa... | public Request pop(final boolean delay, final CrawlProfile profile) throws IOException {
// returns a crawl entry from the stack and ensures minimum delta times
filltop(delay, -600000, false);
filltop(delay, -60000, false);
filltop(delay, -10000, false);
filltop(delay, -6000, fa... |
diff --git a/src/core/Tower.java b/src/core/Tower.java
index 4212433..e7b3ac2 100644
--- a/src/core/Tower.java
+++ b/src/core/Tower.java
@@ -1,146 +1,147 @@
package src.core;
import java.util.HashMap;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import src.core.XML.TowerX... | true | true | public static Tower createTower(Type t){
if (templateTowers == null) {
templateTowers = TowerXMLReader.readXML("bin/src/core/XML/exampleTower.xml");
}
Tower template = templateTowers.get(t);
Tower tower = new Tower();
tower.setDamage(template.getDamage());
tower.setFireRate(template.getFireRate())... | public static Tower createTower(Type t){
if (templateTowers == null) {
//templateTowers = TowerXMLReader.readXML("/src/core/XML/exampleTower.xml");
templateTowers = TowerXMLReader.readXML("/home/jqtran/course/cs032/cs32final/src/core/XML/exampleTower.xml");
}
Tower template = templateTowers.get(t);
To... |
diff --git a/api/src/test/java/org/openmrs/module/pacsintegration/component/HL7ListenerComponentTest.java b/api/src/test/java/org/openmrs/module/pacsintegration/component/HL7ListenerComponentTest.java
index 06b3187..499e4d5 100644
--- a/api/src/test/java/org/openmrs/module/pacsintegration/component/HL7ListenerComponent... | true | true | public void shouldListenForAndParseORM_001Message() throws Exception {
ModuleActivator activator = new PacsIntegrationActivator();
activator.started();
List<Patient> patients = patientService.getPatients(null, "101-6", Collections.singletonList(emrApiProperties.getPrimaryIdentifierType())... | public void shouldListenForAndParseORM_001Message() throws Exception {
ModuleActivator activator = new PacsIntegrationActivator();
activator.started();
List<Patient> patients = patientService.getPatients(null, "101-6", Collections.singletonList(emrApiProperties.getPrimaryIdentifierType())... |
diff --git a/src/org/touchirc/irc/IrcBot.java b/src/org/touchirc/irc/IrcBot.java
index c77a879..db66593 100644
--- a/src/org/touchirc/irc/IrcBot.java
+++ b/src/org/touchirc/irc/IrcBot.java
@@ -1,140 +1,137 @@
package org.touchirc.irc;
import java.util.regex.Pattern;
import org.pircbotx.PircBotX;
import org.pirc... | false | true | public void onEvent(Event rawevent) throws Exception {
if(rawevent instanceof MessageEvent){
MessageEvent event = (MessageEvent) rawevent;
if(highlight.matcher(event.getMessage()).find()){
this.server.getConversation(event.getChannel().getName()).addMessage(new Message(event.getMessage(),... | public void onEvent(Event rawevent) throws Exception {
if(rawevent instanceof MessageEvent){
MessageEvent event = (MessageEvent) rawevent;
if(highlight.matcher(event.getMessage()).find()){
this.server.getConversation(event.getChannel().getName()).addMessage(new Message(event.getMessage(), ev... |
diff --git a/ZONE-extractor/ZONE-TwitterReader/src/test/java/org/zoneproject/extractor/twitterreader/TwitterApiTest.java b/ZONE-extractor/ZONE-TwitterReader/src/test/java/org/zoneproject/extractor/twitterreader/TwitterApiTest.java
index e91bb17..1a565cf 100644
--- a/ZONE-extractor/ZONE-TwitterReader/src/test/java/org/z... | true | true | public void testGetHashTags() {
System.out.println("getHashTags");
String[] expResult = {"descl","you","nice"};
String[] result = TwitterApi.getHashTags("hello #descl how are #you in #nice?");
for(String r: result) {
System.out.println(r);
}
assertArrayEqu... | public void testGetHashTags() {
System.out.println("getHashTags");
String[] expResult = {"#descl","#you","#nice"};
String[] result = TwitterApi.getHashTags("hello #descl how are #you in #nice?");
for(String r: result) {
System.out.println(r);
}
assertArray... |
diff --git a/src/Extensions/org/objectweb/proactive/extensions/scheduler/job/JobResultImpl.java b/src/Extensions/org/objectweb/proactive/extensions/scheduler/job/JobResultImpl.java
index 53bef9bd7..fc1635399 100644
--- a/src/Extensions/org/objectweb/proactive/extensions/scheduler/job/JobResultImpl.java
+++ b/src/Extens... | true | true | public void addTaskResult(String taskName, TaskResult taskResult, boolean isPrecious) {
//allResults
if (allResults == null) {
allResults = new HashMap<String, TaskResult>();
}
allResults.put(taskName, taskResult);
//preciousResult
if (isPrecious) {
... | public void addTaskResult(String taskName, TaskResult taskResult, boolean isPrecious) {
//allResults
if (allResults == null) {
allResults = new HashMap<String, TaskResult>();
}
allResults.put(taskName, taskResult);
//preciousResult
if (isPrecious) {
... |
diff --git a/Hexiano/src/opensource/hexiano/CC.java b/Hexiano/src/opensource/hexiano/CC.java
index 6d912f3..e57da6d 100644
--- a/Hexiano/src/opensource/hexiano/CC.java
+++ b/Hexiano/src/opensource/hexiano/CC.java
@@ -1,115 +1,120 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ... | false | true | public String getDisplayString(String labelType, boolean showOctave)
{
String noteStr = "?";
if (labelType.equals("None"))
{
return "";
}
else if (labelType.equals("Key Number (DEV)"))
{
return("" + mKeyNumber);
}
else if (labelType.equals("MIDI Note Number"))
{... | public String getDisplayString(String labelType, boolean showOctave)
{
String noteStr = "CC?";
if (labelType.equals("None"))
{
return "";
}
else if (labelType.equals("Key Number (DEV)"))
{
return("" + mKeyNumber);
}
else if (labelType.equals("MIDI Note Number"))
... |
diff --git a/q-web/src/main/java/q/web/group/GetGroupFeedFrame.java b/q-web/src/main/java/q/web/group/GetGroupFeedFrame.java
index f59feaf9..7863aa4c 100644
--- a/q-web/src/main/java/q/web/group/GetGroupFeedFrame.java
+++ b/q-web/src/main/java/q/web/group/GetGroupFeedFrame.java
@@ -1,76 +1,78 @@
package q.web.group;
... | true | true | public void execute(ResourceContext context) throws Exception {
long loginPeopleId = context.getCookiePeopleId();
List<Long> groupIds = this.groupDao.getGroupIdsByPeopleId(loginPeopleId);
if (CollectionKit.isNotEmpty(groupIds)) {
List<Group> groups = this.groupDao.getGroupsByIds(groupIds);
context.setModel... | public void execute(ResourceContext context) throws Exception {
long loginPeopleId = context.getCookiePeopleId();
People people = this.peopleDao.getPeopleById(loginPeopleId);
context.setModel("people", people);
List<Long> groupIds = this.groupDao.getGroupIdsByPeopleId(loginPeopleId);
if (CollectionKit.isNotE... |
diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchConfigurationPanel2.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchConfigurationPanel2.java
index 6f4039648..f7df7cd46 100644
--- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchConfigurationP... | false | true | private void initComponents() {
skipNSRLCheckBox = new javax.swing.JCheckBox();
filesIndexedLabel = new javax.swing.JLabel();
filesIndexedValue = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator();
skipNSRLCheckBox.setText(org.openide.util.NbBundle.getMess... | private void initComponents() {
skipNSRLCheckBox = new javax.swing.JCheckBox();
filesIndexedLabel = new javax.swing.JLabel();
filesIndexedValue = new javax.swing.JLabel();
jSeparator1 = new javax.swing.JSeparator();
skipNSRLCheckBox.setText(org.openide.util.NbBundle.getMess... |
diff --git a/src/main/com/iappsam/servlet/item/ViewItem.java b/src/main/com/iappsam/servlet/item/ViewItem.java
index 0374248..e6e68a8 100644
--- a/src/main/com/iappsam/servlet/item/ViewItem.java
+++ b/src/main/com/iappsam/servlet/item/ViewItem.java
@@ -1,87 +1,89 @@
package com.iappsam.servlet.item;
import java.io.... | false | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
ItemManager iManager = new ItemManagerSession();
String description = (String)request.getParameter("description");
Item item = new Item();
try {
item ... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
ItemManager iManager = new ItemManagerSession();
String description = (String) request.getParameter("description");
Item item = new Item();
try {
item... |
diff --git a/src/spielfigur/Spielfigur.java b/src/spielfigur/Spielfigur.java
index 1549c8e..5a422e1 100644
--- a/src/spielfigur/Spielfigur.java
+++ b/src/spielfigur/Spielfigur.java
@@ -1,213 +1,214 @@
package spielfigur;
import game.Game;
import spielfeld.Spielfeld;
import spielfeld.Spielflaeche;
import bombe.Bo... | true | true | public void move(int x, int y) {
/*
* Das Spiel wird neu gestartet wenn Bomberman und Ausgang sich auf den
* selben Koordinaten befinden.
*/
if (Spielflaeche.play.getObj(xPosition + x, yPosition + y, 1) == Spielfeld.Ausgang
&& Spielflaeche.play.getObj(xPosition + x, yPosition + y, 2) != Spielfeld.Ki... | public void move(int x, int y) {
/*
* Das Spiel wird neu gestartet wenn Bomberman und Ausgang sich auf den
* selben Koordinaten befinden.
*/
if (Spielflaeche.play.getObj(xPosition + x, yPosition + y, 1) == Spielfeld.Ausgang
&& Spielflaeche.play.getObj(xPosition + x, yPosition + y, 2) != Spielfeld.Ki... |
diff --git a/src/com/github/grandmarket/market/Market.java b/src/com/github/grandmarket/market/Market.java
index 70b036c..3b91226 100644
--- a/src/com/github/grandmarket/market/Market.java
+++ b/src/com/github/grandmarket/market/Market.java
@@ -1,67 +1,69 @@
package com.github.grandmarket.market;
import java.sql.Re... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if(cmd.getName().equalsIgnoreCase("market")) {
if(args.length < 1) {
try {
ResultSet query = dbconn.query("SELECT * FROM settings WHERE setting='mainText' LIMIT 1");
if(query.first()) {
sender.sen... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if(cmd.getName().equalsIgnoreCase("market")) {
if(args.length < 1) {
try {
ResultSet query = dbconn.query("SELECT * FROM settings WHERE setting='mainText' LIMIT 1");
if(query.first()) {
sender.sen... |
diff --git a/labs/elb/src/main/java/org/jclouds/elb/loadbalancer/strategy/ELBLoadBalanceNodesStrategy.java b/labs/elb/src/main/java/org/jclouds/elb/loadbalancer/strategy/ELBLoadBalanceNodesStrategy.java
index ec5cd27ba3..d53184f745 100644
--- a/labs/elb/src/main/java/org/jclouds/elb/loadbalancer/strategy/ELBLoadBalance... | true | true | public LoadBalancerMetadata createLoadBalancerInLocation(Location location, String name, String protocol,
int loadBalancerPort, int instancePort, Iterable<? extends NodeMetadata> nodes) {
checkNotNull(location, "location");
String region = getRegionFromLocationOrNull(location);
Set<Str... | public LoadBalancerMetadata createLoadBalancerInLocation(Location location, String name, String protocol,
int loadBalancerPort, int instancePort, Iterable<? extends NodeMetadata> nodes) {
checkNotNull(location, "location");
String region = getRegionFromLocationOrNull(location);
Set<Str... |
diff --git a/src/org/ojim/logic/actions/ActionFetchCard.java b/src/org/ojim/logic/actions/ActionFetchCard.java
index 98ed6b7..ee2d578 100644
--- a/src/org/ojim/logic/actions/ActionFetchCard.java
+++ b/src/org/ojim/logic/actions/ActionFetchCard.java
@@ -1,26 +1,26 @@
package org.ojim.logic.actions;
import org.ojim.l... | true | true | public void execute() {
if (this.stack.isEmpty()) {
Card topCard = this.stack.getPointedCard();
this.stack.step();
topCard.fetch();
}
}
| public void execute() {
if (!this.stack.isEmpty()) {
Card topCard = this.stack.getPointedCard();
this.stack.step();
topCard.fetch();
}
}
|
diff --git a/org.orbisgis.core-ui/src/main/java/org/orbisgis/editors/map/tools/ToolValidationUtilities.java b/org.orbisgis.core-ui/src/main/java/org/orbisgis/editors/map/tools/ToolValidationUtilities.java
index bbac52215..ff76669fc 100644
--- a/org.orbisgis.core-ui/src/main/java/org/orbisgis/editors/map/tools/ToolValid... | true | true | public static boolean geometryTypeIs(MapContext vc, int... geometryTypes) {
ILayer activeLayer = vc.getActiveLayer();
if (activeLayer == null) {
return false;
} else {
try {
SpatialDataSourceDecorator sds = activeLayer.getDataSource();
Type type = sds.getFieldType(sds.getSpatialFieldIndex());
i... | public static boolean geometryTypeIs(MapContext vc, int... geometryTypes) {
ILayer activeLayer = vc.getActiveLayer();
if (activeLayer == null) {
return false;
} else {
try {
SpatialDataSourceDecorator sds = activeLayer.getDataSource();
Type type = sds.getFieldType(sds.getSpatialFieldIndex());
i... |
diff --git a/de.walware.statet.r.core/src/de/walware/statet/r/core/model/RElementName.java b/de.walware.statet.r.core/src/de/walware/statet/r/core/model/RElementName.java
index 9627fc92..e4e7bb21 100644
--- a/de.walware.statet.r.core/src/de/walware/statet/r/core/model/RElementName.java
+++ b/de.walware.statet.r.core/sr... | true | true | public static String createDisplayName(RElementName a, final int options) {
StringBuilder sb = null;
if ((options & DISPLAY_NS_PREFIX) != 0) {
final RElementName namespace = a.getNamespace();
if (namespace != null) {
sb = new StringBuilder(32);
if (!appendEnvAccess(namespace, sb, options)
||... | public static String createDisplayName(RElementName a, final int options) {
StringBuilder sb = null;
if ((options & DISPLAY_NS_PREFIX) != 0) {
final RElementName namespace = a.getNamespace();
if (namespace != null) {
sb = new StringBuilder(32);
if (!appendEnvAccess(namespace, sb, options)
||... |
diff --git a/guma/simulator/AbstractSimulator.java b/guma/simulator/AbstractSimulator.java
index 0244553..692651f 100644
--- a/guma/simulator/AbstractSimulator.java
+++ b/guma/simulator/AbstractSimulator.java
@@ -1,407 +1,407 @@
/**
*GUMA a simple math game for elementary school students
* Copyright (C) 2012-2013 D... | false | true | public static AbstractSimulator makeSimulator(int telestis1, int telestis2,char praxisType)
{
AbstractSimulator a=null;
switch(praxisType)
{
case Praxis.ADDING: a= new AddingSimulator(telestis1,telestis2);
break;
case Praxis.SUBSTRACTION:
if(telestis1>telestis2)
{
a= new SubstractionSi... | public static AbstractSimulator makeSimulator(int telestis1, int telestis2,char praxisType)
{
AbstractSimulator a=null;
switch(praxisType)
{
case Praxis.ADDING: a= new AddingSimulator(telestis1,telestis2);
break;
case Praxis.SUBSTRACTION:
if(telestis1>telestis2)
{
a= new SubstractionSi... |
diff --git a/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderWat.java b/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderWat.java
index a43dd2d..853e1f6 100644
--- a/src/main/java/net/nexisonline/spade/chunkproviders/ChunkProviderWat.java
+++ b/src/main/java/net/nexisonline/spade/chunkpro... | true | true | public void generateChunk(World world, int X, int Z, byte[] abyte, Biome[] biomes, double[] temperature)
{
double density[][][] = new double[16][128][16];
for (int x = 0; x < 16; x += 3)
{
for (int y = 0; y < 128; y += 3)
{
for (int z = 0; z < 16; z += 3)
{
double posX = x + (X*16);
dou... | public void generateChunk(World world, int X, int Z, byte[] abyte, Biome[] biomes, double[] temperature)
{
double density[][][] = new double[16][128][16];
for (int x = 0; x < 16; x += 3)
{
for (int y = 0; y < 128; y += 3)
{
for (int z = 0; z < 16; z += 3)
{
double posX = x + (X*16);
dou... |
diff --git a/src/org/geometerplus/android/fbreader/api/ApiImplementation.java b/src/org/geometerplus/android/fbreader/api/ApiImplementation.java
index 1f013adb..caf6b7b9 100644
--- a/src/org/geometerplus/android/fbreader/api/ApiImplementation.java
+++ b/src/org/geometerplus/android/fbreader/api/ApiImplementation.java
@... | true | true | public ApiObject request(int method, ApiObject[] parameters) {
try {
switch (method) {
case GET_BOOK_LANGUAGE:
return ApiObject.envelope(getBookLanguage());
case GET_PARAGRAPHS_NUMBER:
return ApiObject.envelope(getParagraphsNumber());
case GET_ELEMENTS_NUMBER:
return ApiObject.envelope(... | public ApiObject request(int method, ApiObject[] parameters) {
try {
switch (method) {
case GET_BOOK_LANGUAGE:
return ApiObject.envelope(getBookLanguage());
case GET_PARAGRAPHS_NUMBER:
return ApiObject.envelope(getParagraphsNumber());
case GET_ELEMENTS_NUMBER:
return ApiObject.envelope(... |
diff --git a/src/main/java/me/iffa/bananaspace/api/SpaceWorldHandler.java b/src/main/java/me/iffa/bananaspace/api/SpaceWorldHandler.java
index be140f8..6f5da0e 100644
--- a/src/main/java/me/iffa/bananaspace/api/SpaceWorldHandler.java
+++ b/src/main/java/me/iffa/bananaspace/api/SpaceWorldHandler.java
@@ -1,282 +1,282 @@... | false | true | public void loadSpaceWorlds() {
Set<String> worlds;
try {
worlds = SpaceConfig.getConfig().getConfigurationSection("worlds").getKeys(false);
} catch (NullPointerException ex) {
worlds = null;
}
if (worlds == null) {
SpaceMessageHandler.prin... | public void loadSpaceWorlds() {
Set<String> worlds;
try {
worlds = SpaceConfig.getConfig().getConfigurationSection("worlds").getKeys(false);
} catch (NullPointerException ex) {
worlds = null;
}
if (worlds == null) {
SpaceMessageHandler.prin... |
diff --git a/ics-xmpp/src/main/java/com/jakeapp/jake/ics/impl/xmpp/status/XmppStatusService.java b/ics-xmpp/src/main/java/com/jakeapp/jake/ics/impl/xmpp/status/XmppStatusService.java
index 47ca13eb..e5bdae19 100644
--- a/ics-xmpp/src/main/java/com/jakeapp/jake/ics/impl/xmpp/status/XmppStatusService.java
+++ b/ics-xmpp/... | true | true | public Boolean login(UserId userid, String pw) throws NetworkException,
TimeoutException {
XmppUserId xuid = new XmppUserId(userid);
if (!xuid.isOfCorrectUseridFormat())
throw new NoSuchUseridException();
if (isLoggedIn())
logout();
this.con.setConnection(null);
XMPPConnection connection;
try {... | public Boolean login(UserId userid, String pw) throws NetworkException,
TimeoutException {
XmppUserId xuid = new XmppUserId(userid);
if (!xuid.isOfCorrectUseridFormat())
throw new NoSuchUseridException();
if (isLoggedIn())
logout();
this.con.setConnection(null);
XMPPConnection connection;
try {... |
diff --git a/src/main/java/edu/northwestern/bioinformatics/studycalendar/restlets/WadlHtmlResource.java b/src/main/java/edu/northwestern/bioinformatics/studycalendar/restlets/WadlHtmlResource.java
index 9f6802ff6..60b886d8f 100644
--- a/src/main/java/edu/northwestern/bioinformatics/studycalendar/restlets/WadlHtmlResour... | false | true | public Representation represent(Variant variant) throws ResourceException {
if (MediaType.TEXT_HTML.includes(variant.getMediaType())) {
return new TransformRepresentation(null,
PscWadlRepresentation.create(freemarkerConfiguration, getRequest()),
new ClasspathResou... | public Representation represent(Variant variant) throws ResourceException {
if (MediaType.TEXT_HTML.includes(variant.getMediaType())) {
TransformRepresentation transform = new TransformRepresentation(null,
PscWadlRepresentation.create(freemarkerConfiguration, getRequest()),
... |
diff --git a/evf-data/src/java/com/evinceframework/data/warehouse/query/QueryEngine.java b/evf-data/src/java/com/evinceframework/data/warehouse/query/QueryEngine.java
index 8259f00..836fa3a 100644
--- a/evf-data/src/java/com/evinceframework/data/warehouse/query/QueryEngine.java
+++ b/evf-data/src/java/com/evinceframewo... | true | true | public QueryResult query(Query query) throws QueryException {
if(query == null)
return null;
QueryCommand<Query, QueryResult> cmd = findImplementation(query.getClass());
if(cmd == null) {
throw new QueryException(String.format("Unknown query: %s", query.getClass().getName())); // TODO i18n
}
r... | public QueryResult query(Query query) throws QueryException {
if(query == null)
return null;
QueryCommand<Query, QueryResult> cmd = lookup(query.getClass());
if(cmd == null) {
throw new QueryException(String.format("Unknown query: %s", query.getClass().getName())); // TODO i18n
}
return cmd.qu... |
diff --git a/blocks/sublima-app/src/main/java/com/computas/sublima/app/controller/admin/AdminController.java b/blocks/sublima-app/src/main/java/com/computas/sublima/app/controller/admin/AdminController.java
index 8975ccee..b1f24354 100644
--- a/blocks/sublima-app/src/main/java/com/computas/sublima/app/controller/admin/... | false | true | public void process(AppleRequest req, AppleResponse res) throws Exception {
String mode = req.getSitemapParameter("mode");
String submode = req.getSitemapParameter("submode");
if (appUtil.getUser() != null) {
user = appUtil.getUser();
userPrivileges = adminService.getRolePrivilegesAsXML(user... | public void process(AppleRequest req, AppleResponse res) throws Exception {
String mode = req.getSitemapParameter("mode");
String submode = req.getSitemapParameter("submode");
if (appUtil.getUser() != null) {
user = appUtil.getUser();
userPrivileges = adminService.getRolePrivilegesAsXML(user... |
diff --git a/src/eclipse/net.vtst.ow.eclipse.less/src/net/vtst/ow/eclipse/less/less/LessUtils.java b/src/eclipse/net.vtst.ow.eclipse.less/src/net/vtst/ow/eclipse/less/less/LessUtils.java
index 3e4f66a..6f5c89f 100644
--- a/src/eclipse/net.vtst.ow.eclipse.less/src/net/vtst/ow/eclipse/less/less/LessUtils.java
+++ b/src/e... | true | true | public static EObject getNthAncestor(EObject obj, int nth) {
while (nth > 0 && obj != null) {
obj = obj.eContainer();
}
return obj;
}
| public static EObject getNthAncestor(EObject obj, int nth) {
while (nth > 0 && obj != null) {
obj = obj.eContainer();
--nth;
}
return obj;
}
|
diff --git a/src/main/java/agaricus/mods/highlighttips/HighlightTips.java b/src/main/java/agaricus/mods/highlighttips/HighlightTips.java
index ca00909..1ec1632 100644
--- a/src/main/java/agaricus/mods/highlighttips/HighlightTips.java
+++ b/src/main/java/agaricus/mods/highlighttips/HighlightTips.java
@@ -1,271 +1,272 @@... | true | true | private void describeBlockID(StringBuilder sb, int id, int meta) {
Block block = Block.blocksList[id];
if (block == null) {
sb.append("block #"+id);
return;
}
// block info
sb.append(id);
sb.append(':');
sb.append(meta);
sb.ap... | private void describeBlockID(StringBuilder sb, int id, int meta) {
Block block = Block.blocksList[id];
if (block == null) {
sb.append("block #"+id);
return;
}
// block info
sb.append(id);
sb.append(':');
sb.append(meta);
sb.ap... |
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java
index 9743ff2b5..d931f6743 100644
--- a/main/src/cgeo/geocaching/cgeoinit.java
+++ b/main/src/cgeo/geocaching/cgeoinit.java
@@ -1,762 +1,762 @@
package cgeo.geocaching;
import cgeo.geocaching.LogTemplateProvider.LogTemplate... | false | true | public void init() {
// geocaching.com settings
ImmutablePair<String, String> login = Settings.getLogin();
if (login != null) {
((EditText) findViewById(R.id.username)).setText(login.left);
((EditText) findViewById(R.id.password)).setText(login.right);
}
... | public void init() {
// geocaching.com settings
final ImmutablePair<String, String> login = Settings.getLogin();
if (login != null) {
((EditText) findViewById(R.id.username)).setText(login.left);
((EditText) findViewById(R.id.password)).setText(login.right);
... |
diff --git a/wikAPIdia-phrases/src/main/java/org/wikapidia/phrases/LucenePhraseAnalyzer.java b/wikAPIdia-phrases/src/main/java/org/wikapidia/phrases/LucenePhraseAnalyzer.java
index 38e38c26..f60a6b8e 100644
--- a/wikAPIdia-phrases/src/main/java/org/wikapidia/phrases/LucenePhraseAnalyzer.java
+++ b/wikAPIdia-phrases/src... | true | true | public LinkedHashMap<LocalPage, Float> resolveLocal(Language language, String phrase, int maxPages) throws DaoException {
LinkedHashMap<LocalPage, Float> result = new LinkedHashMap<LocalPage, Float>();
WikapidiaScoreDoc[] wikapidiaScoreDocs = searcher.getQueryBuilderByLanguage(language)
... | public LinkedHashMap<LocalPage, Float> resolveLocal(Language language, String phrase, int maxPages) throws DaoException {
LinkedHashMap<LocalPage, Float> result = new LinkedHashMap<LocalPage, Float>();
WikapidiaScoreDoc[] wikapidiaScoreDocs = searcher.getQueryBuilderByLanguage(language)
... |
diff --git a/projects/connector-manager/source/java/com/google/enterprise/connector/common/WorkQueue.java b/projects/connector-manager/source/java/com/google/enterprise/connector/common/WorkQueue.java
index 0a499e2e..288c3c7a 100644
--- a/projects/connector-manager/source/java/com/google/enterprise/connector/common/Wor... | true | true | public void run() {
while (true) {
synchronized (WorkQueue.this) {
while (workQueue.isEmpty()) {
try {
WorkQueue.this.wait();
} catch (InterruptedException ie) {
logger.warning("WorkQueueThread was interrupted: "
+ ie.getMe... | public void run() {
while (true) {
synchronized (WorkQueue.this) {
while (workQueue.isEmpty()) {
try {
WorkQueue.this.wait();
} catch (InterruptedException ie) {
// thread exits when shutdown of WorkQueue occurs
return;
... |
diff --git a/src/net/colar/netbeans/fan/FanParserTask.java b/src/net/colar/netbeans/fan/FanParserTask.java
index e4fe093..26999ed 100644
--- a/src/net/colar/netbeans/fan/FanParserTask.java
+++ b/src/net/colar/netbeans/fan/FanParserTask.java
@@ -1,713 +1,713 @@
/*
* To change this template, choose Tools | Templates
... | true | true | private void parseVars(AstNode node, FanResolvedType type)
{
if (node == null)
{
return;
}
String text = node.getNodeText(true);
List<AstNode> children = node.getChildren();
switch (node.getKind())
{
case AST_CLOSURE:
AstNode closureBlock = FanLexAstUtils.getFirstChild(node, new NodeKindPredi... | private void parseVars(AstNode node, FanResolvedType type)
{
if (node == null)
{
return;
}
String text = node.getNodeText(true);
List<AstNode> children = node.getChildren();
switch (node.getKind())
{
case AST_CLOSURE:
AstNode closureBlock = FanLexAstUtils.getFirstChild(node, new NodeKindPredi... |
diff --git a/src/org/gearman/Main.java b/src/org/gearman/Main.java
index b65ddcd..7bf02b7 100755
--- a/src/org/gearman/Main.java
+++ b/src/org/gearman/Main.java
@@ -1,105 +1,105 @@
package org.gearman;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import org.gearman.util.A... | true | true | private Main(final String[] args) {
final ArgumentParser ap = new ArgumentParser();
boolean t1, t2, t3;
t1 = ap.addOption('p', "port", true);
t2 = ap.addOption('v', "version", false);
t3 = ap.addOption('?', "help", false);
assert t1&&t2&&t3;
ArrayList<String> arguments = ap.parse(args);
if(arg... | private Main(final String[] args) {
final ArgumentParser ap = new ArgumentParser();
boolean t1, t2, t3;
t1 = ap.addOption('p', "port", true);
t2 = ap.addOption('v', "version", false);
t3 = ap.addOption('?', "help", false);
assert t1&&t2&&t3;
ArrayList<String> arguments = ap.parse(args);
if(arg... |
diff --git a/caintegrator2-war/src/gov/nih/nci/caintegrator2/external/ncia/NCIADicomJobRunnerImpl.java b/caintegrator2-war/src/gov/nih/nci/caintegrator2/external/ncia/NCIADicomJobRunnerImpl.java
index 8b2a257f4..219287cfd 100644
--- a/caintegrator2-war/src/gov/nih/nci/caintegrator2/external/ncia/NCIADicomJobRunnerImpl.... | false | true | private void storeDicomFiles(InputStream istream, String parentDir) throws IOException {
File dicomDirectory = new File(temporaryStorageDirectory, parentDir);
dicomDirectory.mkdir();
ZipInputStream zis = new ZipInputStream(istream);
ZipEntryInputStream zeis = null;
while (tru... | private void storeDicomFiles(InputStream istream, String parentDir) throws IOException {
File dicomDirectory = new File(temporaryStorageDirectory, parentDir);
dicomDirectory.mkdir();
ZipInputStream zis = new ZipInputStream(istream);
ZipEntryInputStream zeis = null;
while (tru... |
diff --git a/src/to/joe/j2mc/info/command/PlayerListCommand.java b/src/to/joe/j2mc/info/command/PlayerListCommand.java
index b49613d..9da1119 100644
--- a/src/to/joe/j2mc/info/command/PlayerListCommand.java
+++ b/src/to/joe/j2mc/info/command/PlayerListCommand.java
@@ -1,82 +1,86 @@
package to.joe.j2mc.info.command;
... | false | true | public void exec(CommandSender sender, String commandName, String[] args, Player player, boolean isPlayer) {
if (!sender.hasPermission("j2mc.core.admin")) {
int total = 0;
for(Player derp : plugin.getServer().getOnlinePlayers()){
if(!J2MC_Manager.getVisibility().isVan... | public void exec(CommandSender sender, String commandName, String[] args, Player player, boolean isPlayer) {
if (!sender.hasPermission("j2mc.core.admin")) {
int total = 0;
for(Player derp : plugin.getServer().getOnlinePlayers()){
if(!J2MC_Manager.getVisibility().isVan... |
diff --git a/src/de/azapps/mirakel/main_activity/tasks_fragment/TasksFragment.java b/src/de/azapps/mirakel/main_activity/tasks_fragment/TasksFragment.java
index ba744f64..55746001 100644
--- a/src/de/azapps/mirakel/main_activity/tasks_fragment/TasksFragment.java
+++ b/src/de/azapps/mirakel/main_activity/tasks_fragment/... | true | true | protected void update(final boolean reset) {
if (!this.created) {
return;
}
this.listView = (ListView) this.view.findViewById(R.id.tasks_list);
this.adapter = new TaskAdapter(getActivity(),
new OnTaskChangedListner() {
@Override
public void onTaskChanged(final Task newTask) {
if (Mirak... | protected void update(final boolean reset) {
if (!this.created) {
return;
}
this.listView = (ListView) this.view.findViewById(R.id.tasks_list);
this.adapter = new TaskAdapter(getActivity(),
new OnTaskChangedListner() {
@Override
public void onTaskChanged(final Task newTask) {
if (Mirak... |
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
index 868abfcc3..98477c0a5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListVi... | false | true | public void createPartControl(Composite parent) {
themeManager = getSite().getWorkbenchWindow().getWorkbench().getThemeManager();
themeManager.addPropertyChangeListener(THEME_CHANGE_LISTENER);
filteredTree = new TaskListFilteredTree(parent, SWT.MULTI | SWT.VERTICAL | SWT.H_SCROLL | SWT.V_SCROLL
| SWT.FULL_S... | public void createPartControl(Composite parent) {
themeManager = getSite().getWorkbenchWindow().getWorkbench().getThemeManager();
themeManager.addPropertyChangeListener(THEME_CHANGE_LISTENER);
filteredTree = new TaskListFilteredTree(parent, SWT.MULTI | SWT.VERTICAL | SWT.H_SCROLL | SWT.V_SCROLL
| SWT.FULL_S... |
diff --git a/52n-sos-importer-feeder/src/test/java/org/n52/sos/importer/feeder/model/TimestampTest.java b/52n-sos-importer-feeder/src/test/java/org/n52/sos/importer/feeder/model/TimestampTest.java
index 16494080..050c0cbe 100644
--- a/52n-sos-importer-feeder/src/test/java/org/n52/sos/importer/feeder/model/TimestampTest... | false | true | @Test public void
shouldSetAllValuesViaSetLong() {
timestamp.set(86401000);
final TimeZone tz = TimeZone.getDefault();
String sign = "-";
final int rawOffset = tz.getRawOffset();
if (rawOffset>= 0) {
sign = "+";
}
final int hours = rawOffset / millisPerHour;
final int minutes = (rawOffset - (hours... | @Test public void
shouldSetAllValuesViaSetLong() {
timestamp.set(86401000);
final TimeZone tz = TimeZone.getDefault();
String sign = "-";
int rawOffset = tz.getRawOffset();
if (rawOffset>= 0) {
sign = "+";
}
rawOffset = Math.abs(rawOffset);
final int hours = rawOffset / millisPerHour;
final int ... |
diff --git a/src/com/chess/genesis/GameState.java b/src/com/chess/genesis/GameState.java
index 48bf5fc..1be3419 100644
--- a/src/com/chess/genesis/GameState.java
+++ b/src/com/chess/genesis/GameState.java
@@ -1,652 +1,655 @@
package com.chess.genesis;
import android.content.Context;
import android.graphics.Typefac... | true | true | public void handleMessage(final Message msg)
{
try {
switch (msg.what) {
case NetworkClient.SUBMIT_MOVE:
JSONObject json = (JSONObject) msg.obj;
if (json.getString("result").equals("error")) {
progress.remove();
Toast.makeText(context, "ERROR:\n" + json.getString("reason"), Toast.LENGTH_L... | public void handleMessage(final Message msg)
{
try {
switch (msg.what) {
case NetworkClient.SUBMIT_MOVE:
JSONObject json = (JSONObject) msg.obj;
if (json.getString("result").equals("error")) {
progress.remove();
Toast.makeText(context, "ERROR:\n" + json.getString("reason"), Toast.LENGTH_L... |
diff --git a/src/org/python/core/SyspathJavaLoader.java b/src/org/python/core/SyspathJavaLoader.java
index 93dc5e2c..255e60cd 100644
--- a/src/org/python/core/SyspathJavaLoader.java
+++ b/src/org/python/core/SyspathJavaLoader.java
@@ -1,189 +1,193 @@
// Copyright (c) Corporation for National Research Initiatives
// C... | false | true | protected URL findResource(String res) {
PySystemState sys = Py.getSystemState();
if (res.charAt(0) == SLASH_CHAR) {
res = res.substring(1);
}
String entryRes = res;
if (File.separatorChar != SLASH_CHAR) {
res = res.replace(SLASH_CHAR, File.separatorChar)... | protected URL findResource(String res) {
PySystemState sys = Py.getSystemState();
if (res.charAt(0) == SLASH_CHAR) {
res = res.substring(1);
}
String entryRes = res;
if (File.separatorChar != SLASH_CHAR) {
res = res.replace(SLASH_CHAR, File.separatorChar)... |
diff --git a/src/org/eclipse/imp/box/builders/BoxBuilder.java b/src/org/eclipse/imp/box/builders/BoxBuilder.java
index 8573763..6a7cfb6 100644
--- a/src/org/eclipse/imp/box/builders/BoxBuilder.java
+++ b/src/org/eclipse/imp/box/builders/BoxBuilder.java
@@ -1,161 +1,160 @@
/*********************************************... | true | true | protected void runParserForCompiler(final IFile file,
IProgressMonitor monitor) {
try {
// Parse controller is the "compiler" here; parses and reports errors
IParseController parseController = new BoxParseController();
// Marker creator handles error messages from the parse controller (and
// uses th... | protected void runParserForCompiler(final IFile file,
IProgressMonitor monitor) {
try {
// Parse controller is the "compiler" here; parses and reports errors
IParseController parseController = new BoxParseController();
// Marker creator handles error messages from the parse controller (and
// uses th... |
diff --git a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/ui/widgets/wizard/PublicXMPPServerComposite.java b/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/ui/widgets/wizard/PublicXMPPServerComposite.java
index 48c51be3f..48820d285 100644
--- a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/ui/widgets/wizard/PublicXMPPS... | true | true | protected void createQuickStart(Composite composite) {
StyledText quickStartText = new StyledText(composite, SWT.WRAP);
quickStartText.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING,
true, false));
quickStartText.setForeground(this.getForeground());
quickStartText.set... | protected void createQuickStart(Composite composite) {
StyledText quickStartText = new StyledText(composite, SWT.WRAP);
quickStartText.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING,
true, false));
quickStartText.setEnabled(false);
quickStartText.setForeground(this.ge... |
diff --git a/common/logisticspipes/ticks/VersionChecker.java b/common/logisticspipes/ticks/VersionChecker.java
index ebe42747..52614a78 100644
--- a/common/logisticspipes/ticks/VersionChecker.java
+++ b/common/logisticspipes/ticks/VersionChecker.java
@@ -1,64 +1,66 @@
package logisticspipes.ticks;
import java.io.IO... | true | true | public void run() {
try {
if(LogisticsPipes.VERSION.equals("%"+"VERSION%:%DEBUG"+"%")) return;
if(LogisticsPipes.VERSION.contains("-")) return;
URL url = new URL("http://rs485.thezorro266.com/version/check.php?VERSION=" + LogisticsPipes.VERSION);
HttpURLConnection conn = (HttpURLConnection) url.openConne... | public void run() {
try {
if(LogisticsPipes.VERSION.equals("%"+"VERSION%:%DEBUG"+"%")) return;
if(LogisticsPipes.VERSION.contains("-")) return;
URL url = new URL("http://rs485.thezorro266.com/version/check.php?VERSION=" + LogisticsPipes.VERSION);
HttpURLConnection conn = (HttpURLConnection) url.openConne... |
diff --git a/common/src/main/java/com/vmware/bdd/apitypes/ClusterCreate.java b/common/src/main/java/com/vmware/bdd/apitypes/ClusterCreate.java
index a7e5bff5..3b7a3b17 100644
--- a/common/src/main/java/com/vmware/bdd/apitypes/ClusterCreate.java
+++ b/common/src/main/java/com/vmware/bdd/apitypes/ClusterCreate.java
@@ -1... | true | true | public boolean validateNodeGroupPlacementPolicies(List<String> failedMsgList) {
boolean valid = true;
Map<String, NodeGroupCreate> allGroups = new TreeMap<String, NodeGroupCreate>();
for (NodeGroupCreate nodeGroupCreate : getNodeGroups()) {
allGroups.put(nodeGroupCreate.getName(), nodeGr... | public boolean validateNodeGroupPlacementPolicies(List<String> failedMsgList) {
boolean valid = true;
Map<String, NodeGroupCreate> allGroups = new TreeMap<String, NodeGroupCreate>();
for (NodeGroupCreate nodeGroupCreate : getNodeGroups()) {
allGroups.put(nodeGroupCreate.getName(), nodeGr... |
diff --git a/apps/lifelines/plugins/predictionModel/TableModel.java b/apps/lifelines/plugins/predictionModel/TableModel.java
index 6a024ea0d..e21f439da 100644
--- a/apps/lifelines/plugins/predictionModel/TableModel.java
+++ b/apps/lifelines/plugins/predictionModel/TableModel.java
@@ -1,667 +1,667 @@
package plugins.pr... | false | true | public void convertIntoPheno(Sheet sheet){
int row = sheet.getRows();
int column = sheet.getColumns();
List<ObservedValue> observedValueList = new ArrayList<ObservedValue>();
List<OntologyTerm> ontologyTermList = new ArrayList<OntologyTerm>();
if(excelDirection.equals("UploadFileByRow"))
{
row ... | public void convertIntoPheno(Sheet sheet){
int row = sheet.getRows();
int column = sheet.getColumns();
List<ObservedValue> observedValueList = new ArrayList<ObservedValue>();
List<OntologyTerm> ontologyTermList = new ArrayList<OntologyTerm>();
if(excelDirection.equals("UploadFileByRow"))
{
row ... |
diff --git a/src/main/java/com/abudko/reseller/huuto/mvc/item/QueryItemController.java b/src/main/java/com/abudko/reseller/huuto/mvc/item/QueryItemController.java
index cb334e4..c06f91d 100644
--- a/src/main/java/com/abudko/reseller/huuto/mvc/item/QueryItemController.java
+++ b/src/main/java/com/abudko/reseller/huuto/m... | true | true | public String extractItem(@RequestParam String url, Model model) {
log.info(String.format("Handling item request with parameter %s", url));
ItemResponse response = queryItemService.extractItem(url);
ItemOrder order = createItemOrderFor(response);
model.addAttribute("itemOrder", ord... | public String extractItem(@RequestParam String url, Model model) {
log.info(String.format("Handling item request with parameter %s", url));
ItemResponse response = queryItemService.extractItem(url);
ItemOrder order = createItemOrderFor(response);
model.addAttribute("itemOrder", ord... |
diff --git a/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/SVNAdminAreaFactory.java b/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/SVNAdminAreaFactory.java
index 8b3e968ec..a17f9771b 100644
--- a/svnkit/src/org/tmatesoft/svn/core/internal/wc/admin/SVNAdminAreaFactory.java
+++ b/svnkit/src/org/tmatesoft/svn... | false | true | public static SVNAdminArea open(File path, Level logLevel) throws SVNException {
SVNErrorMessage error = null;
int wcFormatVersion = -1;
Collection enabledFactories = getSelector().getEnabledFactories(path, ourFactories, false);
File adminDir = new File(path, SVNFileUtil.getAdminDire... | public static SVNAdminArea open(File path, Level logLevel) throws SVNException {
SVNErrorMessage error = null;
int wcFormatVersion = -1;
Collection enabledFactories = getSelector().getEnabledFactories(path, ourFactories, false);
File adminDir = new File(path, SVNFileUtil.getAdminDire... |
diff --git a/frost-wot/source/frost/threads/requestThread.java b/frost-wot/source/frost/threads/requestThread.java
index 4621d356..564af54c 100644
--- a/frost-wot/source/frost/threads/requestThread.java
+++ b/frost-wot/source/frost/threads/requestThread.java
@@ -1,573 +1,573 @@
/*
requestThread.java / Frost
Copy... | true | true | private void request()
{
int messageUploadHtl = frame1.frostSettings.getIntValue("tofUploadHtl");
boolean requested = false;
if (DEBUG)
Core.getOut().println(
"FILEDN: Uploading request for '"
+ filename
+ "' to board '... | private void request()
{
int messageUploadHtl = frame1.frostSettings.getIntValue("tofUploadHtl");
boolean requested = false;
if (DEBUG)
Core.getOut().println(
"FILEDN: Uploading request for '"
+ filename
+ "' to board '... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.