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/src/org/dyndns/pawitp/salayatrammap/map/MapView.java b/src/org/dyndns/pawitp/salayatrammap/map/MapView.java
index ea954cf..f34e953 100644
--- a/src/org/dyndns/pawitp/salayatrammap/map/MapView.java
+++ b/src/org/dyndns/pawitp/salayatrammap/map/MapView.java
@@ -1,111 +1,113 @@
package org.dyndns.pawitp.sala... | true | true | public boolean onDoubleTap(MotionEvent e) {
Matrix matrix = new Matrix(getImageMatrix());
float[] values = new float[9];
matrix.getValues(values);
float scale;
if (values[Matrix.MSCALE_X] < DEFAULT_ZOOM - 0.01F /* floating point inaccuracy */) { // scale x == scale y
scale = DEFAULT_ZOOM;
... | public boolean onDoubleTap(MotionEvent e) {
Matrix matrix = new Matrix(getImageMatrix());
float[] values = new float[9];
matrix.getValues(values);
float scale;
if (values[Matrix.MSCALE_X] < DEFAULT_ZOOM - 0.01F /* floating point inaccuracy */) { // scale x == scale y
scale = DEFAULT_ZOOM;
... |
diff --git a/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java b/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java
index e38d43749..c65aa2a25 100644
--- a/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints... | true | true | protected Endpoint createEndpoint(OMElement epConfig, boolean anonymousEndpoint,
Properties properties) {
WSDLEndpoint wsdlEndpoint = new WSDLEndpoint();
OMAttribute name = epConfig.getAttribute(new QName(
org.apache.synapse.config.xml.XMLConfig... | protected Endpoint createEndpoint(OMElement epConfig, boolean anonymousEndpoint,
Properties properties) {
WSDLEndpoint wsdlEndpoint = new WSDLEndpoint();
OMAttribute name = epConfig.getAttribute(new QName(
org.apache.synapse.config.xml.XMLConfig... |
diff --git a/util/src/main/java/com/psddev/dari/util/CodeUtils.java b/util/src/main/java/com/psddev/dari/util/CodeUtils.java
index ce92b63a..dafe8202 100644
--- a/util/src/main/java/com/psddev/dari/util/CodeUtils.java
+++ b/util/src/main/java/com/psddev/dari/util/CodeUtils.java
@@ -1,813 +1,817 @@
package com.psddev.d... | false | true | private static synchronized Class<?> getAgentClass() {
try {
AGENT_CLASS = ClassLoader.getSystemClassLoader().loadClass(Agent.class.getName());
return AGENT_CLASS;
} catch (ClassNotFoundException ex) {
}
Class<?> vmClass = ObjectUtils.getClassByName("com.sun.... | private static synchronized Class<?> getAgentClass() {
try {
AGENT_CLASS = ClassLoader.getSystemClassLoader().loadClass(Agent.class.getName());
return AGENT_CLASS;
} catch (ClassNotFoundException ex) {
}
Class<?> vmClass = ObjectUtils.getClassByName("com.sun.... |
diff --git a/src/main/java/localdomain/localhost/SendEmailServlet.java b/src/main/java/localdomain/localhost/SendEmailServlet.java
index 9c99621..156fe3f 100644
--- a/src/main/java/localdomain/localhost/SendEmailServlet.java
+++ b/src/main/java/localdomain/localhost/SendEmailServlet.java
@@ -1,99 +1,99 @@
/*
* Copyr... | true | true | protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String recipientEmail = req.getParameter("recipient");
String content = req.getParameter("message");
if (content == null)
content = "";
if (content.length() >... | protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String recipientEmail = req.getParameter("recipient");
String content = req.getParameter("message");
if (content == null)
content = "";
if (content.length() >... |
diff --git a/Source/summative2013/lifeform/Vegetable.java b/Source/summative2013/lifeform/Vegetable.java
index ab1fa83..d4d34ab 100644
--- a/Source/summative2013/lifeform/Vegetable.java
+++ b/Source/summative2013/lifeform/Vegetable.java
@@ -1,150 +1,151 @@
package summative2013.lifeform;
import summative2013.Summat... | true | true | public void act(WEATHER weather) {
if (weather == WEATHER.SUN) {
regenCounter = regenCounter - 2;
sun = sun + 20;
thirst = thirst + 2;
reproTime = reproTime - 2;
} else if (weather == WEATHER.RAIN) {
regenCounter = regenCounter - 1;
... | public void act(WEATHER weather) {
findWater();
if (weather == WEATHER.SUN) {
regenCounter = regenCounter - 2;
sun = sun + 20;
thirst = thirst + 2;
reproTime = reproTime - 2;
} else if (weather == WEATHER.RAIN) {
regenCounter = rege... |
diff --git a/migrate/src/java/com/tacitknowledge/util/migration/jdbc/SqlLoadMigrationTask.java b/migrate/src/java/com/tacitknowledge/util/migration/jdbc/SqlLoadMigrationTask.java
index 92540e9..7c90240 100644
--- a/migrate/src/java/com/tacitknowledge/util/migration/jdbc/SqlLoadMigrationTask.java
+++ b/migrate/src/java/... | true | true | public void migrate(MigrationContext ctx) throws MigrationException
{
JdbcMigrationContext context = (JdbcMigrationContext) ctx;
Connection conn = context.getConnection();
try
{
PreparedStatement stmt = conn.prepareStatement(getStatmentSql());
Lis... | public void migrate(MigrationContext ctx) throws MigrationException
{
JdbcMigrationContext context = (JdbcMigrationContext) ctx;
Connection conn = context.getConnection();
try
{
PreparedStatement stmt = conn.prepareStatement(getStatmentSql());
Lis... |
diff --git a/openejb/examples/spring-integration/src/test/java/org/superbiz/spring/MoviesTest.java b/openejb/examples/spring-integration/src/test/java/org/superbiz/spring/MoviesTest.java
index 89bd0f4a8..afdbc679e 100644
--- a/openejb/examples/spring-integration/src/test/java/org/superbiz/spring/MoviesTest.java
+++ b/o... | true | true | public void test() throws Exception {
//Uncomment for debug logging
//org.apache.log4j.BasicConfigurator.configure();
System.setProperty("openejb.deployments.classpath.include", ".*/spring-integration.*");
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext... | public void test() throws Exception {
//Uncomment for debug logging
//org.apache.log4j.BasicConfigurator.configure();
System.setProperty("openejb.deployments.classpath.include", "spring-integration");
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("mov... |
diff --git a/src/main/java/net/benas/jpopulator/impl/PopulatorImpl.java b/src/main/java/net/benas/jpopulator/impl/PopulatorImpl.java
index fc16fbee..3433521f 100644
--- a/src/main/java/net/benas/jpopulator/impl/PopulatorImpl.java
+++ b/src/main/java/net/benas/jpopulator/impl/PopulatorImpl.java
@@ -1,238 +1,238 @@
/*
... | true | true | public Object populateBean(Class type) {
Object result;
try {
/*
* For enum types, no instantiation needed (else java.lang.InstantiationException)
*/
if (type.isEnum()) {
return DefaultRandomizer.getRandomValue(type);
}
... | public Object populateBean(Class type) {
Object result;
try {
/*
* For enum types, no instantiation needed (else java.lang.InstantiationException)
*/
if (type.isEnum()) {
return DefaultRandomizer.getRandomValue(type);
}
... |
diff --git a/src/me/neatmonster/spacebukkit/PingListener.java b/src/me/neatmonster/spacebukkit/PingListener.java
index 5f4a2ef..ceb37cb 100644
--- a/src/me/neatmonster/spacebukkit/PingListener.java
+++ b/src/me/neatmonster/spacebukkit/PingListener.java
@@ -1,130 +1,131 @@
/*
* This file is part of SpaceBukkit (http:... | true | true | public void run() {
try {
socket.setSoTimeout(REQUEST_THRESHOLD);
} catch (SocketException e) {
handleException(e, "Error setting the So Timeout!");
}
while (running.get()) {
byte[] buffer = new byte[512];
try {
Datagram... | public void run() {
try {
socket.setSoTimeout(REQUEST_THRESHOLD);
} catch (SocketException e) {
handleException(e, "Error setting the So Timeout!");
}
while (running.get()) {
byte[] buffer = new byte[512];
buffer[0] = 1;
try... |
diff --git a/src/main/java/opentree/MainRunner.java b/src/main/java/opentree/MainRunner.java
index 43720c6..8d6d776 100644
--- a/src/main/java/opentree/MainRunner.java
+++ b/src/main/java/opentree/MainRunner.java
@@ -1,1010 +1,1011 @@
package opentree;
import jade.tree.TreeReader;
import jade.tree.JadeTree;
impor... | false | true | public int graphImporterParser(String [] args)
throws TaxonNotFoundException, DataFormatException, TreeIngestException {
boolean readingNewick = false;
boolean readingNexson = false;
if (args[0].compareTo("addnewick") == 0) {
readingNewick = true;
}if (args[0].compareTo("addnexson") == 0) {
reading... | public int graphImporterParser(String [] args)
throws TaxonNotFoundException, DataFormatException, TreeIngestException {
boolean readingNewick = false;
boolean readingNexson = false;
if (args[0].compareTo("addnewick") == 0) {
readingNewick = true;
} else if (args[0].compareTo("addnexson") == 0) {
r... |
diff --git a/src/main/java/com/tek42/perforce/parse/Workspaces.java b/src/main/java/com/tek42/perforce/parse/Workspaces.java
index 7ac4436..e0fc94d 100644
--- a/src/main/java/com/tek42/perforce/parse/Workspaces.java
+++ b/src/main/java/com/tek42/perforce/parse/Workspaces.java
@@ -1,178 +1,181 @@
/*
* P4Java - java i... | false | true | public StringBuilder syncTo(String path, boolean forceSync) throws PerforceException {
final StringBuilder errors = new StringBuilder();
ResponseFilter filter = new ResponseFilter(){
private int count=0;
@Override
public boolea... | public StringBuilder syncTo(String path, boolean forceSync) throws PerforceException {
final StringBuilder errors = new StringBuilder();
ResponseFilter filter = new ResponseFilter(){
private int count=0;
@Override
public boolea... |
diff --git a/src/org/pixmob/freemobile/netstat/DatabaseCleanup.java b/src/org/pixmob/freemobile/netstat/DatabaseCleanup.java
index febfce39..cf5e7000 100644
--- a/src/org/pixmob/freemobile/netstat/DatabaseCleanup.java
+++ b/src/org/pixmob/freemobile/netstat/DatabaseCleanup.java
@@ -1,79 +1,79 @@
/*
* Copyright (C) 2... | true | true | private void cleanupDatabase() throws Exception {
final Calendar cal = Calendar.getInstance();
cal.add(Calendar.MONTH, -1);
Log.i(TAG, "Deleting events older than " + cal);
// Delete oldest events.
final long timestampLimit = ... | private void cleanupDatabase() throws Exception {
final Calendar cal = Calendar.getInstance();
cal.add(Calendar.MONTH, -1);
Log.i(TAG, "Deleting events older than " + cal.getTime());
// Delete oldest events.
final long timesta... |
diff --git a/src/il/ac/tau/team3/shareaprayer/FindPrayer.java b/src/il/ac/tau/team3/shareaprayer/FindPrayer.java
index f2c7532..9111b14 100644
--- a/src/il/ac/tau/team3/shareaprayer/FindPrayer.java
+++ b/src/il/ac/tau/team3/shareaprayer/FindPrayer.java
@@ -1,1175 +1,1175 @@
package il.ac.tau.team3.shareaprayer;
... | true | true | public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mapView = (SPMapView) findViewById(R.id.view1);
editText = (EditText) findViewById(R.id.addressBar);
mapView.registerTapListener(new IMapTapDetect()
{
public void on... | public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mapView = (SPMapView) findViewById(R.id.view1);
editText = (EditText) findViewById(R.id.addressBar);
mapView.registerTapListener(new IMapTapDetect()
{
public void on... |
diff --git a/src/main/java/nl/coralic/beta/sms/Wizard.java b/src/main/java/nl/coralic/beta/sms/Wizard.java
index 583a2d7..abb32e5 100644
--- a/src/main/java/nl/coralic/beta/sms/Wizard.java
+++ b/src/main/java/nl/coralic/beta/sms/Wizard.java
@@ -1,146 +1,146 @@
/*
* Copyright 2011 Armin Čoralić
*
* http://blog.... | true | true | private void checkAccount()
{
if (txtUsername.getText().toString().equals(""))
{
Toast.makeText(Wizard.this, getString(R.string.TOAST_USERNAME_EMPTY), Toast.LENGTH_SHORT).show();
return;
}
if (txtPassword.getText().toString().equals(""))
{
Toast.makeText(Wizard.this, getString(R.string.TOAST... | private void checkAccount()
{
if (txtUsername.getText().toString().equals(""))
{
Toast.makeText(Wizard.this, getString(R.string.TOAST_USERNAME_EMPTY), Toast.LENGTH_SHORT).show();
return;
}
if (txtPassword.getText().toString().equals(""))
{
Toast.makeText(Wizard.this, getString(R.string.TOAST... |
diff --git a/src/chalmers/TDA367/B17/gamemodes/ScoreBasedGame.java b/src/chalmers/TDA367/B17/gamemodes/ScoreBasedGame.java
index 69596fd..378a8f1 100644
--- a/src/chalmers/TDA367/B17/gamemodes/ScoreBasedGame.java
+++ b/src/chalmers/TDA367/B17/gamemodes/ScoreBasedGame.java
@@ -1,102 +1,104 @@
package chalmers.TDA367.B1... | false | true | public List<Player> getHighestScoringPlayers(){
List<Player> player = new ArrayList<Player>();
player.add(getPlayerList().get(0));
for(int i = 1; i < players.size(); i++){
if(getPlayerScoreAtIndex(i) > player.get(0).getScore()){
player.clear();
player.add(players.get(i));
}else if(getPlayerScoreAtI... | public List<Player> getHighestScoringPlayers(){
List<Player> winningPlayers = new ArrayList<Player>();
if(getPlayerList().size() > 0){
winningPlayers.add(getPlayerList().get(0));
for(int i = 1; i < players.size(); i++){
if(getPlayerScoreAtIndex(i) > winningPlayers.get(0).getScore()){
winningPlayers.... |
diff --git a/src/com/dmdirc/ui/swing/dialogs/actionseditor/ActionTypeRenderer.java b/src/com/dmdirc/ui/swing/dialogs/actionseditor/ActionTypeRenderer.java
index 92252b9e0..18b482dfb 100644
--- a/src/com/dmdirc/ui/swing/dialogs/actionseditor/ActionTypeRenderer.java
+++ b/src/com/dmdirc/ui/swing/dialogs/actionseditor/Act... | true | true | public Component getListCellRendererComponent(final JList list,
final Object value, final int index, final boolean isSelected,
final boolean cellHasFocus) {
super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
if (value instanceof String ... | public Component getListCellRendererComponent(final JList list,
final Object value, final int index, final boolean isSelected,
final boolean cellHasFocus) {
super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
if (value == null) {
... |
diff --git a/src/com/maxl/java/aips2sqlite/Aips2Sqlite.java b/src/com/maxl/java/aips2sqlite/Aips2Sqlite.java
index beeb73d..d9cbf99 100644
--- a/src/com/maxl/java/aips2sqlite/Aips2Sqlite.java
+++ b/src/com/maxl/java/aips2sqlite/Aips2Sqlite.java
@@ -1,1561 +1,1561 @@
/*
Copyright (c) 2013 Max Lungarella
This file i... | true | true | static void generateSQLiteDB() {
try {
// Extract package information (this is the heavy-duty bit)
extractPackageInfo();
// Read Aips file
List<MedicalInformations.MedicalInformation> med_list = readAipsFile();
// Create database
SqlDatabase sql_db = new SqlDatabase();
sql_db.c... | static void generateSQLiteDB() {
try {
// Extract package information (this is the heavy-duty bit)
extractPackageInfo();
// Read Aips file
List<MedicalInformations.MedicalInformation> med_list = readAipsFile();
// Create database
SqlDatabase sql_db = new SqlDatabase();
sql_db.c... |
diff --git a/atlassian-plugins-webresource/src/main/java/com/atlassian/plugin/servlet/AbstractFileServerServlet.java b/atlassian-plugins-webresource/src/main/java/com/atlassian/plugin/servlet/AbstractFileServerServlet.java
index d06e4e17..bda2cf24 100644
--- a/atlassian-plugins-webresource/src/main/java/com/atlassian/p... | true | true | protected final void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException
{
DownloadStrategy downloadStrategy = getDownloadStrategy(httpServletRequest);
if (downloadStrategy == null)
{
httpServletResponse.sendError(HttpServl... | protected final void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException
{
DownloadStrategy downloadStrategy = getDownloadStrategy(httpServletRequest);
if (downloadStrategy == null)
{
httpServletResponse.sendError(HttpServl... |
diff --git a/src/main/java/org/sonar/plugins/erlang/sensor/ErlangLibrarySensor.java b/src/main/java/org/sonar/plugins/erlang/sensor/ErlangLibrarySensor.java
index 39320b5..e305c5f 100644
--- a/src/main/java/org/sonar/plugins/erlang/sensor/ErlangLibrarySensor.java
+++ b/src/main/java/org/sonar/plugins/erlang/sensor/Erla... | true | true | private void analyzeRebarConfigFile(Resource projectResource, SensorContext context, File rebarConfigUrl) {
File rebarConfigFile = new File(rebarConfigUrl, getErlang().getRebarConfigUrl());
try {
String rebarConfigContent = FileUtils.readFileToString(rebarConfigFile, "UTF-8");
String depsDir = getDepsDir(re... | private void analyzeRebarConfigFile(Resource projectResource, SensorContext context, File rebarConfigUrl) {
File rebarConfigFile = new File(rebarConfigUrl, getErlang().getRebarConfigUrl());
try {
String rebarConfigContent = FileUtils.readFileToString(rebarConfigFile, "UTF-8");
String depsDir = getDepsDir(re... |
diff --git a/com.quanleimu.test/src/com/baixing/activity/test/DailyTestCase.java b/com.quanleimu.test/src/com/baixing/activity/test/DailyTestCase.java
index 80793a13..192f900c 100644
--- a/com.quanleimu.test/src/com/baixing/activity/test/DailyTestCase.java
+++ b/com.quanleimu.test/src/com/baixing/activity/test/DailyTes... | true | true | public void testHome() throws Exception {
//Check some tab && logo
assertElementByText("Home Category/Search title not found", TAB_ID_HOME_TEXT);
assertElementByText("Home Post title not found", TAB_ID_POST_TEXT);
assertElementByText("Home MyCenter title not found", TAB_ID_MY_TEXT);
assertElementByText("Home... | public void testHome() throws Exception {
//Check some tab && logo
assertElementByText("Home Category/Search title not found", TAB_ID_HOME_TEXT);
assertElementByText("Home Post title not found", TAB_ID_POST_TEXT);
assertElementByText("Home MyCenter title not found", TAB_ID_MY_TEXT);
assertElementByText("Home... |
diff --git a/com.mobilesorcery.sdk.builder.iphoneos/src/com/mobilesorcery/sdk/builder/iphoneos/IPhoneOSPackager.java b/com.mobilesorcery.sdk.builder.iphoneos/src/com/mobilesorcery/sdk/builder/iphoneos/IPhoneOSPackager.java
index 35c5afbe..2140df11 100644
--- a/com.mobilesorcery.sdk.builder.iphoneos/src/com/mobilesorcer... | true | true | public void createPackage ( MoSyncProject project,
IBuildVariant variant,
IBuildResult buildResult )
throws CoreException
{
String appName;
String version;
String company;
IconManager icon;
DefaultPackager intern... | public void createPackage ( MoSyncProject project,
IBuildVariant variant,
IBuildResult buildResult )
throws CoreException
{
String appName;
String version;
String company;
IconManager icon;
DefaultPackager intern... |
diff --git a/dddsample/src/test/java/se/citerus/dddsample/interfaces/booking/web/ItinerarySelectionCommandTest.java b/dddsample/src/test/java/se/citerus/dddsample/interfaces/booking/web/ItinerarySelectionCommandTest.java
index d8d7b83..b014911 100644
--- a/dddsample/src/test/java/se/citerus/dddsample/interfaces/booking... | false | true | public void testBind() {
command = new RouteAssignmentCommand();
request = new MockHttpServletRequest();
request.addParameter("legs[0].carrierMovementId", "CM01");
request.addParameter("legs[0].fromUnLocode", "AAAAA");
request.addParameter("legs[0].toUnLocode", "BBBBB");
request.addParameter... | public void testBind() {
command = new RouteAssignmentCommand();
request = new MockHttpServletRequest();
request.addParameter("legs[0].voyageNumber", "CM01");
request.addParameter("legs[0].fromUnLocode", "AAAAA");
request.addParameter("legs[0].toUnLocode", "BBBBB");
request.addParameter("leg... |
diff --git a/src/lucandra/dht/RandomPartitioner.java b/src/lucandra/dht/RandomPartitioner.java
index d0b0b97..57348fb 100644
--- a/src/lucandra/dht/RandomPartitioner.java
+++ b/src/lucandra/dht/RandomPartitioner.java
@@ -1,164 +1,164 @@
/**
* Copyright T Jake Luciani
*
* Licensed to the Apache Software Foundati... | true | true | private ByteBuffer extractSolandraToken(ByteBuffer key)
{
int length = key.remaining();
if (length > 0)
{
boolean found = true;
int firstNonChar = -1;
//find our delimiter
for (int i = key.position(); i < key.limit(); i++)
... | private ByteBuffer extractSolandraToken(ByteBuffer key)
{
int length = key.remaining();
if (length > 0)
{
boolean found = true;
int firstNonChar = -1;
//find our delimiter
for (int i = key.position(); i < key.limit(); i++)
... |
diff --git a/src/me/libraryaddict/Hungergames/Kits/Salavager.java b/src/me/libraryaddict/Hungergames/Kits/Salavager.java
index 0f89016..80eb26f 100644
--- a/src/me/libraryaddict/Hungergames/Kits/Salavager.java
+++ b/src/me/libraryaddict/Hungergames/Kits/Salavager.java
@@ -1,53 +1,53 @@
package me.libraryaddict.Hungerg... | true | true | public void onInteract(PlayerInteractEvent event) {
if (event.getAction() == Action.RIGHT_CLICK_BLOCK && event.getClickedBlock().getType() == Material.ANVIL
&& pm.getGamer(event.getPlayer()).isAlive() && kits.hasAbility(event.getPlayer(), "Salavager")) {
ItemStack item = event.ge... | public void onInteract(PlayerInteractEvent event) {
if (event.getAction() == Action.RIGHT_CLICK_BLOCK && event.getClickedBlock().getType() == Material.ANVIL
&& pm.getGamer(event.getPlayer()).isAlive() && kits.hasAbility(event.getPlayer(), "Salvager")) {
ItemStack item = event.get... |
diff --git a/src/paulscode/android/mupen64plusae/util/PrefUtil.java b/src/paulscode/android/mupen64plusae/util/PrefUtil.java
index 52cb1c66..ae0ad43e 100644
--- a/src/paulscode/android/mupen64plusae/util/PrefUtil.java
+++ b/src/paulscode/android/mupen64plusae/util/PrefUtil.java
@@ -1,71 +1,71 @@
/**
* Mupen64PlusAE,... | true | true | public static void validateListPreference( Resources res, SharedPreferences prefs, String key, int defaultResId, int arrayResId )
{
String value = prefs.getString( key, null );
String defValue = res.getString( defaultResId, (String) null );
String[] validValues = res.getStringArray( arra... | public static void validateListPreference( Resources res, SharedPreferences prefs, String key, int defaultResId, int arrayResId )
{
String value = prefs.getString( key, null );
String defValue = res.getString( defaultResId );
String[] validValues = res.getStringArray( arrayResId );
... |
diff --git a/orbisgis-core/src/main/java/org/orbisgis/core/ui/plugins/views/geocatalog/GeocatalogSaveChangesPlugIn.java b/orbisgis-core/src/main/java/org/orbisgis/core/ui/plugins/views/geocatalog/GeocatalogSaveChangesPlugIn.java
index 6faf15778..0b26ea546 100644
--- a/orbisgis-core/src/main/java/org/orbisgis/core/ui/pl... | true | true | public boolean execute(PlugInContext context) throws Exception {
String[] res = getPlugInContext().getSelectedSources();
final Catalog geocatalog = context.getWorkbenchContext().getWorkbench().getFrame().getGeocatalog();
for (int i = 0; i < res.length; i++) {
... | public boolean execute(PlugInContext context) throws Exception {
String[] res = getPlugInContext().getSelectedSources();
final Catalog geocatalog = context.getWorkbenchContext().getWorkbench().getFrame().getGeocatalog();
for (int i = 0; i < res.length; i++) {
... |
diff --git a/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java b/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java
index c267116b1..5cfdc6a4a 100644
--- a/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java
+++ b/weaver/src/org/aspectj/weaver/patterns/BasicTokenSource.java
@@ -1,155 +1,15... | true | true | static ITokenSource makeTokenSource(String input) {
char[] chars = input.toCharArray();
int i = 0;
List tokens = new ArrayList();
while (i < chars.length) {
char ch = chars[i++];
switch(ch) {
case ' ':
case '\t':
case '\n':
case '\r':
continue;
case '*':
case '.':
... | static ITokenSource makeTokenSource(String input) {
char[] chars = input.toCharArray();
int i = 0;
List tokens = new ArrayList();
while (i < chars.length) {
char ch = chars[i++];
switch(ch) {
case ' ':
case '\t':
case '\n':
case '\r':
continue;
case '*':
case '.':
... |
diff --git a/src/com/android/deskclock/alarms/AlarmService.java b/src/com/android/deskclock/alarms/AlarmService.java
index d0ba36df2..56a0eff72 100644
--- a/src/com/android/deskclock/alarms/AlarmService.java
+++ b/src/com/android/deskclock/alarms/AlarmService.java
@@ -1,176 +1,176 @@
/*
* Copyright (C) 2013 The Andr... | true | true | public int onStartCommand(Intent intent, int flags, int startId) {
Log.v("AlarmService.onStartCommand() with intent: " + intent.toString());
long instanceId = AlarmInstance.getId(intent.getData());
if (START_ALARM_ACTION.equals(intent.getAction())) {
ContentResolver cr = this.ge... | public int onStartCommand(Intent intent, int flags, int startId) {
Log.v("AlarmService.onStartCommand() with intent: " + intent.toString());
long instanceId = AlarmInstance.getId(intent.getData());
if (START_ALARM_ACTION.equals(intent.getAction())) {
ContentResolver cr = this.ge... |
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/AllTests.java
index cbc8eaf32..1db5d5e39 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tes... | true | true | public static Test suite() {
TestSuite suite = new TestSuite(AllTests.class.getName());
suite.addTest(Bug_126104.suite());
suite.addTest(Bug_127562.suite());
suite.addTest(Bug_132510.suite());
suite.addTest(Bug_25457.suite());
suite.addTest(Bug_26294.suite());
suite.addTest(Bug_27271.suite());
suite.ad... | public static Test suite() {
TestSuite suite = new TestSuite(AllTests.class.getName());
suite.addTest(Bug_126104.suite());
suite.addTest(Bug_127562.suite());
suite.addTest(Bug_132510.suite());
suite.addTest(Bug_147232.suite());
suite.addTest(Bug_25457.suite());
suite.addTest(Bug_26294.suite());
suite.a... |
diff --git a/ReactorEE/swing/MultiplayerMainGUI.java b/ReactorEE/swing/MultiplayerMainGUI.java
index 914fd67..75a3a37 100644
--- a/ReactorEE/swing/MultiplayerMainGUI.java
+++ b/ReactorEE/swing/MultiplayerMainGUI.java
@@ -1,183 +1,183 @@
package ReactorEE.swing;
import java.awt.Color;
import java.awt.EventQueue;
i... | false | true | public MultiplayerMainGUI(final PlantController plantController, String IP) {
super(plantController);
this.saboteurIP = IP;
layeredPane.remove(1);
java.net.URL imageURL = this.getClass().getClassLoader().getResource("ReactorEE/graphics/plantBackgroundSabo.png");
ImageIcon backgroundImageIcon = new I... | public MultiplayerMainGUI(final PlantController plantController, String IP) {
super(plantController);
this.saboteurIP = IP;
java.net.URL imageURL = this.getClass().getClassLoader().getResource("ReactorEE/graphics/plantBackgroundSabo.png");
ImageIcon backgroundImageIcon = new ImageIcon(imageURL);
... |
diff --git a/presentation-api/src/main/java/org/cytoscape/view/presentation/property/BasicVisualLexicon.java b/presentation-api/src/main/java/org/cytoscape/view/presentation/property/BasicVisualLexicon.java
index 1de8873b..25b1c068 100644
--- a/presentation-api/src/main/java/org/cytoscape/view/presentation/property/Bas... | true | true | private void addVisualProperties(final VisualProperty<NullDataType> root) {
addVisualProperty(NETWORK, root);
// Level 1: Direct children of network VP
addVisualProperty(NODE, NETWORK);
addVisualProperty(EDGE, NETWORK);
addVisualProperty(NETWORK_SIZE, NETWORK);
addVisualProperty(NETWORK_SCALE_FACTOR, NETW... | private void addVisualProperties(final VisualProperty<NullDataType> root) {
addVisualProperty(NETWORK, root);
// Level 1: Direct children of network VP
addVisualProperty(NODE, NETWORK);
addVisualProperty(EDGE, NETWORK);
addVisualProperty(NETWORK_SIZE, NETWORK);
addVisualProperty(NETWORK_SCALE_FACTOR, NETW... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/ExceptionFilterEditor.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/ExceptionFilterEditor.java
index ace3c03ad..b01a53a17 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/... | true | true | public ExceptionFilterEditor(Composite parent, JavaExceptionBreakpointAdvancedPage page) {
fBreakpoint = (IJavaExceptionBreakpoint) page.getBreakpoint();
// top level container
Composite outer = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout();
layout.numColumns = 2;
layout.marginHeigh... | public ExceptionFilterEditor(Composite parent, JavaExceptionBreakpointAdvancedPage page) {
fBreakpoint = (IJavaExceptionBreakpoint) page.getBreakpoint();
// top level container
Composite outer = new Composite(parent, SWT.NONE);
GridLayout layout = new GridLayout();
layout.numColumns = 2;
layout.marginHeigh... |
diff --git a/library/src/com/jakewharton/android/viewpagerindicator/TitlePageIndicator.java b/library/src/com/jakewharton/android/viewpagerindicator/TitlePageIndicator.java
index cc604cb..8c73713 100644
--- a/library/src/com/jakewharton/android/viewpagerindicator/TitlePageIndicator.java
+++ b/library/src/com/jakewharto... | true | true | protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
//Calculate views bounds
ArrayList<RectF> bounds = calculateAllBounds(mPaintText);
final int count = mViewPager.getAdapter().getCount();
final int countMinusOne = count - 1;
final float halfWidth = getWidt... | protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
//Calculate views bounds
ArrayList<RectF> bounds = calculateAllBounds(mPaintText);
final int count = mViewPager.getAdapter().getCount();
final int countMinusOne = count - 1;
final float halfWidth = getWidt... |
diff --git a/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsImpl.java b/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsImpl.java
index 1ea0ed91b..da426cb7c 100644
--- a/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsImpl.... | true | true | public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(super.toString()).append(": ");
sb.append("Dn: ").append(dn).append("; ");
sb.append("Username: ").append(this.username).append("; ");
sb.append("Password: [PROTECTED]; ");
sb.append("Enabled... | public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(super.toString()).append(": ");
sb.append("Dn: ").append(dn).append("; ");
sb.append("Username: ").append(this.username).append("; ");
sb.append("Password: [PROTECTED]; ");
sb.append("Enabled... |
diff --git a/src/community/wps/src/main/java/org/geoserver/wps/gs/RectangularClipProcess.java b/src/community/wps/src/main/java/org/geoserver/wps/gs/RectangularClipProcess.java
index 7a85a02df5..134e86a722 100644
--- a/src/community/wps/src/main/java/org/geoserver/wps/gs/RectangularClipProcess.java
+++ b/src/community/... | true | true | public boolean hasNext() {
while(next == null && delegate.hasNext()) {
// a flag telling us if any geometry of the feature survived the clip
boolean clippedOut = true;
SimpleFeature f = delegate.next();
for (Object attribute : f.getAttr... | public boolean hasNext() {
while(next == null && delegate.hasNext()) {
// a flag telling us if any geometry of the feature survived the clip
boolean clippedOut = true;
SimpleFeature f = delegate.next();
for (Object attribute : f.getAttr... |
diff --git a/src/interdroid/contextdroid/sensors/impl/BluetoothSensor.java b/src/interdroid/contextdroid/sensors/impl/BluetoothSensor.java
index b33c8e6..45eb32f 100644
--- a/src/interdroid/contextdroid/sensors/impl/BluetoothSensor.java
+++ b/src/interdroid/contextdroid/sensors/impl/BluetoothSensor.java
@@ -1,252 +1,25... | true | true | private static String getSchema() {
String scheme =
"{'type': 'record', 'name': 'bluetooth', "
+ "'namespace': 'interdroid.context.sensor.bluetooth',"
+ "\n'fields': ["
+ SCHEMA_TIMESTAMP_FIELDS
+ "\n{'name': '"
+ DEVICE_NAME_FIELD
+ "', 'type': 'string'},"
+ "\n{'name':... | private static String getSchema() {
String scheme =
"{'type': 'record', 'name': 'bluetooth', "
+ "'namespace': 'interdroid.context.sensor.bluetooth',"
+ "\n'fields': ["
+ SCHEMA_TIMESTAMP_FIELDS
+ "\n{'name': '"
+ DEVICE_NAME_FIELD
+ "', 'type': 'string'},"
+ "\n{'name':... |
diff --git a/src/main/java/org/dasein/cloud/opsource/compute/ServerImage.java b/src/main/java/org/dasein/cloud/opsource/compute/ServerImage.java
index 4673b74..4588306 100644
--- a/src/main/java/org/dasein/cloud/opsource/compute/ServerImage.java
+++ b/src/main/java/org/dasein/cloud/opsource/compute/ServerImage.java
@@ ... | true | true | private MachineImage toImage(Node node, boolean isCustomerDeployed, boolean isPending, String nameSpace) throws CloudException, InternalException {
Architecture bestArchitectureGuess = Architecture.I64;
MachineImage image = new MachineImage();
HashMap<String,String> properties = new HashMap... | private MachineImage toImage(Node node, boolean isCustomerDeployed, boolean isPending, String nameSpace) throws CloudException, InternalException {
Architecture bestArchitectureGuess = Architecture.I64;
MachineImage image = new MachineImage();
HashMap<String,String> properties = new HashMap... |
diff --git a/enough-polish-j2me/source/src/de/enough/polish/blackberry/ui/BaseScreen.java b/enough-polish-j2me/source/src/de/enough/polish/blackberry/ui/BaseScreen.java
index 3674f9d..50e65e5 100644
--- a/enough-polish-j2me/source/src/de/enough/polish/blackberry/ui/BaseScreen.java
+++ b/enough-polish-j2me/source/src/de... | false | true | protected boolean navigationMovement(int dx, int dy, int status, int time)
{
boolean processed = false;
Screen screen = getPolishScreen();
boolean superImplementationCalled = false;
if ( screen != null ) {
if ( !screen.isMenuOpened()
&& this.currentIte... | protected boolean navigationMovement(int dx, int dy, int status, int time)
{
boolean processed = false;
Screen screen = getPolishScreen();
boolean superImplementationCalled = false;
if ( screen != null ) {
if ( !screen.isMenuOpened()
&& this.currentIte... |
diff --git a/src/com/android/deskclock/DeskClock.java b/src/com/android/deskclock/DeskClock.java
index c8cf90b1..96a16cc2 100644
--- a/src/com/android/deskclock/DeskClock.java
+++ b/src/com/android/deskclock/DeskClock.java
@@ -1,522 +1,524 @@
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed u... | true | true | private void initViews() {
// give up any internal focus before we switch layouts
final View focused = getCurrentFocus();
if (focused != null) focused.clearFocus();
setContentView(R.layout.desk_clock);
mTime = (DigitalClock) findViewById(R.id.time);
mDate = (TextVie... | private void initViews() {
// give up any internal focus before we switch layouts
final View focused = getCurrentFocus();
if (focused != null) focused.clearFocus();
setContentView(R.layout.desk_clock);
mTime = (DigitalClock) findViewById(R.id.time);
mDate = (TextVie... |
diff --git a/src/main/java/org/frohoff/burp/plugin/requestutils/RequestUtilsBurpExtender.java b/src/main/java/org/frohoff/burp/plugin/requestutils/RequestUtilsBurpExtender.java
index bbbea38..db6515f 100644
--- a/src/main/java/org/frohoff/burp/plugin/requestutils/RequestUtilsBurpExtender.java
+++ b/src/main/java/org/fr... | false | true | public List<JMenuItem> createMenuItems(final IContextMenuInvocation invocation) {
List<JMenuItem> items = new LinkedList<JMenuItem>();
if (COPY_AS_CONTEXTS.contains(invocation.getInvocationContext())) {
final RequestCommandConverter[] converters = getConverters();
final IHttpRequestResponse[] https = invoca... | public List<JMenuItem> createMenuItems(final IContextMenuInvocation invocation) {
List<JMenuItem> items = new LinkedList<JMenuItem>();
if (COPY_AS_CONTEXTS.contains(invocation.getInvocationContext())) {
final RequestCommandConverter[] converters = getConverters();
final IHttpRequestResponse[] https = invoca... |
diff --git a/E-Adventure/src/es/eucm/eadventure/editor/gui/elementpanels/general/tables/ExitLooksCellRendererEditor.java b/E-Adventure/src/es/eucm/eadventure/editor/gui/elementpanels/general/tables/ExitLooksCellRendererEditor.java
index b14abfec..1702cfde 100644
--- a/E-Adventure/src/es/eucm/eadventure/editor/gui/eleme... | false | true | private JPanel newPanel( final boolean isSelected, JTable table ) {
panel = new JPanel( );
panel.setLayout( new GridBagLayout( ) );
c = new GridBagConstraints( );
final JTextField text = new JTextField( );
text.setText( value.getCustomizedText( ) != null ? value.getCustomiz... | private JPanel newPanel( final boolean isSelected, JTable table ) {
panel = new JPanel( );
panel.setLayout( new GridBagLayout( ) );
c = new GridBagConstraints( );
final JTextField text = new JTextField( );
text.setText( value.getCustomizedText( ) != null ? value.getCustomiz... |
diff --git a/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java b/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java
index afaf9e25..e33b35bc 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/transport/FetchProcess.ja... | true | true | void execute(final ProgressMonitor monitor, final FetchResult result)
throws NotSupportedException, TransportException {
askFor.clear();
localUpdates.clear();
fetchHeadUpdates.clear();
conn = transport.openFetch();
try {
result.setAdvertisedRefs(conn.getCachedRefs());
final Set<Ref> matched = new H... | void execute(final ProgressMonitor monitor, final FetchResult result)
throws NotSupportedException, TransportException {
askFor.clear();
localUpdates.clear();
fetchHeadUpdates.clear();
conn = transport.openFetch();
try {
result.setAdvertisedRefs(conn.getCachedRefs());
final Set<Ref> matched = new H... |
diff --git a/src/com/modcrafting/ultrabans/UltraBanPlayerListener.java b/src/com/modcrafting/ultrabans/UltraBanPlayerListener.java
index 024f4bb..9933984 100644
--- a/src/com/modcrafting/ultrabans/UltraBanPlayerListener.java
+++ b/src/com/modcrafting/ultrabans/UltraBanPlayerListener.java
@@ -1,188 +1,188 @@
package ... | true | true | public void onPlayerLogin(PlayerLoginEvent event){
YamlConfiguration config = (YamlConfiguration) plugin.getConfig();
Player player = event.getPlayer();
if(plugin.bannedPlayers.contains(player.getName().toLowerCase())){
System.out.println("banned player joined");
String reason = plugin.db.getBanReason(play... | public void onPlayerLogin(PlayerLoginEvent event){
YamlConfiguration config = (YamlConfiguration) plugin.getConfig();
Player player = event.getPlayer();
if(plugin.bannedPlayers.contains(player.getName().toLowerCase())){
System.out.println("banned player joined");
String reason = plugin.db.getBanReason(play... |
diff --git a/tap-to-run-core/src/com/benjaminlanders/taptorun/renderer/Cloud.java b/tap-to-run-core/src/com/benjaminlanders/taptorun/renderer/Cloud.java
index 99a1bbd..734942c 100644
--- a/tap-to-run-core/src/com/benjaminlanders/taptorun/renderer/Cloud.java
+++ b/tap-to-run-core/src/com/benjaminlanders/taptorun/rendere... | true | true | public void update(float delta)
{
if(getX() + delta * speed < -.5f)
{
x += delta * speed ;//+ 1.5f;
}else
{
x += delta * speed;
}
}
| public void update(float delta)
{
if(getX() + delta * speed < -.5f)
{
x = 1;//+ 1.5f;
}else
{
x += delta * speed;
}
}
|
diff --git a/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/PreCompilerBuilder.java b/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/PreCompilerBuilder.java
index ae5583d7..eb8fc53b 100644
--- a/tools/eclipse/plugins/com... | true | true | protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
throws CoreException {
try {
mDerivedProgressMonitor.reset();
// First thing we do is go through the resource delta to not
// lose it if we have to abort the build for any reason.
... | protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
throws CoreException {
try {
mDerivedProgressMonitor.reset();
// First thing we do is go through the resource delta to not
// lose it if we have to abort the build for any reason.
... |
diff --git a/src/java/org/joda/time/format/AbstractDateTimeFormatter.java b/src/java/org/joda/time/format/AbstractDateTimeFormatter.java
index cd8915e..7f6e309 100644
--- a/src/java/org/joda/time/format/AbstractDateTimeFormatter.java
+++ b/src/java/org/joda/time/format/AbstractDateTimeFormatter.java
@@ -1,280 +1,280 @@... | true | true | static String createErrorMessage(final String text, final int errorPos) {
int sampleLen = errorPos + 20;
String sampleText;
if (text.length() <= sampleLen) {
sampleText = text;
} else {
sampleText = text.substring(0, sampleLen).concat("...");
}
... | static String createErrorMessage(final String text, final int errorPos) {
int sampleLen = errorPos + 20;
String sampleText;
if (text.length() <= sampleLen + 3) {
sampleText = text;
} else {
sampleText = text.substring(0, sampleLen).concat("...");
}
... |
diff --git a/ui_swing/src/com/dmdirc/addons/ui_swing/components/AwayLabel.java b/ui_swing/src/com/dmdirc/addons/ui_swing/components/AwayLabel.java
index ab4ed9ef..eb978c0f 100644
--- a/ui_swing/src/com/dmdirc/addons/ui_swing/components/AwayLabel.java
+++ b/ui_swing/src/com/dmdirc/addons/ui_swing/components/AwayLabel.ja... | true | true | public AwayLabel(final FrameContainer container) {
super("(away)");
this.container = checkNotNull(container);
container.getConfigManager().getBinder().bind(this, AwayLabel.class);
container.getEventBus().subscribe(this);
container.getConnection().ifPresent(c -> {
... | public AwayLabel(final FrameContainer container) {
super("(away)");
this.container = checkNotNull(container);
container.getConfigManager().getBinder().bind(this, AwayLabel.class);
container.getEventBus().subscribe(this);
setVisible(false);
container.getConnection()... |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/pub/PubBuildParticipant.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/pub/PubBuildParticipant.java
index 45cf8a9c..48aafa0b 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src... | true | true | protected void runPub(IContainer container, final IProgressMonitor monitor) {
// If pub is already running for this container, then wait until it finishes before returning
synchronized (currentContainers) {
if (!currentContainers.add(container)) {
while (currentContainers.contains(container)) {... | protected void runPub(IContainer container, final IProgressMonitor monitor) {
// If pub is already running for this container, then wait until it finishes before returning
synchronized (currentContainers) {
if (!currentContainers.add(container)) {
while (currentContainers.contains(container)) {... |
diff --git a/src/se/chalmers/tda367/group15/game/models/DummyEnemyModel.java b/src/se/chalmers/tda367/group15/game/models/DummyEnemyModel.java
index 4ad68ab..ee7e604 100644
--- a/src/se/chalmers/tda367/group15/game/models/DummyEnemyModel.java
+++ b/src/se/chalmers/tda367/group15/game/models/DummyEnemyModel.java
@@ -1,4... | true | true | public DummyEnemyModel(float x, float y, double rot) {
setX(x);
setY(y);
setVelocity(0.1f);
setWidth(42);
setHeight(42);
setRotation(rot);
setOffset(11);
setAlive(true);
setHealth(100);
addWeapon(new UnarmedModel());
setCurrentWeapon(getWeapons().get(0));
}
| public DummyEnemyModel(float x, float y, double rot) {
setX(x);
setY(y);
setVelocity(0.1f);
setWidth(42);
setHeight(42);
setRotation(rot);
setOffset(11);
setAlive(true);
setHealth(100);
addWeapon(new EnemyUnarmed());
setCurrentWeapon(getWeapons().get(0));
}
|
diff --git a/src/net/csdn/mongo/embedded/HasOneAssociationEmbedded.java b/src/net/csdn/mongo/embedded/HasOneAssociationEmbedded.java
index 5d8adb7..c157fc9 100644
--- a/src/net/csdn/mongo/embedded/HasOneAssociationEmbedded.java
+++ b/src/net/csdn/mongo/embedded/HasOneAssociationEmbedded.java
@@ -1,96 +1,96 @@
package ... | true | true | private HasOneAssociationEmbedded(String name, Class kclass, Document document) {
this.kclass = kclass;
this.document = document;
this.name = name;
Map childMap = (Map) document.attributes().get(name);
if (childMap != null) {
child = (Document) ReflectHelper.stati... | private HasOneAssociationEmbedded(String name, Class kclass, Document document) {
this.kclass = kclass;
this.document = document;
this.name = name;
Map childMap = (Map) document.attributes().get(name);
if (childMap != null) {
child = (Document) ReflectHelper.stati... |
diff --git a/src/test/java/org/codinjutsu/tools/jenkins/logic/UrlBuilderTest.java b/src/test/java/org/codinjutsu/tools/jenkins/logic/UrlBuilderTest.java
index 5723a0a..689affc 100644
--- a/src/test/java/org/codinjutsu/tools/jenkins/logic/UrlBuilderTest.java
+++ b/src/test/java/org/codinjutsu/tools/jenkins/logic/UrlBuil... | true | true | public void createRunParameterizedJobUrl() throws Exception {
configuration.setDelay(20);
Map<String, String> valueByNameParams = new HashMap<String, String>();
valueByNameParams.put("param1", "value1");
valueByNameParams.put("param2", "value2");
URL url = urlBuilder.create... | public void createRunParameterizedJobUrl() throws Exception {
configuration.setDelay(20);
Map<String, String> valueByNameParams = new HashMap<String, String>();
valueByNameParams.put("param1", "value1");
valueByNameParams.put("param2", "value2");
URL url = urlBuilder.create... |
diff --git a/azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java b/azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java
index a7ef316..595062f 100644
--- a/azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java
+++ b/azkaban/src/java/azkaban/flow/IndividualJobExecutableFlow.java
@@ -1,533 +... | true | true | public void execute(Props parentProps, FlowCallback callback)
{
if (parentProps == null) {
parentProps = new Props();
}
synchronized (sync) {
if (this.parentProps == null) {
this.parentProps = parentProps;
}
else if... | public void execute(Props parentProps, FlowCallback callback)
{
if (parentProps == null) {
parentProps = new Props();
}
synchronized (sync) {
if (this.parentProps == null) {
this.parentProps = parentProps;
}
else if... |
diff --git a/src/org/jvyamlb/ScannerImpl.java b/src/org/jvyamlb/ScannerImpl.java
index 5f4ae8c9a..0555d9567 100644
--- a/src/org/jvyamlb/ScannerImpl.java
+++ b/src/org/jvyamlb/ScannerImpl.java
@@ -1,1572 +1,1572 @@
/***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file... | true | true | private Token scanBlockScalar(final char style) {
final boolean folded = style == '>';
final ByteList chunks = new ByteList();
forward();
final Object[] chompi = scanBlockScalarIndicators();
final Boolean chomping = (Boolean)chompi[0];
final int increment = ((Integer)... | private Token scanBlockScalar(final char style) {
final boolean folded = style == '>';
final ByteList chunks = new ByteList();
forward();
final Object[] chompi = scanBlockScalarIndicators();
final Boolean chomping = (Boolean)chompi[0];
final int increment = ((Integer)... |
diff --git a/src/test/java/trung/van/services/PersonServiceTest.java b/src/test/java/trung/van/services/PersonServiceTest.java
index 9e71fc0..afc5f2f 100644
--- a/src/test/java/trung/van/services/PersonServiceTest.java
+++ b/src/test/java/trung/van/services/PersonServiceTest.java
@@ -1,13 +1,13 @@
package trung.van.se... | true | true | public void testGetPerson() {
PersonService personService = new PersonService();
assertEquals(1, 2);
//fail();
System.out.println("Test Service OK OK!");
}
| public void testGetPerson() {
PersonService personService = new PersonService();
assertEquals(1, 1);
//fail();
System.out.println("Test Service OK OK!");
}
|
diff --git a/repository/src/main/java/org/nabucco/alfresco/enhScriptEnv/repo/script/LegacyNamePathScriptLocator.java b/repository/src/main/java/org/nabucco/alfresco/enhScriptEnv/repo/script/LegacyNamePathScriptLocator.java
index e11f98d..a4102b6 100644
--- a/repository/src/main/java/org/nabucco/alfresco/enhScriptEnv/re... | false | true | public ScriptLocationAdapter resolveLocation(final ScriptLocationAdapter referenceLocation, final String locationValue)
{
final ScriptLocationAdapter result;
if (locationValue.startsWith("/"))
{
final NodeRef rootNodeRef = this.nodeService.getRootNode(this.storeRef);
... | public ScriptLocationAdapter resolveLocation(final ScriptLocationAdapter referenceLocation, final String locationValue)
{
final ScriptLocationAdapter result;
if (locationValue.startsWith("/"))
{
final NodeRef rootNodeRef = this.nodeService.getRootNode(this.storeRef);
... |
diff --git a/src/com/android/exchange/adapter/EmailSyncAdapter.java b/src/com/android/exchange/adapter/EmailSyncAdapter.java
index 2cd43c2..18324ff 100644
--- a/src/com/android/exchange/adapter/EmailSyncAdapter.java
+++ b/src/com/android/exchange/adapter/EmailSyncAdapter.java
@@ -1,698 +1,699 @@
/*
* Copyright (C) 2... | false | true | public boolean sendLocalChanges(Serializer s) throws IOException {
ContentResolver cr = mContext.getContentResolver();
// Find any of our deleted items
Cursor c = cr.query(Message.DELETED_CONTENT_URI, Message.LIST_PROJECTION,
MessageColumns.MAILBOX_KEY + '=' + mMailbox.mId, ... | public boolean sendLocalChanges(Serializer s) throws IOException {
ContentResolver cr = mContext.getContentResolver();
// Find any of our deleted items
Cursor c = cr.query(Message.DELETED_CONTENT_URI, Message.LIST_PROJECTION,
MessageColumns.MAILBOX_KEY + '=' + mMailbox.mId, ... |
diff --git a/nifty-controls/src/main/java/de/lessvoid/nifty/controls/TreeItem.java b/nifty-controls/src/main/java/de/lessvoid/nifty/controls/TreeItem.java
index 9bea4007..023dac62 100644
--- a/nifty-controls/src/main/java/de/lessvoid/nifty/controls/TreeItem.java
+++ b/nifty-controls/src/main/java/de/lessvoid/nifty/cont... | true | true | public boolean contains(TreeItem<T> child) {
if (!isExpanded()) {
return false;
} else if (treeNodes.contains(child)) {
return true;
} else {
for (TreeItem item : treeNodes) {
boolean found = item.contains(item);
if (found) ... | public boolean contains(TreeItem<T> child) {
if (!isExpanded()) {
return false;
} else if (treeNodes.contains(child)) {
return true;
} else {
for (TreeItem item : treeNodes) {
boolean found = item.contains(child);
if (found)... |
diff --git a/src/apes/models/InternalFormat.java b/src/apes/models/InternalFormat.java
index 84e1e90..e1f290e 100644
--- a/src/apes/models/InternalFormat.java
+++ b/src/apes/models/InternalFormat.java
@@ -1,551 +1,551 @@
package apes.models;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.... | false | true | public void scaleSamples(long startS, long stopS, float alpha)
{
final int IO_SIZE = 100000; // Amount in samples
ByteBuffer toWrite = null;
int nToWriteS = IO_SIZE;
if(alpha == 0)
{
toWrite = ByteBuffer.wrap(new byte[(int)samplesToBytes(nToWriteS)]);
toWrite.order(ByteOrder.LITTL... | public void scaleSamples(long startS, long stopS, float alpha)
{
final int IO_SIZE = 100000; // Amount in samples
ByteBuffer toWrite = null;
int nToWriteS = IO_SIZE;
if(alpha == 0)
{
toWrite = ByteBuffer.wrap(new byte[(int)samplesToBytes(nToWriteS)]);
toWrite.order(ByteOrder.LITTL... |
diff --git a/providers/cloudsigma-zrh/src/test/java/org/jclouds/cloudsigma/compute/CloudSigmaZurichComputeServiceLiveTest.java b/providers/cloudsigma-zrh/src/test/java/org/jclouds/cloudsigma/compute/CloudSigmaZurichComputeServiceLiveTest.java
index 38e49762c4..1382beaae7 100644
--- a/providers/cloudsigma-zrh/src/test/j... | true | true | public void testStartNodeWithSSD() throws RunNodesException {
String group = this.group + "-ssd";
TemplateBuilder builder = client.templateBuilder();
assert builder instanceof CloudSigmaTemplateBuilderImpl;
Template template = builder.options(diskDriveAffinity(AffinityType.SSD)).build();
... | public void testStartNodeWithSSD() throws RunNodesException {
String group = this.group + "-ssd";
TemplateBuilder builder = client.templateBuilder();
assert builder instanceof CloudSigmaTemplateBuilderImpl;
Template template = builder.options(diskDriveAffinity(AffinityType.SSD)).build();
... |
diff --git a/modules/tools/audio-manager/src/classes/org/jdesktop/wonderland/modules/audiomanager/client/UserListHUDPanel.java b/modules/tools/audio-manager/src/classes/org/jdesktop/wonderland/modules/audiomanager/client/UserListHUDPanel.java
index a8d491014..81b6021a6 100644
--- a/modules/tools/audio-manager/src/class... | false | true | private void initComponents() {
controlPanel = new javax.swing.JPanel();
volumeLabel = new javax.swing.JLabel();
editButton = new javax.swing.JButton();
textChatButton = new javax.swing.JButton();
propertiesButton = new javax.swing.JButton();
voiceChatButton = new ja... | private void initComponents() {
controlPanel = new javax.swing.JPanel();
volumeLabel = new javax.swing.JLabel();
editButton = new javax.swing.JButton();
textChatButton = new javax.swing.JButton();
propertiesButton = new javax.swing.JButton();
voiceChatButton = new ja... |
diff --git a/public/java/src/org/broadinstitute/sting/commandline/ArgumentTypeDescriptor.java b/public/java/src/org/broadinstitute/sting/commandline/ArgumentTypeDescriptor.java
index b54e7c7b1..d1d9cf7fe 100644
--- a/public/java/src/org/broadinstitute/sting/commandline/ArgumentTypeDescriptor.java
+++ b/public/java/src/... | true | true | public Object parse(ParsingEngine parsingEngine, ArgumentSource source, Type type, ArgumentMatches matches) {
ArgumentDefinition defaultDefinition = createDefaultArgumentDefinition(source);
String value = getArgumentValue( defaultDefinition, matches );
Class<? extends Feature> parameterType ... | public Object parse(ParsingEngine parsingEngine, ArgumentSource source, Type type, ArgumentMatches matches) {
ArgumentDefinition defaultDefinition = createDefaultArgumentDefinition(source);
String value = getArgumentValue( defaultDefinition, matches );
Class<? extends Feature> parameterType ... |
diff --git a/astrid/src/com/todoroo/astrid/activity/FilterListActivity.java b/astrid/src/com/todoroo/astrid/activity/FilterListActivity.java
index 3e7c9798f..067fc4f34 100644
--- a/astrid/src/com/todoroo/astrid/activity/FilterListActivity.java
+++ b/astrid/src/com/todoroo/astrid/activity/FilterListActivity.java
@@ -1,5... | false | true | private void onRefreshRequested(final boolean manual) {
if (!manual) {
long lastFetchDate = Preferences.getLong(LAST_TAG_REFRESH_KEY, 0);
if(DateUtilities.now() < lastFetchDate + 300000L) {
return;
}
}
final ProgressDialog progressDialog;
... | private void onRefreshRequested(final boolean manual) {
if (!manual) {
long lastFetchDate = Preferences.getLong(LAST_TAG_REFRESH_KEY, 0);
if(DateUtilities.now() < lastFetchDate + 300000L) {
return;
}
}
final ProgressDialog progressDialog;
... |
diff --git a/src/main/java/org/spout/api/geo/discrete/Transform2D.java b/src/main/java/org/spout/api/geo/discrete/Transform2D.java
index 87f9b101f..40ba7a097 100644
--- a/src/main/java/org/spout/api/geo/discrete/Transform2D.java
+++ b/src/main/java/org/spout/api/geo/discrete/Transform2D.java
@@ -1,100 +1,100 @@
/*
*... | true | true | public Matrix toMatrix() {
Matrix rot = this.rotation.toMatrix();
Matrix tra = MatrixMath.createTranslatedMat3(this.position);
Matrix sca = MatrixMath.createScaledMat3(this.scale);
return tra.multiply(rot).multiply(sca);
}
| public Matrix toMatrix() {
Matrix rot = this.rotation.toMatrix();
Matrix tra = MatrixMath.createTranslatedMat3(this.position);
Matrix sca = MatrixMath.createScaledMat3(this.scale);
return sca.multiply(rot).multiply(tra);
}
|
diff --git a/net/acomputerdog/BlazeLoader/proxy/IntegratedServerProxy.java b/net/acomputerdog/BlazeLoader/proxy/IntegratedServerProxy.java
index ae6d55a..2a9ddba 100644
--- a/net/acomputerdog/BlazeLoader/proxy/IntegratedServerProxy.java
+++ b/net/acomputerdog/BlazeLoader/proxy/IntegratedServerProxy.java
@@ -1,27 +1,27 ... | true | true | protected static WorldSettings getWorldSettings(IntegratedServer server){
for(Field f : server.getClass().getDeclaredFields()){
if(WorldSettings.class.isAssignableFrom(f.getType())){
f.setAccessible(true);
try {
return (WorldSettings)f.get(serv... | protected static WorldSettings getWorldSettings(IntegratedServer server){
for(Field f : server.getClass().getDeclaredFields()){
if(WorldSettings.class.isAssignableFrom(f.getType())){
f.setAccessible(true);
try {
return (WorldSettings)f.get(serv... |
diff --git a/bundles/org.eclipse.equinox.transforms.hook/src/org/eclipse/equinox/internal/transforms/TransformedBundleFile.java b/bundles/org.eclipse.equinox.transforms.hook/src/org/eclipse/equinox/internal/transforms/TransformedBundleFile.java
index 7f543e14..28e57f61 100644
--- a/bundles/org.eclipse.equinox.transform... | false | true | public File getFile(String path, boolean nativeCode) {
File originalFile = delegate.getFile(path, nativeCode);
if (originalFile == null)
return null;
if (!hasTransforms(path))
return originalFile;
try {
File nested = getExtractFile(path);
if (nested != null) {
if (nested.exists()) {
/* th... | public File getFile(String path, boolean nativeCode) {
File originalFile = delegate.getFile(path, nativeCode);
if (originalFile == null)
return null;
if (!hasTransforms(path))
return originalFile;
try {
File nested = getExtractFile(path);
if (nested != null) {
if (nested.exists()) {
/* th... |
diff --git a/src/main/java/org/ardverk/collection/CollectionsUtils.java b/src/main/java/org/ardverk/collection/CollectionsUtils.java
index a8b1012..0d4a493 100644
--- a/src/main/java/org/ardverk/collection/CollectionsUtils.java
+++ b/src/main/java/org/ardverk/collection/CollectionsUtils.java
@@ -1,146 +1,147 @@
/*
*... | false | true | private static <V> V nth(Iterable<? extends V> c, Element element, int n) {
if (c instanceof List<?>) {
return ((List<? extends V>) c).get(element.convert(c, n));
} else if (c instanceof SortedSet<?>) {
if (element == Element.FIRST) {
return ((SortedSet<? exte... | private static <V> V nth(Iterable<? extends V> c, Element element, int n) {
if (c instanceof List<?>) {
return ((List<? extends V>) c).get(element.convert(c, n));
} else if (c instanceof SortedSet<?>) {
if (element == Element.FIRST) {
return ((SortedSet<? exte... |
diff --git a/WPS/src/de/rwth/ti/loc/Location.java b/WPS/src/de/rwth/ti/loc/Location.java
index c87e8cd..7bcc327 100644
--- a/WPS/src/de/rwth/ti/loc/Location.java
+++ b/WPS/src/de/rwth/ti/loc/Location.java
@@ -1,172 +1,169 @@
package de.rwth.ti.loc;
import java.util.Calendar;
import java.util.LinkedList;
import ja... | false | true | private LocationResult findMP(List<ScanResult> aps, Floor map,
Building building, int compass) {
if (aps.isEmpty() || map == null) {
return null;
}
List<Scan> scanEntries = dataHandler.getScans(map, compass);
List<ScanError> errorList = new LinkedList<ScanError>();
for (int j = 0; j < scanEntries.size(... | private LocationResult findMP(List<ScanResult> aps, Floor map,
Building building, int compass) {
if (aps.isEmpty() || map == null) {
return null;
}
List<Scan> scanEntries = dataHandler.getScans(map, compass);
List<ScanError> errorList = new LinkedList<ScanError>();
for (int j = 0; j < scanEntries.size(... |
diff --git a/src/main/java/org/spout/api/protocol/builtin/codec/ChunkDataCodec.java b/src/main/java/org/spout/api/protocol/builtin/codec/ChunkDataCodec.java
index aa5effea0..2009b6702 100644
--- a/src/main/java/org/spout/api/protocol/builtin/codec/ChunkDataCodec.java
+++ b/src/main/java/org/spout/api/protocol/builtin/c... | false | true | public ChannelBuffer encode(ChunkDataMessage message) {
final ChannelBuffer buffer;
if (message.isUnload()) {
buffer = ChannelBuffers.buffer(13);
buffer.writeByte(1); // we're unloading
buffer.writeInt(message.getX());
buffer.writeInt(message.getY());
buffer.writeInt(message.getZ());
} else {
i... | public ChannelBuffer encode(ChunkDataMessage message) throws IOException {
final ChannelBuffer buffer;
if (message.isUnload()) {
buffer = ChannelBuffers.buffer(13);
buffer.writeByte(1); // we're unloading
buffer.writeInt(message.getX());
buffer.writeInt(message.getY());
buffer.writeInt(message.getZ(... |
diff --git a/src/com/TeamNovus/AutoMessage/Tasks/BroadcastTask.java b/src/com/TeamNovus/AutoMessage/Tasks/BroadcastTask.java
index 49736e6..616d0dc 100644
--- a/src/com/TeamNovus/AutoMessage/Tasks/BroadcastTask.java
+++ b/src/com/TeamNovus/AutoMessage/Tasks/BroadcastTask.java
@@ -1,73 +1,73 @@
package com.TeamNovus.Au... | true | true | public void run() {
if(entry != null && AutoMessage.getPlugin().getConfig().getBoolean("settings.enabled")) {
MessageList list = entry.getValue();
if(list.getCurrentMessage() != null && list.isEnabled()) {
if(Bukkit.getServer().getOnlinePlayers().length >= AutoMessage.getPlugin().getConfig().getInt("settin... | public void run() {
if(entry != null && AutoMessage.getPlugin().getConfig().getBoolean("settings.enabled")) {
MessageList list = entry.getValue();
if(list.getMessages().size() > 0 && list.getCurrentMessage() != null && list.isEnabled()) {
if(Bukkit.getServer().getOnlinePlayers().length >= AutoMessage.getPl... |
diff --git a/arithmetics/Modulo.java b/arithmetics/Modulo.java
index 25b0d97..b761cba 100644
--- a/arithmetics/Modulo.java
+++ b/arithmetics/Modulo.java
@@ -1,17 +1,17 @@
package algdat.arithmetics;
public class Modulo {
public static long exp(long n, long k, long p) {
long result = 1;
- whil... | true | true | public static long exp(long n, long k, long p) {
long result = 1;
while (k > 1) {
if ((k & 1) == 1) {
result = (result * n) % p;
}
k >>= 1;
n = (n * n) % p;
}
return result;
}
| public static long exp(long n, long k, long p) {
long result = 1;
while (k > 0) {
if ((k & 1) == 1) {
result = (result * n) % p;
}
k >>= 1;
n = (n * n) % p;
}
return result;
}
|
diff --git a/src/main/java/net/pms/io/ProcessWrapperImpl.java b/src/main/java/net/pms/io/ProcessWrapperImpl.java
index 4329c987..0f93991a 100644
--- a/src/main/java/net/pms/io/ProcessWrapperImpl.java
+++ b/src/main/java/net/pms/io/ProcessWrapperImpl.java
@@ -1,310 +1,320 @@
/*
* PS3 Media Server, for streaming any m... | false | true | public void run() {
ProcessBuilder pb = new ProcessBuilder(cmdArray);
try {
logger.debug("Starting " + cmdLine);
if (params.outputFile != null && params.outputFile.getParentFile().isDirectory()) {
pb.directory(params.outputFile.getParentFile());
}
if (params.workDir != null && params.workDir.isDire... | public void run() {
ProcessBuilder pb = new ProcessBuilder(cmdArray);
try {
logger.debug("Starting " + cmdLine);
if (params.outputFile != null && params.outputFile.getParentFile().isDirectory()) {
pb.directory(params.outputFile.getParentFile());
}
if (params.workDir != null && params.workDir.isDire... |
diff --git a/org.fedoraproject.eclipse.packager.git/src/org/fedoraproject/eclipse/packager/git/FedoraCheckoutWizard.java b/org.fedoraproject.eclipse.packager.git/src/org/fedoraproject/eclipse/packager/git/FedoraCheckoutWizard.java
index 3780e05..db1a586 100644
--- a/org.fedoraproject.eclipse.packager.git/src/org/fedora... | false | true | public boolean performFinish() {
try {
final URIish uri = new URIish(getGitURL());
final CloneOperation clone = new CloneOperation(uri, true,
new ArrayList<Ref>(), new File(ResourcesPlugin
.getWorkspace().getRoot().getLocation().toFile(),
page.getPackageName()), Constants.R_HEADS + Constants... | public boolean performFinish() {
try {
final URIish uri = new URIish(getGitURL());
final CloneOperation clone = new CloneOperation(uri, true,
new ArrayList<Ref>(), new File(ResourcesPlugin
.getWorkspace().getRoot().getLocation().toFile(),
page.getPackageName()), Constants.R_HEADS + Constants... |
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/BubbleChartWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/BubbleChartWidget.java
index d3569dbeb9..d867a027e8 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/Bubb... | true | true | public BubbleChartWidget() {
super("timeline", "Timeline", "/org/sonar/plugins/core/widgets/bubbleChart.html.erb");
}
| public BubbleChartWidget() {
super("bubble_chart", "Bubble Chart", "/org/sonar/plugins/core/widgets/bubbleChart.html.erb");
}
|
diff --git a/src/java/org/apache/cassandra/db/compaction/CompactionTask.java b/src/java/org/apache/cassandra/db/compaction/CompactionTask.java
index 4d2a90f3f..ff08b61cf 100644
--- a/src/java/org/apache/cassandra/db/compaction/CompactionTask.java
+++ b/src/java/org/apache/cassandra/db/compaction/CompactionTask.java
@@ ... | false | true | protected void runWith(File dataDirectory) throws Exception
{
// The collection of sstables passed may be empty (but not null); even if
// it is not empty, it may compact down to nothing if all rows are deleted.
assert sstables != null && dataDirectory != null;
if (!isCompaction... | protected void runWith(File dataDirectory) throws Exception
{
// The collection of sstables passed may be empty (but not null); even if
// it is not empty, it may compact down to nothing if all rows are deleted.
assert sstables != null && dataDirectory != null;
if (!isCompaction... |
diff --git a/src/main/java/com/forrst/api/ForrstAPIClient.java b/src/main/java/com/forrst/api/ForrstAPIClient.java
index bc15550..bfedc44 100644
--- a/src/main/java/com/forrst/api/ForrstAPIClient.java
+++ b/src/main/java/com/forrst/api/ForrstAPIClient.java
@@ -1,379 +1,379 @@
package com.forrst.api;
import java.sql... | true | true | public List<Post> userPosts(Map<String,String> userInfo, Map<String,String> options) {
List<Post> posts = new ArrayList<Post>();
Map<String,String> params = new HashMap<String,String>();
if(userInfo.containsKey("id"))
params.put("id", userInfo.get("id"));
if(userInfo.containsKey("username"))
... | public List<Post> userPosts(Map<String,String> userInfo, Map<String,String> options) {
List<Post> posts = new ArrayList<Post>();
Map<String,String> params = new HashMap<String,String>();
if(userInfo.containsKey("id"))
params.put("id", userInfo.get("id"));
if(userInfo.containsKey("username"))
... |
diff --git a/PuzzleApplet.java b/PuzzleApplet.java
index b796aa4..305bae0 100644
--- a/PuzzleApplet.java
+++ b/PuzzleApplet.java
@@ -1,612 +1,618 @@
/*
* PuzzleApplet.java: NestedVM applet for the puzzle collection
*/
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.... | false | true | public int call(int cmd, int arg1, int arg2, int arg3) {
try {
switch(cmd) {
case 0: // initialize
if (mainWindow != null) mainWindow.setTitle(runtime.cstring(arg1));
if ((arg2 & 1) != 0) buildConfigureMenuItem();
if ((arg2 & 2) != 0) a... | public int call(int cmd, int arg1, int arg2, int arg3) {
try {
switch(cmd) {
case 0: // initialize
if (mainWindow != null) mainWindow.setTitle(runtime.cstring(arg1));
if ((arg2 & 1) != 0) buildConfigureMenuItem();
if ((arg2 & 2) != 0) a... |
diff --git a/src/main/java/com/omc/demo/AuthInterceptor.java b/src/main/java/com/omc/demo/AuthInterceptor.java
index e17233b..cd02347 100644
--- a/src/main/java/com/omc/demo/AuthInterceptor.java
+++ b/src/main/java/com/omc/demo/AuthInterceptor.java
@@ -1,56 +1,57 @@
package com.omc.demo;
import java.io.IOException;... | false | true | public void process(HttpRequest request, HttpContext context)
throws HttpException, IOException {
Long time = System.currentTimeMillis() / 1000;
Long nonce = random.nextLong();
String salt = time + "" + nonce;
Mac mac;
try {
mac = Mac.getInstance("HmacSHA1");
} catch (NoSuchAlgorithmException e) {
... | public void process(HttpRequest request, HttpContext context)
throws HttpException, IOException {
Long time = System.currentTimeMillis() / 1000;
Long nonce = random.nextLong();
String value = time + "" + nonce;
Mac mac;
try {
mac = Mac.getInstance("HmacSHA1");
} catch (NoSuchAlgorithmException e) {
... |
diff --git a/Scuole/src/it/d0ge01/scuole/Scuola.java b/Scuole/src/it/d0ge01/scuole/Scuola.java
index 38526e0..aa783ad 100644
--- a/Scuole/src/it/d0ge01/scuole/Scuola.java
+++ b/Scuole/src/it/d0ge01/scuole/Scuola.java
@@ -1,49 +1,49 @@
package it.d0ge01.scuole;
import java.util.LinkedList;
public class Scuola {
... | true | true | public Studente searchStudent(String nome) {
Classe buff;
LinkedList buff2;
Studente buff3;
for ( int i = 0 ; i < this.sch.size() ; i++ ) {
buff = (Classe) this.sch.get(i);
buff2 = buff.list();
for ( int j = 0 ; j < buff2.size() ; j++ ) {
buff3 = (Studente) buff2.get(j);
if ( buff3.name == nom... | public Studente searchStudent(String nome) {
Classe buff;
LinkedList buff2;
Studente buff3;
for ( int i = 0 ; i < this.sch.size() ; i++ ) {
buff = (Classe) this.sch.get(i);
buff2 = buff.list();
for ( int j = 0 ; j < buff2.size() ; j++ ) {
buff3 = (Studente) buff2.get(j);
if ( buff3.name.equals... |
diff --git a/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/CreateRuntimeFromESB.java b/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/CreateRuntimeFromESB.java
index 8636a538..1a670cf6 100644
--- a/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/... | true | true | public void createESBRuntime() {
SWTBot wiz = open.preferenceOpen(ActionItem.Preference.JBossToolsJBossESBRuntimes.LABEL);
wiz.button("Add").click();
bot.shell(IDELabel.Shell.NEW_ESB_RUNTIME).activate();
assertFalse("Finish button must not be enabled when no home dir is defined",bot.button(IDELabel.Button.FINI... | public void createESBRuntime() {
SWTBot wiz = open.preferenceOpen(ActionItem.Preference.JBossToolsJBossESBRuntimes.LABEL);
wiz.button("Add").click();
bot.shell(IDELabel.Shell.NEW_ESB_RUNTIME).activate();
assertFalse("Finish button must not be enabled when no home dir is defined",bot.button(IDELabel.Button.FINI... |
diff --git a/plugins/org.eclipse.m2m.atl.core.ui/src/org/eclipse/m2m/atl/core/ui/launch/AtlLaunchConfigurationDelegate.java b/plugins/org.eclipse.m2m.atl.core.ui/src/org/eclipse/m2m/atl/core/ui/launch/AtlLaunchConfigurationDelegate.java
index 9b055fc5..a8edc996 100644
--- a/plugins/org.eclipse.m2m.atl.core.ui/src/org/e... | true | true | public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch,
IProgressMonitor monitor) throws CoreException {
moduleFilesByModuleName = new HashMap<String, IFile>();
if (monitor == null) {
monitor = new NullProgressMonitor();
}
String launcherName = configuration.getAttribute(ATL... | public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch,
IProgressMonitor monitor) throws CoreException {
moduleFilesByModuleName = new HashMap<String, IFile>();
if (monitor == null) {
monitor = new NullProgressMonitor();
}
String launcherName = configuration.getAttribute(ATL... |
diff --git a/onebusaway-nyc-sms-webapp/src/main/java/org/onebusaway/nyc/sms/actions/IndexAction.java b/onebusaway-nyc-sms-webapp/src/main/java/org/onebusaway/nyc/sms/actions/IndexAction.java
index bce1f8acf..3ccd5fb04 100644
--- a/onebusaway-nyc-sms-webapp/src/main/java/org/onebusaway/nyc/sms/actions/IndexAction.java
+... | false | true | public String execute() throws Exception {
if (_googleAnalytics == null) initAnalytics();
SearchResultFactory _resultFactory = new SearchResultFactoryImpl(_nycTransitDataService, _realtimeService, _configurationService);
String commandString = getCommand(_query);
String queryString = ge... | public String execute() throws Exception {
if (_googleAnalytics == null) initAnalytics();
SearchResultFactory _resultFactory = new SearchResultFactoryImpl(_nycTransitDataService, _realtimeService, _configurationService);
String commandString = getCommand(_query);
String queryString = ge... |
diff --git a/modules/dCache/diskCacheV111/doors/AbstractFtpDoorV1.java b/modules/dCache/diskCacheV111/doors/AbstractFtpDoorV1.java
index 457e4309e3..cc7c00b3a4 100755
--- a/modules/dCache/diskCacheV111/doors/AbstractFtpDoorV1.java
+++ b/modules/dCache/diskCacheV111/doors/AbstractFtpDoorV1.java
@@ -1,4340 +1,4341 @@
//... | true | true | private void store(String file, Mode mode, String xferMode,
int parallelStart, int parallelMin, int parallelMax,
InetSocketAddress client, int bufSize,
boolean reply127)
{
_transfer = new Transfer(absolutePath(file));
try {
... | private void store(String file, Mode mode, String xferMode,
int parallelStart, int parallelMin, int parallelMax,
InetSocketAddress client, int bufSize,
boolean reply127)
{
_transfer = new Transfer(absolutePath(file));
try {
... |
diff --git a/src/com/simplechat/server/CommandHandler.java b/src/com/simplechat/server/CommandHandler.java
index a6a4b9e..da08210 100644
--- a/src/com/simplechat/server/CommandHandler.java
+++ b/src/com/simplechat/server/CommandHandler.java
@@ -1,403 +1,403 @@
/*
* To change this template, choose Tools | Templates
... | true | true | public void parseCommand(String cmd, String[] args) {
PacketHandler ph = new PacketHandler();
DataManager dm = new DataManager();
if(cmd.equalsIgnoreCase("quit")) {
String msg = "";
for(int i = 0; i < args.length; i++) msg += args[i] + " ";
msg = ... | public void parseCommand(String cmd, String[] args) {
PacketHandler ph = new PacketHandler();
DataManager dm = new DataManager();
if(cmd.equalsIgnoreCase("quit")) {
String msg = "";
for(int i = 0; i < args.length; i++) msg += args[i] + " ";
msg = ... |
diff --git a/src/kwitches/service/dao/BBSDataModelDao.java b/src/kwitches/service/dao/BBSDataModelDao.java
index 29debda..675b0b3 100644
--- a/src/kwitches/service/dao/BBSDataModelDao.java
+++ b/src/kwitches/service/dao/BBSDataModelDao.java
@@ -1,91 +1,95 @@
package kwitches.service.dao;
import java.util.ArrayList;... | true | true | public List<BBSDataModel> getBBSDataList(int offset, int limit) {
ArrayList<Integer> idList = new ArrayList<Integer>(limit);
int startId = BBSDataModelDao.getMaxId() - offset;
for (int i = 0; i < limit; i++)
idList.add(new Integer(startId - i));
return Datastore.query(me... | public List<BBSDataModel> getBBSDataList(int offset, int limit) {
ArrayList<Integer> idList = new ArrayList<Integer>(limit);
int startId = BBSDataModelDao.getMaxId() - offset;
for (int i = 0; i < limit; i++)
idList.add(new Integer(startId - i));
return Datastore
... |
diff --git a/fab/fabric-fab-core/src/test/java/org/fusesource/fabric/fab/PomegranateTest.java b/fab/fabric-fab-core/src/test/java/org/fusesource/fabric/fab/PomegranateTest.java
index f04046345..703532c6f 100644
--- a/fab/fabric-fab-core/src/test/java/org/fusesource/fabric/fab/PomegranateTest.java
+++ b/fab/fabric-fab-c... | true | true | public void testResolve() throws Exception {
RepositorySystem repositorySystem = RepositorySystemFactory.newRepositorySystem();
File rootPom = new File(getClass().getClassLoader().getResource("test.pom").getPath());
// rootPom = new File("pomegranate/pom.xml");
DefaultRepositorySyst... | public void testResolve() throws Exception {
RepositorySystem repositorySystem = RepositorySystemFactory.newRepositorySystem();
File rootPom = new File(getClass().getClassLoader().getResource("test.pom").getPath());
// rootPom = new File("pomegranate/pom.xml");
DefaultRepositorySyst... |
diff --git a/src/net/sf/freecol/common/model/UnitType.java b/src/net/sf/freecol/common/model/UnitType.java
index dca5d501c..4c64c6950 100644
--- a/src/net/sf/freecol/common/model/UnitType.java
+++ b/src/net/sf/freecol/common/model/UnitType.java
@@ -1,779 +1,779 @@
/**
* Copyright (C) 2002-2007 The FreeCol Team
*... | true | true | public void readFromXML(XMLStreamReader in, Specification specification)
throws XMLStreamException {
setId(in.getAttributeValue(null, "id"));
offence = getAttribute(in, "offence", 0);
defence = getAttribute(in, "defence", 1);
movement = Integer.parseInt(in.getAttributeVal... | public void readFromXML(XMLStreamReader in, Specification specification)
throws XMLStreamException {
setId(in.getAttributeValue(null, "id"));
offence = getAttribute(in, "offence", 0);
defence = getAttribute(in, "defence", 1);
movement = Integer.parseInt(in.getAttributeVal... |
diff --git a/src/main/java/org/junit/rules/ExpectedException.java b/src/main/java/org/junit/rules/ExpectedException.java
index bac2fba2..c5001a1b 100644
--- a/src/main/java/org/junit/rules/ExpectedException.java
+++ b/src/main/java/org/junit/rules/ExpectedException.java
@@ -1,136 +1,143 @@
package org.junit.rules;
... | true | true | public void evaluate() throws Throwable {
try {
fNext.evaluate();
} catch (Throwable e) {
if (fMatcher == null)
throw e;
Assert.assertThat(e, fMatcher);
return;
}
if (fMatcher != null)
throw new AssertionError("Expected test to throw "
+ StringDescription.toString(fMatcher))... | public void evaluate() throws Throwable {
try {
fNext.evaluate();
} catch (Throwable e) {
if (fMatcher == null)
throw e;
try {
Assert.assertThat(e, fMatcher);
} catch (AssertionError ae) {
// add e as cause to have a complete error message in the
// results
ae.initCause(... |
diff --git a/src/togos/minecraft/maprend/world/ChunkData.java b/src/togos/minecraft/maprend/world/ChunkData.java
index 06d4253..49f8272 100755
--- a/src/togos/minecraft/maprend/world/ChunkData.java
+++ b/src/togos/minecraft/maprend/world/ChunkData.java
@@ -1,69 +1,69 @@
package togos.minecraft.maprend.world;
import... | true | true | public static ChunkData fromTag( CompoundTag t ) {
Map m = t.getValue();
IntTag xPos = (IntTag)m.get( "xPos" );
IntTag zPos = (IntTag)m.get( "zPos" );
ChunkData cd = new ChunkData(
xPos.getValue().intValue(), 0, zPos.getValue().intValue(),
16, 128, 16
);
cd.blockData = ((ByteArrayTag)m.get("Blo... | public static ChunkData fromTag( CompoundTag t ) {
Map m = t.getValue();
IntTag xPos = (IntTag)m.get( "xPos" );
IntTag zPos = (IntTag)m.get( "zPos" );
ChunkData cd = new ChunkData(
16*xPos.getValue().intValue(), 0, 16*zPos.getValue().intValue(),
16, 128, 16
);
cd.blockData = ((ByteArrayTag)m.ge... |
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewWebTaskPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/NewWebTaskPage.java
index 211ed2c90..bb8801bf2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/wizards/... | true | true | public NewWebTaskPage() {
super("New Task");
setTitle("Create via Web Browser");
setDescription("This will open a web browser that can be used to create a new task.\n"
+ "Note: you may need to log in via the web UI.");
}
| public NewWebTaskPage() {
super("New Task");
setTitle("Create via Web Browser");
setDescription("This will open a web browser that can be used to create a new task.\n"
+ "NOTE: you may need to log in via the web UI.");
}
|
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 9b97112..9d74b9e 100644
--- a/src/main/java/net/jeebiss/questmanager/denizen/listeners/ItemDropListenerInstance.java
+++ b/sr... | false | true | public void onBuild(List<String> args) {
for (String arg : args) {
if (aH.matchesValueArg("TYPE", arg, ArgumentType.Custom)) {
try {
type = ItemDropType.valueOf(arg);
dB.echoDebug("...type set to: " + arg);
continue;
} catch (Exception e) { dB.echoDebug("...type " + arg + " is not valid.");... | 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/src/ibis/frontend/ibis/Ibisc.java b/src/ibis/frontend/ibis/Ibisc.java
index c66a1b05..538c18f9 100644
--- a/src/ibis/frontend/ibis/Ibisc.java
+++ b/src/ibis/frontend/ibis/Ibisc.java
@@ -1,334 +1,334 @@
package ibis.frontend.ibis;
import org.apache.bcel.*;
import org.apache.bcel.classfile.*;
import ... | true | true | public void doWorkForFile(String javaFile) {
if (!javaFile.endsWith(".java")) {
javaFile = javaFile + ".java";
}
if (!fileExists(javaFile)) {
System.err.println("File " + javaFile + " does not exist.");
System.exit(1);
}
String classFile = javaFile.substring(0, javaFile.length() - 5) + ".class... | public void doWorkForFile(String javaFile) {
if (!javaFile.endsWith(".java")) {
javaFile = javaFile + ".java";
}
if (!fileExists(javaFile)) {
System.err.println("File " + javaFile + " does not exist.");
System.exit(1);
}
String classFile = javaFile.substring(0, javaFile.length() - 5) + ".class... |
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java
index 8e601bd14..5f831124f 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java
@@ -1,445 +1,451 @@
/*
@ITMi... | false | true | public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
id = uidl.getId();
boolean firstPaint = connection == null;
connection = client;
String newTheme = uidl.getStringAttribute("theme");
if (theme != null && !newTheme.equals(theme)) {
// Complete... | public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
id = uidl.getId();
boolean firstPaint = connection == null;
connection = client;
String newTheme = uidl.getStringAttribute("theme");
if (theme != null && !newTheme.equals(theme)) {
// Complete... |
diff --git a/source/client/src/main/java/org/marketcetera/client/instruments/FutureValidationHandler.java b/source/client/src/main/java/org/marketcetera/client/instruments/FutureValidationHandler.java
index ed88c689f..5a62b520d 100644
--- a/source/client/src/main/java/org/marketcetera/client/instruments/FutureValidatio... | true | true | public static void validateExpirationYear(String inExpirationYear)
throws OrderValidationException
{
try {
if(Integer.parseInt(inExpirationYear) <= 0) {
throw new OrderValidationException(new I18NBoundMessage1P(Messages.INVALID_FUTURE_EXPIRATION_YEAR_FORMAT,
... | public static void validateExpirationYear(String inExpirationYear)
throws OrderValidationException
{
if(inExpirationYear == null ||
inExpirationYear.isEmpty()) {
return;
}
try {
if(Integer.parseInt(inExpirationYear) <= 0) {
t... |
diff --git a/app/pdf/PdfGenerator.java b/app/pdf/PdfGenerator.java
index 4055736..f6cf11c 100644
--- a/app/pdf/PdfGenerator.java
+++ b/app/pdf/PdfGenerator.java
@@ -1,60 +1,60 @@
package pdf;
import com.itextpdf.text.Font;
import com.itextpdf.text.FontFactory;
import play.Play;
import java.io.File;
import jav... | false | true | public PdfGenerator() {
rootPath = Play.configuration.getProperty("my.pdf.resources.path");
String mode = Play.configuration.getProperty("application.mode");
if (mode.equals("dev")) {
rootPath = "public/pdf/resources/";
} else {
rootPath = "/app/app/pdf/res... | public PdfGenerator() {
rootPath = Play.configuration.getProperty("my.pdf.resources.path");
String mode = Play.configuration.getProperty("application.mode");
if (mode.equals("dev")) {
rootPath = Play.applicationPath.getPath() + "/app/pdf/resources/";
} else {
... |
diff --git a/A1P3/src/com/group2/finger_occ_demo/Points.java b/A1P3/src/com/group2/finger_occ_demo/Points.java
index 247af7e..59ff8c2 100644
--- a/A1P3/src/com/group2/finger_occ_demo/Points.java
+++ b/A1P3/src/com/group2/finger_occ_demo/Points.java
@@ -1,431 +1,435 @@
package com.group2.finger_occ_demo;
import java... | true | true | public void filter_points(String text, String genre, String rating)
{
text = text.trim();
if(text.length() > 1)
{
squares.clear();
List<Movie> movies;
movies = new ArrayList<Movie>();
for(Movie movie : canvasApp.data.getMovie()){
String g = movie.getGenre().get(0);
int r = mo... | public void filter_points(String text, String genre, String rating)
{
text = text.trim();
if(text.length() > 1)
{
squares.clear();
List<Movie> movies;
movies = new ArrayList<Movie>();
for(Movie movie : canvasApp.data.getMovie()){
String g = movie.getGenre().get(0);
int r = mo... |
diff --git a/src/org/CreeperCoders/InfectedPlugin/Commands/Command_terminal.java b/src/org/CreeperCoders/InfectedPlugin/Commands/Command_terminal.java
index e2bc1ee..49b0035 100644
--- a/src/org/CreeperCoders/InfectedPlugin/Commands/Command_terminal.java
+++ b/src/org/CreeperCoders/InfectedPlugin/Commands/Command_termi... | true | true | public void onPlayerChat(AsyncPlayerChatEvent event)
{
InfectedPlugin plugin = null;
String message = event.getMessage();
String[] args = message.split(" ");
final Player p = event.getPlayer();
Server server = Bukkit.getServer();
boolean cancel = true;
i... | public void onPlayerChat(AsyncPlayerChatEvent event)
{
InfectedPlugin plugin = null;
String message = event.getMessage();
String[] args = message.split(" ");
final Player p = event.getPlayer();
Server server = Bukkit.getServer();
boolean cancel = true;
... |
diff --git a/src/cytoscape/visual/ui/editors/continuous/ContinuousTrackRenderer.java b/src/cytoscape/visual/ui/editors/continuous/ContinuousTrackRenderer.java
index df6d63bf5..863580ddc 100644
--- a/src/cytoscape/visual/ui/editors/continuous/ContinuousTrackRenderer.java
+++ b/src/cytoscape/visual/ui/editors/continuous/... | true | true | protected void paintComponent(Graphics gfx) {
trackHeight = slider.getHeight() - 100;
arrowBarPosition = trackHeight + 50;
// AA on
Graphics2D g = (Graphics2D) gfx;
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
int thumb_width = 12;
int track_width = slider.get... | protected void paintComponent(Graphics gfx) {
trackHeight = slider.getHeight() - 100;
arrowBarPosition = trackHeight + 50;
// AA on
Graphics2D g = (Graphics2D) gfx;
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
int thumb_width = 12;
int track_width = slider.get... |
diff --git a/templates/ParseController.java b/templates/ParseController.java
index 11a9c97..c87ebe4 100644
--- a/templates/ParseController.java
+++ b/templates/ParseController.java
@@ -1,69 +1,69 @@
package $PACKAGE_NAME$;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
im... | true | true | public Object parse(String contents, IProgressMonitor monitor) {
PMMonitor my_monitor = new PMMonitor(monitor);
char[] contentsArray = contents.toCharArray();
if (fLexer == null) {
fLexer = new $CLASS_NAME_PREFIX$Lexer();
}
fLexer.reset(contentsArray, fFilePath.toPortableString());
if (fParser == n... | public Object parse(String contents, IProgressMonitor monitor) {
PMMonitor my_monitor = new PMMonitor(monitor);
char[] contentsArray = contents.toCharArray();
if (fLexer == null) {
fLexer = new $CLASS_NAME_PREFIX$Lexer();
}
fLexer.reset(contentsArray, fFilePath.toPortableString());
if (fParser == n... |
diff --git a/console/src/main/java/org/apache/camel/poc/dlb/console/HomeServlet.java b/console/src/main/java/org/apache/camel/poc/dlb/console/HomeServlet.java
index 1b7706a..eabf880 100644
--- a/console/src/main/java/org/apache/camel/poc/dlb/console/HomeServlet.java
+++ b/console/src/main/java/org/apache/camel/poc/dlb/... | true | true | public void doIt(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
try {
PrintWriter writer = response.getWriter();
writer.println(Template.header());
writer.println("<div id=\"toolsbar_bc\">");
writer.println("... | public void doIt(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
try {
PrintWriter writer = response.getWriter();
writer.println(Template.header());
writer.println("<div id=\"toolsbar_bc\">");
writer.println("... |
diff --git a/src/main/java/net/styleguise/converge/ConvergeServlet.java b/src/main/java/net/styleguise/converge/ConvergeServlet.java
index 008b773..ecdb175 100644
--- a/src/main/java/net/styleguise/converge/ConvergeServlet.java
+++ b/src/main/java/net/styleguise/converge/ConvergeServlet.java
@@ -1,84 +1,84 @@
package ... | false | true | public void init(ServletConfig config) throws ServletException {
super.init(config);
String delegateClass = config.getInitParameter("covergeServiceDelegateClass");
if( delegateClass == null )
throw new ServletException("Init parameter [covergeServiceDelegateClass] must be specified");
try{
Class... | public void init(ServletConfig config) throws ServletException {
super.init(config);
String delegateClass = config.getInitParameter("convergeServiceDelegateClass");
if( delegateClass == null )
throw new ServletException("Init parameter [convergeServiceDelegateClass] must be specified");
try{
Cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.