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/uk.ac.ed.inf.biopepa.ui/src/uk/ac/ed/inf/biopepa/ui/wizards/timeseries/ImportDataPage.java b/uk.ac.ed.inf.biopepa.ui/src/uk/ac/ed/inf/biopepa/ui/wizards/timeseries/ImportDataPage.java
index 017db9f..bc5af2c 100644
--- a/uk.ac.ed.inf.biopepa.ui/src/uk/ac/ed/inf/biopepa/ui/wizards/timeseries/ImportDataPage.j... | false | true | private void readCsvFile (String filename){
if (filename == null) {
// csvReadError = "Filename null";
return ;
}
try {
FileReader freader = new FileReader(filename);
CSVReader reader = new CSVReader(freader);
// Read the top line which should give us the
// component and rate names
String[... | private void readCsvFile (String filename){
if (filename == null) {
// csvReadError = "Filename null";
return ;
}
try {
FileReader freader = new FileReader(filename);
CSVReader reader = new CSVReader(freader);
// Read the top line which should give us the
// component and rate names
String[... |
diff --git a/bi-platform-v2-plugin/src/org/pentaho/cdf/views/View.java b/bi-platform-v2-plugin/src/org/pentaho/cdf/views/View.java
index 62382ae3..3db352c4 100644
--- a/bi-platform-v2-plugin/src/org/pentaho/cdf/views/View.java
+++ b/bi-platform-v2-plugin/src/org/pentaho/cdf/views/View.java
@@ -1,166 +1,166 @@
/*
* T... | false | true | public void fromJSON(JSONObject json) {
try {
String _description, _name, _id, _user, _solution, _path, _file;
Date _timestamp;
_description = json.getString("description");
_name = json.getString("name");
_id = json.getString("id");
_t... | public void fromJSON(JSONObject json) {
try {
String _description, _name, _id, _user, _solution, _path, _file;
Date _timestamp;
_description = json.optString("description");
_name = json.getString("name");
_id = json.getString("id");
_t... |
diff --git a/src/test/java/org/uriplay/query/uri/SavingFetcherTest.java b/src/test/java/org/uriplay/query/uri/SavingFetcherTest.java
index 95e026b32..ac17fc2a2 100644
--- a/src/test/java/org/uriplay/query/uri/SavingFetcherTest.java
+++ b/src/test/java/org/uriplay/query/uri/SavingFetcherTest.java
@@ -1,54 +1,54 @@
/* C... | true | true | public void testFetchesItemsFromDelegateAndSavesToStore() throws Exception {
checking(new Expectations() {{
one(delegateFetcher).fetch(URI); will(returnValue(item1));
one(store).createOrUpdateItem(item1);
}});
new SavingFetcher(delegateFetcher, store).fetch(URI);
}
| public void testFetchesItemsFromDelegateAndSavesToStore() throws Exception {
checking(new Expectations() {{
one(delegateFetcher).fetch(URI); will(returnValue(item1));
one(store).createOrUpdateContent(item1, false);
}});
new SavingFetcher(delegateFetcher, store).fetch(URI);
}
|
diff --git a/src/main/java/de/cosmocode/palava/bridge/content/FileContent.java b/src/main/java/de/cosmocode/palava/bridge/content/FileContent.java
index 8d1a021..49ee3f9 100644
--- a/src/main/java/de/cosmocode/palava/bridge/content/FileContent.java
+++ b/src/main/java/de/cosmocode/palava/bridge/content/FileContent.java... | true | true | public FileContent(File file) throws IOException {
super(new FileInputStream(file), file.length(), MimeTypes.SINGLETON.byName(file.toString()));
}
| public FileContent(File file) throws IOException {
super(new FileInputStream(file), file.length(), MimeTypes.SINGLETON.byName(file.getAbsolutePath()));
}
|
diff --git a/src/ee/ut/cs/sysmodel/Game.java b/src/ee/ut/cs/sysmodel/Game.java
index 2b7c10b..394a8bf 100644
--- a/src/ee/ut/cs/sysmodel/Game.java
+++ b/src/ee/ut/cs/sysmodel/Game.java
@@ -1,334 +1,340 @@
package ee.ut.cs.sysmodel;
import ee.ut.cs.sysmodel.gui.GFrame;
import java.util.LinkedList;
import java.ut... | false | true | public void setAvailableMoves(List<Integer> throwResult) {
availableMoves.clear();
int toPoint;
boolean homeGame;
if (throwResult.isEmpty()) {
return;
}
if (!activePlayer.getBar().isEmpty()) {
setAvailableMovesOutOfBar(throwResult);
} e... | public void setAvailableMoves(List<Integer> throwResult) {
availableMoves.clear();
int toPoint;
boolean homeGame;
if (throwResult.isEmpty()) {
return;
}
if (!activePlayer.getBar().isEmpty()) {
setAvailableMovesOutOfBar(throwResult);
} e... |
diff --git a/Kruskal.java b/Kruskal.java
index ad51baf..652c3ad 100644
--- a/Kruskal.java
+++ b/Kruskal.java
@@ -1,133 +1,133 @@
/* Kruskal.java */
import java.util.Hashtable;
import dict.*;
import graph.*;
import set.*;
import list.*;
/**
* The Kruskal class contains the method minSpanTree(), which implem... | false | true | public static WUGraph minSpanTree(WUGraph g){
// - Make new empty graph
// - Get vertices, add them all to the new graph
// - Use getNeighbors() to obtain all neighbors, get all edges from them
// -- Store edges in a list, probably a singly linked list
// - Sort the edges with a sorting algorithm
// - Use disjo... | public static WUGraph minSpanTree(WUGraph g){
// - Make new empty graph
// - Get vertices, add them all to the new graph
// - Use getNeighbors() to obtain all neighbors, get all edges from them
// -- Store edges in a list, probably a singly linked list
// - Sort the edges with a sorting algorithm
// - Use disjo... |
diff --git a/javafx.editor/src/org/netbeans/modules/javafx/editor/semantic/UpToDateStatusProviderImpl.java b/javafx.editor/src/org/netbeans/modules/javafx/editor/semantic/UpToDateStatusProviderImpl.java
index 942c32e6..0440d2c2 100644
--- a/javafx.editor/src/org/netbeans/modules/javafx/editor/semantic/UpToDateStatusPro... | true | true | private UpToDateStatusProviderImpl(Document doc) {
this.document = doc;
cache.put(document, this);
document.addDocumentListener(new DocumentListener() {
public void insertUpdate(DocumentEvent e) {
markModified();
}
public void removeUpdate(... | private UpToDateStatusProviderImpl(Document doc) {
this.document = doc;
cache.put(document, this);
document.addDocumentListener(new DocumentListener() {
public void insertUpdate(DocumentEvent e) {
markModified();
}
public void removeUpdate(... |
diff --git a/svnkit/src/org/tmatesoft/svn/core/internal/io/dav/handlers/DAVEditorHandler.java b/svnkit/src/org/tmatesoft/svn/core/internal/io/dav/handlers/DAVEditorHandler.java
index 47300508a..830f309b0 100644
--- a/svnkit/src/org/tmatesoft/svn/core/internal/io/dav/handlers/DAVEditorHandler.java
+++ b/svnkit/src/org/t... | true | true | protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException {
if (element == UPDATE_REPORT) {
String receiveAll = attrs.getValue(SEND_ALL_ATTR);
if (receiveAll != null && Boolean.valueOf(receiveAll).booleanValue()) {
myIsRe... | protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException {
if (element == UPDATE_REPORT) {
String receiveAll = attrs.getValue(SEND_ALL_ATTR);
if (receiveAll != null && Boolean.valueOf(receiveAll).booleanValue()) {
myIsRe... |
diff --git a/web/evaluationserver/app/services/competition/ContestantsStatistics.java b/web/evaluationserver/app/services/competition/ContestantsStatistics.java
index cbc6619..7fd62ab 100644
--- a/web/evaluationserver/app/services/competition/ContestantsStatistics.java
+++ b/web/evaluationserver/app/services/competitio... | false | true | public Collection<ContestantsResult> getStatistics(Competition competition, boolean forceActual) {
final List<ContestantsResult> result = new ArrayList<ContestantsResult>();
Date toDate = null;
if (!forceActual && competition.stopDate != null && competition.dontUpdateStatisticsBefore != null) {
Calendar cale... | public Collection<ContestantsResult> getStatistics(Competition competition, boolean forceActual) {
final List<ContestantsResult> result = new ArrayList<ContestantsResult>();
Date toDate = null;
if (!forceActual && competition.stopDate != null && competition.startDate != null && competition.dontUpdateStatisticsB... |
diff --git a/src/main/java/uk/ac/ebi/fgpt/sampletab/tools/APITestCallable.java b/src/main/java/uk/ac/ebi/fgpt/sampletab/tools/APITestCallable.java
index 0e5b7244..73bba827 100644
--- a/src/main/java/uk/ac/ebi/fgpt/sampletab/tools/APITestCallable.java
+++ b/src/main/java/uk/ac/ebi/fgpt/sampletab/tools/APITestCallable.ja... | false | true | private void compareGroup(SampleData st, GroupNode group, Document groupDoc) {
//TODO finish
Element root = groupDoc.getRootElement();
for (Element e: XMLUtils.getChildrenByName(root, "Property")) {
String type = e.attributeValue("class");
//this is only the first val... | private void compareGroup(SampleData st, GroupNode group, Document groupDoc) {
//TODO finish
Element root = groupDoc.getRootElement();
for (Element e: XMLUtils.getChildrenByName(root, "Property")) {
String type = e.attributeValue("class");
//this is only the first val... |
diff --git a/project/src/de/topobyte/livecg/core/geometry/geom/Chain.java b/project/src/de/topobyte/livecg/core/geometry/geom/Chain.java
index 3175577..c39b9b5 100644
--- a/project/src/de/topobyte/livecg/core/geometry/geom/Chain.java
+++ b/project/src/de/topobyte/livecg/core/geometry/geom/Chain.java
@@ -1,428 +1,431 @@... | true | true | public Chain splitAtNode(Node node)
{
// TODO: what if it is contained twice?
// TODO: what if the node is part of another chain?
if (closed) {
if (polygons.size() > 0) {
logger.error("unable to split ring used in a polygon");
return null;
}
if (!nodes.contains(node)) {
return null;
}
... | public Chain splitAtNode(Node node)
{
// TODO: what if it is contained twice?
// TODO: what if the node is part of another chain?
if (closed) {
if (polygons.size() > 0) {
logger.error("unable to split ring used in a polygon");
return null;
}
if (!nodes.contains(node)) {
return null;
}
... |
diff --git a/app/session/Startup.java b/app/session/Startup.java
index 0cf6d5c..4217996 100644
--- a/app/session/Startup.java
+++ b/app/session/Startup.java
@@ -1,22 +1,21 @@
package session;
import models.Contact;
import play.jobs.Job;
import play.jobs.OnApplicationStart;
import play.test.Fixtures;
@OnApplic... | false | true | public void doJob() throws Exception
{
/* if (Contact.count() == 0)
{
Fixtures.loadModels("data.yml");
}
*/
}
| public void doJob() throws Exception
{
if (Contact.count() == 0)
{
Fixtures.loadModels("data.yml");
}
}
|
diff --git a/src/main/java/com/binout/soccer5/boundary/ScheduleBean.java b/src/main/java/com/binout/soccer5/boundary/ScheduleBean.java
index bb8cc42..1513eb8 100644
--- a/src/main/java/com/binout/soccer5/boundary/ScheduleBean.java
+++ b/src/main/java/com/binout/soccer5/boundary/ScheduleBean.java
@@ -1,45 +1,45 @@
/*
... | true | true | public void initSchedule() {
schedule = new DefaultScheduleModel();
for (Match m : ejb.listMatches()) {
schedule.addEvent(new DefaultScheduleEvent("Match " + m.getId(), m.getDate(), m.getEndDate(), m));
}
}
| public void initSchedule() {
schedule = new DefaultScheduleModel();
for (Match m : ejb.listMatches()) {
schedule.addEvent(new DefaultScheduleEvent("Match("+m.getNbPlayersAndGuests()+"/10)", m.getDate(), m.getEndDate(), m));
}
}
|
diff --git a/src/gameserver/MCShopSystemPlugin/src/com/n8lm/MCShopSystemPlugin/server/CommunicationServer.java b/src/gameserver/MCShopSystemPlugin/src/com/n8lm/MCShopSystemPlugin/server/CommunicationServer.java
index 85d02ee..73084cb 100644
--- a/src/gameserver/MCShopSystemPlugin/src/com/n8lm/MCShopSystemPlugin/server/... | false | true | private void startServer() throws IOException
{
running = true;
serverSkt = new ServerSocket();
serverSkt.setReuseAddress(true);
serverSkt.bind(new InetSocketAddress(MainPlugin.getSettings().getPort()));
while (running)
{
Debug.log(Level.INFO, "Waiting for client.");
Socket skt = null;... | private void startServer() throws IOException
{
running = true;
serverSkt = new ServerSocket(MainPlugin.getSettings().getPort());
serverSkt.setReuseAddress(true);
//serverSkt.bind(new InetSocketAddress(MainPlugin.getSettings().getPort()));
while (running)
{
Debug.log(Level.INFO, "Waiting for clie... |
diff --git a/demos/src/main/java/com/malhartech/demos/summit/ApacheAccessLogAnalaysis.java b/demos/src/main/java/com/malhartech/demos/summit/ApacheAccessLogAnalaysis.java
index 21367fef2..ee1790869 100644
--- a/demos/src/main/java/com/malhartech/demos/summit/ApacheAccessLogAnalaysis.java
+++ b/demos/src/main/java/com/m... | false | true | public void populateDAG(DAG dag, Configuration conf)
{
// Generate random apche logs
ApacheGenRandomLogs rand = dag.addOperator("rand", new ApacheGenRandomLogs());
// parse log operator
ApacheVirtualLogParseOperator parser = dag.addOperator("parser", new ApacheVirtualLogParseOperator());
dag.addS... | public void populateDAG(DAG dag, Configuration conf)
{
// Generate random apche logs
ApacheGenRandomLogs rand = dag.addOperator("rand", new ApacheGenRandomLogs());
// parse log operator
ApacheVirtualLogParseOperator parser = dag.addOperator("parser", new ApacheVirtualLogParseOperator());
dag.addS... |
diff --git a/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java b/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java
index 3c144d50..6b4c0784 100644
--- a/src/com/massivecraft/factions/zcore/MPluginSecretServerListener.java
+++ b/src/com/massivecraft/factions/zcore/MPluginSecretServe... | true | true | public MPluginSecretServerListener(MPlugin p)
{
this.p = p;
refCommand = "";
// attempt to get first command defined in plugin.yml as reference command, if any commands are defined in there
// reference command will be used to prevent "unknown command" console messages
try
{
@SuppressWarnings("uncheck... | public MPluginSecretServerListener(MPlugin p)
{
this.p = p;
refCommand = "";
// attempt to get first command defined in plugin.yml as reference command, if any commands are defined in there
// reference command will be used to prevent "unknown command" console messages
try
{
Map<String, Map<String, Ob... |
diff --git a/src/java/com/marklogic/ps/xqsync/OutputPackage.java b/src/java/com/marklogic/ps/xqsync/OutputPackage.java
index 13485bc..690ece1 100644
--- a/src/java/com/marklogic/ps/xqsync/OutputPackage.java
+++ b/src/java/com/marklogic/ps/xqsync/OutputPackage.java
@@ -1,159 +1,158 @@
/*
* Copyright (c)2004-2006 Mark... | false | true | public void write(String outputPath, byte[] bytes,
XQSyncDocumentMetadata metadata) throws IOException {
/*
* This method uses size metrics to automatically manage multiple zip
* archives, to avoid 32-bit limits in java.util.zip
*
* An exception-based mechani... | public void write(String outputPath, byte[] bytes,
XQSyncDocumentMetadata metadata) throws IOException {
/*
* This method uses size metrics to automatically manage multiple zip
* archives, to avoid 32-bit limits in java.util.zip
*
* An exception-based mechani... |
diff --git a/moskito-core/java/net/java/dev/moskito/core/calltrace/CurrentlyTracedCall.java b/moskito-core/java/net/java/dev/moskito/core/calltrace/CurrentlyTracedCall.java
index 82c61167..d166dea6 100644
--- a/moskito-core/java/net/java/dev/moskito/core/calltrace/CurrentlyTracedCall.java
+++ b/moskito-core/java/net/ja... | true | true | public TraceStep startStep(String call, IStatsProducer producer){
TraceStep last = current;
current = new TraceStep(call, producer);
last.addChild(current);
return current;
}
| public TraceStep startStep(String call, IStatsProducer producer){
TraceStep last = current;
current = new TraceStep(call, producer);
//it actually happened in production, we are still investigating why, but this fix should at least prevent the NPE for now.
if (last!=null)
last.addChild(current);
return cu... |
diff --git a/szoftlab4/src/hu/miracle/workers/XMLBuilder.java b/szoftlab4/src/hu/miracle/workers/XMLBuilder.java
index 729b3aa..38f00f8 100644
--- a/szoftlab4/src/hu/miracle/workers/XMLBuilder.java
+++ b/szoftlab4/src/hu/miracle/workers/XMLBuilder.java
@@ -1,295 +1,295 @@
package hu.miracle.workers;
import java.awt... | true | true | public Scene readXML(String path) throws SAXException, IOException,
ParserConfigurationException {
// AZ XML FÁJL FELDOLGOZÁSA
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new InputSource(new FileInputStream(new F... | public Scene readXML(String path) throws SAXException, IOException,
ParserConfigurationException {
// AZ XML FÁJL FELDOLGOZÁSA
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new InputSource(new FileInputStream(new F... |
diff --git a/src/java/com/scriptographer/ai/SegmentPoint.java b/src/java/com/scriptographer/ai/SegmentPoint.java
index aea81c96..d75afade 100644
--- a/src/java/com/scriptographer/ai/SegmentPoint.java
+++ b/src/java/com/scriptographer/ai/SegmentPoint.java
@@ -1,99 +1,103 @@
/*
* Scriptographer
*
* This file is pa... | true | true | public void set(double x, double y) {
segment.update(false);
this.x = x;
this.y = y;
// Reset angle
angle = null;
segment.markDirty(Segment.DIRTY_POINTS);
}
| public void set(double x, double y) {
if (segment != null) {
segment.update(false);
this.x = x;
this.y = y;
// Reset angle
angle = null;
segment.markDirty(Segment.DIRTY_POINTS);
} else {
super.set(x, y);
}
}
|
diff --git a/src/edu/ames/frc/robot/MotorControl.java b/src/edu/ames/frc/robot/MotorControl.java
index 4667d73..73e7c2a 100644
--- a/src/edu/ames/frc/robot/MotorControl.java
+++ b/src/edu/ames/frc/robot/MotorControl.java
@@ -1,28 +1,28 @@
/* Currently managed by Tarun Sunkaraneni, and Ben Rose
* This class manages a... | true | true | double[] convertHeadingToMotorCommands(double direction, double speed) {
double[] motorvalue = new double[3];
/* so, we'll define the direction we want to go as "forward". There are
* 3 different points where only two motors will need to run (if the direction
* is parallel... | double[] convertHeadingToMotorCommands(double direction, double speed) {
double[] motorvalue = new double[3];
/* so, we'll define the direction we want to go as "forward". There are
* 3 different points where only two motors will need to run (if the direction
* is parallel... |
diff --git a/GAE/src/org/waterforpeople/mapping/dataexport/RawDataSpreadsheetImporter.java b/GAE/src/org/waterforpeople/mapping/dataexport/RawDataSpreadsheetImporter.java
index 972f7d298..8991f97dc 100644
--- a/GAE/src/org/waterforpeople/mapping/dataexport/RawDataSpreadsheetImporter.java
+++ b/GAE/src/org/waterforpeopl... | false | true | public void executeImport(File file, String serverBase,
Map<String, String> criteria) {
try {
int rows = 0;
errorIds = new ArrayList<String>();
jobQueue = new LinkedBlockingQueue<Runnable>();
threadPool = new ThreadPoolExecutor(5, 5, 10, TimeUnit.SECONDS,
jobQueue);
DateFormat df = new Simple... | public void executeImport(File file, String serverBase,
Map<String, String> criteria) {
try {
int rows = 0;
errorIds = new ArrayList<String>();
jobQueue = new LinkedBlockingQueue<Runnable>();
threadPool = new ThreadPoolExecutor(5, 5, 10, TimeUnit.SECONDS,
jobQueue);
DateFormat df = new Simple... |
diff --git a/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc2/remote/SvnRemoteDiffSummarize.java b/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc2/remote/SvnRemoteDiffSummarize.java
index ce6a74bf8..7cb13577a 100644
--- a/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc2/remote/SvnRemoteDiffSumm... | true | true | private void doDiffURLURL(SVNURL url1, File path1, SVNRevision revision1,
SVNURL url2, File path2, SVNRevision revision2,
SVNRevision pegRevision, SVNDepth depth, boolean useAncestry,
ISVNDiffStatusHandler handler) throws SVNException {
... | private void doDiffURLURL(SVNURL url1, File path1, SVNRevision revision1,
SVNURL url2, File path2, SVNRevision revision2,
SVNRevision pegRevision, SVNDepth depth, boolean useAncestry,
ISVNDiffStatusHandler handler) throws SVNException {
... |
diff --git a/src/main/java/hudson/plugins/dry/DryProjectAction.java b/src/main/java/hudson/plugins/dry/DryProjectAction.java
index 528e021..91d3fe7 100644
--- a/src/main/java/hudson/plugins/dry/DryProjectAction.java
+++ b/src/main/java/hudson/plugins/dry/DryProjectAction.java
@@ -1,38 +1,37 @@
package hudson.plugins.d... | true | true | public DryProjectAction(final AbstractProject<?, ?> project,
final Class<? extends ResultAction<DryResult>> type) {
super(project, type, Messages._DRY_ProjectAction_Name(), Messages._DRY_Trend_Name(),
DryDescriptor.PLUGIN_ID, DryDescriptor.ICON_URL, DryDescriptor.RESULT_URL);
... | public DryProjectAction(final AbstractProject<?, ?> project, final Class<? extends ResultAction<DryResult>> type) {
super(project, type, Messages._DRY_ProjectAction_Name(), Messages._DRY_Trend_Name(),
DryDescriptor.PLUGIN_ID, DryDescriptor.ICON_URL, DryDescriptor.RESULT_URL);
}
|
diff --git a/org.oobium.eclipse/src/org/oobium/eclipse/views/server/BrowserPanel.java b/org.oobium.eclipse/src/org/oobium/eclipse/views/server/BrowserPanel.java
index 24c4a7f1..d8f5bfc4 100644
--- a/org.oobium.eclipse/src/org/oobium/eclipse/views/server/BrowserPanel.java
+++ b/org.oobium.eclipse/src/org/oobium/eclipse/... | false | true | public void createContents() {
backwardAction = new NavBackwardAction(this);
forwardAction = new NavForwardAction(this);
refreshAction = new RefreshAction(this);
stopAction = new StopAction(this);
goAction = new GoAction(this);
refreshPathsAction = new RefreshPathsAction(this);
showSourceAction = new Sho... | public void createContents() {
backwardAction = new NavBackwardAction(this);
forwardAction = new NavForwardAction(this);
refreshAction = new RefreshAction(this);
stopAction = new StopAction(this);
goAction = new GoAction(this);
refreshPathsAction = new RefreshPathsAction(this);
showSourceAction = new Sho... |
diff --git a/src/org/knuth/biketrack/TourActivity.java b/src/org/knuth/biketrack/TourActivity.java
index a3e47ae..232c440 100644
--- a/src/org/knuth/biketrack/TourActivity.java
+++ b/src/org/knuth/biketrack/TourActivity.java
@@ -1,462 +1,465 @@
package org.knuth.biketrack;
import android.app.ActivityManager;
impor... | true | true | public boolean onCreateOptionsMenu(Menu menu) {
/*
NOT inflating menu currently.
See https://github.com/JakeWharton/ActionBarSherlock/issues/562
*/ // TODO Remove the inflater code and the menu XML!
//this.getSupportMenuInflater().inflate(R.menu.tour_menu, menu);
... | public boolean onCreateOptionsMenu(Menu menu) {
/*
NOT inflating menu currently.
See https://github.com/JakeWharton/ActionBarSherlock/issues/562
*/ // TODO Remove the inflater code and the menu XML!
//this.getSupportMenuInflater().inflate(R.menu.tour_menu, menu);
... |
diff --git a/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/richPanelToggleListener/AbstractPanelToggleListenerTest.java b/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/richPanelToggleListener/AbstractPanelToggleListenerTest.java
index 767398d3c..fd6a8dc44 100644
--- a/metamer/ftest/src/t... | false | true | private void testPTL(final String expectedText) {
//first test collapsing of panel
MetamerPage.waitRequest(page.getCollapseButton(), WaitRequestType.XHR).click();
//checks if phases contains the correct listener message
page.assertListener(PhaseId.PROCESS_VALIDATIONS, expectedText + ... | private void testPTL(final String expectedText) {
//first test collapsing of panel
MetamerPage.waitRequest(page.getCollapseButton(), WaitRequestType.XHR).click();
//checks if phases contains the correct listener message
page.assertListener(PhaseId.INVOKE_APPLICATION, expectedText + c... |
diff --git a/source/ch/cyberduck/ui/cocoa/ConnectionController.java b/source/ch/cyberduck/ui/cocoa/ConnectionController.java
index 2f5f1f091..dfb774bce 100644
--- a/source/ch/cyberduck/ui/cocoa/ConnectionController.java
+++ b/source/ch/cyberduck/ui/cocoa/ConnectionController.java
@@ -1,653 +1,657 @@
package ch.cyberdu... | true | true | public void protocolSelectionDidChange(final NSPopUpButton sender) {
log.debug("protocolSelectionDidChange:" + sender);
final Protocol protocol = Protocol.forName(protocolPopup.selectedItem().representedObject());
portField.setIntValue(protocol.getDefaultPort());
if(!protocol.isHostn... | public void protocolSelectionDidChange(final NSPopUpButton sender) {
log.debug("protocolSelectionDidChange:" + sender);
final Protocol protocol = Protocol.forName(protocolPopup.selectedItem().representedObject());
portField.setIntValue(protocol.getDefaultPort());
if(!protocol.isHostn... |
diff --git a/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java b/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java
index 4f96c105..23325bb5 100644
--- a/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java
+++ b/illamapedit/src/illarion/mapedit/data/MapWarpPoint.java
@@ -1,117 +1,117 @@
/*
* This file... | true | true | public String toString() {
TextBuilder builder = TextBuilder.newInstance();
builder.append(xTarget).append(';');
builder.append(yTarget).append(';');
builder.append(zTarget).append(';');
try {
return builder.toString();
} finally {
TextBuilde... | public String toString() {
TextBuilder builder = TextBuilder.newInstance();
builder.append(xTarget).append(';');
builder.append(yTarget).append(';');
builder.append(zTarget);
try {
return builder.toString();
} finally {
TextBuilder.recycle(bu... |
diff --git a/src/resources/odt/src/java/org/wyona/yanel/impl/resources/ODTResource.java b/src/resources/odt/src/java/org/wyona/yanel/impl/resources/ODTResource.java
index ba906c30d..170c1bee7 100644
--- a/src/resources/odt/src/java/org/wyona/yanel/impl/resources/ODTResource.java
+++ b/src/resources/odt/src/java/org/wyo... | true | true | public View getView(String viewId) {
View defaultView = new View();
String mimeType = getMimeType(viewId);
defaultView.setMimeType(mimeType);
try {
Repository dataRepo = getRealm().getRepository();
if (mimeType.equals("application/xml")) {
de... | public View getView(String viewId) {
View defaultView = new View();
String mimeType = getMimeType(viewId);
defaultView.setMimeType(mimeType);
try {
Repository dataRepo = getRealm().getRepository();
if (mimeType.equals("application/xml")) {
de... |
diff --git a/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java b/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java
index d92d7d4e8..208e81bb6 100644
--- a/xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/ExtractHandler.java
+++ b/xwik... | true | true | public void characters(char[] ch, int start, int length) throws SAXException
{
int offset = this.lowerBound - this.counter;
if (offset > 0) {
if (offset > length) {
this.counter += length;
return;
} else {
this.counter = thi... | public void characters(char[] ch, int start, int length) throws SAXException
{
int offset = this.lowerBound - this.counter;
if (offset > 0) {
if (offset > length) {
this.counter += length;
return;
} else {
this.counter = thi... |
diff --git a/src/com/rachum/amir/skyhiking/Deck.java b/src/com/rachum/amir/skyhiking/Deck.java
index ed1f4ed..e8670bb 100644
--- a/src/com/rachum/amir/skyhiking/Deck.java
+++ b/src/com/rachum/amir/skyhiking/Deck.java
@@ -1,69 +1,72 @@
/**
*
*/
package com.rachum.amir.skyhiking;
import java.util.Collection;
i... | true | true | public Collection<Card> draw(final int numOfCards) {
final Collection<Card> cardsDrawn = new LinkedList<Card>();
for (final int i : new Range(numOfCards)) {
if (cards.isEmpty()) {
cards.addAll(discard);
discard.clear();
Collections.shuffle(cards);
... | public Collection<Card> draw(final int numOfCards) {
final Collection<Card> cardsDrawn = new LinkedList<Card>();
for (final int i : new Range(numOfCards)) {
if (cards.isEmpty()) {
cards.addAll(discard);
discard.clear();
Collections.shuffle(cards);
... |
diff --git a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/DefaultSiteParser.java b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/DefaultSiteParser.java
index 09f09d505..81da002fc 100644
--- a/bundles/org.eclipse.equinox.p2.updatesite... | false | true | public void endElement(String uri, String localName, String qName) {
String text = null;
URLEntry info = null;
int state = ((Integer) stateStack.peek()).intValue();
switch (state) {
case STATE_IGNORED_ELEMENT :
case STATE_ARCHIVE :
case STATE_CATEGORY :
stateStack.pop();
break;
case STAT... | public void endElement(String uri, String localName, String qName) {
String text = null;
URLEntry info = null;
int state = ((Integer) stateStack.peek()).intValue();
switch (state) {
case STATE_IGNORED_ELEMENT :
case STATE_ARCHIVE :
case STATE_CATEGORY :
stateStack.pop();
break;
case STAT... |
diff --git a/src/main/java/hudson/plugins/cvs_tag/CvsTagPlugin.java b/src/main/java/hudson/plugins/cvs_tag/CvsTagPlugin.java
index 7169f5c..dcd04ec 100644
--- a/src/main/java/hudson/plugins/cvs_tag/CvsTagPlugin.java
+++ b/src/main/java/hudson/plugins/cvs_tag/CvsTagPlugin.java
@@ -1,180 +1,180 @@
package hudson.plugins... | true | true | public static boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener, String tagName)
{
PrintStream logger = listener.getLogger();
if (!Result.SUCCESS.equals(build.getResult()))
{
logger.println("Skipping CVS Tagging as build result was not successful.");
return true;
}
... | public static boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener, String tagName)
{
PrintStream logger = listener.getLogger();
if (!Result.SUCCESS.equals(build.getResult()))
{
logger.println("Skipping CVS Tagging as build result was not successful.");
return true;
}
... |
diff --git a/src/com/wolvencraft/prison/mines/cmd/WarningCommand.java b/src/com/wolvencraft/prison/mines/cmd/WarningCommand.java
index 24610fe..a60312b 100644
--- a/src/com/wolvencraft/prison/mines/cmd/WarningCommand.java
+++ b/src/com/wolvencraft/prison/mines/cmd/WarningCommand.java
@@ -1,58 +1,58 @@
package com.wolv... | false | true | public boolean run(String[] args) {
if(args.length == 1 || (args.length == 2 && args[1].equalsIgnoreCase("help"))) { getHelp(); return true; }
Mine curMine = PrisonMine.getCurMine();
if(curMine == null) { Message.sendFormattedError(PrisonMine.getLanguage().ERROR_MINENOTSELECTED); return false; }
if(args... | public boolean run(String[] args) {
if(args.length == 1 || (args.length == 2 && args[1].equalsIgnoreCase("help"))) { getHelp(); return true; }
Mine curMine = PrisonMine.getCurMine();
if(curMine == null) { Message.sendFormattedError(PrisonMine.getLanguage().ERROR_MINENOTSELECTED); return false; }
if(args... |
diff --git a/pastebean-web/src/main/java/org/ow2/jonas/azure/pastebean/control/CreatePasteControllerServlet.java b/pastebean-web/src/main/java/org/ow2/jonas/azure/pastebean/control/CreatePasteControllerServlet.java
index 087bd19..55d2b77 100644
--- a/pastebean-web/src/main/java/org/ow2/jonas/azure/pastebean/control/Cre... | true | true | private void execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String author = request.getParameter("author");
String description = request.getParameter("description");
String content = request.getParameter("content");
... | private void execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String author = request.getParameter("author");
String description = request.getParameter("desc");
String content = request.getParameter("content");
... |
diff --git a/common/src/main/java/org/commacq/CsvDataSourceLayer.java b/common/src/main/java/org/commacq/CsvDataSourceLayer.java
index 59b7c8b..9a1c9f2 100644
--- a/common/src/main/java/org/commacq/CsvDataSourceLayer.java
+++ b/common/src/main/java/org/commacq/CsvDataSourceLayer.java
@@ -1,86 +1,88 @@
package org.comm... | false | true | public String pokeCsvEntry(String entityId, String id) {
CsvDataSource source = getCsvDataSource(entityId);
if(!(source instanceof CsvUpdatableDataSource)) {
throw new RuntimeException("Not an updatable data source: " + entityId);
}
CsvUpdatableDataSource updatableDataSource = (CsvUpdatableDataSource)sou... | public String pokeCsvEntry(String entityId, String id) {
CsvDataSource source = getCsvDataSource(entityId);
if(!(source instanceof CsvUpdatableDataSource)) {
throw new RuntimeException("Not an updatable data source: " + entityId);
}
CsvUpdatableDataSource updatableDataSource = (CsvUpdatableDataSource)sou... |
diff --git a/src/java/com/eviware/soapui/impl/wsdl/testcase/WsdlTestCase.java b/src/java/com/eviware/soapui/impl/wsdl/testcase/WsdlTestCase.java
index f640b5474..6feba26ca 100644
--- a/src/java/com/eviware/soapui/impl/wsdl/testcase/WsdlTestCase.java
+++ b/src/java/com/eviware/soapui/impl/wsdl/testcase/WsdlTestCase.java... | false | true | public WsdlTestCase( WsdlTestSuite testSuite, TestCaseConfig config, boolean forLoadTest )
{
super( config, testSuite, "/testCase.gif" );
this.testSuite = testSuite;
this.forLoadTest = forLoadTest;
List<TestStepConfig> testStepConfigs = config.getTestStepList();
List<TestStepConfig> removed = new ArrayLis... | public WsdlTestCase( WsdlTestSuite testSuite, TestCaseConfig config, boolean forLoadTest )
{
super( config, testSuite, "/testCase.gif" );
this.testSuite = testSuite;
this.forLoadTest = forLoadTest;
List<TestStepConfig> testStepConfigs = config.getTestStepList();
List<TestStepConfig> removed = new ArrayLis... |
diff --git a/m_RespawnRelay/src/net/slipcor/pvparena/modules/respawnrelay/RelayRunnable.java b/m_RespawnRelay/src/net/slipcor/pvparena/modules/respawnrelay/RelayRunnable.java
index 0599da7..52f10ea 100644
--- a/m_RespawnRelay/src/net/slipcor/pvparena/modules/respawnrelay/RelayRunnable.java
+++ b/m_RespawnRelay/src/net/... | false | true | protected void commit() {
debug.i("RelayRunnable commiting", ap.getName());
new InventoryRefillRunnable(arena, ap.get(), drops);
String spawn = mod.overrideMap.get(ap.getName());
SpawnManager.respawn(arena, ap, spawn);
arena.unKillPlayer(ap.get(), ap.get().getLastDamageCause()==null?null:ap.get().getLastDam... | protected void commit() {
debug.i("RelayRunnable commiting", ap.getName());
new InventoryRefillRunnable(ap.getArena(), ap.get(), drops);
String spawn = mod.overrideMap.get(ap.getName());
SpawnManager.respawn(ap.getArena(), ap, spawn);
ap.getArena().unKillPlayer(ap.get(), ap.get().getLastDamageCause()==null?... |
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java
index cbcfec8c2..9b4b31a79 100644
--- a/src/net/java/sip/communicator/impl/gui/main/contactlist/TreeContactList.java
+++ b/src/net/java/sip/communicato... | true | true | public static void setSourceContactImage( String contactString,
final JLabel label,
final int imgWidth,
final int imgHeight)
{
int atIndex = contactString.ind... | public static void setSourceContactImage( String contactString,
final JLabel label,
final int imgWidth,
final int imgHeight)
{
int atIndex = contactString.ind... |
diff --git a/plugins/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFPageDevice.java b/plugins/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFPageDevice.java
index aae25fc26..b44257562 100644
--- a/plugins/org.eclipse.birt.report... | true | true | public PDFPageDevice( OutputStream output, String title, String author, String subject,
String description, IReportContext context, IReportContent report )
{
this.context = context;
this.report = report;
doc = new Document( );
try
{
writer = PdfWriter.getInstance( doc, new BufferedOutputStream(
... | public PDFPageDevice( OutputStream output, String title, String author, String subject,
String description, IReportContext context, IReportContent report )
{
this.context = context;
this.report = report;
doc = new Document( );
try
{
writer = PdfWriter.getInstance( doc, new BufferedOutputStream(
... |
diff --git a/src/java/org/apache/nutch/searcher/NutchBean.java b/src/java/org/apache/nutch/searcher/NutchBean.java
index adca0f0c..dc253684 100644
--- a/src/java/org/apache/nutch/searcher/NutchBean.java
+++ b/src/java/org/apache/nutch/searcher/NutchBean.java
@@ -1,298 +1,298 @@
/**
* Copyright 2005 The Apache Softwa... | true | true | public Hits search(Query query, int numHits, int maxHitsPerSite)
throws IOException {
if (maxHitsPerSite <= 0) // disable site checking
return searcher.search(query, numHits);
int numHitsRaw = (int)(numHits * RAW_HITS_FACTOR);
LOG.info("searching for "+numHitsRaw+" raw h... | public Hits search(Query query, int numHits, int maxHitsPerSite)
throws IOException {
if (maxHitsPerSite <= 0) // disable site checking
return searcher.search(query, numHits);
int numHitsRaw = (int)(numHits * RAW_HITS_FACTOR);
LOG.info("searching for "+numHitsRaw+" raw h... |
diff --git a/MagicEgg/src/com/github/ribesg/magicegg/util/EnchantmentRandomizer.java b/MagicEgg/src/com/github/ribesg/magicegg/util/EnchantmentRandomizer.java
index 0d3f3c9..48afc2f 100644
--- a/MagicEgg/src/com/github/ribesg/magicegg/util/EnchantmentRandomizer.java
+++ b/MagicEgg/src/com/github/ribesg/magicegg/util/En... | true | true | public Result randomize(final ItemStack i) {
final int nbEnchant = i.getEnchantments().size();
float val = this.rand.nextFloat();
if (this.goldItems.contains(i.getTypeId())) {
val += this.cleanEnchThreshold;
if (val > 1) {
val = 1;
}
... | public Result randomize(final ItemStack i) {
final int nbEnchant = i.getEnchantments().size();
float val = this.rand.nextFloat();
if (this.goldItems.contains(i.getTypeId())) {
val += this.cleanEnchThreshold;
if (val > 1) {
val = 1;
}
... |
diff --git a/modules/activiti-rest/src/main/java/org/activiti/rest/api/process/ProcessDefinitionFormGet.java b/modules/activiti-rest/src/main/java/org/activiti/rest/api/process/ProcessDefinitionFormGet.java
index 4e16f564..07ad54bf 100644
--- a/modules/activiti-rest/src/main/java/org/activiti/rest/api/process/ProcessDe... | false | true | protected void executeWebScript(WebScriptRequest req, Status status, Cache cache, Map<String, Object> model)
{
String processDefinitionId = getMandatoryPathParameter(req, "processDefinitionId");
Object processDefinitionForm = getRepositoryService().getStartFormById(processDefinitionId);
if (processDefin... | protected void executeWebScript(WebScriptRequest req, Status status, Cache cache, Map<String, Object> model)
{
String processDefinitionId = getMandatoryPathParameter(req, "processDefinitionId");
Object processDefinitionForm = getRepositoryService().getStartFormById(processDefinitionId);
if (processDefin... |
diff --git a/src/main/java/za/co/entelect/competition/App.java b/src/main/java/za/co/entelect/competition/App.java
index 35efeec..1513dba 100644
--- a/src/main/java/za/co/entelect/competition/App.java
+++ b/src/main/java/za/co/entelect/competition/App.java
@@ -1,308 +1,308 @@
package za.co.entelect.competition;
imp... | true | true | public static void main( String[] args )
{
Properties prop = new Properties();
String propertiesFile = "config.properties";
String playStyle = new String();
String myName = new String();
try {
prop.load(new FileInputStream(propertiesFile));
playStyle = prop.getProperty("playStyle");
if (pro... | public static void main( String[] args )
{
Properties prop = new Properties();
String propertiesFile = "config.properties";
String playStyle = new String();
String myName = new String();
try {
prop.load(new FileInputStream(propertiesFile));
playStyle = prop.getProperty("playStyle");
if (pro... |
diff --git a/ide/eclipse/brs/org.wso2.developerstudio.eclipse.artifact.brs/src/org/wso2/developerstudio/eclipse/artifact/brs/ui/dialog/FactsDialog.java b/ide/eclipse/brs/org.wso2.developerstudio.eclipse.artifact.brs/src/org/wso2/developerstudio/eclipse/artifact/brs/ui/dialog/FactsDialog.java
index 6a1d76bae..83f349046 ... | true | true | protected Control createDialogArea(Composite parent){
final Combo factTypeCombo;
Composite container;
container=(Composite) super.createDialogArea(parent);
container.getShell().setText("Facts Dialog");
GridLayout layout = new GridLayout();
container.setLayout(layout);
layout.numColumns = 2;
Label ty... | protected Control createDialogArea(Composite parent){
final Combo factTypeCombo;
Composite container;
container=(Composite) super.createDialogArea(parent);
container.getShell().setText("Facts Dialog");
GridLayout layout = new GridLayout();
container.setLayout(layout);
layout.numColumns = 2;
Label ty... |
diff --git a/src/main/java/hudson/plugins/dimensionsscm/DimensionsBuilder/DimensionsBuilder.java b/src/main/java/hudson/plugins/dimensionsscm/DimensionsBuilder/DimensionsBuilder.java
index 4dcd6b7..9d5a77c 100644
--- a/src/main/java/hudson/plugins/dimensionsscm/DimensionsBuilder/DimensionsBuilder.java
+++ b/src/main/ja... | true | true | public boolean perform(Build build, Launcher launcher, BuildListener listener) {
Logger.Debug("Invoking perform callout " + this.getClass().getName());
long key = -1;
try {
if (!(build.getProject().getScm() instanceof DimensionsSCM)) {
listener.fatalError("[DIMEN... | public boolean perform(Build build, Launcher launcher, BuildListener listener) {
Logger.Debug("Invoking perform callout " + this.getClass().getName());
long key = -1;
try {
if (!(build.getProject().getScm() instanceof DimensionsSCM)) {
listener.fatalError("[DIMEN... |
diff --git a/src/main/java/org/apache/commons/ognl/internal/entry/PermissionCacheEntryFactory.java b/src/main/java/org/apache/commons/ognl/internal/entry/PermissionCacheEntryFactory.java
index 8df452e..b9c4007 100644
--- a/src/main/java/org/apache/commons/ognl/internal/entry/PermissionCacheEntryFactory.java
+++ b/src/m... | true | true | public Permission create( PermissionCacheEntry key )
throws CacheException
{
return new OgnlInvokePermission( "invoke." + key.method.getDeclaringClass().getName() + "." + key.method.getName() );
}
| public Permission create( PermissionCacheEntry key )
throws CacheException
{
return new OgnlInvokePermission(
"invoke." + key.method.getDeclaringClass().getName() + "." + key.method.getName() );
}
|
diff --git a/src/mantle/blocks/MantleBlock.java b/src/mantle/blocks/MantleBlock.java
index bc8d00f..bf00e2b 100644
--- a/src/mantle/blocks/MantleBlock.java
+++ b/src/mantle/blocks/MantleBlock.java
@@ -1,38 +1,38 @@
package mantle.blocks;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.relauncher.S... | true | true | public void onBlockClicked(World world, int x, int y, int z, EntityPlayer player) {
if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER && player.getHeldItem().getItem() == Item.stick)
{
TileEntity te = world.getBlockTileEntity(x, y, z);
if (te instanceof IDebug... | public void onBlockClicked(World world, int x, int y, int z, EntityPlayer player) {
if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER && player.getHeldItem() != null && player.getHeldItem().getItem() == Item.stick)
{
TileEntity te = world.getBlockTileEntity(x, y, z);
... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/cpr/MeteorServlet.java b/modules/cpr/src/main/java/org/atmosphere/cpr/MeteorServlet.java
index d9b826bde..0c6a43918 100644
--- a/modules/cpr/src/main/java/org/atmosphere/cpr/MeteorServlet.java
+++ b/modules/cpr/src/main/java/org/atmosphere/cpr/MeteorServlet.java
@@ ... | true | true | public void init(final ServletConfig sc) throws ServletException {
super.init(sc);
String servletClass = framework().getAtmosphereConfig().getInitParameter(SERVLET_CLASS);
String mapping = framework().getAtmosphereConfig().getInitParameter(MAPPING);
String filterClass = framework().... | public void init(final ServletConfig sc) throws ServletException {
super.init(sc);
String servletClass = framework().getAtmosphereConfig().getInitParameter(SERVLET_CLASS);
String mapping = framework().getAtmosphereConfig().getInitParameter(MAPPING);
String filterClass = framework().... |
diff --git a/src/pedals/is/floatingjapanesedictionary/FloatingJapaneseDictionaryWindow.java b/src/pedals/is/floatingjapanesedictionary/FloatingJapaneseDictionaryWindow.java
index f541d30..54a89a2 100644
--- a/src/pedals/is/floatingjapanesedictionary/FloatingJapaneseDictionaryWindow.java
+++ b/src/pedals/is/floatingjapa... | true | true | public void createAndAttachView(final int id, FrameLayout frame) {
LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);
View view = inflater.inflate(R.layout.floatingdictionary, frame, true);
SearchManager searchManager = (SearchManager) getSystemService(SEARCH_SERVICE);
Sear... | public void createAndAttachView(final int id, FrameLayout frame) {
LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);
View view = inflater.inflate(R.layout.floatingdictionary, frame, true);
SearchManager searchManager = (SearchManager) getSystemService(SEARCH_SERVICE);
Sear... |
diff --git a/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncReplConsumer.java b/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncReplConsumer.java
index 18786d2c07..3e4b4ca474 100644
--- a/syncrepl/src/main/java/org/apache/directory/server/syncrepl/SyncReplConsumer.java
+++ b/syncrepl/sr... | true | true | public void handleSearchResult( SearchResultEntry syncResult )
{
LOG.debug( "------------- starting handleSearchResult ------------" );
try
{
Entry remoteEntry = syncResult.getEntry();
Control ctrl = syncResult.getControl( SyncStateValueControl.CONTROL_OID );
... | public void handleSearchResult( SearchResultEntry syncResult )
{
LOG.debug( "------------- starting handleSearchResult ------------" );
try
{
Entry remoteEntry = syncResult.getEntry();
Control ctrl = syncResult.getControl( SyncStateValueControl.CONTROL_OID );
... |
diff --git a/KanjiFix/src/main/java/com/ascendtv/kanjifix/MainActivity.java b/KanjiFix/src/main/java/com/ascendtv/kanjifix/MainActivity.java
index 7edafdf..7050f3f 100644
--- a/KanjiFix/src/main/java/com/ascendtv/kanjifix/MainActivity.java
+++ b/KanjiFix/src/main/java/com/ascendtv/kanjifix/MainActivity.java
@@ -1,349 +... | true | true | protected Void doInBackground(Void... params) {
if (Looper.myLooper() == Looper.getMainLooper()) {
// running on the main thread
RunToastOnUiThread("Running on main thread. Cannot proceed.", Toast.LENGTH_SHORT);
return null;
} else {
... | protected Void doInBackground(Void... params) {
if (Looper.myLooper() == Looper.getMainLooper()) {
// running on the main thread
RunToastOnUiThread("Running on main thread. Cannot proceed.", Toast.LENGTH_SHORT);
return null;
} else {
... |
diff --git a/src/main/com/trendrr/oss/strest/StrestClient.java b/src/main/com/trendrr/oss/strest/StrestClient.java
index 8ee5404..4a7bdfb 100644
--- a/src/main/com/trendrr/oss/strest/StrestClient.java
+++ b/src/main/com/trendrr/oss/strest/StrestClient.java
@@ -1,277 +1,277 @@
/**
*
*/
package com.trendrr.oss.str... | false | true | public synchronized void sendRequest(StrestRequest request, StrestRequestCallback callback){
try {
if (this.socket == null || this.socket.isClosed()) {
this.connected.set(false);
throw new TrendrrDisconnectedException("Not connected");
}
if (this.maxWaitingForResponse > 0 && this.maxWaitingForRespo... | public synchronized void sendRequest(StrestRequest request, StrestRequestCallback callback){
try {
if (this.socket == null || this.socket.isClosed()) {
this.connected.set(false);
throw new TrendrrDisconnectedException("Not connected");
}
if (this.maxWaitingForResponse > 0 && this.maxWaitingForRespo... |
diff --git a/batch/split/src/test/java/org/javaee7/batch/split/BatchSplitTest.java b/batch/split/src/test/java/org/javaee7/batch/split/BatchSplitTest.java
index bef365d3..dcf798a3 100644
--- a/batch/split/src/test/java/org/javaee7/batch/split/BatchSplitTest.java
+++ b/batch/split/src/test/java/org/javaee7/batch/split/B... | true | true | public void testBatchSplit() throws Exception {
JobOperator jobOperator = BatchRuntime.getJobOperator();
Long executionId = jobOperator.start("myJob", new Properties());
JobExecution jobExecution = jobOperator.getJobExecution(executionId);
BatchTestHelper.keepTestAlive(jobExecution)... | public void testBatchSplit() throws Exception {
JobOperator jobOperator = BatchRuntime.getJobOperator();
Long executionId = jobOperator.start("myJob", new Properties());
JobExecution jobExecution = jobOperator.getJobExecution(executionId);
BatchTestHelper.keepTestAlive(jobExecution)... |
diff --git a/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java b/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
index a4deaa37f..fd70e7cd0 100644
--- a/jsf/tests/org.jboss.tools.jsf.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/VpeTest.java
+++ ... | true | true | protected void performTestForVpeComponent(IFile componentPage)
throws PartInitException, Throwable {
TestUtil.waitForJobs();
setException(null);
// IFile file = (IFile)
// TestUtil.getComponentPath(componentPage,getImportProjectName());
IEditorInput input = new FileEditorInput(componentPage);
TestUti... | protected void performTestForVpeComponent(IFile componentPage)
throws PartInitException, Throwable {
TestUtil.waitForJobs();
setException(null);
// IFile file = (IFile)
// TestUtil.getComponentPath(componentPage,getImportProjectName());
IEditorInput input = new FileEditorInput(componentPage);
TestUti... |
diff --git a/src/org/linphone/LinphoneService.java b/src/org/linphone/LinphoneService.java
index ca0ce72..8045f74 100644
--- a/src/org/linphone/LinphoneService.java
+++ b/src/org/linphone/LinphoneService.java
@@ -1,436 +1,436 @@
/*
LinphoneService.java
Copyright (C) 2010 Belledonne Communications, Grenoble, France
... | true | true | public void initFromConf() throws LinphoneConfigException, LinphoneException {
//traces
boolean lIsDebug = mPref.getBoolean(getString(R.string.pref_debug_key), false);
LinphoneCoreFactory.instance().setDebugMode(lIsDebug);
try {
//codec config
PayloadType lPt = mLinphoneCore.findPayloadType("speex", 3... | public void initFromConf() throws LinphoneConfigException, LinphoneException {
//traces
boolean lIsDebug = mPref.getBoolean(getString(R.string.pref_debug_key), false);
LinphoneCoreFactory.instance().setDebugMode(lIsDebug);
try {
//codec config
PayloadType lPt = mLinphoneCore.findPayloadType("speex", 3... |
diff --git a/src/main/java/com/google/code/magja/service/product/ProductMediaRemoteServiceImpl.java b/src/main/java/com/google/code/magja/service/product/ProductMediaRemoteServiceImpl.java
index 912c4d6..aafacfd 100644
--- a/src/main/java/com/google/code/magja/service/product/ProductMediaRemoteServiceImpl.java
+++ b/sr... | true | true | public List<ProductMedia> listByProduct(Product product)
throws ServiceException {
if (!validadeProduct(product))
throw new ServiceException(
"The product must have the id or the sku seted for list medias");
List<ProductMedia> result = new ArrayList<ProductMedia>();
List<Map<String, Object>> medias... | public List<ProductMedia> listByProduct(Product product)
throws ServiceException {
if (!validadeProduct(product))
throw new ServiceException(
"The product must have the id or the sku seted for list medias");
List<ProductMedia> result = new ArrayList<ProductMedia>();
List<Map<String, Object>> medias... |
diff --git a/src/main/java/org/nekorp/workflow/desktop/view/InventarioDamageView.java b/src/main/java/org/nekorp/workflow/desktop/view/InventarioDamageView.java
index 8e4c82d..71ad2bf 100644
--- a/src/main/java/org/nekorp/workflow/desktop/view/InventarioDamageView.java
+++ b/src/main/java/org/nekorp/workflow/desktop/vi... | false | true | private void initComponents() {
jToolBar1 = new javax.swing.JToolBar();
derecha = new javax.swing.JToggleButton();
izquierda = new javax.swing.JToggleButton();
frontal = new javax.swing.JToggleButton();
trasera = new javax.swing.JToggleButton();
content = new javax.s... | private void initComponents() {
jToolBar1 = new javax.swing.JToolBar();
derecha = new javax.swing.JToggleButton();
izquierda = new javax.swing.JToggleButton();
frontal = new javax.swing.JToggleButton();
trasera = new javax.swing.JToggleButton();
content = new javax.s... |
diff --git a/src/main/java/net/pms/dlna/DLNAMediaInfo.java b/src/main/java/net/pms/dlna/DLNAMediaInfo.java
index a8555ec0..a040954a 100644
--- a/src/main/java/net/pms/dlna/DLNAMediaInfo.java
+++ b/src/main/java/net/pms/dlna/DLNAMediaInfo.java
@@ -1,1752 +1,1754 @@
/*
* PS3 Media Server, for streaming any medias to y... | true | true | public void parse(InputFile f, Format ext, int type, boolean thumbOnly) {
int i = 0;
while (isParsing()) {
if (i == 5) {
setMediaparsed(true);
break;
}
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
}
i++;
}
if (isMediaparsed()) {
return;
}
if (f != null) {
... | public void parse(InputFile f, Format ext, int type, boolean thumbOnly) {
int i = 0;
while (isParsing()) {
if (i == 5) {
setMediaparsed(true);
break;
}
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
}
i++;
}
if (isMediaparsed()) {
return;
}
if (f != null) {
... |
diff --git a/src/pt/lsts/neptus/util/llf/LogUtils.java b/src/pt/lsts/neptus/util/llf/LogUtils.java
index 4c42a6bfa..0715012e8 100644
--- a/src/pt/lsts/neptus/util/llf/LogUtils.java
+++ b/src/pt/lsts/neptus/util/llf/LogUtils.java
@@ -1,985 +1,985 @@
/*
* Copyright (c) 2004-2014 Universidade do Porto - Faculdade de En... | false | true | public static LinkedHashMap<String, String> generateStatistics(IMraLogGroup source) {
if (source.getLog("EstimatedState") == null) {
return new LinkedHashMap<String, String>();
}
IMraLog parser = source.getLog("EstimatedState");
IMCMessage lastEntry = parser.getLastEntry... | public static LinkedHashMap<String, String> generateStatistics(IMraLogGroup source) {
if (source.getLog("EstimatedState") == null) {
return new LinkedHashMap<String, String>();
}
IMraLog parser = source.getLog("EstimatedState");
IMCMessage lastEntry = parser.getLastEntry... |
diff --git a/todolist-web-tapestry/src/main/java/net/benas/todolist/web/tapestry/pages/user/Register.java b/todolist-web-tapestry/src/main/java/net/benas/todolist/web/tapestry/pages/user/Register.java
index 41b4854..caa19de 100644
--- a/todolist-web-tapestry/src/main/java/net/benas/todolist/web/tapestry/pages/user/Regi... | false | true | public void validateForm() {
User user = userService.getUserByEmail(email);
if (user != null)
registerForm.recordError(messages.format("register.email.error", email));
if (!password.equals(confirmationPassword)) {
registerForm.recordError(messages.get("register.password.... | public void validateForm() {
User user = userService.getUserByEmail(email);
if (user != null)
registerForm.recordError(messages.format("register.error.global.account", email));
if (!password.equals(confirmationPassword)) {
registerForm.recordError(messages.get("register.... |
diff --git a/app/controllers/Application.java b/app/controllers/Application.java
index 0272432..06a64cb 100644
--- a/app/controllers/Application.java
+++ b/app/controllers/Application.java
@@ -1,38 +1,38 @@
package controllers;
import com.google.common.collect.Lists;
import models.GuavaTools;
import models.domain... | true | true | public static void filter(@Required int year) {
List<Talk> talks = Talk.filter("year =", year).order("-plays").asList();
Iterable<String> allTags = collect(talks, Talk.findTags());
List<String> tags = GuavaTools.findMostPopularElements(allTags, 10);
List<Integer> years = Lists.newAr... | public static void filter(@Required int year) {
List<Talk> talks = Talk.filter("year =", year).order("-plays").asList();
Iterable<String> allTags = collect(talks, Talk.findTags());
List<String> tags = GuavaTools.findMostPopularElements(allTags, 10);
List<Integer> years = Lists.newAr... |
diff --git a/platform-infrastructure/service-lifecycle/platform-webapp/src/main/java/org/societies/webapp/controller/PrivacyAssessmentController.java b/platform-infrastructure/service-lifecycle/platform-webapp/src/main/java/org/societies/webapp/controller/PrivacyAssessmentController.java
index f9762e4d5..f30770624 1006... | false | true | public ModelAndView privacyAssessment(@Valid PrivacyAssessmentForm assForm,
BindingResult result, Map model) {
LOG.debug(PageNames.PRIVACY_ASSESSMENT + " HTTP POST");
if (result.hasErrors()) {
LOG.warn("BindingResult has errors");
m... | public ModelAndView privacyAssessment(@Valid PrivacyAssessmentForm assForm,
BindingResult result, Map model) {
LOG.debug(PageNames.PRIVACY_ASSESSMENT + " HTTP POST");
if (result.hasErrors()) {
LOG.warn("BindingResult has errors");
m... |
diff --git a/org.fedoraproject.eclipse.packager/src/org/fedoraproject/eclipse/packager/ConsoleWriterThread.java b/org.fedoraproject.eclipse.packager/src/org/fedoraproject/eclipse/packager/ConsoleWriterThread.java
index 372fc3c..c41b3b1 100644
--- a/org.fedoraproject.eclipse.packager/src/org/fedoraproject/eclipse/packag... | false | true | public void run() {
int ch;
try {
while (!terminated && (ch = in.read()) != -1) {
out.write(ch);
}
} catch (IOException e) {
//Log error, but do nothing about it
PackagerPlugin.getDefault().getLog().log(new Status(IStatus.WARNING,
PackagerPlugin.PLUGIN_ID, 0,
Messages.consoleW... | public void run() {
try {
String line = null;
// Use line based IO. Fixes Trac #42 (localized language problem).
while (!terminated && (line = in.readLine()) != null) {
out.write(line + '\n');
}
} catch (IOException e) {
//Log error, but do nothing about it
PackagerPlugin.getDefault().getLog(... |
diff --git a/core/src/main/java/hudson/scm/CVSSCM.java b/core/src/main/java/hudson/scm/CVSSCM.java
index 960957d88..fca07ecd9 100644
--- a/core/src/main/java/hudson/scm/CVSSCM.java
+++ b/core/src/main/java/hudson/scm/CVSSCM.java
@@ -1,1252 +1,1259 @@
package hudson.scm;
import static hudson.Util.fixNull;
import hu... | true | true | private boolean calcChangeLog(AbstractBuild build, final List<String> changedFiles, File changelogFile, final BuildListener listener) throws InterruptedException {
if(build.getPreviousBuild()==null || (changedFiles!=null && changedFiles.isEmpty())) {
// nothing to compare against, or no changes
... | private boolean calcChangeLog(AbstractBuild build, final List<String> changedFiles, File changelogFile, final BuildListener listener) throws InterruptedException {
if(build.getPreviousBuild()==null || (changedFiles!=null && changedFiles.isEmpty())) {
// nothing to compare against, or no changes
... |
diff --git a/src/main/java/io/badawi/coverage/CoverageInstrumenter.java b/src/main/java/io/badawi/coverage/CoverageInstrumenter.java
index e310836..8d7ee81 100644
--- a/src/main/java/io/badawi/coverage/CoverageInstrumenter.java
+++ b/src/main/java/io/badawi/coverage/CoverageInstrumenter.java
@@ -1,93 +1,93 @@
package ... | true | true | static ClassOrInterfaceDeclaration findClassByName(Iterable<CompilationUnit> units,
final String clazz) {
final ClassOrInterfaceDeclaration[] decl = new ClassOrInterfaceDeclaration[1];
for (CompilationUnit unit : units) {
final NameExpr packageName = unit.getPackage().getName();
unit.accept(... | static ClassOrInterfaceDeclaration findClassByName(Iterable<CompilationUnit> units,
final String clazz) {
final ClassOrInterfaceDeclaration[] decl = new ClassOrInterfaceDeclaration[1];
for (CompilationUnit unit : units) {
final NameExpr packageName = unit.getPackage() == null ? null : unit.getPack... |
diff --git a/src/minecraft/assemblyline/common/AssemblyLine.java b/src/minecraft/assemblyline/common/AssemblyLine.java
index f392a4d1..f1aa9a00 100644
--- a/src/minecraft/assemblyline/common/AssemblyLine.java
+++ b/src/minecraft/assemblyline/common/AssemblyLine.java
@@ -1,227 +1,227 @@
package assemblyline.common;
... | true | true | public void preInit(FMLPreInitializationEvent event)
{
FMLog.setParent(FMLLog.getLogger());
instance = this;
/* UPDATE NOTIFIER */
Modstats.instance().getReporter().registerMod(this);
CONFIGURATION.load();
blockConveyorBelt = new BlockConveyorBelt(BLOCK_ID_PREFIX);
blockManipulator = new BlockManipula... | public void preInit(FMLPreInitializationEvent event)
{
FMLog.setParent(FMLLog.getLogger());
instance = this;
/* UPDATE NOTIFIER */
Modstats.instance().getReporter().registerMod(this);
CONFIGURATION.load();
blockConveyorBelt = new BlockConveyorBelt(BLOCK_ID_PREFIX);
blockManipulator = new BlockManipula... |
diff --git a/src/grade.java b/src/grade.java
index 345678a..3608bf9 100644
--- a/src/grade.java
+++ b/src/grade.java
@@ -1,63 +1,63 @@
import java.util.Scanner;
public class grade {
public static void main(String [] args) {
Scanner reader = new Scanner(System.in);
System.out.print("What numeric... | false | true | public static void main(String [] args) {
Scanner reader = new Scanner(System.in);
System.out.print("What numerical grade did you get? ");
double grade = reader.nextDouble();
if (x >= 97.5) {
System.out.println("A " + grade + " is an A+.");
}
... | public static void main(String [] args) {
Scanner reader = new Scanner(System.in);
System.out.print("What numerical grade did you get? ");
double grade = reader.nextDouble();
if (grade >= 97.5) {
System.out.println("A " + grade + " is an A+.");
}... |
diff --git a/model/org/eclipse/cdt/internal/core/model/BinaryElement.java b/model/org/eclipse/cdt/internal/core/model/BinaryElement.java
index 3c4b6bd21..812052876 100644
--- a/model/org/eclipse/cdt/internal/core/model/BinaryElement.java
+++ b/model/org/eclipse/cdt/internal/core/model/BinaryElement.java
@@ -1,165 +1,16... | false | true | public ITranslationUnit getTranslationUnit() {
ITranslationUnit tu = null;
CModelManager mgr = CModelManager.getDefault();
ICElement parent = getParent();
if (parent != null) {
IPath path = parent.getPath();
if (path != null && path.isAbsolute()) {
IResource res = mgr.getCModel().getWorkspace().getRo... | public ITranslationUnit getTranslationUnit() {
ITranslationUnit tu = null;
CModelManager mgr = CModelManager.getDefault();
ICElement parent = getParent();
if (parent != null) {
IPath path = parent.getPath();
if (path != null && path.isAbsolute()) {
IResource res = mgr.getCModel().getWorkspace().getRo... |
diff --git a/src/test/java/test/ant/TestCommandLineArgs.java b/src/test/java/test/ant/TestCommandLineArgs.java
index 7d823911..641f5bd8 100644
--- a/src/test/java/test/ant/TestCommandLineArgs.java
+++ b/src/test/java/test/ant/TestCommandLineArgs.java
@@ -1,51 +1,51 @@
package test.ant;
import static org.testng.Asse... | true | true | public void testPathResolution()
{
File file = new File("build.xml");
assert file.exists();
String path = file.getAbsolutePath();
assert path.split("[/\\\\]", -1).length > 1;
}
| public void testPathResolution()
{
File file = new File("pom.xml");
assert file.exists();
String path = file.getAbsolutePath();
assert path.split("[/\\\\]", -1).length > 1;
}
|
diff --git a/test/unit/org/apache/cassandra/streaming/BootstrapTest.java b/test/unit/org/apache/cassandra/streaming/BootstrapTest.java
index b2d24f456..20313f0a3 100644
--- a/test/unit/org/apache/cassandra/streaming/BootstrapTest.java
+++ b/test/unit/org/apache/cassandra/streaming/BootstrapTest.java
@@ -1,53 +1,53 @@
... | true | true | public void testGetNewNames() throws IOException
{
Descriptor desc = Descriptor.fromFilename(new File("Keyspace1", "Keyspace1-Standard1-f-500-Data.db").toString());
assert !desc.isLatestVersion; // deliberately test old version
PendingFile inContext = new PendingFile(null, desc, "Data.db... | public void testGetNewNames() throws IOException
{
Descriptor desc = Descriptor.fromFilename(new File("Keyspace1", "Keyspace1-Standard1-ia-500-Data.db").toString());
// assert !desc.isLatestVersion; // minimum compatible version -- for now it is the latest as well
PendingFile inContext =... |
diff --git a/opentripplanner-routing/src/main/java/org/opentripplanner/routing/core/SimpleIntersectionTraversalCostModel.java b/opentripplanner-routing/src/main/java/org/opentripplanner/routing/core/SimpleIntersectionTraversalCostModel.java
index 20cdb1640..2bd4e4b7a 100644
--- a/opentripplanner-routing/src/main/java/o... | false | true | public double computeTraversalCost(IntersectionVertex v, PlainStreetEdge from, PlainStreetEdge to, TraverseMode mode,
RoutingRequest options, float fromSpeed, float toSpeed) {
// If the vertex is free-flowing then (by definition) there is no cost to traverse it.
if (v.inferredFreeFlowing... | public double computeTraversalCost(IntersectionVertex v, PlainStreetEdge from, PlainStreetEdge to, TraverseMode mode,
RoutingRequest options, float fromSpeed, float toSpeed) {
// If the vertex is free-flowing then (by definition) there is no cost to traverse it.
if (v.inferredFreeFlowing... |
diff --git a/library/src/ca/idi/tecla/lib/menu/MenuDialog.java b/library/src/ca/idi/tecla/lib/menu/MenuDialog.java
index f6b0bd5..ecf2947 100644
--- a/library/src/ca/idi/tecla/lib/menu/MenuDialog.java
+++ b/library/src/ca/idi/tecla/lib/menu/MenuDialog.java
@@ -1,210 +1,210 @@
package ca.idi.tecla.lib.menu;
import j... | true | true | private AlertDialog create(){
if(menu_type == SUB_MENU){
((ca.idi.tecla.lib.menu.SubMenu)mOptionsMenu).setHeader(builder);
}
List<MenuItem> items = new LinkedList<MenuItem>();
int index=0;
while(mOptionsMenu != null){
try{
items.add(mOptionsMenu.getItem(index));
}catch(Excepti... | private AlertDialog create(){
if(menu_type == SUB_MENU){
((ca.idi.tecla.lib.menu.SubMenu)mOptionsMenu).setHeader(builder);
}
List<MenuItem> items = new LinkedList<MenuItem>();
int index=0;
while(mOptionsMenu != null){
try{
items.add(mOptionsMenu.getItem(index));
}catch(Excepti... |
diff --git a/src/org/geekosphere/zeitgeist/broadcastreceiver/LoadingBroadcastReceiver.java b/src/org/geekosphere/zeitgeist/broadcastreceiver/LoadingBroadcastReceiver.java
index 32d421e..19cbf54 100644
--- a/src/org/geekosphere/zeitgeist/broadcastreceiver/LoadingBroadcastReceiver.java
+++ b/src/org/geekosphere/zeitgeist... | false | true | public void onReceive(Context context, Intent intent) {
if (activity == null) {
return;
}
String action = intent.getAction();
if (action.equals(INTENT_ACTION_LOADING)) {
if (counter.get() == 0) {
activity.setSupportProgressBarIndeterminateVisibility(true);
}
counter.incrementAndGet();
} else ... | public void onReceive(Context context, Intent intent) {
if (activity == null) {
return;
}
String action = intent.getAction();
if (action.equals(INTENT_ACTION_LOADING)) {
counter.incrementAndGet();
if (counter.get() == 1) {
activity.setSupportProgressBarIndeterminateVisibility(true);
}
} else ... |
diff --git a/org/jruby/internal/runtime/methods/DefaultMethod.java b/org/jruby/internal/runtime/methods/DefaultMethod.java
index 6d5b25d65..f8a272dd2 100644
--- a/org/jruby/internal/runtime/methods/DefaultMethod.java
+++ b/org/jruby/internal/runtime/methods/DefaultMethod.java
@@ -1,178 +1,178 @@
package org.jruby.inte... | true | true | public RubyObject execute(Ruby ruby, RubyObject receiver, String name, RubyObject[] args, boolean noSuper) {
if (args == null) {
args = new RubyObject[0];
}
RubyProc optionalBlockArg = null;
if (argsNode.getBlockArgNode() != null) {
optionalBlockArg = RubyPr... | public RubyObject execute(Ruby ruby, RubyObject receiver, String name, RubyObject[] args, boolean noSuper) {
if (args == null) {
args = new RubyObject[0];
}
RubyProc optionalBlockArg = null;
if (argsNode.getBlockArgNode() != null && ruby.isBlockGiven()) {
op... |
diff --git a/libreSubsWicketSite/src/main/java/libreSubs/libreSubsSite/upload/UploadPage.java b/libreSubsWicketSite/src/main/java/libreSubs/libreSubsSite/upload/UploadPage.java
index f5c75b5..5b8ab93 100644
--- a/libreSubsWicketSite/src/main/java/libreSubs/libreSubsSite/upload/UploadPage.java
+++ b/libreSubsWicketSite/... | true | true | public UploadPage(final PageParameters pageParameters) {
if (pageParameters.size() <= 0) {
final MultipartServletWebRequest multipartWebRequest = (MultipartServletWebRequest) ((WebRequest) getRequest())
.newMultipartWebRequest(MAX_SUB_SIZE);
getRequestCycle().setRequest(multipartWebRequest);
@Suppress... | public UploadPage(final PageParameters pageParameters) {
if (pageParameters.size() <= 0) {
final MultipartServletWebRequest multipartWebRequest = (MultipartServletWebRequest) ((WebRequest) getRequest())
.newMultipartWebRequest(MAX_SUB_SIZE);
getRequestCycle().setRequest(multipartWebRequest);
@Suppress... |
diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java b/openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java
index b14afcec..1a65d600 100644
--- a/openid-connect-server/src/main/java/org/mitre/oauth2/serv... | true | true | public OAuth2AccessTokenEntity createAccessToken(OAuth2Authentication authentication) throws AuthenticationException, InvalidClientException {
if (authentication != null &&
authentication.getAuthorizationRequest() != null) {
// look up our client
AuthorizationRequest clientAuth = authentication.getAuth... | public OAuth2AccessTokenEntity createAccessToken(OAuth2Authentication authentication) throws AuthenticationException, InvalidClientException {
if (authentication != null &&
authentication.getAuthorizationRequest() != null) {
// look up our client
AuthorizationRequest clientAuth = authentication.getAuth... |
diff --git a/src/java/com/eviware/soapui/impl/wsdl/mock/WsdlMockResponse.java b/src/java/com/eviware/soapui/impl/wsdl/mock/WsdlMockResponse.java
index 663079a47..56b68059d 100644
--- a/src/java/com/eviware/soapui/impl/wsdl/mock/WsdlMockResponse.java
+++ b/src/java/com/eviware/soapui/impl/wsdl/mock/WsdlMockResponse.java... | true | true | private String writeResponse( WsdlMockResult response, String responseContent ) throws Exception
{
MimeMultipart mp = null;
WsdlOperation operation = getMockOperation().getOperation();
if( operation == null )
throw new Exception( "Missing WsdlOperation for mock response" );
SoapV... | private String writeResponse( WsdlMockResult response, String responseContent ) throws Exception
{
MimeMultipart mp = null;
WsdlOperation operation = getMockOperation().getOperation();
if( operation == null )
throw new Exception( "Missing WsdlOperation for mock response" );
SoapV... |
diff --git a/src/simciv/resources/Resource.java b/src/simciv/resources/Resource.java
index 4a8475d..736ac92 100644
--- a/src/simciv/resources/Resource.java
+++ b/src/simciv/resources/Resource.java
@@ -1,154 +1,154 @@
package simciv.resources;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.Image;
impo... | true | true | public static void initialize()
{
list = new Resource[COUNT];
set(new Resource(WOOD, "Wood", 100))
.setSprites(
Content.sprites.resourceWood,
Content.sprites.resourceWoodCarriage);
set(new Resource(WHEAT, "Wheat", 100))
.setSprites(
Content.sprites.resourceWheatCarriage,
Conten... | public static void initialize()
{
list = new Resource[COUNT];
set(new Resource(WOOD, "Wood", 100))
.setSprites(
Content.sprites.resourceWoodCarriage,
Content.sprites.resourceWood);
set(new Resource(WHEAT, "Wheat", 100))
.setSprites(
Content.sprites.resourceWheatCarriage,
Conten... |
diff --git a/dropwizard-core/src/main/java/com/yammer/dropwizard/bundles/AssetsBundle.java b/dropwizard-core/src/main/java/com/yammer/dropwizard/bundles/AssetsBundle.java
index 4423c3eb5..fd5f88e05 100644
--- a/dropwizard-core/src/main/java/com/yammer/dropwizard/bundles/AssetsBundle.java
+++ b/dropwizard-core/src/main/... | true | true | public AssetsBundle(String resourcePath, CacheBuilderSpec cacheBuilderSpec, String uriPath) {
checkArgument(resourcePath.startsWith("/"), "%s is not an absolute path", resourcePath);
checkArgument(!"/".equals(resourcePath), "%s is the classpath root");
this.resourcePath = resourcePath.endsWi... | public AssetsBundle(String resourcePath, CacheBuilderSpec cacheBuilderSpec, String uriPath) {
checkArgument(resourcePath.startsWith("/"), "%s is not an absolute path", resourcePath);
checkArgument(!"/".equals(resourcePath), "%s is the classpath root", resourcePath);
this.resourcePath = resou... |
diff --git a/impl/logic/src/java/org/sakaiproject/evaluation/logic/impl/EvalEvaluationsLogicImpl.java b/impl/logic/src/java/org/sakaiproject/evaluation/logic/impl/EvalEvaluationsLogicImpl.java
index b558febc..55f4dee9 100644
--- a/impl/logic/src/java/org/sakaiproject/evaluation/logic/impl/EvalEvaluationsLogicImpl.java
... | true | true | public void saveEvaluation(EvalEvaluation evaluation, String userId) {
log.debug("evalId: " + evaluation.getId() + ",userId: " + userId);
//boolean newEvaluation = false;
// set the date modified
evaluation.setLastModified( new Date() );
// test date ordering first
if (evaluation.getStartDate().compar... | public void saveEvaluation(EvalEvaluation evaluation, String userId) {
log.debug("evalId: " + evaluation.getId() + ",userId: " + userId);
//boolean newEvaluation = false;
// set the date modified
evaluation.setLastModified( new Date() );
// test date ordering first
if (evaluation.getStartDate().compar... |
diff --git a/flexodesktop/modules/flexodatamodeleditor/src/main/java/org/openflexo/dm/view/erdiagram/DMEntityGR.java b/flexodesktop/modules/flexodatamodeleditor/src/main/java/org/openflexo/dm/view/erdiagram/DMEntityGR.java
index d9d5584e7..10605b671 100644
--- a/flexodesktop/modules/flexodatamodeleditor/src/main/java/o... | false | true | public DMEntityGR(DMEntity aDMEntity, Drawing<?> aDrawing)
{
super(ShapeType.RECTANGLE, aDMEntity, aDrawing);
//setText(getRole().getName());
setIsFloatingLabel(false);
getShape().setIsRounded(false);
setDimensionConstraints(DimensionConstraints.FREELY_RESIZABLE);
updateStyles();
setBorder(new ShapeGra... | public DMEntityGR(DMEntity aDMEntity, Drawing<?> aDrawing)
{
super(ShapeType.RECTANGLE, aDMEntity, aDrawing);
//setText(getRole().getName());
setIsFloatingLabel(false);
getShape().setIsRounded(false);
setDimensionConstraints(DimensionConstraints.FREELY_RESIZABLE);
updateStyles();
setBorder(new ShapeGra... |
diff --git a/src/org/oldcask/kannada4android/activity/CameraActivity.java b/src/org/oldcask/kannada4android/activity/CameraActivity.java
index 6975593..7b243de 100644
--- a/src/org/oldcask/kannada4android/activity/CameraActivity.java
+++ b/src/org/oldcask/kannada4android/activity/CameraActivity.java
@@ -1,129 +1,131 @@... | false | true | private Size getMinimumCameraSize(Parameters cameraParameters) {
List<Size> supportedPictureSizes = cameraParameters
.getSupportedPictureSizes();
Size minimumSize = supportedPictureSizes.get(0);
long minimumTotalSize = minimumSize.width * minimumSize.height;
for (int i = 1; i < supportedPictureSizes.size(... | private Size getMinimumCameraSize(Parameters cameraParameters) {
List<Size> supportedPictureSizes = cameraParameters
.getSupportedPictureSizes();
Size minimumSize = supportedPictureSizes.get(0);
long minimumTotalSize = minimumSize.width * minimumSize.height;
for (int i = 1; i < supportedPictureSizes.size(... |
diff --git a/core/src/visad/trunk/data/amanda/F2000App.java b/core/src/visad/trunk/data/amanda/F2000App.java
index c48f748f8..5b8318189 100644
--- a/core/src/visad/trunk/data/amanda/F2000App.java
+++ b/core/src/visad/trunk/data/amanda/F2000App.java
@@ -1,267 +1,267 @@
/*
VisAD system for interactive analysis and visu... | true | true | public static void main(String args[])
throws VisADException, RemoteException, IOException
{
if (args == null || args.length != 1) {
System.out.println("to test read an F2000 file, run:");
System.out.println(" 'java visad.amanda.F2000Form in_file'");
System.exit(1);
return;
... | public static void main(String args[])
throws VisADException, RemoteException, IOException
{
if (args == null || args.length != 1) {
System.out.println("to test read an F2000 file, run:");
System.out.println(" 'java visad.amanda.F2000Form in_file'");
System.exit(1);
return;
... |
diff --git a/src/com/kurento/kas/mscontrol/mediacomponent/internal/VideoRecorderComponent.java b/src/com/kurento/kas/mscontrol/mediacomponent/internal/VideoRecorderComponent.java
index c3f916d..4aaa297 100644
--- a/src/com/kurento/kas/mscontrol/mediacomponent/internal/VideoRecorderComponent.java
+++ b/src/com/kurento/k... | true | true | public void run() {
try {
if (mSurfaceReceive == null) {
Log.e(LOG_TAG, "mSurfaceReceive is null");
return;
}
VideoFrame videoFrameProcessed;
int[] rgb;
int width, height;
int lastHeight = 0;
int lastWidth = 0;
int heighAux, widthAux;
double aux;
long tStart, tE... | public void run() {
try {
if (mSurfaceReceive == null) {
Log.e(LOG_TAG, "mSurfaceReceive is null");
return;
}
VideoFrame videoFrameProcessed;
int[] rgb;
int width, height;
int lastHeight = 0;
int lastWidth = 0;
int heighAux, widthAux;
double aux;
long tStart, tE... |
diff --git a/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/InvokeGenerator.java b/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/InvokeGenerator.java
index 88b99a4c0..b9e13a0da 100644
--- a/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/InvokeGenerator.java
+++ b/bpel-compiler/src/main/ja... | false | true | public void compile(OActivity output, Activity srcx) {
InvokeActivity src = (InvokeActivity)srcx;
OInvoke oinvoke = (OInvoke) output;
oinvoke.partnerLink = _context.resolvePartnerLink(src.getPartnerLink());
oinvoke.operation = _context.resolvePartnerRoleOperation(oinvoke.partnerLink, src.getOperatio... | public void compile(OActivity output, Activity srcx) {
InvokeActivity src = (InvokeActivity)srcx;
OInvoke oinvoke = (OInvoke) output;
oinvoke.partnerLink = _context.resolvePartnerLink(src.getPartnerLink());
oinvoke.operation = _context.resolvePartnerRoleOperation(oinvoke.partnerLink, src.getOperatio... |
diff --git a/common/rebelkeithy/mods/aquaculture/AquacultureItems.java b/common/rebelkeithy/mods/aquaculture/AquacultureItems.java
index 9fb372d..bf9d51c 100644
--- a/common/rebelkeithy/mods/aquaculture/AquacultureItems.java
+++ b/common/rebelkeithy/mods/aquaculture/AquacultureItems.java
@@ -1,206 +1,206 @@
package re... | true | true | public static void init()
{
System.out.println();
IronFishingRod = new ItemAquacultureFishingRod(Config.ironRodID, 75, "Iron").setUnlocalizedName("Aquaculture:IronFishingRod").setCreativeTab(Aquaculture.tab);
goldFishingRod = new ItemAquacultureFishingRod(Config.goldRodID, 50, "Gold").setUnlocalizedName("Aquacu... | public static void init()
{
System.out.println();
IronFishingRod = new ItemAquacultureFishingRod(Config.ironRodID, 75, "Iron").setUnlocalizedName("Aquaculture:IronFishingRod").setCreativeTab(Aquaculture.tab);
goldFishingRod = new ItemAquacultureFishingRod(Config.goldRodID, 50, "Gold").setUnlocalizedName("Aquacu... |
diff --git a/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java b/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java
index 85f35126..cfb8978d 100644
--- a/openid-connect-server/src/main/java/org/mitre/discovery/web/DiscoveryEndpoint.java
+++ b/openid-conne... | true | true | public String providerConfiguration(Model model) {
/*
issuer
REQUIRED. URL using the https scheme with no query or fragment component that the OP asserts as its Issuer Identifier.
authorization_endpoint
OPTIONAL. URL of the OP's Authentication and Authorization Endpoint [OpenID.Messa... | public String providerConfiguration(Model model) {
/*
issuer
REQUIRED. URL using the https scheme with no query or fragment component that the OP asserts as its Issuer Identifier.
authorization_endpoint
OPTIONAL. URL of the OP's Authentication and Authorization Endpoint [OpenID.Messa... |
diff --git a/app/controllers/ClassificationController.java b/app/controllers/ClassificationController.java
index c9bc1d6..46b4198 100644
--- a/app/controllers/ClassificationController.java
+++ b/app/controllers/ClassificationController.java
@@ -1,208 +1,212 @@
/*
* Copyright (C) 2012 by Eero Laukkanen, Risto Virtane... | true | true | public static void editClassification(Long rcaCaseId,
Long classificationId,
int type,
String name,
String abbreviation,
Str... | public static void editClassification(Long rcaCaseId,
Long classificationId,
int type,
String name,
String abbreviation,
Str... |
diff --git a/wicket-contrib-cms-example/src/main/java/contrib/wicket/cms/example/StartWicketCms.java b/wicket-contrib-cms-example/src/main/java/contrib/wicket/cms/example/StartWicketCms.java
index 56f289778..332913eb6 100644
--- a/wicket-contrib-cms-example/src/main/java/contrib/wicket/cms/example/StartWicketCms.java
+... | true | true | public static void main(String[] args)
{
Server jettyServer = null;
try
{
URL jettyConfig = new URL("file:src/main/resources/jetty-config.xml");
if (jettyConfig == null)
{
log.fatal("Unable to locate jetty-test-config.xml on the classpath");
}
jettyServer = new Server(jettyConfig);
j... | public static void main(String[] args)
{
Server jettyServer = null;
try
{
URL jettyConfig = new URL("file:src/main/resources/jetty-config.xml");
if (jettyConfig == null)
{
log.fatal("Unable to locate jetty-test-config.xml on the classpath");
}
jettyServer = new Server(jettyConfig);
j... |
diff --git a/src/com/vendsy/bartsy/venue/model/Order.java b/src/com/vendsy/bartsy/venue/model/Order.java
index 0d2485b..949b398 100644
--- a/src/com/vendsy/bartsy/venue/model/Order.java
+++ b/src/com/vendsy/bartsy/venue/model/Order.java
@@ -1,286 +1,286 @@
package com.vendsy.bartsy.venue.model;
import java.io.IOExc... | true | true | public void updateView () {
if (view == null) return;
((TextView) view.findViewById(R.id.view_order_title)).setText(this.title);
((TextView) view.findViewById(R.id.view_order_description)).setText(this.description);
if(this.state_transitions[ORDER_STATUS_NEW]!=null){
((TextView) view.findViewById(R.id.v... | public void updateView () {
if (view == null) return;
((TextView) view.findViewById(R.id.view_order_title)).setText(this.title);
((TextView) view.findViewById(R.id.view_order_description)).setText(this.description);
if(this.state_transitions[ORDER_STATUS_NEW]!=null){
((TextView) view.findViewById(R.id.v... |
diff --git a/web/src/main/java/eu/scape_project/watch/utils/ValueHelper.java b/web/src/main/java/eu/scape_project/watch/utils/ValueHelper.java
index d8b3b93..db13470 100644
--- a/web/src/main/java/eu/scape_project/watch/utils/ValueHelper.java
+++ b/web/src/main/java/eu/scape_project/watch/utils/ValueHelper.java
@@ -1,1... | true | true | public CharSequence apply(final PropertyValue pv, final Options options) throws IOException {
final Object value = pv.getValue();
final DataType datatype = pv.getProperty().getDatatype();
final RenderingHint renderingHint = pv.getProperty().getRenderingHint();
boolean shortForm = options.hash("short"... | public CharSequence apply(final PropertyValue pv, final Options options) throws IOException {
final Object value = pv.getValue();
final DataType datatype = pv.getProperty().getDatatype();
final RenderingHint renderingHint = pv.getProperty().getRenderingHint();
final Boolean shortForm = options.hash("... |
diff --git a/src/org/jruby/exceptions/RaiseException.java b/src/org/jruby/exceptions/RaiseException.java
index d6df35ddc..6bc4d42a6 100644
--- a/src/org/jruby/exceptions/RaiseException.java
+++ b/src/org/jruby/exceptions/RaiseException.java
@@ -1,176 +1,176 @@
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL ... | true | true | protected void setException(RubyException newException, boolean nativeException) {
Ruby runtime = newException.getRuntime();
ThreadContext context = runtime.getCurrentContext();
if (!context.isWithinDefined()) {
runtime.getGlobalVariables().set("$!", newException);
}
... | protected void setException(RubyException newException, boolean nativeException) {
Ruby runtime = newException.getRuntime();
ThreadContext context = runtime.getCurrentContext();
if (!context.isWithinDefined()) {
runtime.getGlobalVariables().set("$!", newException);
}
... |
diff --git a/src/com/android/settings/tts/TtsEngineSettingsFragment.java b/src/com/android/settings/tts/TtsEngineSettingsFragment.java
index 3f740d7ea..18d1fdb62 100644
--- a/src/com/android/settings/tts/TtsEngineSettingsFragment.java
+++ b/src/com/android/settings/tts/TtsEngineSettingsFragment.java
@@ -1,209 +1,209 @@... | true | true | private void updateDefaultLocalePref(ArrayList<String> availableLangs) {
String currentLocale = mEnginesHelper.getLocalePrefForEngine(
getEngineName());
CharSequence[] entries = new CharSequence[availableLangs.size()];
CharSequence[] entryValues = new CharSequence[availableL... | private void updateDefaultLocalePref(ArrayList<String> availableLangs) {
String currentLocale = mEnginesHelper.getLocalePrefForEngine(
getEngineName());
CharSequence[] entries = new CharSequence[availableLangs.size()];
CharSequence[] entryValues = new CharSequence[availableL... |
diff --git a/baksmali/src/test/java/org/jf/baksmali/AnalysisTest.java b/baksmali/src/test/java/org/jf/baksmali/AnalysisTest.java
index 046ee493..9e1b11f0 100644
--- a/baksmali/src/test/java/org/jf/baksmali/AnalysisTest.java
+++ b/baksmali/src/test/java/org/jf/baksmali/AnalysisTest.java
@@ -1,122 +1,122 @@
/*
* Copyr... | true | true | public void runTest(String test, boolean registerInfo) throws IOException, URISyntaxException {
String dexFilePath = String.format("%s%sclasses.dex", test, File.separatorChar);
DexFile dexFile = DexFileFactory.loadDexFile(findResource(dexFilePath), 15);
baksmaliOptions options = new baksma... | public void runTest(String test, boolean registerInfo) throws IOException, URISyntaxException {
String dexFilePath = String.format("%s%sclasses.dex", test, File.separatorChar);
DexFile dexFile = DexFileFactory.loadDexFile(findResource(dexFilePath), 15);
baksmaliOptions options = new baksma... |
diff --git a/source/RMG/jing/rxnSys/RateBasedPDepRME.java b/source/RMG/jing/rxnSys/RateBasedPDepRME.java
index 9ff43178..f41995e8 100644
--- a/source/RMG/jing/rxnSys/RateBasedPDepRME.java
+++ b/source/RMG/jing/rxnSys/RateBasedPDepRME.java
@@ -1,329 +1,341 @@
////////////////////////////////////////////////////////////... | false | true | public void enlargeReactionModel(LinkedList rxnSystemList, ReactionModel rm, LinkedList validList) {
CoreEdgeReactionModel cerm = (CoreEdgeReactionModel) rm;
// Iterate over reaction systems, enlarging each individually
LinkedList updateList = new LinkedList();
for (int i = 0; i < rxnSystemList.siz... | public void enlargeReactionModel(LinkedList rxnSystemList, ReactionModel rm, LinkedList validList) {
CoreEdgeReactionModel cerm = (CoreEdgeReactionModel) rm;
// Iterate over reaction systems, enlarging each individually
LinkedList updateList = new LinkedList();
for (int i = 0; i < rxnSystemList.siz... |
diff --git a/src/se/myllers/guestunlock/PermSystem.java b/src/se/myllers/guestunlock/PermSystem.java
index 3599300..46df4cf 100644
--- a/src/se/myllers/guestunlock/PermSystem.java
+++ b/src/se/myllers/guestunlock/PermSystem.java
@@ -1,166 +1,165 @@
package se.myllers.guestunlock;
import org.anjocaido.groupmanager.G... | true | true | public static final void setGroupGM(final Player p) {
Main.DEBUG("Setting players group, GM");
final Plugin gm = Main.pm.getPlugin("GroupManager");
final OverloadedWorldHolder handler = ((GroupManager) gm)
.getWorldsHolder().getWorldData(p);
if (handler == null) {
Main.WARNING("Failed to move " + p.getN... | public static final void setGroupGM(final Player p) {
Main.DEBUG("Setting players group, GM");
final Plugin gm = Main.pm.getPlugin("GroupManager");
final OverloadedWorldHolder handler = ((GroupManager) gm)
.getWorldsHolder().getWorldData(p);
if (handler == null) {
Main.WARNING("Failed to move " + p.getN... |
diff --git a/java/modules/core/src/main/java/org/apache/synapse/mediators/bean/BeanUtils.java b/java/modules/core/src/main/java/org/apache/synapse/mediators/bean/BeanUtils.java
index c86d1346e..bc294a56c 100644
--- a/java/modules/core/src/main/java/org/apache/synapse/mediators/bean/BeanUtils.java
+++ b/java/modules/cor... | true | true | public static Object invokeInstanceMethod(Object instance, Method method, Object[] args) throws
SynapseException {
Class[] paramTypes = method.getParameterTypes();
if (paramTypes.length != args.length) {
t... | public static Object invokeInstanceMethod(Object instance, Method method, Object[] args) throws
SynapseException {
Class[] paramTypes = method.getParameterTypes();
if (paramTypes.length != args.length) {
t... |
diff --git a/src/main/java/syndeticlogic/catena/text/BlockMerger.java b/src/main/java/syndeticlogic/catena/text/BlockMerger.java
index 7427fa9..b5476dc 100644
--- a/src/main/java/syndeticlogic/catena/text/BlockMerger.java
+++ b/src/main/java/syndeticlogic/catena/text/BlockMerger.java
@@ -1,114 +1,113 @@
package syndet... | false | true | public List<InvertedListDescriptor> mergeBlocks(String mergeTarget, LinkedList<Map.Entry<String, List<InvertedListDescriptor>>> blockDescriptors) {
long memory = (long)(((double)Config.getPhysicalMemorySize()) * MEMORY_PERCENTAGE);
int readBlocksAndWriteBlock = Math.min((int)(memory/BLOCK_SIZE), blo... | public List<InvertedListDescriptor> mergeBlocks(String mergeTarget, LinkedList<Map.Entry<String, List<InvertedListDescriptor>>> blockDescriptors) {
long memory = (long)(((double)Config.getPhysicalMemorySize()) * MEMORY_PERCENTAGE);
int readBlocksAndWriteBlock = Math.min((int)(memory/BLOCK_SIZE), blo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.