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/checkstyle-sevntu/src/tests/com/puppycrawl/tools/checkstyle/checks/coding/AvoidConstantsInInterfacesCheckTest.java b/checkstyle-sevntu/src/tests/com/puppycrawl/tools/checkstyle/checks/coding/AvoidConstantsInInterfacesCheckTest.java
index e44b3e19..17d48c39 100644
--- a/checkstyle-sevntu/src/tests/com/puppy... | true | true | public void testDefault() throws Exception
{
final DefaultConfiguration checkConfig = createCheckConfig(AvoidConstantsInInterfacesCheck.class);
final String[] expected =
{
"9: Please avoid to declare constant(s) in the interface",
"16: Please avoid to declare constant(s) in the interface",
"18: P... | public void testDefault() throws Exception
{
final DefaultConfiguration checkConfig = createCheckConfig(AvoidConstantsInInterfacesCheck.class);
final String[] expected =
{
"9: Please avoid to declare constant(s) in the interface.",
"16: Please avoid to declare constant(s) in the interface.",
"18:... |
diff --git a/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java b/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
index 5f5ac34e..76c7c7c7 100644
--- a/maven-scm-api/src/main/java/org/apache/maven/scm/util/AbstractConsumer.java
+++ b/maven-scm-api/src/main/java/org/a... | true | true | protected Date parseDate( String date, String userPattern, String defaultPattern, Locale locale )
{
DateFormat format;
if ( StringUtils.isNotEmpty( userPattern ) )
{
format = new SimpleDateFormat( userPattern );
}
else
{
if ( StringUtils.i... | protected Date parseDate( String date, String userPattern, String defaultPattern, Locale locale )
{
DateFormat format;
if ( StringUtils.isNotEmpty( userPattern ) )
{
format = new SimpleDateFormat( userPattern );
}
else
{
if ( StringUtils.i... |
diff --git a/src/com/android/bluetooth/btservice/RemoteDevices.java b/src/com/android/bluetooth/btservice/RemoteDevices.java
index b7e71c2..e9f4792 100755
--- a/src/com/android/bluetooth/btservice/RemoteDevices.java
+++ b/src/com/android/bluetooth/btservice/RemoteDevices.java
@@ -1,450 +1,452 @@
/*
* Copyright (C) 2... | false | true | void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] values) {
Intent intent;
byte[] val;
int type;
BluetoothDevice bdDevice = getDevice(address);
DeviceProperties device;
if (bdDevice == null) {
device = addDeviceProperties(address);
... | void devicePropertyChangedCallback(byte[] address, int[] types, byte[][] values) {
Intent intent;
byte[] val;
int type;
BluetoothDevice bdDevice = getDevice(address);
DeviceProperties device;
if (bdDevice == null) {
device = addDeviceProperties(address);
... |
diff --git a/src/edu/jas/ring/OrderedDPairlist.java b/src/edu/jas/ring/OrderedDPairlist.java
index 940c7ef0..8abf2da9 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/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/listeners/UpdateListener.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/listeners/UpdateListener.java
index 993e4e7a5..c723969c8 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/e... | false | true | public IStatus errorLine(String line, ICVSFolder commandRoot,
IProgressMonitor monitor) {
if (line.startsWith(SERVER_PREFIX)) {
// Strip the prefix from the line
String message = line.substring(SERVER_PREFIX.length());
if (message.startsWith("Updating")) { //$NON-NLS-1$
if (updateMessageListener !=... | public IStatus errorLine(String line, ICVSFolder commandRoot,
IProgressMonitor monitor) {
if (line.startsWith(SERVER_PREFIX)) {
// Strip the prefix from the line
String message = line.substring(SERVER_PREFIX.length());
if (message.startsWith("Updating")) { //$NON-NLS-1$
if (updateMessageListener !=... |
diff --git a/src/com/jesjimher/bicipalma/MesProperesActivity.java b/src/com/jesjimher/bicipalma/MesProperesActivity.java
index 4c4270c..1d8d647 100644
--- a/src/com/jesjimher/bicipalma/MesProperesActivity.java
+++ b/src/com/jesjimher/bicipalma/MesProperesActivity.java
@@ -1,552 +1,550 @@
package com.jesjimher.bicipalm... | false | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mesproperes);
this.prefs = PreferenceManager.getDefaultSharedPreferences(this);
// Si s'ha d'activar el wifi en inici, fer-ho
WifiManager wm=(WifiManager) this.... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.mesproperes);
this.prefs = PreferenceManager.getDefaultSharedPreferences(this);
// Si s'ha d'activar el wifi en inici, fer-ho
WifiManager wm=(WifiManager) this.... |
diff --git a/src/com/mojang/mojam/sound/SoundPlayer.java b/src/com/mojang/mojam/sound/SoundPlayer.java
index a7563e41..06ff8b98 100644
--- a/src/com/mojang/mojam/sound/SoundPlayer.java
+++ b/src/com/mojang/mojam/sound/SoundPlayer.java
@@ -1,225 +1,226 @@
package com.mojang.mojam.sound;
import java.util.Set;
import... | false | true | private boolean playSound(String sourceName, float x, float y, boolean blocking, int index) {
if (index < MAX_SOURCES_PER_SOUND && !isMuted() && hasWavPlaybackSupport()) {
String indexedSourceName = sourceName + index;
if (!loaded.contains(indexedSourceName)) {
getSoundSystem().newSource(false, indexedSour... | private boolean playSound(String sourceName, float x, float y, boolean blocking, int index) {
if (index < MAX_SOURCES_PER_SOUND && !isMuted() && hasWavPlaybackSupport()) {
String indexedSourceName = sourceName + index;
if (!loaded.contains(indexedSourceName)) {
getSoundSystem().newSource(false, indexedSour... |
diff --git a/src/main/java/org/hackreduce/storm/gnip/bolt/GnipEdcRequestBolt.java b/src/main/java/org/hackreduce/storm/gnip/bolt/GnipEdcRequestBolt.java
index 28b746d..f239352 100644
--- a/src/main/java/org/hackreduce/storm/gnip/bolt/GnipEdcRequestBolt.java
+++ b/src/main/java/org/hackreduce/storm/gnip/bolt/GnipEdcRequ... | true | true | private List<XmlParser.Node> requestGnipData() throws GnipRequestException {
URLConnection uc;
URL connectionUrl;
try {
connectionUrl = refreshUrl == null ? new URL(gnipConnectionUrl) : new URL(refreshUrl);
} catch (MalformedURLException e) {
throw new GnipRequestException("Failed parsing ... | private List<XmlParser.Node> requestGnipData() throws GnipRequestException {
URLConnection uc;
URL connectionUrl;
try {
connectionUrl = refreshUrl == null ? new URL(gnipConnectionUrl) : new URL(refreshUrl);
} catch (MalformedURLException e) {
throw new GnipRequestException("Failed parsing ... |
diff --git a/src/OrderProcessor.java b/src/OrderProcessor.java
index 4a2f365..7f2234d 100755
--- a/src/OrderProcessor.java
+++ b/src/OrderProcessor.java
@@ -1,47 +1,47 @@
/*
Design and implement a class called OrderProcessor. You must implement at least the following methods:
accept; // this method accepts a Generic... | true | true | public void dispatchXXX() {
for(T order : listOfOrders) {
System.out.print(o.getClass() + "\t");
}
}; // this method simulates the dispatch of the sorted collections. For
| public void dispatchXXX() {
for(T order : listOfOrders) {
System.out.print(order.getClass() + "\t");
}
}; // this method simulates the dispatch of the sorted collections. For
|
diff --git a/src/main/java/ch/hszt/mdp/dao/TaskBirthdayDao.java b/src/main/java/ch/hszt/mdp/dao/TaskBirthdayDao.java
index 53e4329..92cad79 100644
--- a/src/main/java/ch/hszt/mdp/dao/TaskBirthdayDao.java
+++ b/src/main/java/ch/hszt/mdp/dao/TaskBirthdayDao.java
@@ -1,35 +1,35 @@
package ch.hszt.mdp.dao;
import java.... | true | true | public void postHappyBirthday(List<User> friends){
for (User friend : friends) {
activity.setContent("HAPPY BIRTHDAY");
activity.setTyp(ActivityType.STATUS);
activity.setUser(friend);
activityService.create(activity);
}
}
| public void postHappyBirthday(List<User> friends){
for (User friend : friends) {
activity.setContent("HAPPY BIRTHDAY");
activity.setType(ActivityType.STATUS);
activity.setUser(friend);
activityService.create(activity);
}
}
|
diff --git a/src/main/java/lcmc/utilities/MyButtonCellRenderer.java b/src/main/java/lcmc/utilities/MyButtonCellRenderer.java
index 2c300c55..b03a18eb 100644
--- a/src/main/java/lcmc/utilities/MyButtonCellRenderer.java
+++ b/src/main/java/lcmc/utilities/MyButtonCellRenderer.java
@@ -1,97 +1,97 @@
/*
* This file is pa... | true | true | public final Component getTableCellRendererComponent(
final JTable table,
final Object value,
final boolean isSelected,
... | public final Component getTableCellRendererComponent(
final JTable table,
final Object value,
final boolean isSelected,
... |
diff --git a/test/org/plovr/ManifestTest.java b/test/org/plovr/ManifestTest.java
index d9966e489..b29026c8d 100644
--- a/test/org/plovr/ManifestTest.java
+++ b/test/org/plovr/ManifestTest.java
@@ -1,74 +1,75 @@
package org.plovr;
import java.io.File;
import java.util.List;
import junit.framework.TestCase;
im... | true | true | public void testSimpleManifest() throws MissingProvideException {
File closureLibraryDirectory = new File("../closure-library/closure/goog/");
final List<File> dependencies = ImmutableList.of();
String path = "test/org/plovr/example.js";
File testFile = new File(path);
JsSourceFile requiredInput... | public void testSimpleManifest() throws MissingProvideException {
File closureLibraryDirectory = new File("../closure-library/closure/goog/");
final List<File> dependencies = ImmutableList.of();
String path = "test/org/plovr/example.js";
File testFile = new File(path);
JsSourceFile requiredInput... |
diff --git a/org.eclipse.stem.core/src/org/eclipse/stem/core/IdentifiableFilter.java b/org.eclipse.stem.core/src/org/eclipse/stem/core/IdentifiableFilter.java
index f13a251a..ae47200b 100644
--- a/org.eclipse.stem.core/src/org/eclipse/stem/core/IdentifiableFilter.java
+++ b/org.eclipse.stem.core/src/org/eclipse/stem/co... | true | true | public EMap<URI, Edge> filterEdges(EMap<URI, Edge>map) {
if(patterns == null)return map;
ArrayList<URI>remove = new ArrayList<URI>();
for(URI uri:map.keySet()) {
Edge edge = map.get(uri);
boolean foundSource=false, foundDest = false;
for(int i=0;i<patterns.length;++i) {
String pat = patterns[i];
... | public EMap<URI, Edge> filterEdges(EMap<URI, Edge>map) {
if(patterns == null)return map;
ArrayList<URI>remove = new ArrayList<URI>();
for(URI uri:map.keySet()) {
Edge edge = map.get(uri);
boolean foundSource=false, foundDest = false;
for(int i=0;i<patterns.length;++i) {
String pat = patterns[i];
... |
diff --git a/Java2/src/com/example/movieInfo/MainActivity.java b/Java2/src/com/example/movieInfo/MainActivity.java
index 0f1f8d2..5bb452b 100755
--- a/Java2/src/com/example/movieInfo/MainActivity.java
+++ b/Java2/src/com/example/movieInfo/MainActivity.java
@@ -1,376 +1,377 @@
/*
* Project Java2
*
* Package com.... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Set Content View
setContentView(R.layout.main);
// Set defaults for variables
_context = this;
_searchField = (EditText) findViewById(R.id.searchField);
_header = (TextView) findViewById(R.id.header);
_titleTV... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Set Content View
setContentView(R.layout.main);
// Set defaults for variables
_context = this;
_searchField = (EditText) findViewById(R.id.searchField);
_header = (TextView) findViewById(R.id.header);
_titleTV... |
diff --git a/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/MultiDbJDBCConnection.java b/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/MultiDbJDBCConnection.java
index a8d9f7d35..9dffe1eba 100644
--- a/exo.jcr.com... | true | true | protected void prepareQueries() throws SQLException
{
JCR_PK_ITEM = "JCR_PK_MITEM";
JCR_FK_ITEM_PARENT = "JCR_FK_MITEM_PARENT";
JCR_IDX_ITEM_PARENT = "JCR_IDX_MITEM_PARENT";
JCR_IDX_ITEM_PARENT_NAME = "JCR_IDX_MITEM_PARENT_NAME";
JCR_IDX_ITEM_PARENT_ID = "JCR_IDX_MITEM_PARENT_ID";
... | protected void prepareQueries() throws SQLException
{
JCR_PK_ITEM = "JCR_PK_MITEM";
JCR_FK_ITEM_PARENT = "JCR_FK_MITEM_PARENT";
JCR_IDX_ITEM_PARENT = "JCR_IDX_MITEM_PARENT";
JCR_IDX_ITEM_PARENT_NAME = "JCR_IDX_MITEM_PARENT_NAME";
JCR_IDX_ITEM_PARENT_ID = "JCR_IDX_MITEM_PARENT_ID";
... |
diff --git a/src/main/java/me/hwei/bukkit/scoreplugin/ScorePlugin.java b/src/main/java/me/hwei/bukkit/scoreplugin/ScorePlugin.java
index d821a0a..c4917a5 100644
--- a/src/main/java/me/hwei/bukkit/scoreplugin/ScorePlugin.java
+++ b/src/main/java/me/hwei/bukkit/scoreplugin/ScorePlugin.java
@@ -1,221 +1,225 @@
package me... | false | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if(args.length == 0) {
this.output.ToCommandSender(sender, command.getDescription());
return true;
}
if(args.length == 1) {
if(args[0].equalsIgnoreCase("reload")) {
if(!this.permissionManager.HasPermission... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if(args.length == 0) {
this.output.ToCommandSender(sender, command.getDescription());
return true;
}
if(args.length == 1) {
if(args[0].equalsIgnoreCase("reload")) {
if(!this.permissionManager.HasPermission... |
diff --git a/asgn1/src/LivenessAnalysis.java b/asgn1/src/LivenessAnalysis.java
index b836630..8d096e2 100644
--- a/asgn1/src/LivenessAnalysis.java
+++ b/asgn1/src/LivenessAnalysis.java
@@ -1,121 +1,121 @@
import chord.project.Chord;
import chord.project.analyses.JavaAnalysis;
import chord.program.Program;
import ... | true | true | public void doAnalysis() {
// Implement your liveness dataflow analysis here.
//
// File DataflowAnalysis.java defines instance fields main, inMap, and
// outMap, which will serve as the inputs and outputs of your analysis:
//
// INPUT: Method main.
//
// OUTPUT: Populate maps inMap and outMap with th... | public void doAnalysis() {
// Implement your liveness dataflow analysis here.
//
// File DataflowAnalysis.java defines instance fields main, inMap, and
// outMap, which will serve as the inputs and outputs of your analysis:
//
// INPUT: Method main.
//
// OUTPUT: Populate maps inMap and outMap with th... |
diff --git a/src/savant/view/swing/Frame.java b/src/savant/view/swing/Frame.java
index d9d0bf92..206624ab 100644
--- a/src/savant/view/swing/Frame.java
+++ b/src/savant/view/swing/Frame.java
@@ -1,786 +1,779 @@
/*
* Copyright 2010 University of Toronto
*
* Licensed under the Apache License, Version 2.0 (th... | false | true | public Frame(List<ViewTrack> tracks, List<TrackRenderer> renderers, String name)
{
this.name = name;
//INIT LEGEND PANEL
arcLegend = new JPanel();
arcLegend.setVisible(false);
isLocked = false;
this.tracks = new ArrayList<ViewTrack>();
this.frameLandsca... | public Frame(List<ViewTrack> tracks, List<TrackRenderer> renderers, String name)
{
this.name = name;
//INIT LEGEND PANEL
arcLegend = new JPanel();
arcLegend.setVisible(false);
isLocked = false;
this.tracks = new ArrayList<ViewTrack>();
this.frameLandsca... |
diff --git a/src/main/java/net/praqma/hudson/scm/PucmScm.java b/src/main/java/net/praqma/hudson/scm/PucmScm.java
index 0fe06c8..bd2e923 100644
--- a/src/main/java/net/praqma/hudson/scm/PucmScm.java
+++ b/src/main/java/net/praqma/hudson/scm/PucmScm.java
@@ -1,704 +1,704 @@
package net.praqma.hudson.scm;
import hudso... | true | true | public boolean checkout( AbstractBuild build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile ) throws IOException, InterruptedException
{
logger.trace_function();
logger.debug( "PucmSCM checkout" );
boolean result = true;
// consoleOutput Printstream is from Hudson, so it... | public boolean checkout( AbstractBuild build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile ) throws IOException, InterruptedException
{
logger.trace_function();
logger.debug( "PucmSCM checkout" );
boolean result = true;
// consoleOutput Printstream is from Hudson, so it... |
diff --git a/src/com/tinfoil/sms/sms/SendMessageActivity.java b/src/com/tinfoil/sms/sms/SendMessageActivity.java
index 6df6635a..5505bb01 100644
--- a/src/com/tinfoil/sms/sms/SendMessageActivity.java
+++ b/src/com/tinfoil/sms/sms/SendMessageActivity.java
@@ -1,251 +1,251 @@
/**
* Copyright (C) 2013 Jonathan Gillett... | true | true | protected void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(R.layout.new_message);
//String a = null;
//Toast.makeText(this, a.length(), Toast.LENGTH_LONG).show();
dba = new DBAccessor(this);
ConversationView.sh... | protected void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(R.layout.new_message);
//String a = null;
//Toast.makeText(this, a.length(), Toast.LENGTH_LONG).show();
dba = new DBAccessor(this);
ConversationView.sh... |
diff --git a/src/org/omegat/core/statistics/CalcStandardStatistics.java b/src/org/omegat/core/statistics/CalcStandardStatistics.java
index 2ca61ca9..868b9336 100644
--- a/src/org/omegat/core/statistics/CalcStandardStatistics.java
+++ b/src/org/omegat/core/statistics/CalcStandardStatistics.java
@@ -1,244 +1,245 @@
/***... | true | true | public static String buildProjectStats(
final List<StringEntry> m_strEntryList,
final List<SourceTextEntry> m_srcTextEntryArray,
final ProjectProperties m_config,
final int numberofTranslatedSegments) {
StatCount total = new StatCount();
StatCount rem... | public static String buildProjectStats(
final List<StringEntry> m_strEntryList,
final List<SourceTextEntry> m_srcTextEntryArray,
final ProjectProperties m_config,
final int numberofTranslatedSegments) {
StatCount total = new StatCount();
StatCount rem... |
diff --git a/src/View/SOM/AdministrateServiceOptionManagement.java b/src/View/SOM/AdministrateServiceOptionManagement.java
index ca4a48b..0318449 100644
--- a/src/View/SOM/AdministrateServiceOptionManagement.java
+++ b/src/View/SOM/AdministrateServiceOptionManagement.java
@@ -1,2239 +1,2239 @@
/***********************... | false | true | public int loadCSV(String path) throws IOException{
int result=1;
String tabTitle="";
//-1 means empty file
//0 means wrong format file
//1 means all good close the thread
CSVController reader= new CSVController();
ArrayList<String[]> data= reader.readFile(path);
//CHECK IF THE FILE IS EMPTY
for(int ... | public int loadCSV(String path) throws IOException{
int result=1;
String tabTitle="";
//-1 means empty file
//0 means wrong format file
//1 means all good close the thread
CSVController reader= new CSVController();
ArrayList<String[]> data= reader.readFile(path);
//CHECK IF THE FILE IS EMPTY
for(int ... |
diff --git a/src/com/deepred/zhaolin/adapter/NewsFeedAdapter.java b/src/com/deepred/zhaolin/adapter/NewsFeedAdapter.java
index 1bbd964..6e9d73b 100644
--- a/src/com/deepred/zhaolin/adapter/NewsFeedAdapter.java
+++ b/src/com/deepred/zhaolin/adapter/NewsFeedAdapter.java
@@ -1,177 +1,177 @@
package com.deepred.zhaolin.ad... | false | true | public View getView(final int position, View convertView,
ViewGroup parent) {
final NewActionInfo actionDetail = list.get(position);
ViewHolder holder = null;
if (convertView == null) {
holder = new ViewHolder();
convertView = layoutInflater.inflate(R.layout.newsfeed_item, null);
holder.userIcon = (I... | public View getView(final int position, View convertView,
ViewGroup parent) {
final NewActionInfo actionDetail = list.get(position);
ViewHolder holder = null;
if (convertView == null) {
holder = new ViewHolder();
convertView = layoutInflater.inflate(R.layout.newsfeed_item, null);
holder.userIcon = (I... |
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/provisional/p2/director/ProfileChangeRequest.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/provisional/p2/director/ProfileChangeRequest.java
index 06872f009..f01e4a509 100644
--- a/bundles/org.eclipse... | false | true | public String toString() {
StringBuffer result = new StringBuffer(1000);
result.append("==Profile change request for "); //$NON-NLS-1$
result.append(profile.getProfileId());
result.append('\n');
result.append("==Additions=="); //$NON-NLS-1$
result.append('\n');
for (IInstallableUnit iu : iusToAdd) {
r... | public String toString() {
StringBuffer result = new StringBuffer(1000);
result.append("==Profile change request for "); //$NON-NLS-1$
result.append(profile.getProfileId());
result.append('\n');
if (iusToAdd != null) {
result.append("==Additions=="); //$NON-NLS-1$
result.append('\n');
for (IInstalla... |
diff --git a/providers/netty/src/main/java/org/asynchttpclient/providers/netty/request/timeout/IdleConnectionTimeoutTimerTask.java b/providers/netty/src/main/java/org/asynchttpclient/providers/netty/request/timeout/IdleConnectionTimeoutTimerTask.java
index f547795ed..96cb9b9b9 100644
--- a/providers/netty/src/main/java... | true | true | public void run(Timeout timeout) throws Exception {
if (clientClosed.get()) {
timeoutsHolder.cancel();
return;
}
if (!nettyResponseFuture.isDone() && !nettyResponseFuture.isCancelled()) {
long now = millisTime();
long currentIdleConnectionTi... | public void run(Timeout timeout) throws Exception {
if (clientClosed.get()) {
timeoutsHolder.cancel();
return;
}
if (!nettyResponseFuture.isDone() && !nettyResponseFuture.isCancelled()) {
long now = millisTime();
long currentIdleConnectionTi... |
diff --git a/src/net/sf/gogui/gui/GuiBoard.java b/src/net/sf/gogui/gui/GuiBoard.java
index 27038535..c3b1e114 100644
--- a/src/net/sf/gogui/gui/GuiBoard.java
+++ b/src/net/sf/gogui/gui/GuiBoard.java
@@ -1,850 +1,851 @@
//----------------------------------------------------------------------------
// $Id$
// $Source$... | true | true | public void initSize(int size)
{
assert(size > 0 && size <= GoPoint.MAXSIZE);
m_size = size;
m_constants = new BoardConstants(size);
m_field = new GuiField[size][size];
removeAll();
setLayout(new SquareLayout());
m_panel = new BoardPanel();
FocusLi... | public void initSize(int size)
{
assert(size > 0 && size <= GoPoint.MAXSIZE);
m_size = size;
m_constants = new BoardConstants(size);
m_field = new GuiField[size][size];
removeAll();
m_focusPoint = null;
setLayout(new SquareLayout());
m_panel = new ... |
diff --git a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkConsole.java b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkConsole.java
index 8731ee3a..477213e1 100644
--- a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/int... | true | true | protected void console() throws IOException {
// wait to receive commands from console and handle them
BufferedReader br = in;
//cache the console prompt String
String consolePrompt = "\r\n" + ConsoleMsg.CONSOLE_PROMPT; //$NON-NLS-1$
while (!disconnected()) {
out.print(consolePrompt);
out.flush();
... | protected void console() throws IOException {
// wait to receive commands from console and handle them
BufferedReader br = in;
//cache the console prompt String
String consolePrompt = "\r\n" + ConsoleMsg.CONSOLE_PROMPT; //$NON-NLS-1$
while (!disconnected()) {
out.print(consolePrompt);
out.flush();
... |
diff --git a/se2.e.simulator.runtime.petrinet/src/se2/e/simulator/runtime/petrinet/RuntimePetriNet.java b/se2.e.simulator.runtime.petrinet/src/se2/e/simulator/runtime/petrinet/RuntimePetriNet.java
index b08fd07..9574a66 100644
--- a/se2.e.simulator.runtime.petrinet/src/se2/e/simulator/runtime/petrinet/RuntimePetriNet.j... | true | true | public List<TokenMovement> fireTransition(Transition selectedTransition) {
List<Place> selectedTransitionPreset = preset.get(selectedTransition);
List<Place> selectedTransitionPostset = postset.get(selectedTransition);
HashMap<Place, RuntimeToken> tokensToBeRemoved = new HashMap<Place, RuntimeToken>();
... | public List<TokenMovement> fireTransition(Transition selectedTransition) {
List<Place> selectedTransitionPreset = preset.get(selectedTransition);
List<Place> selectedTransitionPostset = postset.get(selectedTransition);
HashMap<Place, RuntimeToken> tokensToBeRemoved = new HashMap<Place, RuntimeToken>();
... |
diff --git a/poem-jvm/src/java/org/b3mn/poem/handler/Repository2Handler.java b/poem-jvm/src/java/org/b3mn/poem/handler/Repository2Handler.java
index f9627c67..9ba174d1 100644
--- a/poem-jvm/src/java/org/b3mn/poem/handler/Repository2Handler.java
+++ b/poem-jvm/src/java/org/b3mn/poem/handler/Repository2Handler.java
@@ -1... | true | true | public void doGet(HttpServletRequest request, HttpServletResponse response, Identity subject, Identity object) throws Exception {
String[] java_script_includes = {"ext_templates",
"core/clazz",
"config",
"core/extExtention",
"core/eventHandler",
"core/dataCache",
"core/repository", ... | public void doGet(HttpServletRequest request, HttpServletResponse response, Identity subject, Identity object) throws Exception {
String[] java_script_includes = {"ext_templates",
"core/clazz",
"config",
"core/extExtention",
"core/eventHandler",
"core/dataCache",
"core/repository", ... |
diff --git a/libraries/SlidingMenu/src/com/slidingmenu/lib/app/SlidingActivityHelper.java b/libraries/SlidingMenu/src/com/slidingmenu/lib/app/SlidingActivityHelper.java
index 2128df8b..44dbd310 100644
--- a/libraries/SlidingMenu/src/com/slidingmenu/lib/app/SlidingActivityHelper.java
+++ b/libraries/SlidingMenu/src/com/... | true | true | public void onPostCreate(Bundle savedInstanceState) {
if (mViewBehind == null || mViewAbove == null) {
throw new IllegalStateException("Both setBehindContentView must be called " +
"in onCreate in addition to setContentView.");
}
mOnPostCreateCalled = true;
mSlidingMenu.attachToActivity(mActivity,
... | public void onPostCreate(Bundle savedInstanceState) {
if (mViewBehind == null || mViewAbove == null) {
throw new IllegalStateException("Both setBehindContentView must be called " +
"in onCreate in addition to setContentView.");
}
mOnPostCreateCalled = true;
mSlidingMenu.attachToActivity(mActivity,
... |
diff --git a/src/main/java/de/anycook/api/DiscussionGraph.java b/src/main/java/de/anycook/api/DiscussionGraph.java
index 8b026b3..c94b258 100644
--- a/src/main/java/de/anycook/api/DiscussionGraph.java
+++ b/src/main/java/de/anycook/api/DiscussionGraph.java
@@ -1,143 +1,143 @@
package de.anycook.api;
import com.goog... | true | true | public void get(@Suspended final AsyncResponse asyncResponse, @PathParam("recipeName") final String recipeName,
@QueryParam("lastid") final Integer lastId, @Context HttpServletRequest request){
Session session = Session.init(request.getSession());
int userId = -1;
try{
... | public void get(@Suspended final AsyncResponse asyncResponse, @PathParam("recipeName") final String recipeName,
@QueryParam("lastid") final Integer lastId, @Context HttpServletRequest request){
Session session = Session.init(request.getSession());
int userId = -1;
try{
... |
diff --git a/src/Server.java b/src/Server.java
index 2fedc98..51d650e 100644
--- a/src/Server.java
+++ b/src/Server.java
@@ -1,86 +1,86 @@
import java.util.ArrayList;
import java.util.List;
import org.vertx.java.core.Handler;
import org.vertx.java.core.http.HttpServer;
import org.vertx.java.core.http.HttpServe... | false | true | private void setRouts(RouteMatcher routeMatcher) {
routeMatcher.get("/", new Handler<HttpServerRequest>(){
@Override
public void handle(HttpServerRequest req) {
req.response.sendFile("index.html");
}
});
routeMatcher.get("/enter", new Handler<HttpServerRequest>(){
@Override
public void hand... | private void setRouts(RouteMatcher routeMatcher) {
routeMatcher.get("/", new Handler<HttpServerRequest>(){
@Override
public void handle(HttpServerRequest req) {
req.response.sendFile("index.html");
}
});
routeMatcher.get("/enter", new Handler<HttpServerRequest>(){
@Override
public void hand... |
diff --git a/src/com/cyanogenmod/cmparts/activities/ApplicationActivity.java b/src/com/cyanogenmod/cmparts/activities/ApplicationActivity.java
index 81569b7..9a02548 100644
--- a/src/com/cyanogenmod/cmparts/activities/ApplicationActivity.java
+++ b/src/com/cyanogenmod/cmparts/activities/ApplicationActivity.java
@@ -1,6... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package"));
if (mPm == null) {
Log.wtf(LOG_TAG, "Unable to get PackageManager!");
}
setTitl... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package"));
if (mPm == null) {
Log.wtf(LOG_TAG, "Unable to get PackageManager!");
}
setTitl... |
diff --git a/flexodesktop/jiraclient/src/test/java/org/openflexo/ws/jira/TestJSon.java b/flexodesktop/jiraclient/src/test/java/org/openflexo/ws/jira/TestJSon.java
index 152233dec..980d4823a 100644
--- a/flexodesktop/jiraclient/src/test/java/org/openflexo/ws/jira/TestJSon.java
+++ b/flexodesktop/jiraclient/src/test/java... | true | true | public void testSubmitIssue() throws IOException {
JIRAClient client = getTestClient();
SubmitIssue submit = new SubmitIssue();
JIRAIssue issue = new JIRAIssue();
submit.setFields(issue);
issue.setDescription("Some quite long description that can come from a long textarea. On the next"
+ " line we will t... | public void testSubmitIssue() throws IOException {
JIRAClient client = getTestClient();
SubmitIssue submit = new SubmitIssue();
JIRAIssue issue = new JIRAIssue();
submit.setFields(issue);
issue.setDescription("Some quite long description that can come from a long textarea. On the next"
+ " line we will t... |
diff --git a/bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/Shape.java b/bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/Shape.java
index d959b766ce..e10dd59eb6 100644
--- a/bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboar... | false | true | private double[] optimizeFreeHand(){
if (shape.length < 10) return shape; //Don't do any optimization for very small shapes
ArrayList<Double> newShape = new ArrayList<Double>();
double x1 = shape[0];
double y1 = shape[1];
newShape.add(x1);
newShape.add(y1);
double stableSlope = 0;
double newSlope... | private double[] optimizeFreeHand(){
if (shape.length < 10) return shape; //Don't do any optimization for very small shapes
ArrayList<Double> newShape = new ArrayList<Double>();
double x1 = shape[0];
double y1 = shape[1];
newShape.add(x1);
newShape.add(y1);
double stableSlope = 0;
double newSlope... |
diff --git a/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.java b/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.java
index 7b1effe..5a3199b 100644
--- a/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.java
+++ b/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.java
@@ ... | false | true | public Voice[] getVoices() {
//TODO different name?
Voice kevin = new CMUDiphoneVoice(true, "kevin", Gender.MALE,
Age.YOUNGER_ADULT, "default 8-bit diphone voice", Locale.US);
Voice kevin16 = new CMUDiphoneVoice(true, "kevin16", Gender.MALE,
Age.YOUNGER_ADULT,... | public Voice[] getVoices() {
//TODO different name?
Voice kevin = new CMUDiphoneVoice(true, "kevin", Gender.MALE,
Age.YOUNGER_ADULT, "default 8-bit diphone voice", Locale.US);
Voice kevin16 = new CMUDiphoneVoice(true, "kevin16", Gender.MALE,
Age.YOUNGER_ADULT,... |
diff --git a/src/main/java/com/nesscomputing/config/AbstractDynamicMBean.java b/src/main/java/com/nesscomputing/config/AbstractDynamicMBean.java
index f3dd0de..a272c72 100644
--- a/src/main/java/com/nesscomputing/config/AbstractDynamicMBean.java
+++ b/src/main/java/com/nesscomputing/config/AbstractDynamicMBean.java
@@ ... | true | true | AbstractDynamicMBean(String name, Map<String, Object> attributeMap)
{
this.attributeMap = attributeMap;
MBeanAttributeInfo[] attribs = new MBeanAttributeInfo[attributeMap.size()];
int i = 0;
for (Entry<String, Object> entry : attributeMap.entrySet())
{
MBeanA... | AbstractDynamicMBean(String name, Map<String, Object> attributeMap)
{
this.attributeMap = attributeMap;
MBeanAttributeInfo[] attribs = new MBeanAttributeInfo[attributeMap.size()];
int i = 0;
for (Entry<String, Object> entry : attributeMap.entrySet())
{
MBeanA... |
diff --git a/contrib/SVN.java b/contrib/SVN.java
index 93195bc..ae685e0 100644
--- a/contrib/SVN.java
+++ b/contrib/SVN.java
@@ -1,54 +1,53 @@
import org.uwcs.choob.*;
import org.uwcs.choob.support.*;
import org.uwcs.choob.support.events.*;
import org.uwcs.choob.modules.*;
import java.net.*;
import java.io.*;
im... | true | true | public void interval( Object parameter, Modules mods, IRCInterface irc ) throws ChoobException
{
URL svnURL;
try
{
//svnURL = new URL("http://svn.uwcs.co.uk/repos/choob/");
svnURL = new URL("http://localhost/~bucko/choobrepos.html");
}
catch (MalformedURLException e)
{
throw new ChoobException("C... | public void interval( Object parameter, Modules mods, IRCInterface irc ) throws ChoobException
{
URL svnURL;
try
{
svnURL = new URL("http://svn.uwcs.co.uk/repos/choob/");
}
catch (MalformedURLException e)
{
throw new ChoobException("Constant URL in SVN plugin broken...");
} // squelch
String re... |
diff --git a/src/cognitive/graphics/Camera3D.java b/src/cognitive/graphics/Camera3D.java
index 265ad37..7c6488b 100644
--- a/src/cognitive/graphics/Camera3D.java
+++ b/src/cognitive/graphics/Camera3D.java
@@ -1,142 +1,139 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the edit... | false | true | public void update(float delta) {
this.delta = delta;
boolean moveForward = Keyboard.isKeyDown(Keyboard.KEY_W);
boolean moveBackward = Keyboard.isKeyDown(Keyboard.KEY_S);
boolean flyUp = Keyboard.isKeyDown(Keyboard.KEY_SPACE);
boolean flyDown = Keyboard.isKeyDown(Keyboard.KEY_LCONTROL);
boolean mo... | public void update(float delta) {
this.delta = delta;
boolean moveForward = Keyboard.isKeyDown(Keyboard.KEY_W);
boolean moveBackward = Keyboard.isKeyDown(Keyboard.KEY_S);
boolean flyUp = Keyboard.isKeyDown(Keyboard.KEY_SPACE);
boolean flyDown = Keyboard.isKeyDown(Keyboard.KEY_LCONTROL);
boolean mo... |
diff --git a/src/main/java/net/ftlines/blog/cdidemo/cdi/TransactionalInterceptor.java b/src/main/java/net/ftlines/blog/cdidemo/cdi/TransactionalInterceptor.java
index 2c6f6ba..38c06e3 100755
--- a/src/main/java/net/ftlines/blog/cdidemo/cdi/TransactionalInterceptor.java
+++ b/src/main/java/net/ftlines/blog/cdidemo/cdi/T... | true | true | public Object wrapInTransaction(InvocationContext invocation) throws Exception {
boolean owner = em.getTransaction().isActive();
if (owner) {
em.getTransaction().begin();
}
try {
return invocation.proceed();
} catch (RuntimeException e) {
em.getTransaction().setRollbackOnly();
... | public Object wrapInTransaction(InvocationContext invocation) throws Exception {
boolean owner = !em.getTransaction().isActive();
if (owner) {
em.getTransaction().begin();
}
try {
return invocation.proceed();
} catch (RuntimeException e) {
em.getTransaction().setRollbackOnly();... |
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java
index 8ac2177b6..def01ebe0 100644
--- a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java
+++ b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java
@@ -1,92 +1,93 @@
... | false | true | public static void testGetViewport() {
// backup user settings
final boolean excludeMine = Settings.isExcludeMyCaches();
final CacheType cacheType = Settings.getCacheType();
try {
// set up settings required for test
TestSettings.setExcludeMine(false);
... | public static void testGetViewport() {
// backup user settings
final boolean excludeMine = Settings.isExcludeMyCaches();
final CacheType cacheType = Settings.getCacheType();
try {
// set up settings required for test
TestSettings.setExcludeMine(false);
... |
diff --git a/src/main/java/nodebox/client/port/PointControl.java b/src/main/java/nodebox/client/port/PointControl.java
index b2013bdb..217293f7 100644
--- a/src/main/java/nodebox/client/port/PointControl.java
+++ b/src/main/java/nodebox/client/port/PointControl.java
@@ -1,63 +1,62 @@
package nodebox.client.port;
im... | true | true | public PointControl(Port port) {
super(port);
setLayout(new FlowLayout(FlowLayout.LEADING, 0, 0));
xNumber = new DraggableNumber();
xNumber.addChangeListener(this);
yNumber = new DraggableNumber();
yNumber.addChangeListener(this);
add(xNumber);
add(Box... | public PointControl(Port port) {
super(port);
setLayout(new FlowLayout(FlowLayout.LEADING, 0, 0));
xNumber = new DraggableNumber();
xNumber.addChangeListener(this);
yNumber = new DraggableNumber();
yNumber.addChangeListener(this);
add(xNumber);
add(Box... |
diff --git a/src/com/xhizors/TeamManager/TeamManagerEntityListener.java b/src/com/xhizors/TeamManager/TeamManagerEntityListener.java
index cddaa01..466d589 100644
--- a/src/com/xhizors/TeamManager/TeamManagerEntityListener.java
+++ b/src/com/xhizors/TeamManager/TeamManagerEntityListener.java
@@ -1,49 +1,47 @@
package ... | true | true | public void onEntityDamage(EntityDamageEvent event) {
if (teamManager.friendlyfire) {
return;
}
if (event instanceof EntityDamageByEntityEvent) {
EntityDamageByEntityEvent evt = (EntityDamageByEntityEvent) event;
if (event.getEntity() instanceof Player && evt.getDamager() instanceof Player) {
if (!t... | public void onEntityDamage(EntityDamageEvent event) {
if (teamManager.friendlyfire) {
return;
}
if (event instanceof EntityDamageByEntityEvent) {
EntityDamageByEntityEvent evt = (EntityDamageByEntityEvent) event;
if (event.getEntity() instanceof Player && evt.getDamager() instanceof Player) {
if (!t... |
diff --git a/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java b/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java
index 34e788f02..295a056df 100644
--- a/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java
+++ b/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java
@@ -1,244 +1,244 @@... | true | true | private Map<String, FreeRefFunction> createFunctionsMap() {
Map<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(108);
r(m, "ACCRINT", null);
r(m, "ACCRINTM", null);
r(m, "AMORDEGRC", null);
r(m, "AMORLINC", null);
r(m, "AVERAGEIF", null);
r(... | private Map<String, FreeRefFunction> createFunctionsMap() {
Map<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(108);
r(m, "ACCRINT", null);
r(m, "ACCRINTM", null);
r(m, "AMORDEGRC", null);
r(m, "AMORLINC", null);
r(m, "AVERAGEIF", null);
r(... |
diff --git a/nexus/nexus-rest-api/src/main/java/org/sonatype/nexus/rest/AbstractResourceStoreContentPlexusResource.java b/nexus/nexus-rest-api/src/main/java/org/sonatype/nexus/rest/AbstractResourceStoreContentPlexusResource.java
index 911d9312c..bf7251e5b 100644
--- a/nexus/nexus-rest-api/src/main/java/org/sonatype/nex... | false | true | protected Object renderItem( Context context, Request req, Response res, Variant variant, ResourceStore store,
StorageItem item )
throws IOException, AccessDeniedException, NoSuchResourceStoreException, IllegalOperationException,
ItemNotFoundException, StorageExcepti... | protected Object renderItem( Context context, Request req, Response res, Variant variant, ResourceStore store,
StorageItem item )
throws IOException, AccessDeniedException, NoSuchResourceStoreException, IllegalOperationException,
ItemNotFoundException, StorageExcepti... |
diff --git a/src/test/java/org/sonatype/nexus/plugins/p2/repository/its/AbstractNexusP2IT.java b/src/test/java/org/sonatype/nexus/plugins/p2/repository/its/AbstractNexusP2IT.java
index 4e37f87..9eccb7b 100644
--- a/src/test/java/org/sonatype/nexus/plugins/p2/repository/its/AbstractNexusP2IT.java
+++ b/src/test/java/org... | false | true | protected void installUsingP2( final String repositoryURL, final String installIU, final String destination,
final Map<String, String> extraEnv )
throws Exception
{
FileUtils.deleteDirectory( destination );
final File basedir = ResourceExtractor.simple... | protected void installUsingP2( final String repositoryURL, final String installIU, final String destination,
final Map<String, String> extraEnv )
throws Exception
{
FileUtils.deleteDirectory( destination );
final File basedir = ResourceExtractor.simple... |
diff --git a/src/com/android/mms/data/RecipientIdCache.java b/src/com/android/mms/data/RecipientIdCache.java
index 4547a5d..f3ed4ab 100644
--- a/src/com/android/mms/data/RecipientIdCache.java
+++ b/src/com/android/mms/data/RecipientIdCache.java
@@ -1,170 +1,170 @@
package com.android.mms.data;
import java.util.Arra... | false | true | public static List<Entry> getAddresses(String spaceSepIds) {
synchronized (sInstance) {
List<Entry> numbers = new ArrayList<Entry>();
String[] ids = spaceSepIds.split(" ");
for (String id : ids) {
long longId;
try {
lon... | public static List<Entry> getAddresses(String spaceSepIds) {
synchronized (sInstance) {
List<Entry> numbers = new ArrayList<Entry>();
String[] ids = spaceSepIds.split(" ");
for (String id : ids) {
long longId;
try {
lon... |
diff --git a/src/com/herocraftonline/dev/heroes/command/commands/SkillListCommand.java b/src/com/herocraftonline/dev/heroes/command/commands/SkillListCommand.java
index d2f628d3..bb47397d 100644
--- a/src/com/herocraftonline/dev/heroes/command/commands/SkillListCommand.java
+++ b/src/com/herocraftonline/dev/heroes/comm... | false | true | public boolean execute(CommandSender sender, String identifier, String[] args) {
if (!(sender instanceof Player))
return false;
Player player = (Player) sender;
Hero hero = plugin.getHeroManager().getHero(player);
HeroClass heroClass = hero.getHeroClass();
HeroCl... | public boolean execute(CommandSender sender, String identifier, String[] args) {
if (!(sender instanceof Player))
return false;
Player player = (Player) sender;
Hero hero = plugin.getHeroManager().getHero(player);
HeroClass heroClass = hero.getHeroClass();
HeroCl... |
diff --git a/src/org/apache/xalan/xsltc/compiler/Import.java b/src/org/apache/xalan/xsltc/compiler/Import.java
index c389a068..e556d42d 100644
--- a/src/org/apache/xalan/xsltc/compiler/Import.java
+++ b/src/org/apache/xalan/xsltc/compiler/Import.java
@@ -1,149 +1,150 @@
/*
* Copyright 2001-2004 The Apache Software F... | true | true | public void parseContents(final Parser parser) {
final XSLTC xsltc = parser.getXSLTC();
final Stylesheet context = parser.getCurrentStylesheet();
try {
String docToLoad = getAttribute("href");
if (context.checkForLoop(docToLoad)) {
final ErrorMsg msg = new ErrorMsg(ErrorMsg.CIRCULAR_INCLUDE_ERR,
... | public void parseContents(final Parser parser) {
final XSLTC xsltc = parser.getXSLTC();
final Stylesheet context = parser.getCurrentStylesheet();
try {
String docToLoad = getAttribute("href");
if (context.checkForLoop(docToLoad)) {
final ErrorMsg msg = new ErrorMsg(ErrorMsg.CIRCULAR_INCLUDE_ERR,
... |
diff --git a/src/com/hackerdude/apps/sqlide/wizards/NewServerWizard.java b/src/com/hackerdude/apps/sqlide/wizards/NewServerWizard.java
index 459d296..49e3513 100644
--- a/src/com/hackerdude/apps/sqlide/wizards/NewServerWizard.java
+++ b/src/com/hackerdude/apps/sqlide/wizards/NewServerWizard.java
@@ -1,115 +1,115 @@
/*... | true | true | public NewServerWizard(JFrame owner, boolean modal) {
super(owner, "New Server Profile",
"This wizard will guide you step by step on how to add a server profile "
+"to your configuration.", modal );
databaseSpec = ConnectionConfigFactory.createConnectionConfig();
pageNewServer = new NewServerWizSelectServ... | public NewServerWizard(JFrame owner, boolean modal) {
super(owner, "New Server Profile",
"This wizard will guide you step by step on how to add a server profile "
+"to your configuration.", modal );
databaseSpec = ConnectionConfigFactory.createConnectionConfig();
pageNewServer = new NewServerWizSelectServ... |
diff --git a/hadoop/rootbeer/matrixmultiplication/src/at/illecker/hadoop/rootbeer/examples/matrixmultiplication/cpu/MatrixMultiplicationCpu.java b/hadoop/rootbeer/matrixmultiplication/src/at/illecker/hadoop/rootbeer/examples/matrixmultiplication/cpu/MatrixMultiplicationCpu.java
index 03725c4..a267870 100644
--- a/hadoo... | true | true | public int run(String[] strings) throws Exception {
addOption("numRowsA", "nra",
"Number of rows of the first input matrix", true);
addOption("numColsA", "nca",
"Number of columns of the first input matrix", true);
addOption("numRowsB", "nrb",
"Number of rows of the second input matrix", true);
ad... | public int run(String[] strings) throws Exception {
addOption("numRowsA", "nra",
"Number of rows of the first input matrix", true);
addOption("numColsA", "nca",
"Number of columns of the first input matrix", true);
addOption("numRowsB", "nrb",
"Number of rows of the second input matrix", true);
ad... |
diff --git a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/formatting/RoomFormatter.java b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/formatting/RoomFormatter.java
index 02eecd11..6f287833 100644
--- a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/formatting/R... | true | true | protected void configureFormatting(FormattingConfig c) {
org.eclipse.etrice.core.services.RoomGrammarAccess f = (org.eclipse.etrice.core.services.RoomGrammarAccess) getGrammarAccess();
// general
c.setAutoLinewrap(120);
c.setLinewrap(2).before(f.getSL_COMMENTRule());
c.setLinewrap(2).before(f.getML_COMME... | protected void configureFormatting(FormattingConfig c) {
org.eclipse.etrice.core.services.RoomGrammarAccess f = (org.eclipse.etrice.core.services.RoomGrammarAccess) getGrammarAccess();
// general
c.setAutoLinewrap(120);
c.setLinewrap(2).before(f.getSL_COMMENTRule());
c.setLinewrap(2).before(f.getML_COMME... |
diff --git a/src/nodebox/client/DraggableNumber.java b/src/nodebox/client/DraggableNumber.java
index 78c52ebf..e1bbf8f5 100644
--- a/src/nodebox/client/DraggableNumber.java
+++ b/src/nodebox/client/DraggableNumber.java
@@ -1,343 +1,349 @@
package nodebox.client;
import javax.imageio.ImageIO;
import javax.swing.*;
... | true | true | public DraggableNumber() {
setLayout(null);
addMouseListener(this);
addMouseMotionListener(this);
addComponentListener(this);
Dimension d = new Dimension(87, 20);
setPreferredSize(d);
numberField = new JTextField();
numberField.putClientProperty("JCom... | public DraggableNumber() {
setLayout(null);
addMouseListener(this);
addMouseMotionListener(this);
addComponentListener(this);
Dimension d = new Dimension(87, 20);
setPreferredSize(d);
numberField = new JTextField();
numberField.putClientProperty("JCom... |
diff --git a/src/org/pentaho/agilebi/pdi/modeler/ModelerHelper.java b/src/org/pentaho/agilebi/pdi/modeler/ModelerHelper.java
index 74a7556..d39b9bf 100644
--- a/src/org/pentaho/agilebi/pdi/modeler/ModelerHelper.java
+++ b/src/org/pentaho/agilebi/pdi/modeler/ModelerHelper.java
@@ -1,331 +1,332 @@
/*
* This program is... | true | true | public void reportWizard() {
XulWaitBox box;
try {
box = (XulWaitBox) document.createElement("waitbox");
box.setIndeterminate(true);
box.setCanCancel(false);
box.setTitle(BaseMessages.getString(XulUI.class, "wait_dialog_title"));
box.setMessage(BaseMessages.getString(XulUI.class,... | public void reportWizard() {
XulWaitBox box;
try {
box = (XulWaitBox) document.createElement("waitbox");
box.setIndeterminate(true);
box.setCanCancel(false);
box.setTitle(BaseMessages.getString(XulUI.class, "wait_dialog_title"));
box.setMessage(BaseMessages.getString(XulUI.class,... |
diff --git a/src/com/randallma/whatsthehomework/AssignmentAdapter.java b/src/com/randallma/whatsthehomework/AssignmentAdapter.java
index 55ebad2..74488b0 100644
--- a/src/com/randallma/whatsthehomework/AssignmentAdapter.java
+++ b/src/com/randallma/whatsthehomework/AssignmentAdapter.java
@@ -1,90 +1,91 @@
package com.... | true | true | public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
if (convertView == null) {
convertView = mInflater.inflate(R.layout.assignment_list_row_view,
null);
holder = new ViewHolder();
holder.txtSchoolClass = (TextView) convertView
.findViewById(R.id.schoolCla... | public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
if (convertView == null) {
convertView = mInflater.inflate(R.layout.assignment_list_row_view,
null);
holder = new ViewHolder();
holder.txtSchoolClass = (TextView) convertView
.findViewById(R.id.schoolCla... |
diff --git a/src/org/encog/workbench/frames/network/DrawLayer.java b/src/org/encog/workbench/frames/network/DrawLayer.java
index 76d0ea93..85560bcf 100644
--- a/src/org/encog/workbench/frames/network/DrawLayer.java
+++ b/src/org/encog/workbench/frames/network/DrawLayer.java
@@ -1,85 +1,86 @@
package org.encog.workbenc... | false | true | public static void drawLayer(NetworkDiagram diagram, Graphics g, Layer layer)
{
NetworkTool tool = diagram.getNetworkFrame().findTool( layer);
g.setColor(Color.WHITE);
g.fillRect(layer.getX(), layer.getY(), LAYER_WIDTH, LAYER_HEIGHT);
g.setColor(Color.BLACK);
tool.getIcon().paintIcon(diagram, g, layer.getX(... | public static void drawLayer(NetworkDiagram diagram, Graphics g, Layer layer)
{
NetworkTool tool = diagram.getNetworkFrame().findTool( layer);
g.setColor(Color.WHITE);
g.fillRect(layer.getX(), layer.getY(), LAYER_WIDTH, LAYER_HEIGHT);
g.setColor(Color.BLACK);
tool.getIcon().paintIcon(diagram, g, layer.getX(... |
diff --git a/src/main/java/com/metaweb/gridworks/protograph/Link.java b/src/main/java/com/metaweb/gridworks/protograph/Link.java
index b162c99..d67d2cc 100644
--- a/src/main/java/com/metaweb/gridworks/protograph/Link.java
+++ b/src/main/java/com/metaweb/gridworks/protograph/Link.java
@@ -1,36 +1,39 @@
package com.meta... | true | true | public void write(JSONWriter writer, Properties options)
throws JSONException {
writer.object();
writer.key("property"); property.write(writer, options);
writer.key("target"); target.write(writer, options);
writer.endObject();
}
| public void write(JSONWriter writer, Properties options)
throws JSONException {
writer.object();
writer.key("property"); property.write(writer, options);
if (target != null) {
writer.key("target");
target.write(writer, options);
}
writer.endO... |
diff --git a/src/gov/nist/javax/sip/stack/IOHandler.java b/src/gov/nist/javax/sip/stack/IOHandler.java
index d343bbab..76373e63 100755
--- a/src/gov/nist/javax/sip/stack/IOHandler.java
+++ b/src/gov/nist/javax/sip/stack/IOHandler.java
@@ -1,304 +1,304 @@
/*
* Conditions Of Use
*
* This software was developed b... | false | true | public Socket sendBytes(InetAddress senderAddress,
InetAddress receiverAddress, int contactPort, String transport,
byte[] bytes, boolean retry) throws IOException {
int retry_count = 0;
int max_retry = retry ? 2 : 1;
// Server uses TCP transport. TCP client sockets are cached
int length = bytes.length;
... | public Socket sendBytes(InetAddress senderAddress,
InetAddress receiverAddress, int contactPort, String transport,
byte[] bytes, boolean retry) throws IOException {
int retry_count = 0;
int max_retry = retry ? 2 : 1;
// Server uses TCP transport. TCP client sockets are cached
int length = bytes.length;
... |
diff --git a/src/main/java/com/kelsos/mbrc/ui/fragments/NowPlayingFragment.java b/src/main/java/com/kelsos/mbrc/ui/fragments/NowPlayingFragment.java
index 680ae3b0..2ca77d8f 100644
--- a/src/main/java/com/kelsos/mbrc/ui/fragments/NowPlayingFragment.java
+++ b/src/main/java/com/kelsos/mbrc/ui/fragments/NowPlayingFragmen... | true | true | public DragSortController buildController(DragSortListView dslv) {
// defaults are
// dragStartMode = onDown
// removeMode = flingRight
DragSortController controller = new DragSortController(dslv);
controller.setDragHandleId(R.id.drag_handle);
controller.setClickRemov... | public DragSortController buildController(DragSortListView dslv) {
// defaults are
// dragStartMode = onDown
// removeMode = flingRight
DragSortController controller = new DragSortController(dslv);
controller.setDragHandleId(R.id.drag_handle);
controller.setFlingHandl... |
diff --git a/collage/src/org/collage/dom/evaluator/java/javassist/ExitRootHandler.java b/collage/src/org/collage/dom/evaluator/java/javassist/ExitRootHandler.java
index 9b38dc8..6d87b5f 100644
--- a/collage/src/org/collage/dom/evaluator/java/javassist/ExitRootHandler.java
+++ b/collage/src/org/collage/dom/evaluator/jav... | false | true | public void execute(Map aCtx)
{
try
{
ClassPool pool = ClassPool.getDefault();
String className = getClassName();
CtClass ccXcommand = pool.get("org.xcommand.core.IXCommand");
CtClass cc = pool.makeClass(className);
cc.addInterface(ccXcommand);
// Add method 'appendVar()':
addMethod(cc, "or... | public void execute(Map aCtx)
{
CtClass cc = null;
try
{
ClassPool pool = ClassPool.getDefault();
String className = getClassName();
CtClass ccXcommand = pool.get("org.xcommand.core.IXCommand");
cc = pool.makeClass(className);
cc.addInterface(ccXcommand);
// Add method 'appendVar()':
addM... |
diff --git a/project3/edu/berkeley/cs/cs162/Server/PlayerLogic.java b/project3/edu/berkeley/cs/cs162/Server/PlayerLogic.java
index b63604d..f3be8ea 100644
--- a/project3/edu/berkeley/cs/cs162/Server/PlayerLogic.java
+++ b/project3/edu/berkeley/cs/cs162/Server/PlayerLogic.java
@@ -1,172 +1,173 @@
package edu.berkeley.c... | true | true | public Message handleWaitForGame() {
stateLock.acquire();
if (state == PlayerState.CONNECTED) {
UnfinishedGame unfinishedGame = getServer().checkForUnfinishedGame(this);
if (unfinishedGame != null) {
Game reconnectedGame = unfinishedGame.reconnectGame();
if (reconnectedGame != null) {
//other cl... | public Message handleWaitForGame() {
stateLock.acquire();
if (state == PlayerState.CONNECTED) {
UnfinishedGame unfinishedGame = getServer().checkForUnfinishedGame(this);
if (unfinishedGame != null) {
Game reconnectedGame = unfinishedGame.reconnectGame();
if (reconnectedGame != null) {
//other cl... |
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/PathVariableUtil.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/PathVariableUtil.java
index 9b403e170..f04004d10 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resour... | true | true | static private IPath convertToRelative(IPathVariableManager pathVariableManager, IPath originalPath, IResource resource, boolean force, String variableHint, boolean skipWorkspace, boolean generateMacro) throws CoreException {
if (variableHint != null && pathVariableManager.isDefined(variableHint, resource))
retur... | static private IPath convertToRelative(IPathVariableManager pathVariableManager, IPath originalPath, IResource resource, boolean force, String variableHint, boolean skipWorkspace, boolean generateMacro) throws CoreException {
if (variableHint != null && pathVariableManager.isDefined(variableHint, resource)) {
IPa... |
diff --git a/sch-pek-web/src/main/java/hu/sch/web/kp/valuation/message/ValuationMessages.java b/sch-pek-web/src/main/java/hu/sch/web/kp/valuation/message/ValuationMessages.java
index 8b94a7e9..4debed87 100644
--- a/sch-pek-web/src/main/java/hu/sch/web/kp/valuation/message/ValuationMessages.java
+++ b/sch-pek-web/src/ma... | true | true | public ValuationMessages(PageParameters params) {
Long groupId = null;
try {
groupId = params.get("gid").toLong();
} catch (StringValueConversionException ex) {
}
String semesterStr = params.get("sid").toString(null);
if (groupId == null || (group = userM... | public ValuationMessages(PageParameters params) {
Long groupId = null;
try {
groupId = params.get("gid").toLong();
} catch (StringValueConversionException ex) {
}
String semesterStr = params.get("sid").toString(null);
if (groupId == null || (group = userM... |
diff --git a/modello-plugins/modello-plugin-converters/src/test/java/org/codehaus/modello/plugin/converters/ConverterGeneratorTest.java b/modello-plugins/modello-plugin-converters/src/test/java/org/codehaus/modello/plugin/converters/ConverterGeneratorTest.java
index cb75ccfb..da06c11a 100644
--- a/modello-plugins/model... | true | true | public void testConverterGenerator()
throws Throwable
{
generatedSources = new File( getTestPath( "target/" + getName() + "/sources" ) );
classes = new File( getTestPath( "target/" + getName() + "/classes" ) );
FileUtils.deleteDirectory( generatedSources );
generatedSo... | public void testConverterGenerator()
throws Throwable
{
generatedSources = new File( getTestPath( "target/" + getName() + "/sources" ) );
classes = new File( getTestPath( "target/" + getName() + "/classes" ) );
FileUtils.deleteDirectory( generatedSources );
generatedSo... |
diff --git a/branches/4.0.0/CruxWidgets/src/br/com/sysmap/crux/widgets/rebind/wizard/AbstractWizardFactory.java b/branches/4.0.0/CruxWidgets/src/br/com/sysmap/crux/widgets/rebind/wizard/AbstractWizardFactory.java
index ba7d40b23..02f639f3a 100644
--- a/branches/4.0.0/CruxWidgets/src/br/com/sysmap/crux/widgets/rebind/wi... | true | true | protected String getWizardSerializerInterface(String wizardContextObject) throws CruxGeneratorException
{
String wizardData;
if (StringUtils.isEmpty(wizardContextObject))
{
wizardContextObject = "Null";
wizardData = NoData.class.getCanonicalName();
}
else
{
wizardData = DataObjects.getDataObje... | protected String getWizardSerializerInterface(String wizardContextObject) throws CruxGeneratorException
{
String wizardData;
if (StringUtils.isEmpty(wizardContextObject))
{
wizardContextObject = "Null";
wizardData = NoData.class.getCanonicalName();
}
else
{
wizardData = DataObjects.getDataObje... |
diff --git a/javasrc/src/org/ccnx/ccn/impl/security/keys/PublicKeyCache.java b/javasrc/src/org/ccnx/ccn/impl/security/keys/PublicKeyCache.java
index 9b3916feb..7ea37a8f7 100644
--- a/javasrc/src/org/ccnx/ccn/impl/security/keys/PublicKeyCache.java
+++ b/javasrc/src/org/ccnx/ccn/impl/security/keys/PublicKeyCache.java
@@ ... | false | true | public PublicKeyObject getPublicKeyObject(
PublisherPublicKeyDigest desiredKeyID, KeyLocator locator,
long timeout, CCNHandle handle) throws IOException {
// take code from #BasicKeyManager.getKey, to validate more complex publisher constraints
PublicKeyObject theKey = retrieve(locator.name().name(), loc... | public PublicKeyObject getPublicKeyObject(
PublisherPublicKeyDigest desiredKeyID, KeyLocator locator,
long timeout, CCNHandle handle) throws IOException {
// take code from #BasicKeyManager.getKey, to validate more complex publisher constraints
PublicKeyObject theKey = retrieve(locator.name().name(), loc... |
diff --git a/tests/org.bonitasoft.studio.connectors.test/src/org/bonitasoft/studio/connectors/test/swtbot/SWTBotConnectorTestUtil.java b/tests/org.bonitasoft.studio.connectors.test/src/org/bonitasoft/studio/connectors/test/swtbot/SWTBotConnectorTestUtil.java
index 8745d85305..1c5ce00260 100644
--- a/tests/org.bonitasof... | false | true | public static void addConnectorToPool(final SWTBot bot,final String connectorDefinitionLabel,final String version,final String categoryLabel,final String connectorName) {
SWTBotTestUtil.selectTabbedPropertyView(bot, "Connectors");
bot.button("Add...").click();
Assert.assertFalse(IDialogConst... | public static void addConnectorToPool(final SWTBot bot,final String connectorDefinitionLabel,final String version,final String categoryLabel,final String connectorName) {
SWTBotTestUtil.selectTabbedPropertyView(bot, "Connectors");
bot.button("Add...").click();
Assert.assertFalse(IDialogConst... |
diff --git a/blackberry/framework/src/com/nitobi/phonegap/api/CommandManager.java b/blackberry/framework/src/com/nitobi/phonegap/api/CommandManager.java
index 0d4f049..63e7b79 100644
--- a/blackberry/framework/src/com/nitobi/phonegap/api/CommandManager.java
+++ b/blackberry/framework/src/com/nitobi/phonegap/api/Command... | true | true | public CommandManager(PhoneGap phoneGap) {
commands[0] = new CameraCommand(phoneGap);
commands[1] = new ContactsCommand();
commands[2] = new NotificationCommand();
commands[3] = new TelephonyCommand();
commands[4] = new GeoLocationCommand();
commands[5] = new DeviceCommand();
commands[6] = new MediaComm... | public CommandManager(PhoneGap phoneGap) {
commands[0] = new CameraCommand(phoneGap);
commands[1] = new ContactsCommand();
commands[2] = new NotificationCommand();
commands[3] = new TelephonyCommand();
commands[4] = new GeoLocationCommand(phoneGap);
commands[5] = new DeviceCommand();
commands[6] = new M... |
diff --git a/src/minecraft/co/uk/flansmods/common/BlockPlaneWorkbench.java b/src/minecraft/co/uk/flansmods/common/BlockPlaneWorkbench.java
index 03d0c7dd..fc551b27 100644
--- a/src/minecraft/co/uk/flansmods/common/BlockPlaneWorkbench.java
+++ b/src/minecraft/co/uk/flansmods/common/BlockPlaneWorkbench.java
@@ -1,66 +1,6... | true | true | public Icon getBlockTextureFromSideAndMetadata(int i, int j)
{
if(i == 1)
{
return top[j + 1];
} else
{
return side;
}
}
| public Icon getBlockTextureFromSideAndMetadata(int i, int j)
{
if(i == 1)
{
return top[j];
} else
{
return side;
}
}
|
diff --git a/tool-tool/su/src/java/org/sakaiproject/tool/su/SuTool.java b/tool-tool/su/src/java/org/sakaiproject/tool/su/SuTool.java
index b9573c6..193d160 100644
--- a/tool-tool/su/src/java/org/sakaiproject/tool/su/SuTool.java
+++ b/tool-tool/su/src/java/org/sakaiproject/tool/su/SuTool.java
@@ -1,242 +1,243 @@
/*****... | true | true | public String su()
{
Session sakaiSession = M_session.getCurrentSession();
FacesContext fc = FacesContext.getCurrentInstance();
userinfo = null;
message = "";
if (!getAllowed())
{
confirm = false;
return "unauthorized";
}
try
{
// try with the user id
userinfo = M_uds.getUser(username... | public String su()
{
Session sakaiSession = M_session.getCurrentSession();
FacesContext fc = FacesContext.getCurrentInstance();
userinfo = null;
message = "";
if (!getAllowed())
{
confirm = false;
return "unauthorized";
}
try
{
// try with the user id
userinfo = M_uds.getUser(username... |
diff --git a/src/com/betaforce/shardin/SimplePoll/SimplePollExecutor.java b/src/com/betaforce/shardin/SimplePoll/SimplePollExecutor.java
index d489f8c..a845cd8 100644
--- a/src/com/betaforce/shardin/SimplePoll/SimplePollExecutor.java
+++ b/src/com/betaforce/shardin/SimplePoll/SimplePollExecutor.java
@@ -1,309 +1,309 @@... | true | true | public boolean onCommand(CommandSender cs, Command cmnd, String string, String[] strings) {
if (strings.length < 1) {
cs.sendMessage(ChatColor.RED + "Usage: \"/simplepoll <Option> <Description>\"");
return true;
}
String option = strings[0];
if(option.equalsIg... | public boolean onCommand(CommandSender cs, Command cmnd, String string, String[] strings) {
if (strings.length < 1) {
cs.sendMessage(ChatColor.RED + "Usage: \"/simplepoll <Option> <Description>\"");
return true;
}
String option = strings[0];
if(option.equalsIg... |
diff --git a/plugins/org.eclipse.recommenders.utils.rcp/src/org/eclipse/recommenders/utils/rcp/LoggingUtils.java b/plugins/org.eclipse.recommenders.utils.rcp/src/org/eclipse/recommenders/utils/rcp/LoggingUtils.java
index 769b1a663..3609b4c14 100644
--- a/plugins/org.eclipse.recommenders.utils.rcp/src/org/eclipse/recomm... | true | true | public static void log(final IStatus status, final Plugin plugin) {
final ILog log = plugin.getLog();
try {
// this fails sometimes with an NPE in
// org.eclipse.core.internal.runtime.Log.isLoggable(Log.java:101)
log.log(status);
} catch (final Throwable e... | public static void log(final IStatus status, final Plugin plugin) {
final ILog log = plugin.getLog();
try {
// this fails sometimes with an NPE in
// org.eclipse.core.internal.runtime.Log.isLoggable(Log.java:101)
log.log(status);
} catch (final Throwable e... |
diff --git a/src/org/protege/editor/core/ui/workspace/TabbedWorkspaceStateManager.java b/src/org/protege/editor/core/ui/workspace/TabbedWorkspaceStateManager.java
index da318dc..fca0012 100644
--- a/src/org/protege/editor/core/ui/workspace/TabbedWorkspaceStateManager.java
+++ b/src/org/protege/editor/core/ui/workspace/... | true | true | public void save() {
try {
File file = getVisibleTabsFile();
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
Element visibleTabsElement = doc.createElement("VisibleTabs");
doc.appendChild(visibleTabsElement);
... | public void save() {
try {
File file = getVisibleTabsFile();
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
Element visibleTabsElement = doc.createElement("VisibleTabs");
doc.appendChild(visibleTabsElement);
... |
diff --git a/identity/identity-ldap/src/main/java/org/camunda/bpm/identity/impl/ldap/LdapIdentityProviderSession.java b/identity/identity-ldap/src/main/java/org/camunda/bpm/identity/impl/ldap/LdapIdentityProviderSession.java
index 45b2f84527..55c4a9335e 100644
--- a/identity/identity-ldap/src/main/java/org/camunda/bpm/... | true | true | protected List<User> findUsersByGroupId(LdapUserQueryImpl query) {
String baseDn = getDnForGroup(query.getGroupId());
// compose group search filter
String groupSearchFilter = "(& "+ldapConfiguration.getGroupSearchFilter()+")";
NamingEnumeration<SearchResult> enumeration = null;
try {
enum... | protected List<User> findUsersByGroupId(LdapUserQueryImpl query) {
String baseDn = getDnForGroup(query.getGroupId());
// compose group search filter
String groupSearchFilter = "(& "+ldapConfiguration.getGroupSearchFilter()+")";
NamingEnumeration<SearchResult> enumeration = null;
try {
enum... |
diff --git a/src/org/joval/oval/di/ExecutionState.java b/src/org/joval/oval/di/ExecutionState.java
index efd4e9c3..31d19d6e 100755
--- a/src/org/joval/oval/di/ExecutionState.java
+++ b/src/org/joval/oval/di/ExecutionState.java
@@ -1,397 +1,397 @@
// Copyright (C) 2011 jOVAL.org. All rights reserved.
// This software... | false | true | boolean processArguments(String[] argv) {
String pluginName = DEFAULT_PLUGIN;
for (int i=0; i < argv.length; i++) {
if (validateChecksum && i == (argv.length - 1)) {
specifiedChecksum = argv[i];
} else if (argv[i].equals("-h")) {
printHelp = true;
} else if (argv[i].equals("-z")) {
computeCh... | boolean processArguments(String[] argv) {
String pluginName = DEFAULT_PLUGIN;
for (int i=0; i < argv.length; i++) {
if (argv[i].equals("-h")) {
printHelp = true;
} else if (argv[i].equals("-z")) {
computeChecksum = true;
} else if (argv[i].equals("-p")) {
printLogs = true;
} else if (ar... |
diff --git a/src/net/aufdemrand/denizen/CommandExecuter.java b/src/net/aufdemrand/denizen/CommandExecuter.java
index 6d007edee..fa79a94de 100644
--- a/src/net/aufdemrand/denizen/CommandExecuter.java
+++ b/src/net/aufdemrand/denizen/CommandExecuter.java
@@ -1,346 +1,346 @@
package net.aufdemrand.denizen;
import java... | true | true | public void execute(Player thePlayer, String theStep) {
// Syntax of theStep
// 0 Denizen ID; 1 Script Name; 2 Step Number; 3 Time added to Queue; 4 Command
plugin = (Denizen) Bukkit.getPluginManager().getPlugin("Denizen");
/* Break down information from theStep for use */
String[] executeArgs = theStep... | public void execute(Player thePlayer, String theStep) {
// Syntax of theStep
// 0 Denizen ID; 1 Script Name; 2 Step Number; 3 Time added to Queue; 4 Command
plugin = (Denizen) Bukkit.getPluginManager().getPlugin("Denizen");
/* Break down information from theStep for use */
String[] executeArgs = theStep... |
diff --git a/strange_charm/particular/HypotrochoidParticle.java b/strange_charm/particular/HypotrochoidParticle.java
index 329c31f..5fc854d 100644
--- a/strange_charm/particular/HypotrochoidParticle.java
+++ b/strange_charm/particular/HypotrochoidParticle.java
@@ -1,66 +1,66 @@
package particular;
import processing... | true | true | public HypotrochoidParticle(PApplet p, int a, int b, int h, float timeScale, int color, float weight, int fadeLifetime, int lingerLifetime) {
//note that B should be less than A, and H MUST be less than a for hypotrochoid behavior
super(p, new PVector(0,0), new PVector(0,0), 1, 0, 0,
1, color, weight, fadeLif... | public HypotrochoidParticle(PApplet p, int a, int b, int h, float timeScale, int color, float weight, int fadeLifetime, int lingerLifetime) {
//note that B should be less than A, and H MUST be less than a for hypotrochoid behavior
super(p, new PVector(0,0), new PVector(0,0), 1, 0, 0,
1, color, weight, fadeLif... |
diff --git a/plugins/org.python.pydev/src_navigator/org/python/pydev/navigator/PythonLabelProvider.java b/plugins/org.python.pydev/src_navigator/org/python/pydev/navigator/PythonLabelProvider.java
index 5d4fb6fdb..78b6312e7 100644
--- a/plugins/org.python.pydev/src_navigator/org/python/pydev/navigator/PythonLabelProvid... | false | true | public Image getImage(Object element) {
if(element instanceof PythonProjectSourceFolder){
return PydevPlugin.getImageCache().get(UIConstants.PROJECT_SOURCE_FOLDER_ICON);
}
if(element instanceof PythonSourceFolder){
return PydevPlugin.getImageCache().get(UIConstants.SO... | public Image getImage(Object element) {
if(element instanceof PythonProjectSourceFolder){
return PydevPlugin.getImageCache().get(UIConstants.PROJECT_SOURCE_FOLDER_ICON);
}
if(element instanceof PythonSourceFolder){
return PydevPlugin.getImageCache().get(UIConstants.SO... |
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/TracePropertyTester.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/TracePropertyTester.java
index 4fa913c14..ec0740201 100644
--- a/lttng/org.eclipse.linux... | true | true | public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
// Check if the selected elements are in the trace folder
if (IS_IN_TRACE_FOLDER.equals(property)) {
if (receiver != null && receiver instanceof IStructuredSelection) {
Iterator<... | public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
// Check if the selected elements are in the trace folder
if (IS_IN_TRACE_FOLDER.equals(property)) {
if (receiver != null && receiver instanceof IStructuredSelection) {
Iterator<... |
diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
index aba5e32e5..c84bd5553 100644
--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java
+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
@@ -1,1331 +1,1331 @@
... | false | true | public void load(String dir, InputSource cfgis)
throws ParserConfigurationException, IOException, SAXException {
if (null == dir) {
// don't rely on SolrResourceLoader(), determine explicitly first
dir = SolrResourceLoader.locateSolrHome();
}
log.info("Loading CoreContainer using Solr H... | public void load(String dir, InputSource cfgis)
throws ParserConfigurationException, IOException, SAXException {
if (null == dir) {
// don't rely on SolrResourceLoader(), determine explicitly first
dir = SolrResourceLoader.locateSolrHome();
}
log.info("Loading CoreContainer using Solr H... |
diff --git a/tests/org/jfree/chart/plot/junit/ThermometerPlotTests.java b/tests/org/jfree/chart/plot/junit/ThermometerPlotTests.java
index ef28eed..74675a2 100644
--- a/tests/org/jfree/chart/plot/junit/ThermometerPlotTests.java
+++ b/tests/org/jfree/chart/plot/junit/ThermometerPlotTests.java
@@ -1,263 +1,263 @@
/* ===... | false | true | public void testEquals() {
ThermometerPlot p1 = new ThermometerPlot();
ThermometerPlot p2 = new ThermometerPlot();
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
// padding
p1.setPadding(new RectangleInsets(1.0, 2.0, 3.0, 4.0));
assertFalse(p1.equals(p2));... | public void testEquals() {
ThermometerPlot p1 = new ThermometerPlot();
ThermometerPlot p2 = new ThermometerPlot();
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
// padding
p1.setPadding(new RectangleInsets(1.0, 2.0, 3.0, 4.0));
assertFalse(p1.equals(p2));... |
diff --git a/plugins/org.bonitasoft.studio.migration/src/org/bonitasoft/studio/migration/custom/migration/form/FixedReturnTypeExpressionMigration.java b/plugins/org.bonitasoft.studio.migration/src/org/bonitasoft/studio/migration/custom/migration/form/FixedReturnTypeExpressionMigration.java
index 9927277533..323cd96293 ... | true | true | public void migrateAfter(Model model, Metamodel metamodel)
throws MigrationException {
// TextFormField
for(Instance instance : model.getAllInstances("form.TextFormField")){
Instance exp = instance.get("inputExpression");
if(exp!=null){
exp.set("returnTypeFixed", false);
}
}
// TextAr... | public void migrateAfter(Model model, Metamodel metamodel)
throws MigrationException {
// TextFormField
for(Instance instance : model.getAllInstances("form.TextFormField")){
Instance exp = instance.get("inputExpression");
if(exp!=null){
exp.set("returnTypeFixed", false);
}
}
// TextAr... |
diff --git a/src/java/org/apache/ddlutils/platform/cloudscape/CloudscapePlatform.java b/src/java/org/apache/ddlutils/platform/cloudscape/CloudscapePlatform.java
index 61e420a..06d1fa5 100644
--- a/src/java/org/apache/ddlutils/platform/cloudscape/CloudscapePlatform.java
+++ b/src/java/org/apache/ddlutils/platform/clouds... | true | true | public CloudscapePlatform()
{
PlatformInfo info = getPlatformInfo();
info.setMaxIdentifierLength(128);
// BINARY and VARBINARY will also be handled by CloudscapeBuilder.getSqlType
info.addNativeTypeMapping(Types.ARRAY, "BLOB", Types.BLOB);
inf... | public CloudscapePlatform()
{
PlatformInfo info = getPlatformInfo();
info.setMaxIdentifierLength(128);
info.setSystemForeignKeyIndicesAlwaysNonUnique(true);
// BINARY and VARBINARY will also be handled by CloudscapeBuilder.getSqlType
info.addNativeTypeMapping(Types.ARRAY... |
diff --git a/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java b/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java
index d33f8c34a..68b5c482f 100644
--- a/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java
+++ b/src/com/android/settings/inputmethod/UserDi... | true | true | public ArrayList<LocaleRenderer> getLocalesList(final Activity activity) {
final TreeSet<String> locales = UserDictionaryList.getUserDictionaryLocalesSet(activity);
// Remove our locale if it's in, because we're always gonna put it at the top
locales.remove(mLocale); // mLocale may not be nu... | public ArrayList<LocaleRenderer> getLocalesList(final Activity activity) {
final TreeSet<String> locales = UserDictionaryList.getUserDictionaryLocalesSet(activity);
// Remove our locale if it's in, because we're always gonna put it at the top
locales.remove(mLocale); // mLocale may not be nu... |
diff --git a/src/com/android/phone/EditFdnContactScreen.java b/src/com/android/phone/EditFdnContactScreen.java
old mode 100644
new mode 100755
index cca9a9f6..2992b7dc
--- a/src/com/android/phone/EditFdnContactScreen.java
+++ b/src/com/android/phone/EditFdnContactScreen.java
@@ -1,451 +1,458 @@
/*
* Copyright (C) 20... | false | true | protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
if (DBG) log("onActivityResult request:" + requestCode + " result:" + resultCode);
switch (requestCode) {
case PIN2_REQUEST_CODE:
Bundle extras = (intent != null) ? intent.getExtras() : nul... | protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
if (DBG) log("onActivityResult request:" + requestCode + " result:" + resultCode);
switch (requestCode) {
case PIN2_REQUEST_CODE:
Bundle extras = (intent != null) ? intent.getExtras() : nul... |
diff --git a/src/main/java/com/mcbouncer/bungee/command/KickCommand.java b/src/main/java/com/mcbouncer/bungee/command/KickCommand.java
index 9d721ad..1461bde 100644
--- a/src/main/java/com/mcbouncer/bungee/command/KickCommand.java
+++ b/src/main/java/com/mcbouncer/bungee/command/KickCommand.java
@@ -1,66 +1,66 @@
pack... | true | true | public void execute(final CommandSender sender, final String[] args) {
plugin.getProxy().getScheduler().runAsync(plugin, new Runnable() {
public void run() {
ProxiedPlayer player = null;
if (!sender.hasPermission("mcbouncer.mod")) {
... | public void execute(final CommandSender sender, final String[] args) {
plugin.getProxy().getScheduler().runAsync(plugin, new Runnable() {
public void run() {
ProxiedPlayer player = null;
if (!sender.hasPermission("mcbouncer.mod")) {
... |
diff --git a/src/main/java/fr/xebia/management/config/ManagementNamespaceHandler.java b/src/main/java/fr/xebia/management/config/ManagementNamespaceHandler.java
index 366e72d..e66e175 100644
--- a/src/main/java/fr/xebia/management/config/ManagementNamespaceHandler.java
+++ b/src/main/java/fr/xebia/management/config/Man... | true | true | public void init() {
registerBeanDefinitionParser("servlet-context-aware-mbean-server", new ServletContextAwareMBeanServerDefinitionParser());
registerBeanDefinitionParser("profile-aspect", new ProfileAspectDefinitionParser());
registerBeanDefinitionParser("application-version-mbean", new We... | public void init() {
registerBeanDefinitionParser("servlet-context-aware-mbean-server", new ServletContextAwareMBeanServerDefinitionParser());
registerBeanDefinitionParser("profile-aspect", new ProfileAspectDefinitionParser());
registerBeanDefinitionParser("application-version-mbean", new We... |
diff --git a/src/lucandra/cluster/CassandraIndexManager.java b/src/lucandra/cluster/CassandraIndexManager.java
index 532bf2d..7ab258d 100644
--- a/src/lucandra/cluster/CassandraIndexManager.java
+++ b/src/lucandra/cluster/CassandraIndexManager.java
@@ -1,921 +1,921 @@
/**
* Copyright T Jake Luciani
*
* Licensed... | true | true | private IdInfo nextReservedId(String indexName, NodeInfo[] shards, String myToken)
{
if (logger.isDebugEnabled())
logger.debug("in reserveIds for index " + indexName);
LinkedBlockingQueue<IdInfo> currentRsvpd = indexReserves.get(indexName);
boolean hasExpired = false;
... | private IdInfo nextReservedId(String indexName, NodeInfo[] shards, String myToken)
{
if (logger.isDebugEnabled())
logger.debug("in reserveIds for index " + indexName);
LinkedBlockingQueue<IdInfo> currentRsvpd = indexReserves.get(indexName);
boolean hasExpired = false;
... |
diff --git a/main/src/cgeo/geocaching/twitter/Twitter.java b/main/src/cgeo/geocaching/twitter/Twitter.java
index 72137890c..51cf6e246 100644
--- a/main/src/cgeo/geocaching/twitter/Twitter.java
+++ b/main/src/cgeo/geocaching/twitter/Twitter.java
@@ -1,107 +1,107 @@
package cgeo.geocaching.twitter;
import cgeo.geocac... | true | true | private static void postTweet(final CgeoApplication app, final String statusIn, final Geopoint coords) {
if (app == null || !Settings.isUseTwitter() || !Settings.isTwitterLoginValid()) {
return;
}
try {
final String status = shortenToMaxSize(statusIn);
Pa... | private static void postTweet(final CgeoApplication app, final String statusIn, final Geopoint coords) {
if (app == null || !Settings.isUseTwitter() || !Settings.isTwitterLoginValid()) {
return;
}
try {
final String status = shortenToMaxSize(statusIn);
Pa... |
diff --git a/src/com/tortel/externalize/FileMover.java b/src/com/tortel/externalize/FileMover.java
index ad16259..005f5ae 100644
--- a/src/com/tortel/externalize/FileMover.java
+++ b/src/com/tortel/externalize/FileMover.java
@@ -1,136 +1,138 @@
package com.tortel.externalize;
import java.io.File;
import java.io.Fi... | true | true | public void run() {
if(fileList == null || dirList == null)
getFileList();
Log.d("Copying files");
String outDir = Paths.external+Paths.dir[type];
//This is for the substring to make to cut /sdcard/IMAGES/
int index = outDir.length() + 1;
File tmp = new File(outDir);
if( !tmp.exists() )... | public void run() {
if(fileList == null || dirList == null)
getFileList();
Log.d("Running umount on dir, to prevent running twice");
sh.exec("umount "+Paths.internal+Paths.dir[type]);
Log.d("Copying files");
String outDir = Paths.external+Paths.dir[type];
//This is for the substring to make to cut /... |
diff --git a/platform/com.subgraph.vega.http.proxy/src/com/subgraph/vega/internal/http/proxy/HttpInterceptor.java b/platform/com.subgraph.vega.http.proxy/src/com/subgraph/vega/internal/http/proxy/HttpInterceptor.java
index 0a2ecef5..bd953948 100644
--- a/platform/com.subgraph.vega.http.proxy/src/com/subgraph/vega/inter... | false | true | private void releaseOnChange(TransactionDirection direction) {
final HttpInterceptorLevel level = getInterceptLevel(direction);
if (level != HttpInterceptorLevel.ENABLED_ALL) {
if (level != HttpInterceptorLevel.DISABLED) {
final IHttpConditionSet breakpointSet = getBreakpointSet(direction);
for (int idx... | private void releaseOnChange(TransactionDirection direction) {
final HttpInterceptorLevel level = getInterceptLevel(direction);
if (level != HttpInterceptorLevel.ENABLED_ALL) {
if (level != HttpInterceptorLevel.DISABLED) {
final IHttpConditionSet breakpointSet = getBreakpointSet(direction);
for (int idx... |
diff --git a/src/de/fuberlin/projecta/CompilerMain.java b/src/de/fuberlin/projecta/CompilerMain.java
index 3f1ab30a..35922031 100644
--- a/src/de/fuberlin/projecta/CompilerMain.java
+++ b/src/de/fuberlin/projecta/CompilerMain.java
@@ -1,102 +1,103 @@
package de.fuberlin.projecta;
import java.io.BufferedReader;
imp... | false | true | static void run(ICharStream stream) {
final String code = FrontendMain.genCode(stream);
if (code == null) {
System.err.println("Code generation failed.");
return;
}
System.err.println("Generated code:");
System.err.println(code);
try {
// write LLVM code to file
File llvmFile = File.createTem... | static void run(ICharStream stream) {
final String code = FrontendMain.genCode(stream);
if (code == null) {
System.err.println("Code generation failed.");
return;
}
System.err.println("Generated code:");
System.err.println(code);
try {
// write LLVM code to file
File llvmFile = File.createTem... |
diff --git a/plugins/com.python.pydev.analysis/src/com/python/pydev/analysis/ctrl_1/IgnoreErrorParticipant.java b/plugins/com.python.pydev.analysis/src/com/python/pydev/analysis/ctrl_1/IgnoreErrorParticipant.java
index c1bd4432b..ea6d46891 100644
--- a/plugins/com.python.pydev.analysis/src/com/python/pydev/analysis/ctr... | false | true | public void addProps(MarkerAnnotationAndPosition marker, IAnalysisPreferences analysisPreferences,
final String line, final PySelection ps, int offset, IPythonNature nature, final PyEdit edit,
List<ICompletionProposal> props)
throws BadLocationException, CoreException {
I... | public void addProps(MarkerAnnotationAndPosition marker, IAnalysisPreferences analysisPreferences,
final String line, final PySelection ps, int offset, IPythonNature nature, final PyEdit edit,
List<ICompletionProposal> props)
throws BadLocationException, CoreException {
I... |
diff --git a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/modes/commandline/CommandLineParser.java b/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/modes/commandline/CommandLineParser.java
index 894fe459..7e8a474d 100644
--- a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/mo... | false | true | public Command parseAndExecute(String first, String command) {
try {
// if the command is a number, jump to the given line
int line = Integer.parseInt(command);
return new MotionCommand(GoToLineMotion.FIRST_LINE.withCount(line));
} catch (NumberFormatException e) ... | public Command parseAndExecute(String first, String command) {
try {
// if the command is a number, jump to the given line
int line = Integer.parseInt(command);
return new MotionCommand(GoToLineMotion.FIRST_LINE.withCount(line));
} catch (NumberFormatException e) ... |
diff --git a/src/com/gravypod/PersonalWorlds/PersonalWorlds.java b/src/com/gravypod/PersonalWorlds/PersonalWorlds.java
index 8bacfa1..068d862 100644
--- a/src/com/gravypod/PersonalWorlds/PersonalWorlds.java
+++ b/src/com/gravypod/PersonalWorlds/PersonalWorlds.java
@@ -1,124 +1,124 @@
package com.gravypod.PersonalWorld... | true | true | public void onEnable() {
generators = new ArrayList<String>();
log.info("Enabling PersonalWorlds. Made by Gravypod");
getCommand(getPluginName()).setExecutor(new CommandHandler(this));
getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
PluginUtil.init(this);
File wor... | public void onEnable() {
generators = new ArrayList<String>();
log.info("Enabling PersonalWorlds. Made by Gravypod");
getCommand(getPluginName()).setExecutor(new CommandHandler(this));
getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
PluginUtil.init(this);
File wor... |
diff --git a/grails/src/java/org/codehaus/groovy/grails/plugins/GrailsPluginManagerFactoryBean.java b/grails/src/java/org/codehaus/groovy/grails/plugins/GrailsPluginManagerFactoryBean.java
index 287428ee2..dd2cfdddf 100644
--- a/grails/src/java/org/codehaus/groovy/grails/plugins/GrailsPluginManagerFactoryBean.java
+++ ... | false | true | public void afterPropertiesSet() throws Exception {
this.pluginManager = PluginManagerHolder.getPluginManager();
if(pluginManager == null) {
if(descriptor == null) throw new IllegalStateException("Cannot create PluginManager, /WEB-INF/grails.xml not found!");
ClassLoader classLoader = app... | public void afterPropertiesSet() throws Exception {
this.pluginManager = PluginManagerHolder.getPluginManager();
if(pluginManager == null) {
if(descriptor == null) throw new IllegalStateException("Cannot create PluginManager, /WEB-INF/grails.xml not found!");
ClassLoader classLoader = app... |
diff --git a/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNCommandEnvironment.java b/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNCommandEnvironment.java
index f967633fa..ff126e828 100644
--- a/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNCommandEnvironment.java
+++ b/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNCommandEnvi... | true | true | protected void initOption(SVNOptionValue optionValue) throws SVNException {
AbstractSVNOption option = optionValue.getOption();
if (option == SVNOption.LIMIT) {
String limitStr = optionValue.getValue();
try {
long limit = Long.parseLong(limitStr);
... | protected void initOption(SVNOptionValue optionValue) throws SVNException {
AbstractSVNOption option = optionValue.getOption();
if (option == SVNOption.LIMIT) {
String limitStr = optionValue.getValue();
try {
long limit = Long.parseLong(limitStr);
... |
diff --git a/src/main/java/com/turt2live/antishare/listener/BlockListener.java b/src/main/java/com/turt2live/antishare/listener/BlockListener.java
index f510bd7a..fc26ec54 100644
--- a/src/main/java/com/turt2live/antishare/listener/BlockListener.java
+++ b/src/main/java/com/turt2live/antishare/listener/BlockListener.ja... | true | true | public void onBlockBreak(BlockBreakEvent event){
if(event.isCancelled()){
return;
}
Player player = event.getPlayer();
Block block = event.getBlock();
Boolean drops = null;
boolean deny = false;
AlertType type = AlertType.LEGAL;
String blockGM = "Unknown";
boolean extraSpecial = false;
String at... | public void onBlockBreak(BlockBreakEvent event){
if(event.isCancelled()){
return;
}
Player player = event.getPlayer();
Block block = event.getBlock();
Boolean drops = null;
boolean deny = false;
AlertType type = AlertType.LEGAL;
String blockGM = "Unknown";
boolean extraSpecial = false;
String at... |
diff --git a/src/com/ds/avare/PlanActivity.java b/src/com/ds/avare/PlanActivity.java
index bb8598da..14c73deb 100644
--- a/src/com/ds/avare/PlanActivity.java
+++ b/src/com/ds/avare/PlanActivity.java
@@ -1,785 +1,788 @@
/*
Copyright (c) 2012, Apps4Av Inc. (apps4av.com)
All rights reserved.
Redistribution and use ... | false | true | public void onCreate(Bundle savedInstanceState) {
Helper.setTheme(this);
super.onCreate(savedInstanceState);
/*
* Create toast beforehand so multiple clicks dont throw up a new toast
*/
mToast = Toast.makeText(this, "", Toast.LENGTH_LONG);
... | public void onCreate(Bundle savedInstanceState) {
Helper.setTheme(this);
super.onCreate(savedInstanceState);
/*
* Create toast beforehand so multiple clicks dont throw up a new toast
*/
mToast = Toast.makeText(this, "", Toast.LENGTH_LONG);
... |
diff --git a/x10.compiler/src/x10/visit/Lowerer.java b/x10.compiler/src/x10/visit/Lowerer.java
index 57b8de1e8..c75d820af 100644
--- a/x10.compiler/src/x10/visit/Lowerer.java
+++ b/x10.compiler/src/x10/visit/Lowerer.java
@@ -1,1130 +1,1131 @@
/*
* This file is part of the X10 project (http://x10-lang.org).
*
* ... | true | true | public Node override(Node parent, Node n) {
if (n instanceof Finish) {
Finish finish = (Finish) n;
if (! finish.clocked())
// Follow normal procedure
return null;
// Translate clocked finish S ==>
// var clock_??1:Clock=null;
// finish
// try {
// ... | public Node override(Node parent, Node n) {
if (n instanceof Finish) {
Finish finish = (Finish) n;
if (! finish.clocked())
// Follow normal procedure
return null;
// Translate clocked finish S ==>
// var clock_??1:Clock=null;
// finish
// try {
// ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.