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/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/MarketplacePage.java b/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/MarketplacePage.java
index aa9b7b1..4242a17 100644
--- a/org.eclipse.epp.mpc.ui/src/org/eclipse/epp/internal/mpc/ui/wizards/MarketplacePage.java
+++ b... | false | true | public void createControl(final Composite originalParent) {
Composite parent = originalParent;
boolean needSwitchMarketplaceControl = configuration.getCatalogDescriptors().size() > 1;
parent = new Composite(parent, SWT.NULL);
GridLayoutFactory.fillDefaults().numColumns(1).spacing(0, 5).applyTo(parent);
tab... | public void createControl(final Composite originalParent) {
Composite parent = originalParent;
boolean needSwitchMarketplaceControl = configuration.getCatalogDescriptors().size() > 1;
parent = new Composite(parent, SWT.NULL);
GridLayoutFactory.fillDefaults().numColumns(1).spacing(0, 5).applyTo(parent);
tab... |
diff --git a/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/AbstractCvsScmProvider.java b/maven-scm-providers/maven-scm-providers-cvs/maven-scm-provider-cvs-commons/src/main/java/org/apache/maven/scm/provider/cvslib/AbstractCvsScmProvider.ja... | false | true | private ScmUrlParserResult parseScmUrl( String scmSpecificUrl, char delimiter )
{
ScmUrlParserResult result = new ScmUrlParserResult();
String[] tokens = StringUtils.split( scmSpecificUrl, Character.toString( delimiter ) );
if ( tokens.length < 3 )
{
result.messages... | private ScmUrlParserResult parseScmUrl( String scmSpecificUrl, char delimiter )
{
ScmUrlParserResult result = new ScmUrlParserResult();
String[] tokens = StringUtils.split( scmSpecificUrl, Character.toString( delimiter ) );
if ( tokens.length < 3 )
{
result.messages... |
diff --git a/code/log_analyzer/src/ch/ethz/mlmq/log_analyzer/HeaderInfo.java b/code/log_analyzer/src/ch/ethz/mlmq/log_analyzer/HeaderInfo.java
index 5ea2e5e..468362f 100644
--- a/code/log_analyzer/src/ch/ethz/mlmq/log_analyzer/HeaderInfo.java
+++ b/code/log_analyzer/src/ch/ethz/mlmq/log_analyzer/HeaderInfo.java
@@ -1,5... | true | true | public long getEndBucketTime() {
try (RandomAccessFile ramFile = new RandomAccessFile(file, "r")) {
// memo - assume a performance log line not to be longer than 256 bytes
byte[] buffer = new byte[256];
long pos = ramFile.length() - buffer.length;
if (pos > 0)
ramFile.seek(pos);
int numBytes = r... | public long getEndBucketTime() {
try (RandomAccessFile ramFile = new RandomAccessFile(file, "r")) {
// memo - assume a performance log line not to be longer than 256 bytes
byte[] buffer = new byte[256];
long pos = ramFile.length() - buffer.length;
if (pos > 0)
ramFile.seek(pos);
int numBytes = r... |
diff --git a/bndtools.core/src/bndtools/builder/BndIncrementalBuilder.java b/bndtools.core/src/bndtools/builder/BndIncrementalBuilder.java
index a98d0045..dd9d607d 100644
--- a/bndtools.core/src/bndtools/builder/BndIncrementalBuilder.java
+++ b/bndtools.core/src/bndtools/builder/BndIncrementalBuilder.java
@@ -1,301 +1,... | true | true | void incrementalRebuild(IResourceDelta delta, IProject project, IProgressMonitor monitor) {
SubMonitor progress = SubMonitor.convert(monitor);
Project model = Plugin.getDefault().getCentral().getModel(JavaCore.create(project));
if (model == null) {
// Don't try to build... no bnd workspace conf... | void incrementalRebuild(IResourceDelta delta, IProject project, IProgressMonitor monitor) {
SubMonitor progress = SubMonitor.convert(monitor);
Project model = Plugin.getDefault().getCentral().getModel(JavaCore.create(project));
if (model == null) {
// Don't try to build... no bnd workspace conf... |
diff --git a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/Saros.java b/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/Saros.java
index e42521c6f..ae349b00f 100644
--- a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/Saros.java
+++ b/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/Saros.java
@@ -1,892 +1,896 @@
/*
* DPP... | false | true | public void connect(boolean failSilently) {
IPreferenceStore prefStore = getPreferenceStore();
final String server = prefStore.getString(PreferenceConstants.SERVER);
final String username = prefStore
.getString(PreferenceConstants.USERNAME);
String password = prefStore.g... | public void connect(boolean failSilently) {
IPreferenceStore prefStore = getPreferenceStore();
final String server = prefStore.getString(PreferenceConstants.SERVER);
final String username = prefStore
.getString(PreferenceConstants.USERNAME);
String password = prefStore.g... |
diff --git a/dx/src/com/android/dx/command/dexer/Main.java b/dx/src/com/android/dx/command/dexer/Main.java
index ac1c5f0d8..e674cf8d8 100644
--- a/dx/src/com/android/dx/command/dexer/Main.java
+++ b/dx/src/com/android/dx/command/dexer/Main.java
@@ -1,1135 +1,1138 @@
/*
* Copyright (C) 2007 The Android Open Source Pr... | true | true | public void parse(String[] args) {
int at = 0;
for (/*at*/; at < args.length; at++) {
String arg = args[at];
if (arg.equals("--") || !arg.startsWith("--")) {
break;
} else if (arg.equals("--debug")) {
... | public void parse(String[] args) {
int at = 0;
for (/*at*/; at < args.length; at++) {
String arg = args[at];
if (arg.equals("--") || !arg.startsWith("--")) {
break;
} else if (arg.equals("--debug")) {
... |
diff --git a/core/src/main/java/hudson/model/ParametersAction.java b/core/src/main/java/hudson/model/ParametersAction.java
index c717b0635..d6633a5fe 100644
--- a/core/src/main/java/hudson/model/ParametersAction.java
+++ b/core/src/main/java/hudson/model/ParametersAction.java
@@ -1,142 +1,142 @@
/*
* The MIT License... | false | true | public boolean shouldSchedule(List<Action> actions) {
List<ParametersAction> others = Util.filter(actions, ParametersAction.class);
if (others.isEmpty()) {
return !parameters.isEmpty();
} else {
// I don't think we need multiple ParametersActions, but let's be defensi... | public boolean shouldSchedule(List<Action> actions) {
List<ParametersAction> others = Util.filter(actions, ParametersAction.class);
if (others.isEmpty()) {
return !parameters.isEmpty();
} else {
// I don't think we need multiple ParametersActions, but let's be defensi... |
diff --git a/src/test/java/com/aestasit/markdown/slidery/converters/BaseConverterTest.java b/src/test/java/com/aestasit/markdown/slidery/converters/BaseConverterTest.java
index 8f82c6f..b453b9a 100644
--- a/src/test/java/com/aestasit/markdown/slidery/converters/BaseConverterTest.java
+++ b/src/test/java/com/aestasit/ma... | true | true | protected Configuration createConfiguration() {
Configuration config = new SimpleConfiguration()
.staticFile(classpath("LOGO_300dpi.png"))
.staticFile(classpath("LOGO_FULL_300dpi.png"))
.outputFile(file("./tmp/presentation.html"))
.author("Andrey Adamovich")
.company("A... | protected Configuration createConfiguration() {
Configuration config = new SimpleConfiguration()
.staticFile(classpath("LOGO_300dpi.png"))
.staticFile(classpath("LOGO_FULL_300dpi.png"))
.outputFile(file("./tmp/presentation.html"))
.author("Andrey Adamovich")
.company("A... |
diff --git a/src/com/dmdirc/parser/ProcessMode.java b/src/com/dmdirc/parser/ProcessMode.java
index 762402784..ec4b21d11 100644
--- a/src/com/dmdirc/parser/ProcessMode.java
+++ b/src/com/dmdirc/parser/ProcessMode.java
@@ -1,351 +1,351 @@
/*
* Copyright (c) 2006-2008 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
... | true | true | public void processChanMode(String sParam, String token[], String sModestr[], String sChannelName) {
StringBuilder sFullModeStr = new StringBuilder();
String sNonUserModeStr = "";
String sNonUserModeStrParams = "";
String sModeParam;
String sTemp;
int nParam = 1;
long nTemp = 0, nValue = 0, nCurrent = 0;... | public void processChanMode(String sParam, String token[], String sModestr[], String sChannelName) {
StringBuilder sFullModeStr = new StringBuilder();
String sNonUserModeStr = "";
String sNonUserModeStrParams = "";
String sModeParam;
String sTemp;
int nParam = 1;
long nTemp = 0, nValue = 0, nCurrent = 0;... |
diff --git a/src/io/winneonsword/joinmessages/joinmessages.java b/src/io/winneonsword/joinmessages/joinmessages.java
index 5d67834..3a63730 100644
--- a/src/io/winneonsword/joinmessages/joinmessages.java
+++ b/src/io/winneonsword/joinmessages/joinmessages.java
@@ -1,95 +1,95 @@
package io.winneonsword.joinmessages;
... | true | true | public void run(){
String pluginVersion = plugin.getConfig().getString("version");
try {
// Credit to mbax for this version checker script. :)
final URLConnection connection = new URL("http://dl.dropboxusercontent.com/u/62828086/version").openConnection();
connection.setConnectTimeout(8000);... | public void run(){
String pluginVersion = plugin.getConfig().getString("version");
try {
// Credit to mbax for this version checker script. :)
final URLConnection connection = new URL("http://dl.dropboxusercontent.com/u/62828086/version").openConnection();
connection.setConnectTimeout(8000);... |
diff --git a/Paintroid/src/org/catrobat/paintroid/ui/implementation/PerspectiveImplementation.java b/Paintroid/src/org/catrobat/paintroid/ui/implementation/PerspectiveImplementation.java
index 16d3b00d..ba7524fa 100644
--- a/Paintroid/src/org/catrobat/paintroid/ui/implementation/PerspectiveImplementation.java
+++ b/Pai... | true | true | public synchronized void resetScaleAndTranslation() {
mSurfaceScale = 1f;
if (mSurfaceWidth == 0 || mSurfaceHeight == 0) {
mSurfaceTranslationX = 0f;
mSurfaceTranslationY = 0f;
}
else {
mBitmapWidth = PaintroidApplication.DRAWING_SURFACE
.getBitmapWidth();
mBitmapHeight = PaintroidApplicati... | public synchronized void resetScaleAndTranslation() {
mSurfaceScale = 1f;
if (mSurfaceWidth == 0 || mSurfaceHeight == 0) {
mSurfaceTranslationX = 0f;
mSurfaceTranslationY = 0f;
}
else {
mBitmapWidth = PaintroidApplication.DRAWING_SURFACE
.getBitmapWidth();
mBitmapHeight = PaintroidApplicati... |
diff --git a/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/ui/widgets/WebWidget.java b/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/ui/widgets/WebWidget.java
index 44fa4c20b..4442aaa9d 100644
--- a/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/... | true | true | public boolean setProperty(String property, String value)
throws PropertyConversionException, InvalidPropertyValueException
{
if (super.setProperty(property, value))
{
return true;
}
// Get the native Android WebView instance.
WebView webView = (WebView) getView();
if (property.equals(IX_WIDGET.MA... | public boolean setProperty(String property, String value)
throws PropertyConversionException, InvalidPropertyValueException
{
if (super.setProperty(property, value))
{
return true;
}
// Get the native Android WebView instance.
WebView webView = (WebView) getView();
if (property.equals(IX_WIDGET.MA... |
diff --git a/project/src/de/topobyte/livecg/algorithms/polygon/monotonepieces/MonotonePiecesAlgorithm.java b/project/src/de/topobyte/livecg/algorithms/polygon/monotonepieces/MonotonePiecesAlgorithm.java
index 8cf0b9f..ee98c90 100644
--- a/project/src/de/topobyte/livecg/algorithms/polygon/monotonepieces/MonotonePiecesAl... | true | true | protected void execute()
{
System.out.println("execute2: " + this.getClass().getSimpleName());
monotonePiecesOperation = new MonotonePiecesOperation(polygon);
SplitResult split = monotonePiecesOperation
.getMonotonePiecesWithGraph();
monotonePieces = split.getPolygons();
graph = split.getGraph();
exte... | protected void execute()
{
System.out.println("execute: " + this.getClass().getSimpleName());
monotonePiecesOperation = new MonotonePiecesOperation(polygon);
SplitResult split = monotonePiecesOperation
.getMonotonePiecesWithGraph();
monotonePieces = split.getPolygons();
graph = split.getGraph();
exten... |
diff --git a/src/java/fedora/server/resourceIndex/ResourceIndexModule.java b/src/java/fedora/server/resourceIndex/ResourceIndexModule.java
index 188d410ac..facc7a584 100755
--- a/src/java/fedora/server/resourceIndex/ResourceIndexModule.java
+++ b/src/java/fedora/server/resourceIndex/ResourceIndexModule.java
@@ -1,271 +... | true | true | public void postInitModule() throws ModuleInitializationException {
logConfig("ResourceIndexModule: loading...");
// Parameter validation
if (getParameter("level")==null) {
throw new ModuleInitializationException(
"level parameter must be specified.", getRole());
} else {
... | public void postInitModule() throws ModuleInitializationException {
logConfig("ResourceIndexModule: loading...");
// Parameter validation
if (getParameter("level")==null) {
throw new ModuleInitializationException(
"level parameter must be specified.", getRole());
} else {
... |
diff --git a/src/main/java/net/jeebiss/questmanager/denizen/listeners/ItemDropListenerInstance.java b/src/main/java/net/jeebiss/questmanager/denizen/listeners/ItemDropListenerInstance.java
index 030895a..3615005 100644
--- a/src/main/java/net/jeebiss/questmanager/denizen/listeners/ItemDropListenerInstance.java
+++ b/sr... | true | true | public void onBuild(List<String> args) {
for (String arg : args) {
if (aH.matchesValueArg("TYPE", arg, ArgumentType.Custom)) {
try {
type = ItemDropType.valueOf(aH.getStringFrom(arg));
dB.echoDebug("...type set to: " + type.name());
continue;
} catch (Exception e) { dB.echoDebug("...type " ... | public void onBuild(List<String> args) {
for (String arg : args) {
if (aH.matchesValueArg("TYPE", arg, ArgumentType.Custom)) {
try {
type = ItemDropType.valueOf(aH.getStringFrom(arg));
dB.echoDebug("...type set to: " + type.name());
continue;
} catch (Exception e) { dB.echoDebug("...type " ... |
diff --git a/javasrc/src/org/ccnx/ccn/impl/repo/RepositoryInterestHandler.java b/javasrc/src/org/ccnx/ccn/impl/repo/RepositoryInterestHandler.java
index 616110650..eefa9e2d5 100644
--- a/javasrc/src/org/ccnx/ccn/impl/repo/RepositoryInterestHandler.java
+++ b/javasrc/src/org/ccnx/ccn/impl/repo/RepositoryInterestHandler.... | true | true | private void startReadProcess(Interest interest) {
synchronized (_server.getDataListeners()) {
for (RepositoryDataListener listener : _server.getDataListeners()) {
if (listener.getOrigInterest().equals(interest)) {
if (SystemConfiguration.getLogging(RepositoryStore.REPO_LOGGING))
Log.info("Write re... | private void startReadProcess(Interest interest) {
synchronized (_server.getDataListeners()) {
for (RepositoryDataListener listener : _server.getDataListeners()) {
if (listener.getOrigInterest().equals(interest)) {
if (SystemConfiguration.getLogging(RepositoryStore.REPO_LOGGING))
Log.info("Write re... |
diff --git a/src/net/runecrypt/network/RS2PacketEncoder.java b/src/net/runecrypt/network/RS2PacketEncoder.java
index 9821bdb..bc0b1be 100644
--- a/src/net/runecrypt/network/RS2PacketEncoder.java
+++ b/src/net/runecrypt/network/RS2PacketEncoder.java
@@ -1,65 +1,58 @@
package net.runecrypt.network;
import net.burtleb... | true | true | protected Object encode(ChannelHandlerContext ctx, Channel channel, Object message) throws Exception {
if (message instanceof Packet) {
Packet buf = (Packet) message;
if (buf.isHeaderless()) {
return buf.getPayload();
} else {
int opcode = ... | protected Object encode(ChannelHandlerContext ctx, Channel channel, Object message) throws Exception {
if (message instanceof Packet) {
Packet buf = (Packet) message;
if (buf.isHeaderless()) {
return buf.getPayload();
} else {
int opcode = ... |
diff --git a/src/edu/jas/ring/OrderedDPairlist.java b/src/edu/jas/ring/OrderedDPairlist.java
index a59ad804..940c7ef0 100644
--- a/src/edu/jas/ring/OrderedDPairlist.java
+++ b/src/edu/jas/ring/OrderedDPairlist.java
@@ -1,166 +1,166 @@
/*
* $Id$
*/
package edu.jas.ring;
import java.util.ArrayList;
import jav... | true | true | public synchronized DPair<C> removeNext() {
if ( oneInGB ) {
return null;
}
Iterator< Map.Entry<ExpVector,LinkedList<Pair<C>>> > ip
= pairlist.entrySet().iterator();
Pair<C> pair = null;
DPair<C> dpair = null;
boolean c = false;
int i, j;
... | public synchronized DPair<C> removeNext() {
if ( oneInGB ) {
return null;
}
Iterator< Map.Entry<ExpVector,LinkedList<Pair<C>>> > ip
= pairlist.entrySet().iterator();
Pair<C> pair = null;
DPair<C> dpair = null;
boolean c = false;
int i, j;
... |
diff --git a/src/main/java/org/basex/api/jaxrx/BaseXREST.java b/src/main/java/org/basex/api/jaxrx/BaseXREST.java
index 83be8a1d9..c50444cab 100644
--- a/src/main/java/org/basex/api/jaxrx/BaseXREST.java
+++ b/src/main/java/org/basex/api/jaxrx/BaseXREST.java
@@ -1,275 +1,275 @@
package org.basex.api.jaxrx;
import sta... | false | true | protected void query(final String query, final OutputStream out,
final Context ctx, final String wrap, final String serialize,
final String start, final String count) {
final String xquery = query != null ? query : ".";
final int s = start != null ? Integer.valueOf(start) : 0;
final int m = c... | protected void query(final String query, final OutputStream out,
final Context ctx, final String wrap, final String serialize,
final String start, final String count) {
final String xquery = query != null ? query : ".";
final int s = start != null ? Integer.valueOf(start) : 0;
final int m = c... |
diff --git a/src/main/java/net/desgrange/pwad/ui/DownloadWorker.java b/src/main/java/net/desgrange/pwad/ui/DownloadWorker.java
index cb8bbf3..8b544f3 100644
--- a/src/main/java/net/desgrange/pwad/ui/DownloadWorker.java
+++ b/src/main/java/net/desgrange/pwad/ui/DownloadWorker.java
@@ -1,58 +1,58 @@
/**
*
* Copyrigh... | true | true | protected Void doInBackground() throws Exception {
logger.trace("Starting downloading pictures in background…");
for (int i = 0; i < pictures.size(); i++) {
logger.trace("Downloading picture {} out of {}…", i + 1, pictures.size());
setProgress(i + 1);
final Picture picture = pictures.get(i);... | protected Void doInBackground() throws Exception {
logger.trace("Starting downloading pictures in background…");
for (int i = 0; i < pictures.size(); i++) {
logger.trace("Downloading picture {} out of {}…", i + 1, pictures.size());
setProgress((100 * i) / pictures.size());
final Picture pict... |
diff --git a/src/main/java/jannovar/annotation/InsertionAnnotation.java b/src/main/java/jannovar/annotation/InsertionAnnotation.java
index 6271e8f6..96be6711 100644
--- a/src/main/java/jannovar/annotation/InsertionAnnotation.java
+++ b/src/main/java/jannovar/annotation/InsertionAnnotation.java
@@ -1,196 +1,196 @@
pack... | true | true | public static Annotation getAnnotationPlusStrand(TranscriptModel trmdl,int frame_s, String wtnt3,String wtnt3_after,
String ref, String var,int refvarstart,int exonNumber) throws AnnotationException {
// check if the insertion in truth is a duplication,
if(trmdl.isPlusStrand()){
if(... | public static Annotation getAnnotationPlusStrand(TranscriptModel trmdl,int frame_s, String wtnt3,String wtnt3_after,
String ref, String var,int refvarstart,int exonNumber) throws AnnotationException {
// check if the insertion in truth is a duplication,
if(trmdl.isPlusStrand()){
if(... |
diff --git a/src/main/java/org/springframework/social/tumblr/api/impl/json/PostMixin.java b/src/main/java/org/springframework/social/tumblr/api/impl/json/PostMixin.java
index 9b4f284..a10a94f 100644
--- a/src/main/java/org/springframework/social/tumblr/api/impl/json/PostMixin.java
+++ b/src/main/java/org/springframewor... | true | true | public Post deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException {
JsonNode root = jp.readValueAsTree();
Post post = new Post();
post.setId(root.get("id").getLongValue());
post.setBlogName(root.get("blog_name").getT... | public Post deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException {
JsonNode root = jp.readValueAsTree();
Post post = new Post();
post.setId(root.get("id").getLongValue());
post.setBlogName(root.get("blog_name").getT... |
diff --git a/src/com/zgy/ringforu/service/WaterMarkService.java b/src/com/zgy/ringforu/service/WaterMarkService.java
index 2e7b6ff..9a34476 100644
--- a/src/com/zgy/ringforu/service/WaterMarkService.java
+++ b/src/com/zgy/ringforu/service/WaterMarkService.java
@@ -1,285 +1,285 @@
package com.zgy.ringforu.service;
i... | true | true | private void createView() {
// LogRingForu.v(TAG, "set View ");
mPackageNameTemp = "";
mTempAlpha = 0;
mActivityManager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
// ����LayoutParams(ȫ�ֱ�������ز���
view = LayoutInflater.from(this).inflate(R.layout.watermark_floating, null);
wm = (... | private void createView() {
// LogRingForu.v(TAG, "set View ");
mPackageNameTemp = "";
mTempAlpha = 0;
mActivityManager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
// ����LayoutParams(ȫ�ֱ�������ز���
view = LayoutInflater.from(this).inflate(R.layout.watermark_floating, null);
wm = (... |
diff --git a/src/main/java/com/ecs/soap/proxy/servlets/UploadServlet.java b/src/main/java/com/ecs/soap/proxy/servlets/UploadServlet.java
index d107b3f..99ee417 100644
--- a/src/main/java/com/ecs/soap/proxy/servlets/UploadServlet.java
+++ b/src/main/java/com/ecs/soap/proxy/servlets/UploadServlet.java
@@ -1,211 +1,212 @@... | true | true | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
String uri = null;
String targetUrl = null;
byte[] schemaFileContent = null;
String... | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
String uri = null;
String targetUrl = null;
byte[] schemaFileContent = null;
String... |
diff --git a/odata4j-examples/src/main/java/org/odata4j/examples/consumer/AgilitrainConsumerExample.java b/odata4j-examples/src/main/java/org/odata4j/examples/consumer/AgilitrainConsumerExample.java
index 10a326a1..ec0b557a 100644
--- a/odata4j-examples/src/main/java/org/odata4j/examples/consumer/AgilitrainConsumerExam... | true | true | private void run(String[] args) {
ODataConsumer c = new ODataConsumerFactory(JERSEY).createODataConsumer(ODataEndpoints.AGILITRAIN, null, null);
OEntity event = c.getEntity("Events", 225).execute();
ORelatedEntityLink link = event.getLink("Workshop", ORelatedEntityLink.class);
OEntity entity = c.getE... | private void run(String[] args) {
ODataConsumer c = new ODataConsumerFactory(JERSEY).createODataConsumer(ODataEndpoints.AGILITRAIN, null, null);
OEntity event = c.getEntities("Events").top(1).execute().first();
ORelatedEntityLink link = event.getLink("Workshop", ORelatedEntityLink.class);
OEntity ent... |
diff --git a/MCU-API/src/org/smbarbour/mcu/Version.java b/MCU-API/src/org/smbarbour/mcu/Version.java
index 950ef74..a2de19d 100644
--- a/MCU-API/src/org/smbarbour/mcu/Version.java
+++ b/MCU-API/src/org/smbarbour/mcu/Version.java
@@ -1,70 +1,70 @@
package org.smbarbour.mcu;
import java.io.IOException;
import java.u... | false | true | public static boolean isVersionOld(String packVersion) {
if( packVersion == null ) return false; // can't check anything if they don't tell us
String parts[] = packVersion.split("\\.");
try {
int mcuParts[] = { MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION };
for( int q = 0; q < mcuParts.length && q < parts.... | public static boolean isVersionOld(String packVersion) {
if( packVersion == null ) return false; // can't check anything if they don't tell us
String parts[] = packVersion.split("\\.");
try {
int mcuParts[] = { MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION };
for( int q = 0; q < mcuParts.length && q < parts.... |
diff --git a/src-ssh/com/jediterm/ssh/jsch/JSchTtyConnector.java b/src-ssh/com/jediterm/ssh/jsch/JSchTtyConnector.java
index f50df5d..1b86bc5 100644
--- a/src-ssh/com/jediterm/ssh/jsch/JSchTtyConnector.java
+++ b/src-ssh/com/jediterm/ssh/jsch/JSchTtyConnector.java
@@ -1,199 +1,200 @@
/**
*
*/
package com.jediterm... | true | true | public boolean init(Questioner q) {
getAuthDetails(q);
try {
mySession = connectSession(q);
myChannelShell = (ChannelShell)mySession.openChannel("shell");
myInputStream = myChannelShell.getInputStream();
myOutputStream = myChannelShell.getOutputStream();
myInputStreamReader = n... | public boolean init(Questioner q) {
getAuthDetails(q);
try {
mySession = connectSession(q);
myChannelShell = (ChannelShell)mySession.openChannel("shell");
myInputStream = myChannelShell.getInputStream();
myOutputStream = myChannelShell.getOutputStream();
myInputStreamReader = n... |
diff --git a/ps3mediaserver/net/pms/newgui/NetworkTab.java b/ps3mediaserver/net/pms/newgui/NetworkTab.java
index 18c95c0d..6a315742 100644
--- a/ps3mediaserver/net/pms/newgui/NetworkTab.java
+++ b/ps3mediaserver/net/pms/newgui/NetworkTab.java
@@ -1,382 +1,383 @@
/*
* PS3 Media Server, for streaming any medias to you... | true | true | public JComponent build() {
FormLayout layout = new FormLayout(
"left:pref, 2dlu, p, 2dlu , p, 2dlu, p, 2dlu, pref:grow", //$NON-NLS-1$
"p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu,p, 15dlu, p, 3dlu, p, 3dlu,p, 3dlu, p, 15dlu, p, 3dlu, p, 3dlu, p,3dlu, p, 15dlu, p, 3dlu, p,3dlu, p, 3... | public JComponent build() {
FormLayout layout = new FormLayout(
"left:pref, 2dlu, p, 2dlu , p, 2dlu, p, 2dlu, pref:grow", //$NON-NLS-1$
"p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu,p, 15dlu, p, 3dlu, p, 3dlu,p, 3dlu, p, 15dlu, p, 3dlu, p, 3dlu, p,3dlu, p, 15dlu, p, 3dlu, p,3dlu, p, 3... |
diff --git a/src/vigenere/Main.java b/src/vigenere/Main.java
index 6de3211..efca05e 100644
--- a/src/vigenere/Main.java
+++ b/src/vigenere/Main.java
@@ -1,35 +1,35 @@
package vigenere;
import java.io.FileReader;
import java.util.Scanner;
/**
*
* @author JohannesH
*/
public class Main {
/**
*... | true | true | public static void main(String[] args) {
String message = "";
try {
Scanner scan = new Scanner(new FileReader("text.txt"));
while (scan.hasNext()) {
message += scan.next();
}
} catch (Exception e) {
e.printStackTrace();
... | public static void main(String[] args) {
String message = "";
try {
Scanner scan = new Scanner(new FileReader("vig_group8.plain"));
while (scan.hasNext()) {
message += scan.next();
}
} catch (Exception e) {
e.printStackTrace();
... |
diff --git a/org.eclipse.virgo.ide.manifest.core/src/org/eclipse/virgo/ide/manifest/internal/core/BundleManifestDiffer.java b/org.eclipse.virgo.ide.manifest.core/src/org/eclipse/virgo/ide/manifest/internal/core/BundleManifestDiffer.java
index 149f125..689bc93 100644
--- a/org.eclipse.virgo.ide.manifest.core/src/org/ecl... | false | true | static Set<Type> diff(BundleManifest bundleManifest1, BundleManifest bundleManifest2) {
if (bundleManifest1 == null && bundleManifest2 == null) {
return Collections.emptySet();
} else if ((bundleManifest1 == null && bundleManifest2 != null)
|| (bundleManifest1 != null && bundleManifest2 == null)) {
retur... | static Set<Type> diff(BundleManifest bundleManifest1, BundleManifest bundleManifest2) {
if (bundleManifest1 == null && bundleManifest2 == null) {
return Collections.emptySet();
} else if ((bundleManifest1 == null && bundleManifest2 != null)
|| (bundleManifest1 != null && bundleManifest2 == null)) {
retur... |
diff --git a/src/DVN-web/src/edu/harvard/hmdc/vdcnet/util/PlainTextValidator.java b/src/DVN-web/src/edu/harvard/hmdc/vdcnet/util/PlainTextValidator.java
index 4959c1b3e..312de13a3 100644
--- a/src/DVN-web/src/edu/harvard/hmdc/vdcnet/util/PlainTextValidator.java
+++ b/src/DVN-web/src/edu/harvard/hmdc/vdcnet/util/PlainTe... | true | true | private static boolean validateChars (String characterString) {
boolean isInvalidChars = false;
try {
String regexp = ("\\<|\\>|<|>");//("\\<|\\>")
Pattern pattern = Pattern.compile(regexp);
Matcher matcher = pattern.matcher(characterStri... | private static boolean validateChars (String characterString) {
boolean isInvalidChars = false;
try {
String regexp = ("\\<|\\>|<|>");//("\\<|\\>")
Pattern pattern = Pattern.compile(regexp);
Matcher matcher = pattern.matcher(characterStri... |
diff --git a/core/src/main/java/quickfix/DefaultSessionFactory.java b/core/src/main/java/quickfix/DefaultSessionFactory.java
index ba0fd30..84f326c 100644
--- a/core/src/main/java/quickfix/DefaultSessionFactory.java
+++ b/core/src/main/java/quickfix/DefaultSessionFactory.java
@@ -1,202 +1,202 @@
/*********************... | true | true | public Session create(SessionID sessionID, SessionSettings settings) throws ConfigError {
try {
String connectionType = null;
if (settings.isSetting(sessionID, SessionFactory.SETTING_CONNECTION_TYPE)) {
connectionType = settings.getString(sessionID,
... | public Session create(SessionID sessionID, SessionSettings settings) throws ConfigError {
try {
String connectionType = null;
if (settings.isSetting(sessionID, SessionFactory.SETTING_CONNECTION_TYPE)) {
connectionType = settings.getString(sessionID,
... |
diff --git a/src/main/java/org/dynmap/PlayerFaces.java b/src/main/java/org/dynmap/PlayerFaces.java
index 470d1038..19210b72 100644
--- a/src/main/java/org/dynmap/PlayerFaces.java
+++ b/src/main/java/org/dynmap/PlayerFaces.java
@@ -1,139 +1,144 @@
package org.dynmap;
import java.awt.image.BufferedImage;
import java... | false | true | public void run() {
BufferedImage img = null;
try {
URL url = new URL("http://s3.amazonaws.com/MinecraftSkins/" + playername + ".png");
img = ImageIO.read(url); /* Load skin for player */
} catch (IOException iox) {
Debug.deb... | public void run() {
BufferedImage img = null;
try {
URL url = new URL("http://s3.amazonaws.com/MinecraftSkins/" + playername + ".png");
img = ImageIO.read(url); /* Load skin for player */
} catch (IOException iox) {
Debug.deb... |
diff --git a/src/impl/com/sun/ws/rest/impl/uri/rules/BaseRule.java b/src/impl/com/sun/ws/rest/impl/uri/rules/BaseRule.java
index c0ad97a1..b34ca69a 100644
--- a/src/impl/com/sun/ws/rest/impl/uri/rules/BaseRule.java
+++ b/src/impl/com/sun/ws/rest/impl/uri/rules/BaseRule.java
@@ -1,53 +1,53 @@
/*
* DO NOT ALTER OR REM... | true | true | public BaseRule(UriTemplate template) {
assert template != template;
this.template = template;
}
| public BaseRule(UriTemplate template) {
assert template != null;
this.template = template;
}
|
diff --git a/server/src/main/java/org/apache/abdera/protocol/server/ServiceManager.java b/server/src/main/java/org/apache/abdera/protocol/server/ServiceManager.java
index ea234b59..4d022ac8 100644
--- a/server/src/main/java/org/apache/abdera/protocol/server/ServiceManager.java
+++ b/server/src/main/java/org/apache/abde... | false | true | public Provider newProvider (
Map<String,String> properties) {
Abdera abdera = getAbdera();
String instance = properties.get(PROVIDER);
log.debug(Localizer.sprintf("CREATING.NEW.INSTANCE","Provider"));
Provider provider =
(Provider) Discover.locate(
PROVIDER,
(instance != n... | public Provider newProvider (
Map<String,String> properties) {
Abdera abdera = getAbdera();
String instance = properties.get(PROVIDER);
if (instance == null) {
instance = DefaultProvider.class.getName();
}
log.debug(Localizer.sprintf("CREATING.NEW.INSTANCE","Provider"));
Provider prov... |
diff --git a/src/main/java/net/aufdemrand/denizen/scripts/commands/entity/FeedCommand.java b/src/main/java/net/aufdemrand/denizen/scripts/commands/entity/FeedCommand.java
index baef5f0c0..5a61c5a82 100644
--- a/src/main/java/net/aufdemrand/denizen/scripts/commands/entity/FeedCommand.java
+++ b/src/main/java/net/aufdemr... | true | true | public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException {
// Must reset ALL private variables, else information left over from last time
// might be used.
targetType = TargetType.PLAYER;
amount = Integer.MAX_VALUE;
// Set target to Player by default, ... | public void parseArgs(ScriptEntry scriptEntry) throws InvalidArgumentsException {
// Must reset ALL private variables, else information left over from last time
// might be used.
targetType = TargetType.PLAYER;
amount = Integer.MAX_VALUE;
// Set target to Player by default, ... |
diff --git a/core/src/main/java/net/catacombsnatch/game/core/world/tile/tiles/DestroyableWallTile.java b/core/src/main/java/net/catacombsnatch/game/core/world/tile/tiles/DestroyableWallTile.java
index d697cb0..fa46398 100644
--- a/core/src/main/java/net/catacombsnatch/game/core/world/tile/tiles/DestroyableWallTile.java... | true | true | public void init(Level level, int x, int y) {
super.init(level, x, y);
sprite.setSize(WIDTH, Art.tiles_walls[0].getTexture().getHeight());
sprite.setTexture(Art.tiles_walls[0].getTexture());
}
| public void init(Level level, int x, int y) {
super.init(level, x, y);
sprite.setSize(WIDTH, Art.tiles_walls[0].getTexture().getHeight());
sprite.setRegion(Art.tiles_walls[0]);
}
|
diff --git a/spock-core/src/main/java/org/spockframework/runtime/SpockRuntime.java b/spock-core/src/main/java/org/spockframework/runtime/SpockRuntime.java
index 1aa62c9c..26760163 100755
--- a/spock-core/src/main/java/org/spockframework/runtime/SpockRuntime.java
+++ b/spock-core/src/main/java/org/spockframework/runtime... | true | true | public static void verifyMethodCondition(@Nullable ValueRecorder recorder, @Nullable String text, int line, int column,
@Nullable Object message, Object target, String method, Object[] args, boolean safe, boolean explicit) {
MatcherCondition matcherCondition = MatcherCondition.parse(target, method, args, sa... | public static void verifyMethodCondition(@Nullable ValueRecorder recorder, @Nullable String text, int line, int column,
@Nullable Object message, Object target, String method, Object[] args, boolean safe, boolean explicit) {
MatcherCondition matcherCondition = MatcherCondition.parse(target, method, args, sa... |
diff --git a/base/org.eclipse.jdt.groovy.core/src/org/codehaus/jdt/groovy/internal/compiler/ast/GroovyClassScope.java b/base/org.eclipse.jdt.groovy.core/src/org/codehaus/jdt/groovy/internal/compiler/ast/GroovyClassScope.java
index 09045250b..388a0fdfa 100644
--- a/base/org.eclipse.jdt.groovy.core/src/org/codehaus/jdt/g... | false | true | protected MethodBinding[] augmentMethodBindings(MethodBinding[] methodBindings) {
// Don't add these methods to annotations
if (this.referenceContext.binding != null
&& (this.referenceContext.binding.isAnnotationType() || this.referenceContext.binding.isInterface())) {
return methodBindings;
}
boolean i... | protected MethodBinding[] augmentMethodBindings(MethodBinding[] methodBindings) {
// Don't add these methods to annotations
SourceTypeBinding binding = this.referenceContext.binding;
if (binding != null && (binding.isAnnotationType() || binding.isInterface())) {
return methodBindings;
}
boolean implements... |
diff --git a/src/eionet/meta/savers/FixedValuesHandler.java b/src/eionet/meta/savers/FixedValuesHandler.java
index ce696b05..21cfec83 100644
--- a/src/eionet/meta/savers/FixedValuesHandler.java
+++ b/src/eionet/meta/savers/FixedValuesHandler.java
@@ -1,285 +1,285 @@
package eionet.meta.savers;
import java.sql.*;
i... | true | true | private void checkAllowance() throws Exception {
allowanceChecked = true;
// check if legal mode
if (mode==null || (!mode.equalsIgnoreCase("add") &&
!mode.equalsIgnoreCase("edit") &&
!mode.equalsIgnoreCase("delete")) &&
!mode.equalsIgnoreCase("edit_positions"))
throw new... | private void checkAllowance() throws Exception {
allowanceChecked = true;
// check if legal mode
if (mode==null || (!mode.equalsIgnoreCase("add") &&
!mode.equalsIgnoreCase("edit") &&
!mode.equalsIgnoreCase("delete")) &&
!mode.equalsIgnoreCase("edit_positions"))
throw new... |
diff --git a/rwiki-model/src/java/uk/ac/cam/caret/sakai/rwiki/model/RWikiObjectContentImpl.java b/rwiki-model/src/java/uk/ac/cam/caret/sakai/rwiki/model/RWikiObjectContentImpl.java
index edb2245a..6b07be5a 100644
--- a/rwiki-model/src/java/uk/ac/cam/caret/sakai/rwiki/model/RWikiObjectContentImpl.java
+++ b/rwiki-model/... | false | true | public void setContent(String content)
{
this.content= content.replaceAll("[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\ud800-\\udfff\\uffff\\ufffe]", "");
// SAK-2470
if (this.content == null) this.content = "";
}
| public void setContent(String content)
{
// SAK-2470
if (this.content == null) this.content = "";
this.content= content.replaceAll("[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\ud800-\\udfff\\uffff\\ufffe]", "");
}
|
diff --git a/src/main/java/ru/skalodrom_rf/web/pages/ActivateUserPage.java b/src/main/java/ru/skalodrom_rf/web/pages/ActivateUserPage.java
index 633220b..4a1db74 100644
--- a/src/main/java/ru/skalodrom_rf/web/pages/ActivateUserPage.java
+++ b/src/main/java/ru/skalodrom_rf/web/pages/ActivateUserPage.java
@@ -1,63 +1,60 ... | false | true | public ActivateUserPage(PageParameters parameters) {
super(parameters);
try {
String login = extractParam(parameters, "login");
final User user = userDao.get(login);
if (user == null) {
throwExeption();
}
if (user.getActivat... | public ActivateUserPage(PageParameters parameters) {
super(parameters);
try {
String login = extractParam(parameters, "login");
final User user = userDao.get(login);
if (user == null) {
throwExeption();
}
String activationC... |
diff --git a/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java b/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploySection.java
index 3348d35cb..8b0554d3d 100755
--- a/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/ec... | false | true | public void createSection(Composite parent)
{
super.createSection(parent);
FormToolkit toolkit = new FormToolkit(parent.getDisplay());
Section section = toolkit.createSection(parent, ExpandableComposite.TWISTIE|ExpandableComposite.EXPANDED|ExpandableComposite.TITLE_BAR);
section.setText(Messages.swf_Dep... | public void createSection(Composite parent)
{
super.createSection(parent);
FormToolkit toolkit = new FormToolkit(parent.getDisplay());
Section section = toolkit.createSection(parent, ExpandableComposite.TWISTIE|ExpandableComposite.EXPANDED|ExpandableComposite.TITLE_BAR);
section.setText(Messages.swf_Dep... |
diff --git a/bundles/org.eclipse.core.runtime.compatibility/src-runtime/org/eclipse/core/internal/compatibility/PluginActivator.java b/bundles/org.eclipse.core.runtime.compatibility/src-runtime/org/eclipse/core/internal/compatibility/PluginActivator.java
index 05b30a044..1363549d0 100644
--- a/bundles/org.eclipse.core.... | true | true | public void start(BundleContext context) throws Exception {
PluginDescriptor pd = (PluginDescriptor) Platform.getPluginRegistry().getPluginDescriptor(context.getBundle().getSymbolicName());
plugin = pd.getPlugin();
try {
plugin.start(context);
plugin.startup();
} catch(Exception e) {
plugin.shutdown()... | public void start(BundleContext context) throws Exception {
PluginDescriptor pd = (PluginDescriptor) Platform.getPluginRegistry().getPluginDescriptor(context.getBundle().getSymbolicName());
plugin = pd.getPlugin();
try {
plugin.start(context);
plugin.startup();
} catch(Exception e) {
try {
plugin.... |
diff --git a/src/main/java/cd/semantic/ti/LocalTypeInferenceWithConstraints.java b/src/main/java/cd/semantic/ti/LocalTypeInferenceWithConstraints.java
index dbf416b..18d9c73 100644
--- a/src/main/java/cd/semantic/ti/LocalTypeInferenceWithConstraints.java
+++ b/src/main/java/cd/semantic/ti/LocalTypeInferenceWithConstrai... | false | true | public TypeVariable binaryOp(BinaryOp binaryOp, Void arg) {
BOp op = binaryOp.operator;
TypeVariable leftTypeVar = visit(binaryOp.left(), null);
TypeVariable rightTypeVar = visit(binaryOp.right(), null);
TypeVariable resultVar;
ConstantTypeSet numTypes = new ConstantTypeSet(
new HashSe... | public TypeVariable binaryOp(BinaryOp binaryOp, Void arg) {
BOp op = binaryOp.operator;
TypeVariable leftTypeVar = visit(binaryOp.left(), null);
TypeVariable rightTypeVar = visit(binaryOp.right(), null);
TypeVariable resultVar;
ConstantTypeSet numTypes = new ConstantTypeSet(
new HashSe... |
diff --git a/NTheEndAgain/src/fr/ribesg/bukkit/ntheendagain/Config.java b/NTheEndAgain/src/fr/ribesg/bukkit/ntheendagain/Config.java
index 75f1d201..3a6244ee 100644
--- a/NTheEndAgain/src/fr/ribesg/bukkit/ntheendagain/Config.java
+++ b/NTheEndAgain/src/fr/ribesg/bukkit/ntheendagain/Config.java
@@ -1,251 +1,253 @@
pack... | true | true | protected String getConfigString() {
final StringBuilder content = new StringBuilder();
// Header
content.append("################################################################################\n");
content.append("# Config file for NTheEndAgain plugin. If you don't understand some... | protected String getConfigString() {
final StringBuilder content = new StringBuilder();
// Header
content.append("################################################################################\n");
content.append("# Config file for NTheEndAgain plugin. If you don't understand some... |
diff --git a/omod/src/main/java/org/openmrs/module/sync/web/controller/ImportListController.java b/omod/src/main/java/org/openmrs/module/sync/web/controller/ImportListController.java
index 72c698f..2e0e3ce 100644
--- a/omod/src/main/java/org/openmrs/module/sync/web/controller/ImportListController.java
+++ b/omod/src/ma... | true | true | protected ModelAndView processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object obj,
BindException errors) throws Exception {
log.info("***********************************************************\n");
log.info("Inside SynchronizationImp... | protected ModelAndView processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object obj,
BindException errors) throws Exception {
log.info("***********************************************************\n");
log.info("Inside SynchronizationImp... |
diff --git a/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/behavior/AlignmentBehavior.java b/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/behavior/AlignmentBehavior.java
index 709edfad..e33f1e5b 100644
--- a/bootstrap-core/src/main/java/de/agilecoders/wic... | true | true | public void onComponentTag(final Component component, final ComponentTag tag) {
super.onComponentTag(component, tag);
Attributes.removeClass(tag, Alignment.RIGHT.className, Alignment.LEFT.className);
switch (alignement.getObject()) {
case RIGHT:
case LEFT:
... | public void onComponentTag(final Component component, final ComponentTag tag) {
super.onComponentTag(component, tag);
Attributes.removeClass(tag, Alignment.RIGHT.className, Alignment.LEFT.className);
switch (alignement.getObject()) {
case RIGHT:
case LEFT:
... |
diff --git a/src/jpcsp/memory/MemoryReader.java b/src/jpcsp/memory/MemoryReader.java
index da6762c8..526e8e34 100644
--- a/src/jpcsp/memory/MemoryReader.java
+++ b/src/jpcsp/memory/MemoryReader.java
@@ -1,305 +1,306 @@
/*
This file is part of jpcsp.
Jpcsp is free software: you can redistribute it and/or modify
it... | true | true | public static IMemoryReader getMemoryReader(int address, int length, int step) {
Memory mem = Memory.getInstance();
if (mem instanceof FastMemory) {
int[] memoryInt = ((FastMemory) mem).getAll();
switch (step) {
case 1: return new MemoryReaderIntArray8(memoryInt, address);
case 2: return new MemoryRe... | public static IMemoryReader getMemoryReader(int address, int length, int step) {
Memory mem = Memory.getInstance();
address &= Memory.addressMask;
if (mem instanceof FastMemory) {
int[] memoryInt = ((FastMemory) mem).getAll();
switch (step) {
case 1: return new MemoryReaderIntArray8(memoryInt, address... |
diff --git a/src/java/org/smoothbuild/fs/base/Path.java b/src/java/org/smoothbuild/fs/base/Path.java
index 3b5ac5c6..ed3b060f 100644
--- a/src/java/org/smoothbuild/fs/base/Path.java
+++ b/src/java/org/smoothbuild/fs/base/Path.java
@@ -1,158 +1,158 @@
package org.smoothbuild.fs.base;
import com.google.common.base.Sp... | false | true | public static String validationError(String path) {
if (path.isEmpty()) {
return "Empty paths are not allowed";
}
if (path.startsWith("/")) {
return "Path cannot start with slash character '/'. Only paths relative to project root dir are allowed";
}
if (path.endsWith("/")) {
retu... | public static String validationError(String path) {
if (path.isEmpty()) {
return "Empty path is not allowed";
}
if (path.startsWith("/")) {
return "Path cannot start with slash character '/'.";
}
if (path.endsWith("/")) {
return "Path cannot end with slash character '/'.";
}
... |
diff --git a/calc-core/src/main/java/org/openforis/calc/rolap/Cube.java b/calc-core/src/main/java/org/openforis/calc/rolap/Cube.java
index ce4b1a7e..f12c4943 100644
--- a/calc-core/src/main/java/org/openforis/calc/rolap/Cube.java
+++ b/calc-core/src/main/java/org/openforis/calc/rolap/Cube.java
@@ -1,41 +1,42 @@
packag... | true | true | Cube(RolapSchema rolapSchema) {
this.dimensionUsages = new ArrayList<Dimension>();
this.measures = new ArrayList<Measure>();
}
| Cube(RolapSchema rolapSchema) {
this.dimensionUsages = new ArrayList<Dimension>();
this.measures = new ArrayList<Measure>();
this.rolapSchema = rolapSchema;
}
|
diff --git a/src/com/mitsugaru/Karmiconomy/KarmicEcon.java b/src/com/mitsugaru/Karmiconomy/KarmicEcon.java
index 10a4603..f738dd9 100644
--- a/src/com/mitsugaru/Karmiconomy/KarmicEcon.java
+++ b/src/com/mitsugaru/Karmiconomy/KarmicEcon.java
@@ -1,193 +1,185 @@
package com.mitsugaru.Karmiconomy;
import net.milkbowl.... | false | true | public static boolean pay(Field field, Player player, Item item,
String command)
{
boolean paid = false;
final double amount = config.getPayValue(field, item, command);
if (amount == 0.0)
{
// Just record that it happened
return true;
}
if (vault)
{
EconomyResponse response = null;
if (am... | public static boolean pay(Field field, Player player, Item item,
String command)
{
boolean paid = false;
final double amount = config.getPayValue(field, item, command);
if (amount == 0.0)
{
// Just record that it happened
return true;
}
if (vault)
{
EconomyResponse response = null;
if (am... |
diff --git a/src/org/mozilla/javascript/Parser.java b/src/org/mozilla/javascript/Parser.java
index 493fb09d..3aa68efd 100644
--- a/src/org/mozilla/javascript/Parser.java
+++ b/src/org/mozilla/javascript/Parser.java
@@ -1,2020 +1,2020 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
... | false | true | private Node statementHelper(Node statementLabel)
throws IOException, ParserException
{
Node pn = null;
int tt;
tt = peekToken();
switch(tt) {
case Token.IF: {
consumeToken();
decompiler.addToken(Token.IF);
int lineno = ts... | private Node statementHelper(Node statementLabel)
throws IOException, ParserException
{
Node pn = null;
int tt;
tt = peekToken();
switch(tt) {
case Token.IF: {
consumeToken();
decompiler.addToken(Token.IF);
int lineno = ts... |
diff --git a/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java b/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
index 0762ba6d2..085a439a5 100644
--- a/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
+++ b/gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
@@ -1,572 +1,573 @@
/*********************************... | true | true | public boolean touchUp (int screenX, int screenY, int pointer, int button) {
if (touchFocuses.size == 0) return false;
screenToStageCoordinates(stageCoords.set(screenX, screenY));
ActorEvent event = Pools.obtain(ActorEvent.class);
event.setType(Type.touchUp);
event.setStage(this);
event.setStageX(stageCo... | public boolean touchUp (int screenX, int screenY, int pointer, int button) {
if (touchFocuses.size == 0) return false;
screenToStageCoordinates(stageCoords.set(screenX, screenY));
ActorEvent event = Pools.obtain(ActorEvent.class);
event.setType(Type.touchUp);
event.setStage(this);
event.setStageX(stageCo... |
diff --git a/activeweb/src/main/java/activeweb/ControllerClassLoader.java b/activeweb/src/main/java/activeweb/ControllerClassLoader.java
index 1f6c7cb..4692a8e 100644
--- a/activeweb/src/main/java/activeweb/ControllerClassLoader.java
+++ b/activeweb/src/main/java/activeweb/ControllerClassLoader.java
@@ -1,73 +1,74 @@
... | false | true | public Class<?> loadClass(String name) throws ClassNotFoundException {
if("activeweb.AppController".equals(name)){
return Thread.currentThread().getContextClassLoader().loadClass(name);
}
try{
if(!(name.endsWith("Controller") || name.contains("Controller$"))){//this... | public Class<?> loadClass(String name) throws ClassNotFoundException {
//TODO - improve/refactor classloading
if(name.startsWith("activeweb.")){
return Thread.currentThread().getContextClassLoader().loadClass(name);
}
try{
if(!(name.endsWith("Controller") ||... |
diff --git a/common/src/main/java/org/cloudfoundry/identity/uaa/authentication/manager/PeriodLockoutPolicy.java b/common/src/main/java/org/cloudfoundry/identity/uaa/authentication/manager/PeriodLockoutPolicy.java
index 6d598d3fb..11c6141d2 100644
--- a/common/src/main/java/org/cloudfoundry/identity/uaa/authentication/m... | true | true | public boolean isAllowed(UaaUser user, Authentication a) throws AuthenticationException {
long eventsAfter = System.currentTimeMillis() - countFailuresWithinMs;
List<AuditEvent> events = auditService.find(user.getId(), eventsAfter);
final int failureCount = sequentialFailureCount(events);
if (failureCount >... | public boolean isAllowed(UaaUser user, Authentication a) throws AuthenticationException {
long eventsAfter = System.currentTimeMillis() - countFailuresWithinMs;
List<AuditEvent> events = auditService.find(user.getId(), eventsAfter);
final int failureCount = sequentialFailureCount(events);
if (failureCount >... |
diff --git a/feeder-aggregator/src/main/java/org/komusubi/feeder/aggregator/topic/WeatherTopic.java b/feeder-aggregator/src/main/java/org/komusubi/feeder/aggregator/topic/WeatherTopic.java
index f9d27d2..f0b2247 100644
--- a/feeder-aggregator/src/main/java/org/komusubi/feeder/aggregator/topic/WeatherTopic.java
+++ b/fe... | false | true | public Message message() {
for (Title title: titleScraper) {
message.append(title)
.append("\n");
}
boolean topicFound = false;
for (Content content: contentScraper) {
message.add(content);
topicFound = true;
}
i... | public Message message() {
for (Title title: titleScraper) {
message.append(title)
.append("\n");
}
for (Content content: contentScraper) {
message.append(content)
.append("\n");
}
message.addAll(announceScraper.... |
diff --git a/themes/BasicColors/src/org/openintents/themes/basiccolors/InfoActivity.java b/themes/BasicColors/src/org/openintents/themes/basiccolors/InfoActivity.java
index 28e5e40c..3786070c 100644
--- a/themes/BasicColors/src/org/openintents/themes/basiccolors/InfoActivity.java
+++ b/themes/BasicColors/src/org/openin... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.infoactivity);
mApplicationStrings = new String[mApplications.length];
for (int i = 0; i < mApplications.length; i++) {
mApplicationStrings[i] = getString(mApplications[i]);
}
setListAdapter(n... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.infoactivity);
mApplicationStrings = new String[mApplications.length];
for (int i = 0; i < mApplications.length; i++) {
mApplicationStrings[i] = getString(mApplications[i]);
}
setListAdapter(n... |
diff --git a/source/ch/cyberduck/core/Speedometer.java b/source/ch/cyberduck/core/Speedometer.java
index 30bc6d808..2bcbc8ff6 100644
--- a/source/ch/cyberduck/core/Speedometer.java
+++ b/source/ch/cyberduck/core/Speedometer.java
@@ -1,134 +1,134 @@
package ch.cyberduck.core;
/*
* Copyright (c) 2007 David Kocher.... | true | true | public String getProgress() {
StringBuilder b = new StringBuilder();
final double size = transfer.getSize();
final double transferred = transfer.getTransferred();
b.append(MessageFormat.format(Locale.localizedString("{0} of {1}"),
Status.getSizeAsString(transferred), ... | public String getProgress() {
StringBuilder b = new StringBuilder();
final double size = transfer.getSize();
final double transferred = transfer.getTransferred();
b.append(MessageFormat.format(Locale.localizedString("{0} of {1}"),
Status.getSizeAsString(transferred, s... |
diff --git a/src/main/java/com/factual/honey/HoneyCLI.java b/src/main/java/com/factual/honey/HoneyCLI.java
index 1c79bf6..babe0e3 100644
--- a/src/main/java/com/factual/honey/HoneyCLI.java
+++ b/src/main/java/com/factual/honey/HoneyCLI.java
@@ -1,186 +1,188 @@
package com.factual.honey;
import java.io.File;
import... | true | true | private boolean userWantsAuthSaved() {
try {
System.out.print("Save auth in " + honeyDir() + "? [Y/n]");
boolean wants = consoleReader.readCharacter(new char[]{'Y', 'n'}) == 'Y';
System.out.println();
return wants;
} catch (IOException e) {
throw new RuntimeException(e);
}
... | private boolean userWantsAuthSaved() {
try {
System.out.print("Save auth in " + honeyDir() + "? [Y/n]");
boolean wants = consoleReader.readCharacter(new char[]{'Y', 'n'}) == 'Y';
System.out.println();
return wants;
} catch (IOException e) {
throw new RuntimeException(e);
}
... |
diff --git a/utils/org/eclipse/cdt/utils/Addr2line.java b/utils/org/eclipse/cdt/utils/Addr2line.java
index a7132f388..8a370d0a2 100644
--- a/utils/org/eclipse/cdt/utils/Addr2line.java
+++ b/utils/org/eclipse/cdt/utils/Addr2line.java
@@ -1,139 +1,143 @@
/*****************************************************************... | true | true | public int getLineNumber(IAddress address) throws IOException {
// We try to get the nearest match
// since the symbol may not exactly align with debug info.
// In C line number 0 is invalid, line starts at 1 for file, we use
// this for validation.
//IPF_TODO: check
for (int i = 0; i <= 20; i += 4, ad... | public int getLineNumber(IAddress address) throws IOException {
// We try to get the nearest match
// since the symbol may not exactly align with debug info.
// In C line number 0 is invalid, line starts at 1 for file, we use
// this for validation.
//IPF_TODO: check
for (int i = 0; i <= 20; i += 4, ad... |
diff --git a/src/com/sun/gi/framework/status/ReportUpdater.java b/src/com/sun/gi/framework/status/ReportUpdater.java
index 0e9c0e911..65c5c630d 100644
--- a/src/com/sun/gi/framework/status/ReportUpdater.java
+++ b/src/com/sun/gi/framework/status/ReportUpdater.java
@@ -1,120 +1,121 @@
/*
* Copyright © 2006 Sun Micros... | true | true | public ReportUpdater(ReportManager mgr) {
reportManager = mgr;
updateTime = mgr.getReportTTL();
thread = new Thread(new Runnable() {
public void run() {
lastUpdate = System.currentTimeMillis();
while (true) {
try {
... | public ReportUpdater(ReportManager mgr) {
reportManager = mgr;
updateTime = mgr.getReportTTL();
thread = new Thread(new Runnable() {
public void run() {
lastUpdate = System.currentTimeMillis();
while (true) {
try {
... |
diff --git a/Orego/src/orego/patternanalyze/PatternCounter5.java b/Orego/src/orego/patternanalyze/PatternCounter5.java
index db752c81..1aca315c 100644
--- a/Orego/src/orego/patternanalyze/PatternCounter5.java
+++ b/Orego/src/orego/patternanalyze/PatternCounter5.java
@@ -1,158 +1,159 @@
package orego.patternanalyze;
... | true | true | public void analyze(Board board) {
int turn = board.getTurn();
Board patternBoard = new Board();
playedThisGame.clear();
seenThisGame.clear();
for (int t = 1; t < turn; t++) {
int currentPlay = board.getMove(t);
int lastPlay = board.getMove(t - 1);
if (ON_BOARD[lastPlay] && ON_BOARD[currentPlay]) {
... | public void analyze(Board board) {
int turn = board.getTurn();
Board patternBoard = new Board();
playedThisGame.clear();
seenThisGame.clear();
patternBoard.play(board.getMove(0));
for (int t = 1; t < turn; t++) {
int currentPlay = board.getMove(t);
int lastPlay = board.getMove(t - 1);
if (ON_BOARD... |
diff --git a/src/com/android/calendar/event/EditEventFragment.java b/src/com/android/calendar/event/EditEventFragment.java
index 870fcb15..2e023e45 100644
--- a/src/com/android/calendar/event/EditEventFragment.java
+++ b/src/com/android/calendar/event/EditEventFragment.java
@@ -1,462 +1,463 @@
/*
* Copyright (C) 201... | true | true | protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
// If the query didn't return a cursor for some reason return
if (cursor == null) {
return;
}
// If the Activity is finishing, then close the cursor.
// Otherwis... | protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
// If the query didn't return a cursor for some reason return
if (cursor == null) {
return;
}
// If the Activity is finishing, then close the cursor.
// Otherwis... |
diff --git a/src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesFileService.java b/src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesFileService.java
index c21b398..6f42a11 100644
--- a/src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesFileService.java
+++ b/src/main/java/org/je... | true | true | public Map<String, String> getVarsFromPropertiesFile(File propertiesFile) throws EnvInjectException {
if (propertiesFile == null) {
throw new NullPointerException("The properties file object must be set.");
}
if (!propertiesFile.exists()) {
throw new NullPointerExcep... | public Map<String, String> getVarsFromPropertiesFile(File propertiesFile) throws EnvInjectException {
if (propertiesFile == null) {
throw new NullPointerException("The properties file object must be set.");
}
if (!propertiesFile.exists()) {
throw new NullPointerExcep... |
diff --git a/src/com/arcao/geocaching4locus/MenuActivity.java b/src/com/arcao/geocaching4locus/MenuActivity.java
index 6fa80226..86f65fe3 100644
--- a/src/com/arcao/geocaching4locus/MenuActivity.java
+++ b/src/com/arcao/geocaching4locus/MenuActivity.java
@@ -1,146 +1,146 @@
package com.arcao.geocaching4locus;
impor... | true | true | public void onClickLiveMap(View view) {
boolean activated = liveMapButton.isChecked();
// Temporary fix for NPE in Locus API.
boolean periodicUpdateEnabled = true;
try {
periodicUpdateEnabled = isPeriodicUpdateEnabled(this);
} catch (Exception e) {
Log.e(TAG, "Unable to receive info about current stat... | public void onClickLiveMap(View view) {
boolean activated = liveMapButton.isChecked();
// Temporary fix for NPE in Locus API.
boolean periodicUpdateEnabled = true;
try {
periodicUpdateEnabled = isPeriodicUpdateEnabled(this);
} catch (Exception e) {
Log.e(TAG, "Unable to receive info about current stat... |
diff --git a/src/test/java/com/steamedpears/comp3004/CardTests.java b/src/test/java/com/steamedpears/comp3004/CardTests.java
index 3890397..3981c61 100644
--- a/src/test/java/com/steamedpears/comp3004/CardTests.java
+++ b/src/test/java/com/steamedpears/comp3004/CardTests.java
@@ -1,66 +1,66 @@
package com.steamedpears... | false | true | public void testCards() {
JsonParser parser = new JsonParser();
JsonArray cardJSON = parser
.parse(new InputStreamReader(CardTests.class.getResourceAsStream(SevenWonders.PATH_CARDS)))
.getAsJsonObject()
.get(Router.PROP_ROUTE_CARDS)
.ge... | public void testCards() {
JsonParser parser = new JsonParser();
JsonArray cardJSON = parser
.parse(new InputStreamReader(CardTests.class.getResourceAsStream(SevenWonders.PATH_CARDS)))
.getAsJsonObject()
.get(Router.PROP_ROUTE_CARDS)
.ge... |
diff --git a/Main/src/de/mibbiodev/ld26/tile/ExitTile.java b/Main/src/de/mibbiodev/ld26/tile/ExitTile.java
index 90ff359..bf0eba6 100644
--- a/Main/src/de/mibbiodev/ld26/tile/ExitTile.java
+++ b/Main/src/de/mibbiodev/ld26/tile/ExitTile.java
@@ -1,30 +1,28 @@
package de.mibbiodev.ld26.tile;
import com.badlogic.gdx.g... | true | true | public Texture getTexture(Color scheme) {
Color exitColor = Color.WHITE;
exitColor.sub(scheme.cpy().mul(shade));
pixelMap.setColor(exitColor);
pixelMap.fill();
pixelMap.setColor(Color.BLACK);
tileTexture.draw(pixelMap, 0, 0);
return tileTexture;
}
| public Texture getTexture(Color scheme) {
pixelMap.setColor(Color.WHITE.cpy().mul(shade));
pixelMap.fill();
pixelMap.setColor(Color.BLACK);
tileTexture.draw(pixelMap, 0, 0);
return tileTexture;
}
|
diff --git a/webapp/lib/src/main/java/com/github/podd/resources/SparqlResourceImpl.java b/webapp/lib/src/main/java/com/github/podd/resources/SparqlResourceImpl.java
index 7bb32ab7..03ee786a 100644
--- a/webapp/lib/src/main/java/com/github/podd/resources/SparqlResourceImpl.java
+++ b/webapp/lib/src/main/java/com/github/... | true | true | public Representation getSparqlRdf(final Variant variant) throws ResourceException
{
this.log.debug("getSparqlRdf");
final ByteArrayOutputStream output = new ByteArrayOutputStream(8096);
// sparql query - mandatory parameter
final String sparqlQuery = this.getQu... | public Representation getSparqlRdf(final Variant variant) throws ResourceException
{
this.log.debug("getSparqlRdf");
final ByteArrayOutputStream output = new ByteArrayOutputStream(8096);
// sparql query - mandatory parameter
final String sparqlQuery = this.getQu... |
diff --git a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java b/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java
index 8892019e..70dbe1a8 100644
--- a/src/main/java/com/sk89q/worldguard/bukkit/WorldGuardEntityListener.java
+++ b/src/main/java/com/sk89q/worldguard/bukkit/Wor... | false | true | public void onEntityExplode(EntityExplodeEvent event) {
ConfigurationManager cfg = plugin.getGlobalStateManager();
Location l = event.getLocation();
World world = l.getWorld();
WorldConfiguration wcfg = cfg.get(world);
Entity ent = event.getEntity();
if (cfg.activity... | public void onEntityExplode(EntityExplodeEvent event) {
ConfigurationManager cfg = plugin.getGlobalStateManager();
Location l = event.getLocation();
World world = l.getWorld();
WorldConfiguration wcfg = cfg.get(world);
Entity ent = event.getEntity();
if (cfg.activity... |
diff --git a/latc-platform/console/src/main/java/eu/latc/console/resources/Statistics.java b/latc-platform/console/src/main/java/eu/latc/console/resources/Statistics.java
index 4b30589..eba96a9 100644
--- a/latc-platform/console/src/main/java/eu/latc/console/resources/Statistics.java
+++ b/latc-platform/console/src/mai... | true | true | public Representation toJSON() {
logger.info("[GET-JSON] Return statistics");
try {
// Get access to the entity manager stored in the app
ObjectManager manager = ((MainApplication) getApplication()).getObjectManager();
// Go through all the notifications to get stats for the latest run
int lastYear =... | public Representation toJSON() {
logger.info("[GET-JSON] Return statistics");
try {
// Get access to the entity manager stored in the app
ObjectManager manager = ((MainApplication) getApplication()).getObjectManager();
// Go through all the notifications to get stats for the latest run
int lastYear =... |
diff --git a/h2/src/main/org/h2/command/dml/Set.java b/h2/src/main/org/h2/command/dml/Set.java
index 09af1d5e3..b891c45d7 100644
--- a/h2/src/main/org/h2/command/dml/Set.java
+++ b/h2/src/main/org/h2/command/dml/Set.java
@@ -1,453 +1,458 @@
/*
* Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License,
... | true | true | public int update() {
Database database = session.getDatabase();
String name = SetTypes.getTypeName(type);
switch (type) {
case SetTypes.ALLOW_LITERALS: {
session.getUser().checkAdmin();
int value = getIntValue();
if (value < 0 || value > 2) {
... | public int update() {
Database database = session.getDatabase();
String name = SetTypes.getTypeName(type);
switch (type) {
case SetTypes.ALLOW_LITERALS: {
session.getUser().checkAdmin();
int value = getIntValue();
if (value < 0 || value > 2) {
... |
diff --git a/eclipse/plugins/net.sf.orcc.backends/src/net/sf/orcc/backends/c/CBackendImpl.java b/eclipse/plugins/net.sf.orcc.backends/src/net/sf/orcc/backends/c/CBackendImpl.java
index 8fe366ed5..927d86471 100644
--- a/eclipse/plugins/net.sf.orcc.backends/src/net/sf/orcc/backends/c/CBackendImpl.java
+++ b/eclipse/plugi... | true | true | protected void doXdfCodeGeneration(Network network) throws OrccException {
// Transform the network
doTransformNetwork(network);
if (merge) {
network.mergeActors();
}
// Transform all actors of the network
transformActors(network.getActors());
network.computeTemplateMaps();
StandardPrinter print... | protected void doXdfCodeGeneration(Network network) throws OrccException {
// Transform the network
doTransformNetwork(network);
if (merge) {
network.mergeActors();
}
// Transform all actors of the network
transformActors(network.getActors());
network.computeTemplateMaps();
StandardPrinter print... |
diff --git a/src/test/java/com/github/croesch/partimana/view/listener/TableSelectOnClickListenerGUITest.java b/src/test/java/com/github/croesch/partimana/view/listener/TableSelectOnClickListenerGUITest.java
index 35c0687..9866793 100644
--- a/src/test/java/com/github/croesch/partimana/view/listener/TableSelectOnClickLi... | true | true | protected void before() {
this.table = GuiActionRunner.execute(new GuiQuery<JTableFixture>() {
@Override
protected JTableFixture executeInEDT() throws Throwable {
final JTable table = new JTable(new Object[][] { new Object[] { "Müller", "Hans" },
... | protected void before() {
this.table = GuiActionRunner.execute(new GuiQuery<JTableFixture>() {
@Override
protected JTableFixture executeInEDT() throws Throwable {
final JTable table = new JTable(new Object[][] { new Object[] { "Müller", "Hans" },
... |
diff --git a/src/net/sf/freecol/common/model/DiplomaticTrade.java b/src/net/sf/freecol/common/model/DiplomaticTrade.java
index 9b08e357b..4dde7fc58 100644
--- a/src/net/sf/freecol/common/model/DiplomaticTrade.java
+++ b/src/net/sf/freecol/common/model/DiplomaticTrade.java
@@ -1,334 +1,336 @@
/**
* Copyright (C) 200... | true | true | protected void readFromXMLImpl(XMLStreamReader in) throws XMLStreamException {
String acceptString = in.getAttributeValue(null, "accept");
if ("accept".equals(acceptString)) {
accept = true;
}
String senderString = in.getAttributeValue(null, "sender");
sender = (... | protected void readFromXMLImpl(XMLStreamReader in) throws XMLStreamException {
String acceptString = in.getAttributeValue(null, "accept");
if ("accept".equals(acceptString)) {
accept = true;
}
String senderString = in.getAttributeValue(null, "sender");
sender = (... |
diff --git a/src/com/example/foundationsofsuccessfulprogramminginjava/QuestionPage.java b/src/com/example/foundationsofsuccessfulprogramminginjava/QuestionPage.java
index 6918250..e5b31aa 100644
--- a/src/com/example/foundationsofsuccessfulprogramminginjava/QuestionPage.java
+++ b/src/com/example/foundationsofsuccessfu... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.question);
for(int i = 0; i < numQuestions; i++){
responses[i] = -1;
}
questionNum++;
correctAnswer = initializeQuestion();
rGroup = (RadioGroup)findViewById(R.id.radioGroup1);
/* This ... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.question);
for(int i = 0; i < numQuestions; i++){
responses[i] = -1;
}
questionNum++;
correctAnswer = initializeQuestion();
rGroup = (RadioGroup)findViewById(R.id.radioGroup1);
/* This ... |
diff --git a/sh/cereal/bukkit/plugin/AutoSave/AutoSave.java b/sh/cereal/bukkit/plugin/AutoSave/AutoSave.java
index 91e3ec6..4b26d72 100644
--- a/sh/cereal/bukkit/plugin/AutoSave/AutoSave.java
+++ b/sh/cereal/bukkit/plugin/AutoSave/AutoSave.java
@@ -1,641 +1,641 @@
/**
* Copyright 2011 Morgan Humes
*
* This progr... | true | true | public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
String commandName = command.getName().toLowerCase();
Player player = null;
if((sender instanceof Player)) {
player = (Player) sender;
}
if (commandName.equals("save")) ... | public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
String commandName = command.getName().toLowerCase();
Player player = null;
if((sender instanceof Player)) {
player = (Player) sender;
}
if (commandName.equals("save")) ... |
diff --git a/trunk/uim/common/src/main/java/eu/europeana/uim/common/TKey.java b/trunk/uim/common/src/main/java/eu/europeana/uim/common/TKey.java
index 7cfd2444..15905531 100644
--- a/trunk/uim/common/src/main/java/eu/europeana/uim/common/TKey.java
+++ b/trunk/uim/common/src/main/java/eu/europeana/uim/common/TKey.java
@... | true | true | public static TKey<?, ?> fromString(String string) {
try {
String[] split = string.split("=");
if (split.length == 1) {
// backward compatibility with full name only
String[] nn = split[0].split("/");
if (nn.length != 2) {
... | public static TKey<?, ?> fromString(String string) {
try {
String[] split = string.split("=");
if (split.length == 1) {
// backward compatibility with full name only
String[] nn = split[0].split("/");
if (nn.length != 2) {
... |
diff --git a/src/main/java/com/novemberain/quartz/mongodb/MongoDBJobStore.java b/src/main/java/com/novemberain/quartz/mongodb/MongoDBJobStore.java
index 0cc2e18..e7d7224 100755
--- a/src/main/java/com/novemberain/quartz/mongodb/MongoDBJobStore.java
+++ b/src/main/java/com/novemberain/quartz/mongodb/MongoDBJobStore.java... | true | true | public List<OperableTrigger> acquireNextTriggers(long noLaterThan, int maxCount, long timeWindow)
throws JobPersistenceException {
BasicDBObject query = new BasicDBObject();
query.put(TRIGGER_NEXT_FIRE_TIME, new BasicDBObject("$lte", new Date(noLaterThan)));
if (log.isDebugEnabled()) {
log.de... | public List<OperableTrigger> acquireNextTriggers(long noLaterThan, int maxCount, long timeWindow)
throws JobPersistenceException {
BasicDBObject query = new BasicDBObject();
query.put(TRIGGER_NEXT_FIRE_TIME, new BasicDBObject("$lte", new Date(noLaterThan)));
if (log.isDebugEnabled()) {
log.de... |
diff --git a/code/server/src/asl/Persistence/DbPersistence.java b/code/server/src/asl/Persistence/DbPersistence.java
index 9269766..5d542b6 100644
--- a/code/server/src/asl/Persistence/DbPersistence.java
+++ b/code/server/src/asl/Persistence/DbPersistence.java
@@ -1,437 +1,437 @@
package asl.Persistence;
import jav... | true | true | public void buildSchema() throws PersistenceException {
String sql = "CREATE TABLE clients "
+ "( "
+ "id bigserial NOT NULL, "
+ "name character varying(25), "
+ "CONSTRAINT id PRIMARY KEY (id ) "
+ ") "
+ "WITH ( "
+ "OIDS=FALSE "
+ "); "
+ "ALTER TABLE clients "
+ "OWNER TO... | public void buildSchema() throws PersistenceException {
String sql = "CREATE TABLE clients "
+ "( "
+ "id bigserial NOT NULL, "
+ "name character varying(25), "
+ "CONSTRAINT id PRIMARY KEY (id ) "
+ ") "
+ "WITH ( "
+ "OIDS=FALSE "
+ "); "
+ "ALTER TABLE clients "
+ "OWNER TO... |
diff --git a/utgb-core/src/main/java/org/utgenome/format/keyword/KeywordDB.java b/utgb-core/src/main/java/org/utgenome/format/keyword/KeywordDB.java
index ffc9d990..36a114bb 100755
--- a/utgb-core/src/main/java/org/utgenome/format/keyword/KeywordDB.java
+++ b/utgb-core/src/main/java/org/utgenome/format/keyword/KeywordD... | true | true | public KeywordSearchResult query(String ref, String keyword, int page, int pageSize) throws Exception {
if (pageSize > 100)
pageSize = 100;
if (pageSize <= 0)
pageSize = 10;
final KeywordSearchResult r = new KeywordSearchResult();
r.page = page;
String keywordSegments = splitKeyword(keyword);
if (k... | public KeywordSearchResult query(String ref, String keyword, int page, int pageSize) throws Exception {
if (pageSize > 100)
pageSize = 100;
if (pageSize <= 0)
pageSize = 10;
final KeywordSearchResult r = new KeywordSearchResult();
r.page = page;
String keywordSegments = splitKeyword(keyword);
if (k... |
diff --git a/app/controllers/SimpleReleaseContoller.java b/app/controllers/SimpleReleaseContoller.java
index 4569531..0d2ca01 100644
--- a/app/controllers/SimpleReleaseContoller.java
+++ b/app/controllers/SimpleReleaseContoller.java
@@ -1,113 +1,113 @@
/**
* This file is part of RibbonWeb application (check README).... | true | true | public static Result edit() {
models.MessageProbe editPost = Form.form(models.MessageProbe.class).bindFromRequest().get();
models.MessageProbe oldPost = (models.MessageProbe) new Model.Finder(String.class, models.MessageProbe.class).byId(editPost.id);
editPost.author = oldPost.author;
... | public static Result edit() {
models.MessageProbe editPost = Form.form(models.MessageProbe.class).bindFromRequest().get();
models.MessageProbe oldPost = (models.MessageProbe) new Model.Finder(String.class, models.MessageProbe.class).byId(editPost.id);
editPost.author = oldPost.author;
... |
diff --git a/backend/manager/modules/engineencryptutils/src/main/java/org/ovirt/engine/core/engineencryptutils/StoreUtils.java b/backend/manager/modules/engineencryptutils/src/main/java/org/ovirt/engine/core/engineencryptutils/StoreUtils.java
index 1bbb224fe..95c3d9998 100644
--- a/backend/manager/modules/engineencrypt... | false | true | public static void main(String[] args) {
try {
CLIParse parser = new CLIParse(args);
if (parser.hasArg("?") || parser.hasArg("help") || args.length == 0) {
printUsage();
return;
}
if (!validate(parser)) {
return... | public static void main(String[] args) {
int exitCode = 0;
try {
CLIParse parser = new CLIParse(args);
if (parser.hasArg("?") || parser.hasArg("help") || args.length == 0) {
printUsage();
return;
}
if (!validate(parser)... |
diff --git a/BullGit/src/BullWhip.java b/BullGit/src/BullWhip.java
index e0d5ac4..fd33797 100644
--- a/BullGit/src/BullWhip.java
+++ b/BullGit/src/BullWhip.java
@@ -1,23 +1,24 @@
public class BullWhip {
public static void whipIt() {
}
public static void whipItGood() {
}
public static void w... | true | true | public static void main(String[] args) {
System.out.println("BullWhip");
BullWhip.whipIt();
BullWhip.whipItGood();
}
| public static void main(String[] args) {
System.out.println("BullWhip");
BullWhip.whipIt();
BullWhip.whipItGood();
BullWhip.whipItRealGood();
}
|
diff --git a/src/board/Board.java b/src/board/Board.java
index 1bf1168..dc223fe 100644
--- a/src/board/Board.java
+++ b/src/board/Board.java
@@ -1,479 +1,479 @@
package board;
import java.awt.Point;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
... | true | true | public Board applyAction(Action a, boolean destructive)
throws IllegalMoveException {
Board newBoard;
if (destructive) {
newBoard = this;
} else {
newBoard = new Board(this);
}
Point player = newBoard.getPlayerPosition();
Point destination = SokobanUtil.applyActionToPoint(a, player);
Symbol de... | public Board applyAction(Action a, boolean destructive)
throws IllegalMoveException {
Board newBoard;
if (destructive) {
newBoard = this;
} else {
newBoard = new Board(this);
}
Point player = newBoard.getPlayerPosition();
Point destination = SokobanUtil.applyActionToPoint(a, player);
Symbol de... |
diff --git a/modules/jetm-contrib/src/java/test/etm/contrib/rrd/rrd4j/Rrd4jPluginTest.java b/modules/jetm-contrib/src/java/test/etm/contrib/rrd/rrd4j/Rrd4jPluginTest.java
index 1c6b632..63a9475 100644
--- a/modules/jetm-contrib/src/java/test/etm/contrib/rrd/rrd4j/Rrd4jPluginTest.java
+++ b/modules/jetm-contrib/src/java... | true | true | public void testRrdDbWrite() throws Exception {
URL resource = Thread.currentThread().getContextClassLoader().getResource("test/etm/contrib/rrd/rrd4j/resources/basic_db_template.xml");
File path = File.createTempFile("test", ".rrd");
try {
EtmMonitor monitor = new NestedMonitor(new NotifyingAggrega... | public void testRrdDbWrite() throws Exception {
URL resource = Thread.currentThread().getContextClassLoader().getResource("test/etm/contrib/rrd/rrd4j/resources/basic_db_template.xml");
File path = File.createTempFile("test", ".rrd");
try {
EtmMonitor monitor = new NestedMonitor(new NotifyingAggrega... |
diff --git a/app/controllers/PublicRCACaseController.java b/app/controllers/PublicRCACaseController.java
index 0631e59..a6b9d6a 100644
--- a/app/controllers/PublicRCACaseController.java
+++ b/app/controllers/PublicRCACaseController.java
@@ -1,92 +1,96 @@
/*
* Copyright (C) 2012 by Eero Laukkanen, Risto Virtanen, Jus... | true | true | public static RCACase checkIfCurrentUserHasRightsForRCACase(Long rcaCaseId) {
RCACase rcaCase = RCACase.findById(rcaCaseId);
notFoundIfNull(rcaCase);
User user = SecurityController.getCurrentUser();
if (!rcaCase.isCasePublic && (user == null || !user.caseIds.contains(rcaCase.id))) {
if (user == null) {
... | public static RCACase checkIfCurrentUserHasRightsForRCACase(Long rcaCaseId) {
RCACase rcaCase = RCACase.findById(rcaCaseId);
notFoundIfNull(rcaCase);
User user = SecurityController.getCurrentUser();
if (!rcaCase.isCasePublic && (user == null || !user.caseIds.contains(rcaCase.id))) {
if (user == null) {
... |
diff --git a/source/ejb/src/main/java/org/richfaces/photoalbum/domain/Image.java b/source/ejb/src/main/java/org/richfaces/photoalbum/domain/Image.java
index 8d33e689c..3fcf8435d 100644
--- a/source/ejb/src/main/java/org/richfaces/photoalbum/domain/Image.java
+++ b/source/ejb/src/main/java/org/richfaces/photoalbum/domai... | true | true | public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
final Image image = (Image) obj;
return (id == null ? image.getId() == null : id.equals(image.getId()))
&& (path == null ? image.getPath() == null : path.equ... | public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
final Image image = (Image) obj;
return (id == null ? image.getId() == null : id.equals(image.getId()))
&& (path == null ? image.getPath() == null : path.equals(image.getPath()));
}
|
diff --git a/src/main/java/ru/guardz/docmon/Monitor.java b/src/main/java/ru/guardz/docmon/Monitor.java
index ad402a7..33951f5 100644
--- a/src/main/java/ru/guardz/docmon/Monitor.java
+++ b/src/main/java/ru/guardz/docmon/Monitor.java
@@ -1,233 +1,233 @@
package ru.guardz.docmon;
import com.documentum.com.DfClientX;
... | false | true | public static String statusOfIA(IDfSession dfSession) throws DfException {
String ret = null;
List list = getIndexName(dfSession);
IndexAgentInfo agentInfo;
for (Object aList : list) {
agentInfo = (IndexAgentInfo) aList;
String instanceName = agentInfo != null ?... | public static String statusOfIA(IDfSession dfSession) throws DfException {
String ret = null;
List list = getIndexName(dfSession);
IndexAgentInfo agentInfo;
for (Object aList : list) {
agentInfo = (IndexAgentInfo) aList;
String instanceName = agentInfo != null ?... |
diff --git a/src/main/java/org/encog/neural/prune/PruneIncremental.java b/src/main/java/org/encog/neural/prune/PruneIncremental.java
index ca39beb0a..fc3f9f55f 100644
--- a/src/main/java/org/encog/neural/prune/PruneIncremental.java
+++ b/src/main/java/org/encog/neural/prune/PruneIncremental.java
@@ -1,620 +1,620 @@
/*... | true | true | public final void performJobUnit(final JobUnitContext context) {
final BasicNetwork network = (BasicNetwork) context.getJobUnit();
BufferedMLDataSet buffer = null;
MLDataSet useTraining = this.training;
if (this.training instanceof BufferedMLDataSet) {
buffer = (BufferedMLDataSet) this.training;
useTra... | public final void performJobUnit(final JobUnitContext context) {
final BasicNetwork network = (BasicNetwork) context.getJobUnit();
BufferedMLDataSet buffer = null;
MLDataSet useTraining = this.training;
if (this.training instanceof BufferedMLDataSet) {
buffer = (BufferedMLDataSet) this.training;
useTra... |
diff --git a/src/org/apache/xerces/validators/schema/XSchemaValidator.java b/src/org/apache/xerces/validators/schema/XSchemaValidator.java
index 580b1823..a09e9e95 100644
--- a/src/org/apache/xerces/validators/schema/XSchemaValidator.java
+++ b/src/org/apache/xerces/validators/schema/XSchemaValidator.java
@@ -1,3164 +1... | true | true | private void traverseSchema(Element root) throws Exception {
// is there anything to do?
if (root == null) {
return;
}
// run through children
for (Element child = XUtil.getFirstChildElement(root);
child != null;
child = XUtil.getNextSib... | private void traverseSchema(Element root) throws Exception {
// is there anything to do?
if (root == null) {
return;
}
// run through children
for (Element child = XUtil.getFirstChildElement(root);
child != null;
child = XUtil.getNextSib... |
diff --git a/src/fr/miximum/qotd/QuoteDatabase.java b/src/fr/miximum/qotd/QuoteDatabase.java
index 091fe1b..045237d 100644
--- a/src/fr/miximum/qotd/QuoteDatabase.java
+++ b/src/fr/miximum/qotd/QuoteDatabase.java
@@ -1,228 +1,229 @@
/*
* © Copyright 2011 Thibault Jouannic <thibault@jouannic.fr>. All Rights Reserved.... | true | true | public void copyDatabase() {
Log.d("QOTD", "Creating database");
// We need to close the db handle to overwrite the newly created db
close();
try {
// Fixtures db is in assets
InputStream myInput = mContext.getAssets().open(DB_NAM... | public void copyDatabase() {
Log.d("QOTD", "Creating database");
// We need to close the db handle to overwrite the newly created db
close();
try {
// Fixtures db is in assets
InputStream myInput = mContext.getAssets().open(DB_NAM... |
diff --git a/src/uk/co/mentalspace/android/bustimes/BusTimeRefreshService.java b/src/uk/co/mentalspace/android/bustimes/BusTimeRefreshService.java
index f0f49e4..28af941 100644
--- a/src/uk/co/mentalspace/android/bustimes/BusTimeRefreshService.java
+++ b/src/uk/co/mentalspace/android/bustimes/BusTimeRefreshService.java... | true | true | public void processIntent(Intent arg0) {
String action = arg0.getAction();
if (Preferences.ENABLE_LOGGING) Log.d(LOGNAME, "Handling action: "+action);
if (ACTION_REFRESH_BUS_TIMES.equals(action)) {
String sourceId = arg0.getStringExtra(EXTRA_SOURCE_ID);
if (null == sourceId || "".equals(sourceId.trim())... | public void processIntent(Intent arg0) {
String action = arg0.getAction();
if (Preferences.ENABLE_LOGGING) Log.d(LOGNAME, "Handling action: "+action);
if (ACTION_REFRESH_BUS_TIMES.equals(action)) {
String sourceId = arg0.getStringExtra(EXTRA_SOURCE_ID);
if (null == sourceId || "".equals(sourceId.trim())... |
diff --git a/plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/validator/RubyValidator.java b/plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/validator/RubyValidator.java
index a6ace8f..91acbdf 100644
--- a/plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/validator/RubyValidator.java
+++ b/pl... | false | true | public List<IValidationItem> validate(String source, final URI path, final IValidationManager manager)
{
List<IValidationItem> items = new ArrayList<IValidationItem>();
// Check what the version of the current ruby interpreter is and use that to determine which parser compat
// to use!
CompatVersion version =... | public List<IValidationItem> validate(String source, final URI path, final IValidationManager manager)
{
List<IValidationItem> items = new ArrayList<IValidationItem>();
// Check what the version of the current ruby interpreter is and use that to determine which parser compat
// to use!
CompatVersion version =... |
diff --git a/src/gui/RestState.java b/src/gui/RestState.java
index 270f392..5e0081b 100644
--- a/src/gui/RestState.java
+++ b/src/gui/RestState.java
@@ -1,41 +1,40 @@
package gui;
public class RestState implements IState {
private Game game;
public RestState(Game game)
{
this.game = game;
}
@Ov... | true | true | public IState execute() {
String output = "You are resting for 5 seconds...";
System.out.print(output);
int i = 5;
while (i > 0) {
try {
Thread.sleep(1000);
i--;
System.out.print(StringUtils.repeat("\b", output.length())); // 11 backspace to remove the seconds, does not work in Eclipse
ou... | public IState execute() {
String output = "You are resting for 5 seconds...";
System.out.print(output);
int i = 5;
while (i > 0) {
try {
Thread.sleep(1000);
i--;
System.out.print(StringUtils.repeat("\b", output.length())); // 11 backspace to remove the seconds, does not work in Eclipse
ou... |
diff --git a/src/org/osm2world/core/target/common/material/NamedTexCoordFunction.java b/src/org/osm2world/core/target/common/material/NamedTexCoordFunction.java
index 140efa1..fc01c0c 100644
--- a/src/org/osm2world/core/target/common/material/NamedTexCoordFunction.java
+++ b/src/org/osm2world/core/target/common/materia... | true | true | public List<VectorXZ> apply(List<VectorXYZ> vs, TextureData textureData) {
List<VectorXZ> result = new ArrayList<VectorXZ>(vs.size());
switch (this) {
case GLOBAL_X_Z:
case GLOBAL_X_Y:
for (VectorXYZ v : vs) {
result.add(new VectorXZ(
v.x / textureData.width,
(this == GLOBAL_X_Y... | public List<VectorXZ> apply(List<VectorXYZ> vs, TextureData textureData) {
List<VectorXZ> result = new ArrayList<VectorXZ>(vs.size());
switch (this) {
case GLOBAL_X_Z:
case GLOBAL_X_Y:
for (VectorXYZ v : vs) {
result.add(new VectorXZ(
v.x / textureData.width,
(this == GLOBAL_X_Y... |
diff --git a/PreviewExport/src/org/gephi/io/exporter/preview/PDFExporter.java b/PreviewExport/src/org/gephi/io/exporter/preview/PDFExporter.java
index eb3f36e4b..6ab837a17 100644
--- a/PreviewExport/src/org/gephi/io/exporter/preview/PDFExporter.java
+++ b/PreviewExport/src/org/gephi/io/exporter/preview/PDFExporter.java... | true | true | public boolean execute() {
Progress.start(progress);
PreviewController controller = Lookup.getDefault().lookup(PreviewController.class);
controller.getModel(workspace).getProperties().putValue(PreviewProperty.VISIBILITY_RATIO, 1.0);
controller.refreshPreview(workspace);
Prev... | public boolean execute() {
Progress.start(progress);
PreviewController controller = Lookup.getDefault().lookup(PreviewController.class);
controller.getModel(workspace).getProperties().putValue(PreviewProperty.VISIBILITY_RATIO, 1.0);
controller.refreshPreview(workspace);
Prev... |
diff --git a/patientview-parent/patientview/src/main/java/org/patientview/service/impl/ImportManagerImpl.java b/patientview-parent/patientview/src/main/java/org/patientview/service/impl/ImportManagerImpl.java
index ae57c971..429378e8 100644
--- a/patientview-parent/patientview/src/main/java/org/patientview/service/impl... | true | true | public void update(File xmlFile) {
try {
/**
* Check if the file is empty or not. If a file is completely empty, this probably means that the encryption
* hasn't worked. Send a mail to RPV admin, and skip validate and process
*/
if (xmlFile.len... | public void update(File xmlFile) {
try {
/**
* Check if the file is empty or not. If a file is completely empty, this probably means that the encryption
* hasn't worked. Send a mail to RPV admin, and skip validate and process
*/
if (xmlFile.len... |
diff --git a/core/src/test/java/org/mule/galaxy/impl/PropertyTest.java b/core/src/test/java/org/mule/galaxy/impl/PropertyTest.java
index ef946a8b..3d8d2f2f 100755
--- a/core/src/test/java/org/mule/galaxy/impl/PropertyTest.java
+++ b/core/src/test/java/org/mule/galaxy/impl/PropertyTest.java
@@ -1,39 +1,39 @@
package or... | false | true | public void testProperties() throws Exception {
importHelloWsdl();
PropertyDescriptor pd = new PropertyDescriptor("location",
"Geographic Location",
false);
registry.save... | public void testProperties() throws Exception {
importHelloWsdl();
PropertyDescriptor pd = new PropertyDescriptor("location",
"Geographic Location",
false);
registry.save... |
diff --git a/app/controllers/CauseController.java b/app/controllers/CauseController.java
index f4c15cb..0666b05 100644
--- a/app/controllers/CauseController.java
+++ b/app/controllers/CauseController.java
@@ -1,95 +1,95 @@
/*
* Copyright (C) 2011 by Eero Laukkanen, Risto Virtanen, Jussi Patana, Juha Viljanen,
* Jo... | true | true | public static void deleteCause(String causeId, User deleter) {
Cause cause = Cause.findById(Long.valueOf(causeId));
RCACase rcaCase = cause.rcaCase;
if (!CauseController.userIsAllowedToDelete(cause, rcaCase)) {
//TODO: notify user that she cannot remove the problem cause
return;
}
rcaCase.deleteCause... | public static void deleteCause(String causeId) {
Cause cause = Cause.findById(Long.valueOf(causeId));
RCACase rcaCase = cause.rcaCase;
if (!CauseController.userIsAllowedToDelete(cause, rcaCase)) {
//TODO: notify user that she cannot remove the problem cause
return;
}
rcaCase.deleteCause(cause);
De... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.