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/classloader/src/main/org/jboss/classloader/spi/ClassLoaderSystem.java b/classloader/src/main/org/jboss/classloader/spi/ClassLoaderSystem.java
index ef986f31..c47d81aa 100644
--- a/classloader/src/main/org/jboss/classloader/spi/ClassLoaderSystem.java
+++ b/classloader/src/main/org/jboss/classloader/spi/Clas... | true | true | public ClassLoader registerClassLoaderPolicy(String domainName, ParentPolicy parentPolicy, String parentDomainName, ClassLoaderPolicy policy)
{
if (domainName == null)
throw new IllegalArgumentException("Null domain name");
if (parentPolicy == null)
throw new IllegalArgumentException... | public ClassLoader registerClassLoaderPolicy(String domainName, ParentPolicy parentPolicy, String parentDomainName, ClassLoaderPolicy policy)
{
if (domainName == null)
throw new IllegalArgumentException("Null domain name");
if (parentPolicy == null)
throw new IllegalArgumentException... |
diff --git a/geopaparazzi.app/src/eu/hydrologis/geopaparazzi/maps/overlays/MeasureToolOverlay.java b/geopaparazzi.app/src/eu/hydrologis/geopaparazzi/maps/overlays/MeasureToolOverlay.java
index c332fb89..8cc02e0d 100644
--- a/geopaparazzi.app/src/eu/hydrologis/geopaparazzi/maps/overlays/MeasureToolOverlay.java
+++ b/geo... | false | true | public boolean onTouchEvent( MotionEvent event, MapView mapView ) {
if (!isOn) {
return super.onTouchEvent(event, mapView);
}
Projection pj = mapView.getProjection();
// handle drawing
currentX = (int) round(event.getX());
currentY = (int) round(event.getY... | public boolean onTouchEvent( MotionEvent event, MapView mapView ) {
if (!isOn) {
return super.onTouchEvent(event, mapView);
}
Projection pj = mapView.getProjection();
// handle drawing
currentX = (int) round(event.getX());
currentY = (int) round(event.getY... |
diff --git a/plugins/com.aptana.ruby.debug.ui/src/com/aptana/ruby/debug/ui/RubyLineBreakpointAdapter.java b/plugins/com.aptana.ruby.debug.ui/src/com/aptana/ruby/debug/ui/RubyLineBreakpointAdapter.java
index a48db72..92612cd 100644
--- a/plugins/com.aptana.ruby.debug.ui/src/com/aptana/ruby/debug/ui/RubyLineBreakpointAda... | false | true | public void toggleLineBreakpoints(IWorkbenchPart part, ISelection selection) throws CoreException
{
IFileStore store = getFileStore(part);
if (store == null)
{
return;
}
URI uri = store.toURI();
IResource resource = null;
IPath fileName = null;
if ("file".equals(uri.getScheme())) //$NON-NLS-1$
{... | public void toggleLineBreakpoints(IWorkbenchPart part, ISelection selection) throws CoreException
{
IFileStore store = getFileStore(part);
if (store == null)
{
return;
}
URI uri = store.toURI();
IResource resource = null;
IPath fileName = null;
if ("file".equals(uri.getScheme())) //$NON-NLS-1$
{... |
diff --git a/src/java/org/archive/jbs/lucene/BoostHandler.java b/src/java/org/archive/jbs/lucene/BoostHandler.java
index 13b5d94..57098d8 100644
--- a/src/java/org/archive/jbs/lucene/BoostHandler.java
+++ b/src/java/org/archive/jbs/lucene/BoostHandler.java
@@ -1,70 +1,70 @@
/*
* Copyright 2011 Internet Archive
*
... | true | true | public void handle( org.apache.lucene.document.Document luceneDocument, Document document )
{
long numInlinks = getLong( document, "numInlinks", 0 );
if ( numInlinks > 10 )
{
float boost = (float) Math.log10( numInlinks );
// Store the boost value with the document. This can... | public void handle( org.apache.lucene.document.Document luceneDocument, Document document )
{
long numInlinks = getLong( document, "numInlinks", 0 );
if ( numInlinks > 10 )
{
float boost = (float) Math.log10( numInlinks );
// Store the boost value with the document. This can... |
diff --git a/GoMotion/src/com/example/gomotion/PushUpsActivity.java b/GoMotion/src/com/example/gomotion/PushUpsActivity.java
index a8d5645..62b489c 100644
--- a/GoMotion/src/com/example/gomotion/PushUpsActivity.java
+++ b/GoMotion/src/com/example/gomotion/PushUpsActivity.java
@@ -1,182 +1,182 @@
package com.example.go... | true | true | public void doRep(final View view)
{
if(repCount > 1)
{
repCount--;
repButton.setText(String.valueOf(repCount) + "/" + String.valueOf(initialRepCount));
view.setBackgroundColor(getResources().getColor(R.color.goBlue));
}
else if(setCount == 1 && repCount == 1) // fini... | public void doRep(final View view)
{
if(repCount > 1)
{
repCount--;
repButton.setText(String.valueOf(repCount) + "/" + String.valueOf(initialRepCount));
view.setBackgroundColor(getResources().getColor(R.color.goBlue));
}
else if(setCount == 1 && repCount == 1) // fini... |
diff --git a/src/org/geometerplus/zlibrary/ui/android/image/ZLAndroidImageData.java b/src/org/geometerplus/zlibrary/ui/android/image/ZLAndroidImageData.java
index 26cf0350..2b085e05 100644
--- a/src/org/geometerplus/zlibrary/ui/android/image/ZLAndroidImageData.java
+++ b/src/org/geometerplus/zlibrary/ui/android/image/Z... | false | true | private synchronized Bitmap getBitmap(int maxWidth, int maxHeight, boolean ignoreSize) {
if (!ignoreSize && (maxWidth == 0 || maxHeight == 0)) {
return null;
}
if (maxWidth != myLastRequestedWidth || maxHeight != myLastRequestedHeight) {
if (myBitmap != null) {
myBitmap.recycle();
myBitmap = null;
... | private synchronized Bitmap getBitmap(int maxWidth, int maxHeight, boolean ignoreSize) {
if (!ignoreSize && (maxWidth <= 0 || maxHeight <= 0)) {
return null;
}
if (maxWidth != myLastRequestedWidth || maxHeight != myLastRequestedHeight) {
if (myBitmap != null) {
myBitmap.recycle();
myBitmap = null;
... |
diff --git a/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorFactory.java b/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorFactory.java
index 7aca93273..59b9fd7c2 100644
--- a/java/modules/core/src/main/java/org/apache/synapse/config/xml/CacheMediatorFactory.java
+... | true | true | public Mediator createMediator(OMElement elem) {
if (!CACHE_Q.equals(elem.getQName())) {
handleException("Unable to create the cache mediator. " +
"Unexpected element as the cache mediator configuration");
}
CacheMediator cache = new CacheMediator();
OM... | public Mediator createMediator(OMElement elem) {
if (!CACHE_Q.equals(elem.getQName())) {
handleException("Unable to create the cache mediator. " +
"Unexpected element as the cache mediator configuration");
}
CacheMediator cache = new CacheMediator();
OM... |
diff --git a/plugins/org.bonitasoft.studio.validation/src/org/bonitasoft/studio/validation/BatchValidationHandler.java b/plugins/org.bonitasoft.studio.validation/src/org/bonitasoft/studio/validation/BatchValidationHandler.java
index 10695ac729..6b0c9c7669 100644
--- a/plugins/org.bonitasoft.studio.validation/src/org/bo... | true | true | public Object execute(ExecutionEvent event) throws ExecutionException {
if(PlatformUI.isWorkbenchRunning()){
Map<?,?> parameters = event.getParameters();
Set<Diagram> toValidate = new HashSet<Diagram>();
if(parameters != null && !parameters.isEmpty()){
final Object diagramParameters = parameters.get("di... | public Object execute(ExecutionEvent event) throws ExecutionException {
if(PlatformUI.isWorkbenchRunning()){
Map<?,?> parameters = event.getParameters();
Set<Diagram> toValidate = new HashSet<Diagram>();
if(parameters != null && !parameters.isEmpty()){
final Object diagramParameters = parameters.get("di... |
diff --git a/src/main/java/com/atlassian/labs/speakeasy/ui/UserProfileRenderer.java b/src/main/java/com/atlassian/labs/speakeasy/ui/UserProfileRenderer.java
index b1233b9..8e33d20 100644
--- a/src/main/java/com/atlassian/labs/speakeasy/ui/UserProfileRenderer.java
+++ b/src/main/java/com/atlassian/labs/speakeasy/ui/User... | true | true | public void render(HttpServletRequest req, HttpServletResponse resp, Writer output, boolean useUserProfileDecorator) throws IOException, UnauthorizedAccessException
{
String user = userManager.getRemoteUsername(req);
if (user == null)
{
throw new UnauthorizedAccessException(n... | public void render(HttpServletRequest req, HttpServletResponse resp, Writer output, boolean useUserProfileDecorator) throws IOException, UnauthorizedAccessException
{
String user = userManager.getRemoteUsername(req);
if (user == null)
{
throw new UnauthorizedAccessException(n... |
diff --git a/main/db/src/main/java/org/jbundle/main/db/base/ContactField.java b/main/db/src/main/java/org/jbundle/main/db/base/ContactField.java
index 69273aee..227d3b10 100644
--- a/main/db/src/main/java/org/jbundle/main/db/base/ContactField.java
+++ b/main/db/src/main/java/org/jbundle/main/db/base/ContactField.java
@... | false | true | public ScreenComponent setupDefaultView(ScreenLoc itsLocation, ComponentParent targetScreen, Convert converter, int iDisplayFieldDesc, Map<String, Object> properties)
{
this.makeReferenceRecord();
if (m_recVendor == null) // Possible that these are not in my classpath
return super... | public ScreenComponent setupDefaultView(ScreenLoc itsLocation, ComponentParent targetScreen, Convert converter, int iDisplayFieldDesc, Map<String, Object> properties)
{
this.makeReferenceRecord();
if (m_recVendor == null) // Possible that these are not in my classpath
return super... |
diff --git a/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/administrative/item/EditItemBitstreamsForm.java b/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/administrative/item/EditItemBitstreamsForm.java
index 1bc2afeb0..1b62c01eb 100644
--- a/dspace-xmlui/dspace-xmlui... | false | true | public void addBody(Body body) throws SQLException, WingException
{
// Get our parameters and state
int itemID = parameters.getParameterAsInteger("itemID",-1);
Item item = Item.find(context, itemID);
String baseURL = contextPath+"/admin/item?administrative-continue="+knot.getId();
// DIVISION: main div
... | public void addBody(Body body) throws SQLException, WingException
{
// Get our parameters and state
int itemID = parameters.getParameterAsInteger("itemID",-1);
Item item = Item.find(context, itemID);
String baseURL = contextPath+"/admin/item?administrative-continue="+knot.getId();
// DIVISION: main div
... |
diff --git a/com.ibm.wala.core/src/com/ibm/wala/demandpa/alg/SimpleDemandPointsTo.java b/com.ibm.wala.core/src/com/ibm/wala/demandpa/alg/SimpleDemandPointsTo.java
index 1b0da3c5c..b04a198b9 100644
--- a/com.ibm.wala.core/src/com/ibm/wala/demandpa/alg/SimpleDemandPointsTo.java
+++ b/com.ibm.wala.core/src/com/ibm/wala/de... | true | true | public Collection<InstanceKey> getPointsTo(PointerKey pk) {
Assertions._assert(pk instanceof LocalPointerKey, "we only handle locals");
LocalPointerKey lpk = (LocalPointerKey) pk;
// Create an (initially empty) dependence graph
SimpleDemandPointerFlowGraph g = new SimpleDemandPointerFlowGraph(cg, hea... | public Collection<InstanceKey> getPointsTo(PointerKey pk) {
Assertions._assert(pk instanceof LocalPointerKey, "we only handle locals");
LocalPointerKey lpk = (LocalPointerKey) pk;
// Create an (initially empty) dependence graph
SimpleDemandPointerFlowGraph g = new SimpleDemandPointerFlowGraph(cg, hea... |
diff --git a/src/main/java/py/com/ait/gestion/persistence/ProcesoDAO.java b/src/main/java/py/com/ait/gestion/persistence/ProcesoDAO.java
index 31584b9..6ff949c 100644
--- a/src/main/java/py/com/ait/gestion/persistence/ProcesoDAO.java
+++ b/src/main/java/py/com/ait/gestion/persistence/ProcesoDAO.java
@@ -1,233 +1,232 @@... | false | true | public List<Long> getProcesoIdsForUser(String filtroEstado, boolean isAdminUser, Long usuarioId) {
List<Long> result = null;
String filtro = "where p.procesoId = a.master.procesoId";
String filtroUsuario = "";
if (filtroEstado.equals("C")) {
filtro += " and p.estado in ("
+ Definiciones.EstadoProceso... | public List<Long> getProcesoIdsForUser(String filtroEstado, boolean isAdminUser, Long usuarioId) {
List<Long> result = null;
String filtro = "where p.procesoId = a.master.procesoId";
if (filtroEstado.equals("C")) {
filtro += " and p.estado in ("
+ Definiciones.EstadoProceso.getEstadosCerrados() + ")";
... |
diff --git a/src/org/broad/igv/tools/CoverageCounter.java b/src/org/broad/igv/tools/CoverageCounter.java
index a35d5cec..d1d9fb5a 100644
--- a/src/org/broad/igv/tools/CoverageCounter.java
+++ b/src/org/broad/igv/tools/CoverageCounter.java
@@ -1,848 +1,850 @@
/*
* Copyright (c) 2007-2011 by The Broad Institute, Inc. ... | true | true | public void parse() {
int tolerance = (int) (windowSize * (Math.floor(extFactor / windowSize) + 2));
consumer.setSortTolerance(tolerance);
AlignmentQueryReader reader = null;
CloseableIterator<Alignment> iter = null;
String lastChr = "";
ReadCounter counter = null;... | public void parse() {
int tolerance = (int) (windowSize * (Math.floor(extFactor / windowSize) + 2));
consumer.setSortTolerance(tolerance);
AlignmentQueryReader reader = null;
CloseableIterator<Alignment> iter = null;
String lastChr = "";
ReadCounter counter = null;... |
diff --git a/src/plugins/apple/src/com/jivesoftware/spark/plugin/apple/AppleUtils.java b/src/plugins/apple/src/com/jivesoftware/spark/plugin/apple/AppleUtils.java
index c6d114b4..0376a42f 100644
--- a/src/plugins/apple/src/com/jivesoftware/spark/plugin/apple/AppleUtils.java
+++ b/src/plugins/apple/src/com/jivesoftware/... | true | true | public AppleUtils() {
final Thread iconThread = new Thread(new Runnable() {
public void run() {
while (true) {
if (!flash) {
if (!usingDefaultIcon) {
// Set default icon
NSImage d... | public AppleUtils() {
final Thread iconThread = new Thread(new Runnable() {
public void run() {
while (true) {
if (!flash) {
if (!usingDefaultIcon) {
// Set default icon
NSImage d... |
diff --git a/PhotoSharingDemo/src/com/google/cloud/demo/TrendingCronServlet.java b/PhotoSharingDemo/src/com/google/cloud/demo/TrendingCronServlet.java
index 5be57c1..4456a6b 100644
--- a/PhotoSharingDemo/src/com/google/cloud/demo/TrendingCronServlet.java
+++ b/PhotoSharingDemo/src/com/google/cloud/demo/TrendingCronServ... | false | true | protected void doGet(HttpServletRequest req, HttpServletResponse resp){
AppContext appContext = AppContext.getAppContext();
ConfigManager configManager = appContext.getConfigManager();
AlbumManager albumManager = appContext.getAlbumManager();
ViewManager viewManager = appContext.getViewManager();
Leader... | protected void doGet(HttpServletRequest req, HttpServletResponse resp){
AppContext appContext = AppContext.getAppContext();
ConfigManager configManager = appContext.getConfigManager();
AlbumManager albumManager = appContext.getAlbumManager();
ViewManager viewManager = appContext.getViewManager();
Leader... |
diff --git a/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/Selector.java b/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/Selector.java
index afccff281..539cd9a63 100644
--- a/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/Selector.java
+++ b/bpel-runtime/src/main/java/org/apache/ode/bpel/runti... | true | true | public String toString() {
return ObjectPrinter.toString(this, new Object[] {
"plinkInstnace", plinkInstance,
"ckeySet", correlationKeySet,
"opName" ,opName,
"oneWay", oneWay ? "yes" : "no",
"mexId", messageExchangeId,
... | public String toString() {
return ObjectPrinter.toString(this, new Object[] {
"plinkInstance", plinkInstance,
"ckeySet", correlationKeySet,
"opName" ,opName,
"oneWay", oneWay ? "yes" : "no",
"mexId", messageExchangeId,
... |
diff --git a/drools-core/src/main/java/org/drools/core/rule/SlidingTimeWindow.java b/drools-core/src/main/java/org/drools/core/rule/SlidingTimeWindow.java
index bf18de2eb4..de5ddff763 100644
--- a/drools-core/src/main/java/org/drools/core/rule/SlidingTimeWindow.java
+++ b/drools-core/src/main/java/org/drools/core/rule/... | false | true | public void expireFacts(final WindowMemory memory,
final Object context,
final PropagationContext pctx,
final InternalWorkingMemory workingMemory) {
TimerService clock = workingMemory.getTimerService();
long currentT... | public void expireFacts(final WindowMemory memory,
final Object context,
final PropagationContext pctx,
final InternalWorkingMemory workingMemory) {
TimerService clock = workingMemory.getTimerService();
long currentT... |
diff --git a/src/bitronix/tm/recovery/IncrementalRecoverer.java b/src/bitronix/tm/recovery/IncrementalRecoverer.java
index 468efd4..3f434ff 100644
--- a/src/bitronix/tm/recovery/IncrementalRecoverer.java
+++ b/src/bitronix/tm/recovery/IncrementalRecoverer.java
@@ -1,112 +1,112 @@
package bitronix.tm.recovery;
impor... | true | true | public static void recover(XAResourceProducer xaResourceProducer) throws RecoveryException {
String uniqueName = xaResourceProducer.getUniqueName();
if (log.isDebugEnabled()) log.debug("start of incremental recovery on resource " + uniqueName);
XAResourceHolderState xarhs;
try {
... | public static void recover(XAResourceProducer xaResourceProducer) throws RecoveryException {
String uniqueName = xaResourceProducer.getUniqueName();
if (log.isDebugEnabled()) log.debug("start of incremental recovery on resource " + uniqueName);
XAResourceHolderState xarhs;
try {
... |
diff --git a/runwaysdk-server/src/main/java/com/runwaysdk/dataaccess/io/dataDefinition/VersionHandler.java b/runwaysdk-server/src/main/java/com/runwaysdk/dataaccess/io/dataDefinition/VersionHandler.java
index 3b830c012..ab3712042 100644
--- a/runwaysdk-server/src/main/java/com/runwaysdk/dataaccess/io/dataDefinition/Ver... | false | true | public synchronized static void runImport(File file, Action action, String xsd)
{
try
{
if (xsd != null) {
if(!xsd.startsWith("/"))
{
xsd = "/".concat(xsd);
}
java.net.URL resource = VersionHandler.class.getResource(xsd);
if (resource == nu... | public synchronized static void runImport(File file, Action action, String xsd)
{
try
{
if (xsd != null && !xsd.startsWith("classpath:")) {
// TODO FIXME : This logic no longer makes sense since we're appending classpath: to accomplish this.
if(!xsd.startsWith("/"))
{
... |
diff --git a/examples/TicketReadersWriters/TestTicketReadersWriters.java b/examples/TicketReadersWriters/TestTicketReadersWriters.java
index 38ef82d..98aad35 100644
--- a/examples/TicketReadersWriters/TestTicketReadersWriters.java
+++ b/examples/TicketReadersWriters/TestTicketReadersWriters.java
@@ -1,173 +1,173 @@
pa... | true | true | public static void main (String [] args)
{
int READERS = 10;
int WRITERS = 10;
int totalNumRead = 10;
int totalNumWrite = 10;
int maxReadTime = 100;
int maxWriteTime = 100;
int delay = 0;
ReadersWritersMonitor monitor = null;
try {
... | public static void main (String [] args)
{
int READERS = 10;
int WRITERS = 10;
int totalNumRead = 10;
int totalNumWrite = 10;
int maxReadTime = 100;
int maxWriteTime = 100;
int delay = 0;
ReadersWritersMonitor monitor = null;
try {
... |
diff --git a/E-Adventure/src/es/eucm/eadventure/editor/control/writer/domwriters/AdaptationDOMWriter.java b/E-Adventure/src/es/eucm/eadventure/editor/control/writer/domwriters/AdaptationDOMWriter.java
index 28363a43..50318808 100644
--- a/E-Adventure/src/es/eucm/eadventure/editor/control/writer/domwriters/AdaptationDOM... | false | true | public static Element buildDOM( List<AdaptationRule> rules, AdaptedState initialState, boolean scorm12, boolean scorm2004, String name, Document doc ) {
Element adaptationNode = null;
// Create the root node
adaptationNode = doc.createElement( "adaptation" );
if( scorm12 ) {
... | public static Element buildDOM( List<AdaptationRule> rules, AdaptedState initialState, boolean scorm12, boolean scorm2004, String name, Document doc ) {
Element adaptationNode = null;
// Create the root node
adaptationNode = doc.createElement( "adaptation" );
if( scorm12 ) {
... |
diff --git a/cometd-java/cometd-java-server/src/main/java/org/cometd/server/transport/LongPollingTransport.java b/cometd-java/cometd-java-server/src/main/java/org/cometd/server/transport/LongPollingTransport.java
index 57300cd15..16b758d10 100644
--- a/cometd-java/cometd-java-server/src/main/java/org/cometd/server/tran... | true | true | public void handle(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
// is this a resumed connect?
LongPollScheduler scheduler=(LongPollScheduler)request.getAttribute("cometd.scheduler");
if (scheduler==null)
{
// No - pr... | public void handle(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
// is this a resumed connect?
LongPollScheduler scheduler=(LongPollScheduler)request.getAttribute("cometd.scheduler");
if (scheduler==null)
{
// No - pr... |
diff --git a/norconex-jef/src/main/java/com/norconex/jef/JobRunner.java b/norconex-jef/src/main/java/com/norconex/jef/JobRunner.java
index 3269485..9db3511 100644
--- a/norconex-jef/src/main/java/com/norconex/jef/JobRunner.java
+++ b/norconex-jef/src/main/java/com/norconex/jef/JobRunner.java
@@ -1,420 +1,420 @@
/* Cop... | true | true | final boolean runJob(final IJob job, final JobSuite suite) {
boolean success = false;
setCurrentJobId(job.getId());
final JobElapsedTime elapsedTime = new JobElapsedTime();
final JobProgress progress = createProgress(job, suite, elapsedTime);
suite.addSuiteStopRequestListene... | final boolean runJob(final IJob job, final JobSuite suite) {
boolean success = false;
setCurrentJobId(job.getId());
final JobElapsedTime elapsedTime = new JobElapsedTime();
final JobProgress progress = createProgress(job, suite, elapsedTime);
suite.addSuiteStopRequestListene... |
diff --git a/test/src/com/redhat/ceylon/compiler/java/test/expression/ExpressionTest.java b/test/src/com/redhat/ceylon/compiler/java/test/expression/ExpressionTest.java
index 582192d39..beb2d3715 100755
--- a/test/src/com/redhat/ceylon/compiler/java/test/expression/ExpressionTest.java
+++ b/test/src/com/redhat/ceylon/c... | true | true | public void testLitNumericLiteral(){
compareWithJavaSource("literal/NumericLiteral");
assertErrors("literal/NumericLiteralErrors",
new CompilerError(24, "Literal outside representable range"),
new CompilerError(25, "Literal outside representable range"),
... | public void testLitNumericLiteral(){
compareWithJavaSource("literal/NumericLiteral");
assertErrors("literal/NumericLiteralErrors",
new CompilerError(24, "Literal outside representable range"),
new CompilerError(25, "Literal outside representable range"),
... |
diff --git a/ardor3d-lwjgl/src/main/java/com/ardor3d/framework/lwjgl/LwjglDisplayCanvas.java b/ardor3d-lwjgl/src/main/java/com/ardor3d/framework/lwjgl/LwjglDisplayCanvas.java
index 3e622e0..1853a0a 100644
--- a/ardor3d-lwjgl/src/main/java/com/ardor3d/framework/lwjgl/LwjglDisplayCanvas.java
+++ b/ardor3d-lwjgl/src/main/... | true | true | public void init() {
if (_inited) {
return;
}
// create the Display.
final PixelFormat format = new PixelFormat(_settings.getAlphaBits(), _settings.getDepthBits(), _settings
.getStencilBits()).withSamples(_settings.getSamples()).withStereo(_settings.isSte... | public void init() {
if (_inited) {
return;
}
// create the Display.
final PixelFormat format = new PixelFormat(_settings.getAlphaBits(), _settings.getDepthBits(), _settings
.getStencilBits()).withSamples(_settings.getSamples()).withStereo(_settings.isSte... |
diff --git a/exchange2/src/com/android/exchange/EasAccountService.java b/exchange2/src/com/android/exchange/EasAccountService.java
index 58ddaf37..533a5df5 100644
--- a/exchange2/src/com/android/exchange/EasAccountService.java
+++ b/exchange2/src/com/android/exchange/EasAccountService.java
@@ -1,882 +1,882 @@
/*
* C... | false | true | private void runPingLoop() throws IOException, StaleFolderListException,
IllegalHeartbeatException, CommandStatusException {
int pingHeartbeat = mPingHeartbeat;
userLog("runPingLoop");
// Do push for all sync services here
long endTime = System.currentTimeMillis() + (30*M... | private void runPingLoop() throws IOException, StaleFolderListException,
IllegalHeartbeatException, CommandStatusException {
int pingHeartbeat = mPingHeartbeat;
userLog("runPingLoop");
// Do push for all sync services here
long endTime = System.currentTimeMillis() + (30*M... |
diff --git a/src/java/com/stackframe/sarariman/statusboard/HoursBilled.java b/src/java/com/stackframe/sarariman/statusboard/HoursBilled.java
index 396352a..62b3797 100644
--- a/src/java/com/stackframe/sarariman/statusboard/HoursBilled.java
+++ b/src/java/com/stackframe/sarariman/statusboard/HoursBilled.java
@@ -1,80 +1... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/csv;charset=UTF-8");
PrintWriter out = response.getWriter();
try {
Connection connection = sarariman.openConnection();
t... | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/csv;charset=UTF-8");
PrintWriter out = response.getWriter();
try {
Connection connection = sarariman.openConnection();
t... |
diff --git a/maven/maven-dotnet-plugin/src/main/java/org/apache/maven/dotnet/CleanMojo.java b/maven/maven-dotnet-plugin/src/main/java/org/apache/maven/dotnet/CleanMojo.java
index 278fca82c..d29f4c51b 100644
--- a/maven/maven-dotnet-plugin/src/main/java/org/apache/maven/dotnet/CleanMojo.java
+++ b/maven/maven-dotnet-plu... | true | true | public void launchClean(File file) throws MojoExecutionException,
MojoFailureException {
File executable = getMsBuildCommand();
if (!executable.exists()) {
throw new MojoExecutionException(
"Could not find the MSBuild executable for the version "
+ toolVersion
... | public void launchClean(File file) throws MojoExecutionException,
MojoFailureException {
File executable = getMsBuildCommand();
if (!executable.exists()) {
throw new MojoExecutionException(
"Could not find the MSBuild executable for the version "
+ toolVersion
... |
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/preferences/ControlBindingManager.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/preferences/ControlBindingManager.java
index 806195cbe..9150f40d4 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/preferences/Cont... | true | true | public void bindControl(final Text text, final Object key,
IFieldValidator validator, final ITextConverter transformer) {
if (key != null) {
if (textControls.containsKey(key)) {
final RuntimeException error = new IllegalArgumentException(
"Duplicate control " + key); // $NON-NLS-1$
DLTKUIPlugin.l... | public void bindControl(final Text text, final Object key,
IFieldValidator validator, final ITextConverter transformer) {
if (key != null) {
if (textControls.containsKey(key)) {
final RuntimeException error = new IllegalArgumentException(
"Duplicate control " + key); //$NON-NLS-1$
DLTKUIPlugin.lo... |
diff --git a/gerrit-war/src/main/java/com/google/gerrit/httpd/WebAppInitializer.java b/gerrit-war/src/main/java/com/google/gerrit/httpd/WebAppInitializer.java
index 0cbbac46a..ac05f0fe4 100644
--- a/gerrit-war/src/main/java/com/google/gerrit/httpd/WebAppInitializer.java
+++ b/gerrit-war/src/main/java/com/google/gerrit/... | true | true | private synchronized void init() {
if (manager == null) {
final String path = System.getProperty("gerrit.site_path");
if (path != null) {
sitePath = new File(path);
}
try {
dbInjector = createDbInjector();
} catch (CreationException ce) {
final Message first ... | private synchronized void init() {
if (manager == null) {
final String path = System.getProperty("gerrit.site_path");
if (path != null) {
sitePath = new File(path);
}
try {
dbInjector = createDbInjector();
} catch (CreationException ce) {
final Message first ... |
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java
index 05c1e7fdc..1f41ac43c 100644
--- a/src/com/android/dialer/CallDetailActivity.java
+++ b/src/com/android/dialer/CallDetailActivity.java
@@ -1,960 +1,960 @@
/*
* Copyright (C) 2009 The Android Open Source ... | true | true | private void updateData(final Uri... callUris) {
class UpdateContactDetailsTask extends AsyncTask<Void, Void, PhoneCallDetails[]> {
@Override
public PhoneCallDetails[] doInBackground(Void... params) {
// TODO: All phone calls correspond to the same person, so we can m... | private void updateData(final Uri... callUris) {
class UpdateContactDetailsTask extends AsyncTask<Void, Void, PhoneCallDetails[]> {
@Override
public PhoneCallDetails[] doInBackground(Void... params) {
// TODO: All phone calls correspond to the same person, so we can m... |
diff --git a/src/main/java/ch/entwine/weblounge/taglib/resource/ResourceIteratorTag.java b/src/main/java/ch/entwine/weblounge/taglib/resource/ResourceIteratorTag.java
index 7f7f2566d..5880c0c7c 100644
--- a/src/main/java/ch/entwine/weblounge/taglib/resource/ResourceIteratorTag.java
+++ b/src/main/java/ch/entwine/weblou... | true | true | public int doStartTag() throws JspException {
Site site = request.getSite();
repository = site.getContentRepository();
if (repository == null) {
logger.debug("Unable to load content repository for site '{}'", site);
response.invalidate();
return SKIP_BODY;
}
// First time searc... | public int doStartTag() throws JspException {
Site site = request.getSite();
repository = site.getContentRepository();
if (repository == null) {
logger.debug("Unable to load content repository for site '{}'", site);
response.invalidate();
return SKIP_BODY;
}
// First time searc... |
diff --git a/src/main/java/be/kdg/groeph/bean/ParticipantsBean.java b/src/main/java/be/kdg/groeph/bean/ParticipantsBean.java
index a2ae899..f9d0b2d 100644
--- a/src/main/java/be/kdg/groeph/bean/ParticipantsBean.java
+++ b/src/main/java/be/kdg/groeph/bean/ParticipantsBean.java
@@ -1,114 +1,116 @@
package be.kdg.groeph.... | true | true | public boolean validMails(String pEmails) {
String[] emails = pEmails.split(";");
invalidEmails.clear();
validEmails.clear();
for (int i = 0; i < emails.length; i++) {
if (isValidMail(emails[i].trim())) {
validEmails.add(emails[i].trim());
... | public boolean validMails(String pEmails) {
String[] emails = pEmails.split(";");
invalidEmails.clear();
validEmails.clear();
for (int i = 0; i < emails.length; i++) {
if (isValidMail(emails[i].trim())) {
validEmails.add(emails[i].trim());
... |
diff --git a/src/main/java/me/eccentric_nz/TARDIS/listeners/TARDISUpdateListener.java b/src/main/java/me/eccentric_nz/TARDIS/listeners/TARDISUpdateListener.java
index 5b7a989b3..6fa0a7af2 100644
--- a/src/main/java/me/eccentric_nz/TARDIS/listeners/TARDISUpdateListener.java
+++ b/src/main/java/me/eccentric_nz/TARDIS/lis... | false | true | public void onUpdateInteract(PlayerInteractEvent event) {
final Player player = event.getPlayer();
final String playerNameStr = player.getName();
String blockName;
boolean secondary = false;
if (plugin.getTrackerKeeper().getTrackPlayers().containsKey(playerNameStr)) {
... | public void onUpdateInteract(PlayerInteractEvent event) {
final Player player = event.getPlayer();
final String playerNameStr = player.getName();
String blockName;
boolean secondary = false;
if (plugin.getTrackerKeeper().getTrackPlayers().containsKey(playerNameStr)) {
... |
diff --git a/src/java/com/cdstoreserver/ws/accountprocessing/AccountProcessingWS.java b/src/java/com/cdstoreserver/ws/accountprocessing/AccountProcessingWS.java
index 5aefa8e..2edb64c 100644
--- a/src/java/com/cdstoreserver/ws/accountprocessing/AccountProcessingWS.java
+++ b/src/java/com/cdstoreserver/ws/accountprocess... | true | true | public UserBean getUserInfo(@WebParam(name = "userName") String userName,@WebParam(name = "password") String password) {
//TODO write your implementation code here:
UserBean responseObj = new UserBean();
UserDao dao = new UserDao();
responseObj = dao.getUserInfo(us... | public UserBean getUserInfo(@WebParam(name = "userName") String userName,@WebParam(name = "password") String password) {
//TODO write your implementation code here:
UserBean responseObj = new UserBean();
UserDao dao = new UserDao();
responseObj = dao.getUserInfo(us... |
diff --git a/src/smarthouse/simulation/SimulationFrame.java b/src/smarthouse/simulation/SimulationFrame.java
index 82d3ca9..4d99e0f 100644
--- a/src/smarthouse/simulation/SimulationFrame.java
+++ b/src/smarthouse/simulation/SimulationFrame.java
@@ -1,290 +1,292 @@
package smarthouse.simulation;
import jade.gui.GuiE... | true | true | public SimulationFrame(SimulationAgent agent) {
super();
setSize(1024, 600);
setTitle("Smarthouse");
myAgent = agent;
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
getContentPane().setLayout(null);
/* Cached Images */
cachedIcons.put("play", new ImageIcon("icons/play.png"));
cachedIcons.put("stop"... | public SimulationFrame(SimulationAgent agent) {
super();
setSize(1024, 600);
setTitle("Smarthouse");
myAgent = agent;
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
getContentPane().setLayout(null);
/* Cached Images */
cachedIcons.put("play", new ImageIcon("icons/play.png"));
cachedIcons.put("stop"... |
diff --git a/de.lmu.ifi.dbs.knowing.debug.core/src/de/lmu/ifi/dbs/knowing/debug/core/launching/DPULaunchConfigurationDelegate.java b/de.lmu.ifi.dbs.knowing.debug.core/src/de/lmu/ifi/dbs/knowing/debug/core/launching/DPULaunchConfigurationDelegate.java
index fa6765c5..c8087057 100644
--- a/de.lmu.ifi.dbs.knowing.debug.co... | false | true | public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException {
monitor.subTask("Loading Data Processing Unit");
String projectName = configuration.getAttribute(DPU_PROJECT, (String) null);
String relativePath = configuration.getAttribute(DPU_P... | public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException {
monitor.subTask("Loading Data Processing Unit");
String projectName = configuration.getAttribute(DPU_PROJECT, (String) null);
String relativePath = configuration.getAttribute(DPU_P... |
diff --git a/src/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptHelper.java b/src/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptHelper.java
index 6653824da..4611027fb 100644
--- a/src/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptHelper.java
+++ b/src/mai... | true | true | public void entityDamage(EntityDamageEvent event) {
Map<String, Object> context = new HashMap<String, Object>();
boolean isFatal = false;
dEntity entity = new dEntity(event.getEntity());
String entityType = entity.getEntityType().name();
String cause = event.getCause... | public void entityDamage(EntityDamageEvent event) {
Map<String, Object> context = new HashMap<String, Object>();
boolean isFatal = false;
dEntity entity = new dEntity(event.getEntity());
String entityType = entity.getEntityType().name();
String cause = event.getCause... |
diff --git a/modules/weblounge-common/src/main/java/ch/entwine/weblounge/common/impl/site/SiteActivator.java b/modules/weblounge-common/src/main/java/ch/entwine/weblounge/common/impl/site/SiteActivator.java
index b40ebea86..e6d258924 100644
--- a/modules/weblounge-common/src/main/java/ch/entwine/weblounge/common/impl/s... | true | true | private void activate(final BundleContext bundleContext,
final Map<String, String> properties) throws Exception {
logger.debug("Scanning bundle '{}' for site.xml", bundleContext.getBundle().getSymbolicName());
// Prepare schema validator
SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLC... | private void activate(final BundleContext bundleContext,
final Map<String, String> properties) throws Exception {
logger.debug("Scanning bundle '{}' for site.xml", bundleContext.getBundle().getSymbolicName());
// Prepare schema validator
SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLC... |
diff --git a/src/main/java/name/mariomueller/crucible/plugins/websvn/servlets/RepositoryConfigurationServlet.java b/src/main/java/name/mariomueller/crucible/plugins/websvn/servlets/RepositoryConfigurationServlet.java
index 30bb135..db400b5 100644
--- a/src/main/java/name/mariomueller/crucible/plugins/websvn/servlets/Re... | true | true | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
req.setAttribute("decorator", "atl.admin");
resp.setContentType("text/html");
Map<String, Object> params = new HashMap<String, Object>();
String repositoryKey = req.getParameter("websvn_repositoryKe... | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
req.setAttribute("decorator", "atl.admin");
resp.setContentType("text/html");
Map<String, Object> params = new HashMap<String, Object>();
String repositoryKey = req.getParameter("websvn_repositoryKe... |
diff --git a/src/main/org/testng/internal/BaseTestMethod.java b/src/main/org/testng/internal/BaseTestMethod.java
index 9c171f5..3ba14f0 100644
--- a/src/main/org/testng/internal/BaseTestMethod.java
+++ b/src/main/org/testng/internal/BaseTestMethod.java
@@ -1,599 +1,599 @@
package org.testng.internal;
import java.la... | true | true | protected void initGroups(Class<?> annotationClass) {
//
// Init groups
//
{
ITestOrConfiguration annotation =
(ITestOrConfiguration) getAnnotationFinder().findAnnotation(getMethod(),
annotationClass);
ITestOrConfiguration classAnnotation =
(ITestOrConfiguration... | protected void initGroups(Class<?> annotationClass) {
//
// Init groups
//
{
ITestOrConfiguration annotation =
(ITestOrConfiguration) getAnnotationFinder().findAnnotation(getMethod(),
annotationClass);
ITestOrConfiguration classAnnotation =
(ITestOrConfiguration... |
diff --git a/src/com/example/calculator/MainActivity.java b/src/com/example/calculator/MainActivity.java
index 9b7fe3c..9347984 100644
--- a/src/com/example/calculator/MainActivity.java
+++ b/src/com/example/calculator/MainActivity.java
@@ -1,1101 +1,1102 @@
package com.example.calculator;
import java.util.Locale;
... | true | true | public void send_equal(View view) {
TextView display_main = (TextView) findViewById(R.id.display_main);
TextView display_secondary = (TextView) findViewById(R.id.display_secondary);
TextView display_operation = (TextView) findViewById(R.id.display_operation);
operand2 = display_main.getText().toString();
lo... | public void send_equal(View view) {
TextView display_main = (TextView) findViewById(R.id.display_main);
TextView display_secondary = (TextView) findViewById(R.id.display_secondary);
TextView display_operation = (TextView) findViewById(R.id.display_operation);
operand2 = display_main.getText().toString();
lo... |
diff --git a/src/org/geworkbench/parsers/SOFTFileFormat.java b/src/org/geworkbench/parsers/SOFTFileFormat.java
index 307c8255..7a826a7a 100644
--- a/src/org/geworkbench/parsers/SOFTFileFormat.java
+++ b/src/org/geworkbench/parsers/SOFTFileFormat.java
@@ -1,501 +1,496 @@
package org.geworkbench.parsers;
import java.... | false | true | private DSMicroarraySet parseFile(File file)
throws InputFileFormatException, InterruptedIOException {
if (!checkFormat(file)) {
log
.info("SOFTFileFormat::getMArraySet - "
+ "Attempting to open a file that does not comply with the "
+ "GEO SOFT file format.");
throw new InputFileFormat... | private DSMicroarraySet parseFile(File file)
throws InputFileFormatException, InterruptedIOException {
if (!checkFormat(file)) {
log
.info("SOFTFileFormat::getMArraySet - "
+ "Attempting to open a file that does not comply with the "
+ "GEO SOFT file format.");
throw new InputFileFormat... |
diff --git a/src/oorlog/client/GmCards.java b/src/oorlog/client/GmCards.java
index f352c17..aae32bc 100644
--- a/src/oorlog/client/GmCards.java
+++ b/src/oorlog/client/GmCards.java
@@ -1,76 +1,77 @@
package oorlog.client;
import java.util.ArrayList;
import oorlog.shared.Card;
import oorlog.shared.Country;
impo... | true | true | public void turnIn(final ArrayList<Card> arrayList) {
locked=true;
gs.update();
gs.getGameService().turnIn(gs.getGame().getID(), arrayList, new AsyncCallback<Boolean>() {
@Override
public void onFailure(Throwable caught) {
Window.alert("Error while turning in cards");
locked=false;
gs.update()... | public void turnIn(final ArrayList<Card> arrayList) {
locked=true;
gs.update();
gs.getGameService().turnIn(gs.getGame().getID(), arrayList, new AsyncCallback<Boolean>() {
@Override
public void onFailure(Throwable caught) {
Window.alert("Error while turning in cards");
locked=false;
gs.update()... |
diff --git a/src/lapd/databases/neo4j/TypeDeducer.java b/src/lapd/databases/neo4j/TypeDeducer.java
index 733790b..10e76eb 100644
--- a/src/lapd/databases/neo4j/TypeDeducer.java
+++ b/src/lapd/databases/neo4j/TypeDeducer.java
@@ -1,153 +1,153 @@
package lapd.databases.neo4j;
import java.util.ArrayList;
import java.... | false | true | private Type getConstructorType() {
String name = currentNode.getProperty(PropertyNames.NODE).toString();
String adtName = currentNode.getProperty(PropertyNames.ADT).toString();
Type adt = typeStore.lookupAbstractDataType(adtName);
if (adt == null)
return typeFactory.nodeType();
Set<Type> potentialTypes... | private Type getConstructorType() {
String name = currentNode.getProperty(PropertyNames.NODE).toString();
String adtName = currentNode.getProperty(PropertyNames.ADT).toString();
Type adt = typeStore.lookupAbstractDataType(adtName);
if (adt == null)
return typeFactory.nodeType();
Set<Type> potentialTypes... |
diff --git a/src/au/com/addstar/truehardcore/TrueHardcore.java b/src/au/com/addstar/truehardcore/TrueHardcore.java
index c4774a3..c90ca75 100644
--- a/src/au/com/addstar/truehardcore/TrueHardcore.java
+++ b/src/au/com/addstar/truehardcore/TrueHardcore.java
@@ -1,978 +1,979 @@
package au.com.addstar.truehardcore;
/*
... | false | true | public void DoPlayerDeath(final Player player, PlayerDeathEvent event) {
final TrueHardcore plugin = this;
final World realworld = player.getWorld();
HardcorePlayer hcp = HCPlayers.Get(realworld, player);
final World world = getServer().getWorld(hcp.getWorld());
hcp.setState(PlayerState.DEAD);
hcp.setD... | public void DoPlayerDeath(final Player player, PlayerDeathEvent event) {
final TrueHardcore plugin = this;
final World realworld = player.getWorld();
HardcorePlayer hcp = HCPlayers.Get(realworld, player);
final World world = getServer().getWorld(hcp.getWorld());
hcp.setState(PlayerState.DEAD);
hcp.setD... |
diff --git a/StaXParser.java b/StaXParser.java
index b65bc42..ceeff66 100644
--- a/StaXParser.java
+++ b/StaXParser.java
@@ -1,271 +1,273 @@
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.In... | false | true | public void readConfig(String configFile) {
try {
Converter c = new Converter();
//input a note and string key and measure
//method "what_key" given (fifths and mode) outputs string which is the key
// First create a new XMLInputFactory
XMLInput... | public void readConfig(String configFile) {
try {
Converter c = new Converter();
//input a note and string key and measure
//method "what_key" given (fifths and mode) outputs string which is the key
// First create a new XMLInputFactory
XMLInput... |
diff --git a/src/mulan/classifier/transformation/PPT.java b/src/mulan/classifier/transformation/PPT.java
index 65aabb9..6bd4f97 100644
--- a/src/mulan/classifier/transformation/PPT.java
+++ b/src/mulan/classifier/transformation/PPT.java
@@ -1,191 +1,191 @@
/*
* This program is free software; you can redistribute ... | true | true | protected void buildInternal(MultiLabelInstances mlDataSet) throws Exception {
Instances data = mlDataSet.getDataSet();
int numInstances = data.numInstances();
// create a data structure that holds for each labelset a list with the
// corresponding instances
HashMap<LabelSe... | protected void buildInternal(MultiLabelInstances mlDataSet) throws Exception {
Instances data = mlDataSet.getDataSet();
int numInstances = data.numInstances();
// create a data structure that holds for each labelset a list with the
// corresponding instances
HashMap<LabelSe... |
diff --git a/src/com/wakemeski/core/Weather.java b/src/com/wakemeski/core/Weather.java
index 5454da0..f8b12af 100644
--- a/src/com/wakemeski/core/Weather.java
+++ b/src/com/wakemeski/core/Weather.java
@@ -1,127 +1,127 @@
/*
* Copyright (C) 2010 Dan Walkes, Andy Doan
*
* Licensed under the Apache License, Version... | true | true | private boolean meetsThreshold(SnowSettingsSharedPreference pref, Matcher m) {
/*
* Look for the upper accumulation value
*/
String snowTotalString = m.group(2);
int snowTotal =0;
if( snowTotalString != null ) {
try {
snowTotal = Integer.parseInt(snowTotalString);
} catch (Throwable t) {
Lo... | private boolean meetsThreshold(SnowSettingsSharedPreference pref, Matcher m) {
/*
* Look for the upper accumulation value
*/
String snowTotalString = m.group(m.groupCount());
int snowTotal =0;
if( snowTotalString != null ) {
try {
snowTotal = Integer.parseInt(snowTotalString);
} catch (Throwabl... |
diff --git a/src/com/csipsimple/ui/incall/CallProximityManager.java b/src/com/csipsimple/ui/incall/CallProximityManager.java
index dab0f0a3..e4bad991 100644
--- a/src/com/csipsimple/ui/incall/CallProximityManager.java
+++ b/src/com/csipsimple/ui/incall/CallProximityManager.java
@@ -1,318 +1,326 @@
/**
* Copyright (C... | false | true | CallProximityManager(Context context, ProximityDirector director, ScreenLocker screenLocker){
mContext = context;
mDirector = director;
mScreenLocker = screenLocker;
sensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE);
powerManager = (Pow... | CallProximityManager(Context context, ProximityDirector director, ScreenLocker screenLocker){
mContext = context;
mDirector = director;
mScreenLocker = screenLocker;
sensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE);
powerManager = (Pow... |
diff --git a/src/main/java/dk/nsi/sdm4/yder/parser/YderregisterSaxEventHandler.java b/src/main/java/dk/nsi/sdm4/yder/parser/YderregisterSaxEventHandler.java
index efae8a7..4405918 100644
--- a/src/main/java/dk/nsi/sdm4/yder/parser/YderregisterSaxEventHandler.java
+++ b/src/main/java/dk/nsi/sdm4/yder/parser/Yderregister... | true | true | private void processParsedRecord(Instant currentValidFrom, Instant currentValidTo,
RecordSpecification specification, Record currentRecord, String keyValue) {
////////////////////////////////////////////////////////////////////
// NOTE !!
// To understand... | private void processParsedRecord(Instant currentValidFrom, Instant currentValidTo,
RecordSpecification specification, Record currentRecord, String keyValue) {
////////////////////////////////////////////////////////////////////
// NOTE !!
// To understand... |
diff --git a/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java b/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java
index d28ec34..12b90d9 100644
--- a/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java
+++ b/src/uk/ac/gla/dcs/tp3/w/algorithm/Graph.java
@@ -1,280 +1,280 @@
package uk.ac.gla.dcs.tp3.w.algorithm;
import java.util.Lin... | true | true | public Graph(League l, Team t) {
if (l == null || t == null)
return;
// Number of team nodes is one less than total number of teams.
// The team nodes do not include the team being tested for elimination.
int teamTotal = l.getTeams().length;
// The r-combination of teamTotal for length 2 is the number of ... | public Graph(League l, Team t) {
if (l == null || t == null)
return;
// Number of team nodes is one less than total number of teams.
// The team nodes do not include the team being tested for elimination.
int teamTotal = l.getTeams().length;
// The r-combination of teamTotal for length 2 is the number of ... |
diff --git a/src/main/java/org/basex/build/xml/XMLParser.java b/src/main/java/org/basex/build/xml/XMLParser.java
index dd2e83c53..01e64b835 100644
--- a/src/main/java/org/basex/build/xml/XMLParser.java
+++ b/src/main/java/org/basex/build/xml/XMLParser.java
@@ -1,213 +1,214 @@
package org.basex.build.xml;
import sta... | true | true | private boolean parseTag() throws IOException {
// close element
if(scanner.type == Type.L_BR_CLOSE) {
scanner.more();
// get tag name
final byte[] tag = consumeToken(Type.ELEMNAME);
skipSpace();
if(tags.isEmpty()) throw new BuildException(OPEN, det(), tag);
final byte[] ... | private boolean parseTag() throws IOException {
// close element
if(scanner.type == Type.L_BR_CLOSE) {
scanner.more();
// get tag name
byte[] tag = consumeToken(Type.ELEMNAME);
if(stripNS) tag = local(tag);
skipSpace();
if(tags.isEmpty()) throw new BuildException(OPEN, de... |
diff --git a/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/workspace/AcceleoWorkspaceUtil.java b/plugins/org.eclipse.acceleo.common/src/org/eclipse/acceleo/common/internal/utils/workspace/AcceleoWorkspaceUtil.java
index 88f391aa..50f9cb77 100644
--- a/plugins/org.eclipse.acceleo.commo... | true | true | private void processBuildEvent(IResourceChangeEvent event) {
final IResourceDelta delta = event.getDelta();
switch (event.getBuildKind()) {
case IncrementalProjectBuilder.AUTO_BUILD:
// Nothing built in such cases
if (!ResourcesPlugin.getWorkspace().isAutoBuilding()) {
break;
}
// ... | private void processBuildEvent(IResourceChangeEvent event) {
final IResourceDelta delta = event.getDelta();
switch (event.getBuildKind()) {
case IncrementalProjectBuilder.AUTO_BUILD:
// Nothing built in such cases
if (!ResourcesPlugin.getWorkspace().isAutoBuilding()) {
break;
}
// ... |
diff --git a/Client.java b/Client.java
index 1056024..ff6266f 100644
--- a/Client.java
+++ b/Client.java
@@ -1,234 +1,234 @@
import java.net.*;
import java.io.*;
import java.util.*;
import java.util.regex.*;
public class Client{
public static void main(String[] args) throws IOException{
//File dir = n... | true | true | public void run(){
while(true){
try{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
URL url;
System.out.print("URL > ");
String input = r.readLine();
url = new URL(input);
String host = url.getHost();
int port = url.getPort();
String path = url.getPath();
... | public void run(){
while(true){
try{
BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1);
URL url;
System.out.print("URL > ");
String input = r.readLine();
url = new URL(input);
String host = url.getHost();
int port = url.getPort();
String path = url.getPath();
... |
diff --git a/src/main/java/ar/edu/itba/paw/grupo1/controller/QueryController.java b/src/main/java/ar/edu/itba/paw/grupo1/controller/QueryController.java
index 1869321..3b5f800 100644
--- a/src/main/java/ar/edu/itba/paw/grupo1/controller/QueryController.java
+++ b/src/main/java/ar/edu/itba/paw/grupo1/controller/QueryCon... | true | true | protected ModelAndView query(@Valid PropertyQuery propertyQuery, Errors errors)
throws ServletException, IOException {
ModelAndView mav = new ModelAndView();
if (errors.hasErrors()) {
propertyQuery = new PropertyQuery();
mav.addObject("invalidRange", true);
}
mav.addObject("queryResults", propertyS... | protected ModelAndView query(@Valid PropertyQuery propertyQuery, Errors errors)
throws ServletException, IOException {
ModelAndView mav = new ModelAndView();
if (errors.hasErrors()) {
propertyQuery = new PropertyQuery();
}
mav.addObject("queryResults", propertyService.query(propertyQuery));
return ... |
diff --git a/errai-common/src/main/java/org/jboss/errai/common/client/json/JSONEncoderCli.java b/errai-common/src/main/java/org/jboss/errai/common/client/json/JSONEncoderCli.java
index 4d90e3c0e..0459b5139 100644
--- a/errai-common/src/main/java/org/jboss/errai/common/client/json/JSONEncoderCli.java
+++ b/errai-common/... | false | true | public String _encode(Object v, EncodingContext ctx) {
if (v == null) {
return "null";
}
else if (v instanceof String) {
return "\"" + ((String) v).replaceAll("\\\\\"", "\\\\\\\\\"").replaceAll("\"", "\\\\\"") + "\"" +
"";
}
else if (v instanceof Number || v instanceof Boolea... | public String _encode(Object v, EncodingContext ctx) {
if (v == null) {
return "null";
}
else if (v instanceof String) {
return "\"" + ((String) v)
.replaceAll("\\\\\"", "\\\\\\\\\"")
.replaceAll("\"", "\\\\\"")
.replaceAll("\\\\", "\\\\\\\\\\\\\\\\") ... |
diff --git a/boltdb/src/main/java/edu/uiuc/boltdb/groupmembership/GroupMembership.java b/boltdb/src/main/java/edu/uiuc/boltdb/groupmembership/GroupMembership.java
index f50642b..e8582ef 100644
--- a/boltdb/src/main/java/edu/uiuc/boltdb/groupmembership/GroupMembership.java
+++ b/boltdb/src/main/java/edu/uiuc/boltdb/grou... | true | true | public static void main(String[] args) throws IOException {
if(args.length < 1 || !(args[0].equals("-contact"))) {
System.out.println("Usage: groupmembership -contact <true/false> [-id <id>]");
System.exit(1);
}
boolean isContact = false;
if(args[1].equals("true")) isContact = true;
if (arg... | public static void main(String[] args) throws IOException {
if(args.length < 1 || !(args[0].equals("-contact"))) {
System.out.println("Usage: groupmembership -contact <true/false> [-id <id>]");
System.exit(1);
}
boolean isContact = false;
if(args[1].equals("true")) isContact = true;
if (arg... |
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java
index ee80c08c6..b2eba6136 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ2149Test.java
+++ b/activemq-unit-tests/src/test/ja... | false | true | private void verifyOrderedMessageReceipt(byte destinationType, int concurrentPairs, boolean transactional) throws Exception {
Vector<Thread> threads = new Vector<Thread>();
Vector<Receiver> receivers = new Vector<Receiver>();
for (int i = 0; i < concurrentPairs; ++i) {
... | private void verifyOrderedMessageReceipt(byte destinationType, int concurrentPairs, boolean transactional) throws Exception {
Vector<Thread> threads = new Vector<Thread>();
Vector<Receiver> receivers = new Vector<Receiver>();
for (int i = 0; i < concurrentPairs; ++i) {
... |
diff --git a/src/net/finmath/optimizer/LevenbergMarquardt.java b/src/net/finmath/optimizer/LevenbergMarquardt.java
index 4d1349a4..6fac026f 100755
--- a/src/net/finmath/optimizer/LevenbergMarquardt.java
+++ b/src/net/finmath/optimizer/LevenbergMarquardt.java
@@ -1,518 +1,517 @@
/*
* (c) Copyright Christian P. Fries,... | false | true | public void run() throws SolverException {
// Create an executor for concurrent evaluation of derivatives
if(numberOfThreads > 1) executor = Executors.newFixedThreadPool(numberOfThreads);
// Allocate memory
parameterTest = initialParameters.clone();
int numberOfParameters = initialParameters.length;
int ... | public void run() throws SolverException {
// Create an executor for concurrent evaluation of derivatives
if(numberOfThreads > 1) executor = Executors.newFixedThreadPool(numberOfThreads);
// Allocate memory
parameterTest = initialParameters.clone();
int numberOfParameters = initialParameters.length;
int ... |
diff --git a/gvlabs-soap-utils/src/org/gvlabs/utils/soap/SoapClient.java b/gvlabs-soap-utils/src/org/gvlabs/utils/soap/SoapClient.java
index 5f44941..14b5d23 100644
--- a/gvlabs-soap-utils/src/org/gvlabs/utils/soap/SoapClient.java
+++ b/gvlabs-soap-utils/src/org/gvlabs/utils/soap/SoapClient.java
@@ -1,94 +1,94 @@
pack... | true | true | public String invokeOperation(String operation, String input) throws UnsupportedOperationException, SOAPException, ParserConfigurationException, SAXException, IOException, TransformerException {
String response = null;
SOAPConnection connection = null;
try {
// Connection
SOAPConnectionFactory soaConnFacto... | public String invokeOperation(String operation, String input) throws UnsupportedOperationException, SOAPException, ParserConfigurationException, SAXException, IOException, TransformerException {
String response = null;
SOAPConnection connection = null;
try {
// Connection
SOAPConnectionFactory soaConnFacto... |
diff --git a/CASi/src/de/uniluebeck/imis/casi/ui/simplegui/ViewMenu.java b/CASi/src/de/uniluebeck/imis/casi/ui/simplegui/ViewMenu.java
index d7d74e1..26f0cb5 100644
--- a/CASi/src/de/uniluebeck/imis/casi/ui/simplegui/ViewMenu.java
+++ b/CASi/src/de/uniluebeck/imis/casi/ui/simplegui/ViewMenu.java
@@ -1,108 +1,108 @@
/*... | true | true | public ViewMenu() {
super("View");
paintSensorsItem = new JRadioButtonMenuItem("Show sensors/actuators");
paintSensorsItem.setSelected(CASi.DEV_MODE);
paintSensorsItem.setActionCommand("paintSensors");
add(paintSensorsItem);
paintSensorMonitoringAreaItem = new JRadioButtonMenuItem(
"Show sensor/actu... | public ViewMenu() {
super("View");
paintSensorsItem = new JRadioButtonMenuItem("Show sensors/actuators");
paintSensorsItem.setSelected(true);
paintSensorsItem.setActionCommand("paintSensors");
add(paintSensorsItem);
paintSensorMonitoringAreaItem = new JRadioButtonMenuItem(
"Show sensor/actuator area... |
diff --git a/wings/src/org/wings/externalizer/AbstractExternalizeManager.java b/wings/src/org/wings/externalizer/AbstractExternalizeManager.java
index 0833cd03..46c7405c 100644
--- a/wings/src/org/wings/externalizer/AbstractExternalizeManager.java
+++ b/wings/src/org/wings/externalizer/AbstractExternalizeManager.java
@... | false | true | public void deliver(ExternalizedResource extInfo, HttpServletResponse response,
Device out)
throws IOException
{
/* FIXME: re-implement.
if ( extInfo.deliverOnce() ) {
removeExternalizedResource(identifier);
}
*/
response.setC... | public void deliver(ExternalizedResource extInfo, HttpServletResponse response,
Device out)
throws IOException
{
/* FIXME: re-implement.
if ( extInfo.deliverOnce() ) {
removeExternalizedResource(identifier);
}
*/
response.setC... |
diff --git a/src/me/libraryaddict/disguise/PacketsManager.java b/src/me/libraryaddict/disguise/PacketsManager.java
index d8583d3..1fbce37 100644
--- a/src/me/libraryaddict/disguise/PacketsManager.java
+++ b/src/me/libraryaddict/disguise/PacketsManager.java
@@ -1,1230 +1,1230 @@
package me.libraryaddict.disguise;
im... | false | true | protected static void init(LibsDisguises plugin) {
libsDisguises = plugin;
soundsListener = new PacketAdapter(libsDisguises, ConnectionSide.SERVER_SIDE, ListenerPriority.NORMAL,
Packets.Server.NAMED_SOUND_EFFECT, Packets.Server.ENTITY_STATUS) {
@Override
publi... | protected static void init(LibsDisguises plugin) {
libsDisguises = plugin;
soundsListener = new PacketAdapter(libsDisguises, ConnectionSide.SERVER_SIDE, ListenerPriority.NORMAL,
Packets.Server.NAMED_SOUND_EFFECT, Packets.Server.ENTITY_STATUS) {
@Override
publi... |
diff --git a/src/main/java/com/wormhole_xtreme/config/Configuration.java b/src/main/java/com/wormhole_xtreme/config/Configuration.java
index 4e3e4aa..33d5bbe 100644
--- a/src/main/java/com/wormhole_xtreme/config/Configuration.java
+++ b/src/main/java/com/wormhole_xtreme/config/Configuration.java
@@ -1,321 +1,325 @@
/*... | true | true | private static void ReadFile(File file, PluginDescriptionFile desc) throws IOException
{
for (int i = 0; i < DefaultSettings.config.length; i++)
{
String value = ConfigurationFlatFile.getValueFromSetting( file, DefaultSettings.config[i].getName(),DefaultSettings.config[i].getValue().toString());
... | private static void ReadFile(File file, PluginDescriptionFile desc) throws IOException
{
for (int i = 0; i < DefaultSettings.config.length; i++)
{
String value = ConfigurationFlatFile.getValueFromSetting( file, DefaultSettings.config[i].getName(),DefaultSettings.config[i].getValue().toString());
... |
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/DLTKUIPlugin.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/DLTKUIPlugin.java
index f3eebbaaf..047ccaf13 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/ui/DLTKUIPlugin.java
+++ b/core/plugins/org.eclipse.dltk.ui/s... | true | true | public void start(BundleContext context) throws Exception {
super.start(context);
WorkingCopyOwner.setPrimaryBufferProvider(new WorkingCopyOwner() {
public IBuffer createBuffer(ISourceModule workingCopy) {
ISourceModule original = workingCopy.getPrimary();
IResource resource = original.getResource();
... | public void start(BundleContext context) throws Exception {
super.start(context);
WorkingCopyOwner.setPrimaryBufferProvider(new WorkingCopyOwner() {
public IBuffer createBuffer(ISourceModule workingCopy) {
ISourceModule original = workingCopy.getPrimary();
IResource resource = original.getResource();
... |
diff --git a/navit/navit/android/src/org/navitproject/navit/Navit.java b/navit/navit/android/src/org/navitproject/navit/Navit.java
index 2b588f9a..e0f289ad 100644
--- a/navit/navit/android/src/org/navitproject/navit/Navit.java
+++ b/navit/navit/android/src/org/navitproject/navit/Navit.java
@@ -1,667 +1,667 @@
/**
* ... | true | true | public void onResume()
{
super.onResume();
Log.e("Navit", "OnResume");
//InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
NavitActivity(1);
String intent_data = null;
if (startup_intent != null)
{
if (System.currentTimeMillis() <= Navit.startup_intent_tim... | public void onResume()
{
super.onResume();
Log.e("Navit", "OnResume");
//InputMethodManager mgr = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
NavitActivity(1);
String intent_data = null;
if (startup_intent != null)
{
if (System.currentTimeMillis() <= Navit.startup_intent_tim... |
diff --git a/src/com/facebook/buck/shell/GenerateShellScriptStep.java b/src/com/facebook/buck/shell/GenerateShellScriptStep.java
index 2f28a8b923..860cf045cc 100644
--- a/src/com/facebook/buck/shell/GenerateShellScriptStep.java
+++ b/src/com/facebook/buck/shell/GenerateShellScriptStep.java
@@ -1,137 +1,137 @@
/*
* C... | true | true | public int execute(ExecutionContext context) {
List<String> lines = Lists.newArrayList();
// Run with -e so the script will fail if any of the steps fail.
lines.add("#!/bin/sh");
lines.add("set -e");
// This script can be cached and used on machines other than the one where it was created. That
... | public int execute(ExecutionContext context) {
List<String> lines = Lists.newArrayList();
// Run with -e so the script will fail if any of the steps fail.
lines.add("#!/bin/bash");
lines.add("set -e");
// This script can be cached and used on machines other than the one where it was created. That... |
diff --git a/MonitoringGae/src/main/java/cmg/org/monitor/app/schedule/MailServiceScheduler.java b/MonitoringGae/src/main/java/cmg/org/monitor/app/schedule/MailServiceScheduler.java
index 7a2abfb..5e0ca52 100644
--- a/MonitoringGae/src/main/java/cmg/org/monitor/app/schedule/MailServiceScheduler.java
+++ b/MonitoringGae/... | true | true | public void doSchedule() {
// BEGIN LOG
long start = System.currentTimeMillis();
logger.log(Level.INFO, MonitorUtil.parseTime(start, true)
+ " -> START: Scheduled send alert mail ...");
// BEGIN LOG
String alertName = MonitorConstant.ALERTSTORE_DEFAULT_NAME + ": "
+ MonitorUtil.parseTime(start, false... | public void doSchedule() {
// BEGIN LOG
long start = System.currentTimeMillis();
logger.log(Level.INFO, MonitorUtil.parseTime(start, true)
+ " -> START: Scheduled send alert mail ...");
// BEGIN LOG
String alertName = MonitorConstant.ALERTSTORE_DEFAULT_NAME + ": "
+ MonitorUtil.parseTime(start, false... |
diff --git a/src/edu/common/dynamicextensions/util/parser/ImportPermissibleValues.java b/src/edu/common/dynamicextensions/util/parser/ImportPermissibleValues.java
index fa6f0fa1f..c89fe8cff 100644
--- a/src/edu/common/dynamicextensions/util/parser/ImportPermissibleValues.java
+++ b/src/edu/common/dynamicextensions/util... | true | true | public void importValues() throws DynamicExtensionsApplicationException, DynamicExtensionsSystemException, ParseException
{
CategoryHelperInterface categoryHelper = new CategoryHelper();
try
{
while (categoryCSVFileParser.readNext())
{
//first line in the categopry file is Category_Definition
if ... | public void importValues() throws DynamicExtensionsApplicationException, DynamicExtensionsSystemException, ParseException
{
CategoryHelperInterface categoryHelper = new CategoryHelper();
try
{
while (categoryCSVFileParser.readNext())
{
//first line in the categopry file is Category_Definition
if ... |
diff --git a/src/main/java/name/richardson/james/bukkit/utilities/updater/BukkitDevPluginUpdater.java b/src/main/java/name/richardson/james/bukkit/utilities/updater/BukkitDevPluginUpdater.java
index d9d5996..aef5431 100644
--- a/src/main/java/name/richardson/james/bukkit/utilities/updater/BukkitDevPluginUpdater.java
++... | true | true | public void run() {
try {
URLConnection urlConnection = getConnection(API_HOST + API_QUERY + projectId);
final BufferedReader reader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));
String response = reader.readLine();
JSONArray array = (JSONArray) JSONValue.parse(response);
... | public void run() {
try {
URLConnection urlConnection = getConnection(API_HOST + API_QUERY + projectId);
final BufferedReader reader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));
String response = reader.readLine();
JSONArray array = (JSONArray) JSONValue.parse(response);
... |
diff --git a/src/main/java/fi/csc/microarray/client/visualisation/methods/gbrowser/View.java b/src/main/java/fi/csc/microarray/client/visualisation/methods/gbrowser/View.java
index 69cd5cf42..c71ce7517 100644
--- a/src/main/java/fi/csc/microarray/client/visualisation/methods/gbrowser/View.java
+++ b/src/main/java/fi/cs... | true | true | protected void drawView(Graphics2D g, boolean isAnimation) {
if (bpRegion == null) {
setBpRegion(new BpCoordRegionDouble(0d, 1024 * 1024 * 250d, new Chromosome("1")), false);
}
showFullHeight = parentPlot.isFullHeight();
// Recalculate track heights
updateTrackHeights();
viewArea = g.getClipBounds... | protected void drawView(Graphics2D g, boolean isAnimation) {
if (bpRegion == null) {
setBpRegion(new BpCoordRegionDouble(0d, 1024 * 1024 * 250d, new Chromosome("1")), false);
}
showFullHeight = parentPlot.isFullHeight();
// Recalculate track heights
updateTrackHeights();
viewArea = g.getClipBounds... |
diff --git a/src/innuinfocomm/AddLedgerController.java b/src/innuinfocomm/AddLedgerController.java
index 0b5bc1c..db1f685 100644
--- a/src/innuinfocomm/AddLedgerController.java
+++ b/src/innuinfocomm/AddLedgerController.java
@@ -1,228 +1,228 @@
/**
* Sample Skeleton for "AddLedger.fxml" Controller Class
* You can ... | true | true | void handleSaveButton(ActionEvent event) {
// get all the data and save to Database
//write code here to check if the dabase is working or not
EntityManagerFactory emf = Persistence.createEntityManagerFactory("InnuInfocommPU");
EntityManager em = emf.createEntityManager();
... | void handleSaveButton(ActionEvent event) {
// get all the data and save to Database
//write code here to check if the dabase is working or not
EntityManagerFactory emf = Persistence.createEntityManagerFactory("InnuInfocommPU");
EntityManager em = emf.createEntityManager();
... |
diff --git a/buildhealth.analysers/src/org/pescuma/buildhealth/analyser/utils/BuildHealthAnalyserUtils.java b/buildhealth.analysers/src/org/pescuma/buildhealth/analyser/utils/BuildHealthAnalyserUtils.java
index 5e298fc..c714afc 100644
--- a/buildhealth.analysers/src/org/pescuma/buildhealth/analyser/utils/BuildHealthAna... | true | true | public static <T extends TreeStats> Collection<SimpleTree<T>.Node> sort(Collection<SimpleTree<T>.Node> nodes) {
List<SimpleTree<T>.Node> result = new ArrayList<SimpleTree<T>.Node>(nodes);
Collections.sort(result, new Comparator<SimpleTree<T>.Node>() {
@Override
public int compare(SimpleTree<T>.Node o1,... | public static <T extends TreeStats> Collection<SimpleTree<T>.Node> sort(Collection<SimpleTree<T>.Node> nodes) {
List<SimpleTree<T>.Node> result = new ArrayList<SimpleTree<T>.Node>(nodes);
Collections.sort(result, new Comparator<SimpleTree<T>.Node>() {
@Override
public int compare(SimpleTree<T>.Node o1,... |
diff --git a/src/com/mikebevz/upnp/mediaserver1/activities/ContainerListActivity.java b/src/com/mikebevz/upnp/mediaserver1/activities/ContainerListActivity.java
index 01a7b19..2264a98 100644
--- a/src/com/mikebevz/upnp/mediaserver1/activities/ContainerListActivity.java
+++ b/src/com/mikebevz/upnp/mediaserver1/activitie... | false | true | public void onItemClick(AdapterView<?> av, View view, int position, long id) {
String cclass = adapter.getContainers().get(position).getCclass();
Log.d("CClass", cclass);
if (cclass.matches(CONTAINER_STORAGE_FOLDER) || cclass.matches(CONTAINER_PHOTO_ALBUM)
|| cclass.m... | public void onItemClick(AdapterView<?> av, View view, int position, long id) {
String cclass = adapter.getContainers().get(position).getCclass();
Log.d("CClass", cclass);
if (cclass.matches(CONTAINER_STORAGE_FOLDER) || cclass.matches(CONTAINER_PHOTO_ALBUM)
|| cclass.m... |
diff --git a/src/main/java/de/cismet/cids/custom/objecteditors/utils/VermessungRissUtils.java b/src/main/java/de/cismet/cids/custom/objecteditors/utils/VermessungRissUtils.java
index e6912684..66bb50d9 100644
--- a/src/main/java/de/cismet/cids/custom/objecteditors/utils/VermessungRissUtils.java
+++ b/src/main/java/de/c... | false | true | public static void setFluerstueckKickerInVermessung(final CidsBean vermessung) throws ConnectionException,
Exception {
final Object tmp = vermessung.getProperty("tmp_lp_orig");
if (tmp instanceof CidsBean) {
// For each object find the corresponding kicker
String gem... | public static void setFluerstueckKickerInVermessung(final CidsBean vermessung) throws ConnectionException,
Exception {
final Object tmp = vermessung.getProperty("tmp_lp_orig");
if (tmp instanceof CidsBean) {
// For each object find the corresponding kicker
String gem... |
diff --git a/src/main/java/me/arno/blocklog/logs/InteractionEntry.java b/src/main/java/me/arno/blocklog/logs/InteractionEntry.java
index ebaef60..2d50e50 100644
--- a/src/main/java/me/arno/blocklog/logs/InteractionEntry.java
+++ b/src/main/java/me/arno/blocklog/logs/InteractionEntry.java
@@ -1,43 +1,43 @@
package me.a... | false | true | public void save(Connection conn) {
try {
Query query = new Query("blocklog_interactions");
HashMap<String, Object> values = new HashMap<String, Object>();
values.put("player", getPlayer());
values.put("block", getBlock());
values.put("world", getWorld());
values.put("x", getZ());
values.put... | public void save(Connection conn) {
try {
Query query = new Query("blocklog_interactions");
HashMap<String, Object> values = new HashMap<String, Object>();
values.put("player", getPlayer());
values.put("block", getBlock());
values.put("world", getWorld());
values.put("x", getX());
values.put... |
diff --git a/projects/typetools/src/test/java/org/nohope/SeriesElementTest.java b/projects/typetools/src/test/java/org/nohope/SeriesElementTest.java
index cd3cfb1..960de31 100644
--- a/projects/typetools/src/test/java/org/nohope/SeriesElementTest.java
+++ b/projects/typetools/src/test/java/org/nohope/SeriesElementTest.... | false | true | public void serialization() {
final DateTime date = DateTime.parse("2000-01-01T01:01:01.001");
final SeriesElement<Integer> e = new SeriesElement<>(date, 1);
assertEquals("{\"timestamp\":946666861001,\"value\":1}", e.toString());
final SeriesElement<Integer> mongoCloned = Serializati... | public void serialization() {
final DateTime date = DateTime.parse("2000-01-01T01:01:01.001Z");
final SeriesElement<Integer> e = new SeriesElement<>(date, 1);
assertEquals("{\"timestamp\":946688461001,\"value\":1}", e.toString());
final SeriesElement<Integer> mongoCloned = Serializat... |
diff --git a/tizzit-cocoon22-components/src/main/java/de/juwimm/cms/cocoon/acting/HostSelectorAction.java b/tizzit-cocoon22-components/src/main/java/de/juwimm/cms/cocoon/acting/HostSelectorAction.java
index 5367e56d..5ee1c244 100644
--- a/tizzit-cocoon22-components/src/main/java/de/juwimm/cms/cocoon/acting/HostSelector... | true | true | public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception {
if (log.isDebugEnabled()) log.debug("start acting");
try {
webSpringBean = (WebServiceSpring) CocoonSpringHelper.getBean(objectModel, CocoonSpringHelper.WEB_SERVICE_SPRING);
... | public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception {
if (log.isDebugEnabled()) log.debug("start acting");
try {
webSpringBean = (WebServiceSpring) CocoonSpringHelper.getBean(objectModel, CocoonSpringHelper.WEB_SERVICE_SPRING);
... |
diff --git a/common/silentAbyss/item/ModBook.java b/common/silentAbyss/item/ModBook.java
index 03041aa..0b32641 100644
--- a/common/silentAbyss/item/ModBook.java
+++ b/common/silentAbyss/item/ModBook.java
@@ -1,151 +1,151 @@
package silentAbyss.item;
import java.nio.file.Path;
import java.nio.file.Paths;
import j... | false | true | private static NBTTagCompound tagForBook(int meta) {
// It would be better to read from a file, but MC is not cooperating >_<
switch (meta) {
case 0: {
NBTTagCompound tags = new NBTTagCompound();
tags.setString("title", "An Attempt to Explain Sigils"... | private static NBTTagCompound tagForBook(int meta) {
// It would be better to read from a file, but MC is not cooperating >_<
switch (meta) {
case 0: {
NBTTagCompound tags = new NBTTagCompound();
tags.setString("title", "An Attempt to Explain Sigils"... |
diff --git a/javamelody-core/src/main/java/net/bull/javamelody/CounterError.java b/javamelody-core/src/main/java/net/bull/javamelody/CounterError.java
index 84a5e94f..8447b164 100644
--- a/javamelody-core/src/main/java/net/bull/javamelody/CounterError.java
+++ b/javamelody-core/src/main/java/net/bull/javamelody/Counter... | true | true | CounterError(String message, String stackTrace) {
super();
assert message != null;
this.time = System.currentTimeMillis();
this.message = message;
this.stackTrace = stackTrace;
final HttpServletRequest currentRequest = getCurrentRequest();
if (currentRequest == null) {
this.remoteUser = null;
this.... | CounterError(String message, String stackTrace) {
super();
assert message != null;
this.time = System.currentTimeMillis();
this.message = message;
this.stackTrace = stackTrace;
final HttpServletRequest currentRequest = getCurrentRequest();
if (currentRequest == null) {
this.remoteUser = null;
this.... |
diff --git a/src/instructions/USI_NEWLC.java b/src/instructions/USI_NEWLC.java
index 3aa63e5..2bb85ce 100644
--- a/src/instructions/USI_NEWLC.java
+++ b/src/instructions/USI_NEWLC.java
@@ -1,93 +1,93 @@
package instructions;
import assemblernator.Instruction;
import assemblernator.Module;
/**
* The NEWLC inst... | true | true | @Override public int getNewLC(int lc, Module mod) {
return (hasOperand("FC")?lc+mod.evaluate(getOperand("FC")):mod.getAddress(getOperand("LR")));
}
| @Override public int getNewLC(int lc, Module mod) {
return (hasOperand("FC")?mod.evaluate(getOperand("FC")):mod.getAddress(getOperand("LR")));
}
|
diff --git a/illacommon/src/illarion/common/gui/AbstractMultiActionHelper.java b/illacommon/src/illarion/common/gui/AbstractMultiActionHelper.java
index 43c5ed91..0a0808e5 100644
--- a/illacommon/src/illarion/common/gui/AbstractMultiActionHelper.java
+++ b/illacommon/src/illarion/common/gui/AbstractMultiActionHelper.ja... | true | true | public final void pulse() {
actionCount++;
if ((actionCount < countLimit) && (countLimit > -1)) {
timer.restart();
} else {
run();
}
}
| public final void pulse() {
actionCount++;
if ((actionCount < countLimit) || (countLimit == -1)) {
timer.restart();
} else {
run();
}
}
|
diff --git a/GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java b/GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java
index 24e9c6d65..2ec8ec86b 100644
--- a/GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java
+++ b/GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServ... | false | true | public void doGet(HttpServletRequest req, HttpServletResponse resp) {
String action = req.getParameter("action");
if ("setupTestUser".equals(action)) {
setupTestUser();
} else if ("computeDistanceAlongBearing".equals(action)) {
com.gallatinsystems.gis.coordinate.utilities.CoordinateUtilities cu = new Coord... | public void doGet(HttpServletRequest req, HttpServletResponse resp) {
String action = req.getParameter("action");
if ("setupTestUser".equals(action)) {
setupTestUser();
} else if ("computeDistanceAlongBearing".equals(action)) {
com.gallatinsystems.gis.coordinate.utilities.CoordinateUtilities cu = new Coord... |
diff --git a/src/test/java/com/redpill_linpro/component/smb/FromFileToSmbTest.java b/src/test/java/com/redpill_linpro/component/smb/FromFileToSmbTest.java
index 48018f7..b254755 100644
--- a/src/test/java/com/redpill_linpro/component/smb/FromFileToSmbTest.java
+++ b/src/test/java/com/redpill_linpro/component/smb/FromFi... | false | true | public void setUpFileSystem() throws Exception {
logoOne = createStrictMock(SmbFile.class);
logoTwo = createStrictMock(SmbFile.class);
rootDir = createStrictMock(SmbFile.class);
mockOutputStream = createMock(SmbFileOutputStream.class);
expect(rootDir.exists()).andReturn(true).times(2);
expect(logoOne.ge... | public void setUpFileSystem() throws Exception {
logoOne = createStrictMock(SmbFile.class);
logoTwo = createStrictMock(SmbFile.class);
rootDir = createStrictMock(SmbFile.class);
mockOutputStream = createMock(SmbFileOutputStream.class);
expect(rootDir.exists()).andReturn(true).times(2);
expect(logoOne.ex... |
diff --git a/org.emftext.sdk.concretesyntax.resource.cs/src/org/emftext/sdk/concretesyntax/resource/cs/analysis/TerminalFeatureReferenceResolver.java b/org.emftext.sdk.concretesyntax.resource.cs/src/org/emftext/sdk/concretesyntax/resource/cs/analysis/TerminalFeatureReferenceResolver.java
index 3c79d8145..2fb3c235e 1007... | true | true | private void doResolveFeature(Terminal container, GenFeatureFilter filter, String identifier, ICsReferenceResolveResult<GenFeature> result) {
Rule rule = getContainingRule(container);
if (rule == null) {
return;
}
GenClass metaclass = rule.getMetaclass();
if (metaclass.eIsProxy()) {
return;
}
if... | private void doResolveFeature(Terminal container, GenFeatureFilter filter, String identifier, ICsReferenceResolveResult<GenFeature> result) {
Rule rule = getContainingRule(container);
if (rule == null) {
return;
}
GenClass metaclass = rule.getMetaclass();
if (metaclass.eIsProxy()) {
return;
}
if... |
diff --git a/deegree-datastores/deegree-featurestore/deegree-featurestore-commons/src/main/java/org/deegree/feature/persistence/sql/SQLFeatureStoreTransaction.java b/deegree-datastores/deegree-featurestore/deegree-featurestore-commons/src/main/java/org/deegree/feature/persistence/sql/SQLFeatureStoreTransaction.java
ind... | true | true | public List<String> performInsert( FeatureCollection fc, IDGenMode mode )
throws FeatureStoreException {
LOG.debug( "performInsert()" );
Set<Geometry> geometries = new LinkedHashSet<Geometry>();
Set<Feature> features = new LinkedHashSet<Feature>();
Set<S... | public List<String> performInsert( FeatureCollection fc, IDGenMode mode )
throws FeatureStoreException {
LOG.debug( "performInsert()" );
Set<Geometry> geometries = new LinkedHashSet<Geometry>();
Set<Feature> features = new LinkedHashSet<Feature>();
Set<S... |
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 4a7d0403b..446d44e7a 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1,2272 +1,2272 @@
/*
* Copyright (C) 200... | true | true | private void onStartInputViewInternal(EditorInfo editorInfo, boolean restarting) {
super.onStartInputView(editorInfo, restarting);
final KeyboardSwitcher switcher = mKeyboardSwitcher;
final MainKeyboardView mainKeyboardView = switcher.getMainKeyboardView();
if (editorInfo == null) {... | private void onStartInputViewInternal(EditorInfo editorInfo, boolean restarting) {
super.onStartInputView(editorInfo, restarting);
final KeyboardSwitcher switcher = mKeyboardSwitcher;
final MainKeyboardView mainKeyboardView = switcher.getMainKeyboardView();
if (editorInfo == null) {... |
diff --git a/src/FE_SRC_COMMON/com/ForgeEssentials/core/moduleLauncher/ModuleLauncher.java b/src/FE_SRC_COMMON/com/ForgeEssentials/core/moduleLauncher/ModuleLauncher.java
index 338b1168e..3ccaba783 100644
--- a/src/FE_SRC_COMMON/com/ForgeEssentials/core/moduleLauncher/ModuleLauncher.java
+++ b/src/FE_SRC_COMMON/com/For... | true | true | public void preLoad(FMLPreInitializationEvent e)
{
OutputHandler.SOP("Discovering and loading modules...");
OutputHandler.SOP("If you would like to disable a module, please look in ForgeEssentials/main.cfg.");
// started ASM handling for the module loaidng.
Set<ASMData> data = e.getAsmData().getAll(FEModule.... | public void preLoad(FMLPreInitializationEvent e)
{
OutputHandler.SOP("Discovering and loading modules...");
OutputHandler.SOP("If you would like to disable a module, please look in ForgeEssentials/main.cfg.");
// started ASM handling for the module loaidng.
Set<ASMData> data = e.getAsmData().getAll(FEModule.... |
diff --git a/src/turtle/behavior/turtle/Attacker.java b/src/turtle/behavior/turtle/Attacker.java
index df6f91b..63cf461 100644
--- a/src/turtle/behavior/turtle/Attacker.java
+++ b/src/turtle/behavior/turtle/Attacker.java
@@ -1,52 +1,52 @@
/*
* This file is part of the Turtle project
*
* (c) 2011 Julien Brochet <... | true | true | public Vector2D getNextSpeedVector(long elapsedTime)
{
Vector2D vector = new Vector2D();
Ball ball = mField.getBall();
Point2D turtlePosition = mTurtle.getPosition();
Point2D ballPosition = ball.getPosition();
// The ball is near the player
if (mTurtle.isAround(... | public Vector2D getNextSpeedVector(long elapsedTime)
{
Vector2D vector = new Vector2D();
Ball ball = mField.getBall();
Point2D turtlePosition = mTurtle.getPosition();
Point2D ballPosition = ball.getPosition();
// The ball is near the player
if (mTurtle.isAround(... |
diff --git a/src/uq/deco7381/runspyrun/model/ListAdapter_defence.java b/src/uq/deco7381/runspyrun/model/ListAdapter_defence.java
index bb0d8b2..2db61c1 100644
--- a/src/uq/deco7381/runspyrun/model/ListAdapter_defence.java
+++ b/src/uq/deco7381/runspyrun/model/ListAdapter_defence.java
@@ -1,208 +1,210 @@
package uq.dec... | true | true | public View getView(int position, View convertView, ViewGroup parent) {
// TODO Auto-generated method stub
/*
* Set up view holder
*/
ViewHolder holder = null;
if (convertView != null){
holder = (ViewHolder) convertView.getTag();
}else {
convertView = mInflater.inflate(R.layout.list_tag_defenc... | public View getView(int position, View convertView, ViewGroup parent) {
// TODO Auto-generated method stub
/*
* Set up view holder
*/
ViewHolder holder = null;
if (convertView != null){
holder = (ViewHolder) convertView.getTag();
}else {
convertView = mInflater.inflate(R.layout.list_tag_defenc... |
diff --git a/atlas-web/src/main/java/uk/ac/ebi/gxa/web/controller/ExperimentViewController.java b/atlas-web/src/main/java/uk/ac/ebi/gxa/web/controller/ExperimentViewController.java
index 6136fdc76..8e47d3a70 100644
--- a/atlas-web/src/main/java/uk/ac/ebi/gxa/web/controller/ExperimentViewController.java
+++ b/atlas-web/... | true | true | public String getExperimentTable(
@RequestParam("eid") String accession,
@RequestParam(value = "ad", required = false) String adAcc,
@RequestParam(value = "gid", required = false) String gid,
@RequestParam(value = "ef", required = false) String ef,
@Reques... | public String getExperimentTable(
@RequestParam("eid") String accession,
@RequestParam(value = "ad", required = false) String adAcc,
@RequestParam(value = "gid", required = false) String gid,
@RequestParam(value = "ef", required = false) String ef,
@Reques... |
diff --git a/src/main/java/ruby/RubyPlugin.java b/src/main/java/ruby/RubyPlugin.java
index 2629aa4..f2a867a 100644
--- a/src/main/java/ruby/RubyPlugin.java
+++ b/src/main/java/ruby/RubyPlugin.java
@@ -1,180 +1,183 @@
package ruby;
import hudson.ExtensionComponent;
import hudson.Plugin;
import hudson.model.Items;
... | true | true | public void start() throws Exception {
if (getWrapper().getShortName().equals("ruby-runtime")) {
ruby = new ScriptingContainerHolder().ruby;
// Kohsuke: these 3 lines aren't really working. it still requires me to locally install json
Map<String, String> env = new HashMap<S... | public void start() throws Exception {
if (getWrapper().getShortName().equals("ruby-runtime")) {
ruby = new ScriptingContainerHolder().ruby;
// Kohsuke: these 3 lines aren't really working. it still requires me to locally install json
Map<String, String> env = new HashMap<S... |
diff --git a/src/main/java/edu/ucsf/rbvi/structureViz2/internal/model/StructureManager.java b/src/main/java/edu/ucsf/rbvi/structureViz2/internal/model/StructureManager.java
index cd3ad51..159686c 100644
--- a/src/main/java/edu/ucsf/rbvi/structureViz2/internal/model/StructureManager.java
+++ b/src/main/java/edu/ucsf/rbv... | true | true | public boolean openStructures(CyNetwork network,
Map<CyIdentifiable, List<String>> chimObjNames, ModelType type) {
if (network == null || chimObjNames.size() == 0) {
return false;
} else if (!chimeraManager.isChimeraLaunched()
&& !chimeraManager.launchChimera(getChimeraPaths(network))) {
logger.error(... | public boolean openStructures(CyNetwork network,
Map<CyIdentifiable, List<String>> chimObjNames, ModelType type) {
if (network == null || chimObjNames.size() == 0) {
return false;
} else if (!chimeraManager.isChimeraLaunched()
&& !chimeraManager.launchChimera(getChimeraPaths(network))) {
logger.error(... |
diff --git a/tests/src/test/java/r/PackageArtifactTest.java b/tests/src/test/java/r/PackageArtifactTest.java
index 5134f709b..3f039fcc9 100644
--- a/tests/src/test/java/r/PackageArtifactTest.java
+++ b/tests/src/test/java/r/PackageArtifactTest.java
@@ -1,20 +1,19 @@
package r;
import java.io.IOException;
import ... | true | true | public void test() throws IOException {
Context context = Context.newTopLevelContext();
context.init();
RParser.parseSource("library(aspect, verbose=TRUE)\n")
.evaluate(context, context.getEnvironment());
}
| public void test() throws IOException {
Context context = Context.newTopLevelContext();
context.init();
context.evaluate(RParser.parseSource("library(aspect, verbose=TRUE)\n"));
}
|
diff --git a/src/b/tree/BTree.java b/src/b/tree/BTree.java
index 86b7942..968c335 100644
--- a/src/b/tree/BTree.java
+++ b/src/b/tree/BTree.java
@@ -1,138 +1,138 @@
package b.tree;
public class BTree {
/** The root of this tree */
Page root;
/** A temporary 'pointer' to keep where is the key */
Page page;... | true | true | private Registry find(Registry reg, Page p)
{
//Page not found!
if(p == null)
{
return null;
}
int i = 0;
//Get all registries from p
Registry pageregistries[] = p.getRegistries();
//Look for reg in pages of p until find a page with registry bigger then reg
while( (i < p.getNumRegs()) && (reg.co... | private Registry find(Registry reg, Page p)
{
//Page not found!
if(p == null)
{
return null;
}
int i = 0;
//Get all registries from p
Registry pageregistries[] = p.getRegistries();
//Look for reg in pages of p until find a page with registry bigger then reg
while( (i < p.getNumRegs()) && (reg.co... |
diff --git a/server/src/edu/rpi/cct/webdav/servlet/shared/WebdavNsIntf.java b/server/src/edu/rpi/cct/webdav/servlet/shared/WebdavNsIntf.java
index 407f319..e085053 100644
--- a/server/src/edu/rpi/cct/webdav/servlet/shared/WebdavNsIntf.java
+++ b/server/src/edu/rpi/cct/webdav/servlet/shared/WebdavNsIntf.java
@@ -1,1115 ... | true | true | public static String fixPath(String path) throws WebdavException {
if (path == null) {
return null;
}
String decoded;
try {
decoded = URLDecoder.decode(path, "UTF8");
} catch (Throwable t) {
throw new WebdavException(t);
}
if (decoded == null) {
return (null);
... | public static String fixPath(String path) throws WebdavException {
if (path == null) {
return null;
}
String decoded;
try {
decoded = URLDecoder.decode(path, "UTF8");
} catch (Throwable t) {
throw new WebdavBadRequest("bad path: " + path);
}
if (decoded == null) {
... |
diff --git a/src/imagebam/cz/vity/freerapid/plugins/services/imagebam/ImagebamFileRunner.java b/src/imagebam/cz/vity/freerapid/plugins/services/imagebam/ImagebamFileRunner.java
index 488636aa..f0f9e9c0 100644
--- a/src/imagebam/cz/vity/freerapid/plugins/services/imagebam/ImagebamFileRunner.java
+++ b/src/imagebam/cz/vi... | true | true | public void run() throws Exception {
super.run();
logger.info("Starting download in TASK " + fileURL);
final GetMethod method = getGetMethod(fileURL);
if (makeRedirectedRequest(method)) {
checkProblems();
final HttpMethod httpMethod = getMethodBuilder().setRef... | public void run() throws Exception {
super.run();
logger.info("Starting download in TASK " + fileURL);
final GetMethod method = getGetMethod(fileURL);
if (makeRedirectedRequest(method)) {
checkProblems();
final HttpMethod httpMethod = getMethodBuilder().setRef... |
diff --git a/astrid/plugin-src/com/todoroo/astrid/repeats/RepeatTaskCompleteListener.java b/astrid/plugin-src/com/todoroo/astrid/repeats/RepeatTaskCompleteListener.java
index 60c624dff..82732c816 100644
--- a/astrid/plugin-src/com/todoroo/astrid/repeats/RepeatTaskCompleteListener.java
+++ b/astrid/plugin-src/com/todoro... | false | true | public static long computeNextDueDate(Task task, String recurrence) throws ParseException {
DateValue repeatFrom;
Date repeatFromDate = new Date();
DateValue today = new DateValueImpl(repeatFromDate.getYear() + 1900,
repeatFromDate.getMonth() + 1, repeatFromDate.getDate());
... | public static long computeNextDueDate(Task task, String recurrence) throws ParseException {
DateValue repeatFrom;
Date repeatFromDate = new Date();
DateValue today = new DateValueImpl(repeatFromDate.getYear() + 1900,
repeatFromDate.getMonth() + 1, repeatFromDate.getDate());
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.