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/com/pokebros/android/pokemononline/ChatActivity.java b/src/com/pokebros/android/pokemononline/ChatActivity.java
index 839d9b0f..2ec44717 100644
--- a/src/com/pokebros/android/pokemononline/ChatActivity.java
+++ b/src/com/pokebros/android/pokemononline/ChatActivity.java
@@ -1,888 +1,887 @@
package com.... | true | true | protected Dialog onCreateDialog(final int id) {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
LayoutInflater inflater = (LayoutInflater) this.getSystemService(LAYOUT_INFLATER_SERVICE);
switch (ChatDialog.values()[id]) {
case Challenge: {
if (netServ == null) {
removeDialog(id);
dismis... | protected Dialog onCreateDialog(final int id) {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
LayoutInflater inflater = (LayoutInflater) this.getSystemService(LAYOUT_INFLATER_SERVICE);
switch (ChatDialog.values()[id]) {
case Challenge: {
if (netServ == null) {
return null;
}
final I... |
diff --git a/src-pos/com/openbravo/pos/ticket/FindTicketsRenderer.java b/src-pos/com/openbravo/pos/ticket/FindTicketsRenderer.java
index ce26211..33d3732 100644
--- a/src-pos/com/openbravo/pos/ticket/FindTicketsRenderer.java
+++ b/src-pos/com/openbravo/pos/ticket/FindTicketsRenderer.java
@@ -1,47 +1,47 @@
// Openbr... | true | true | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
super.getListCellRendererComponent(list, null, index, isSelected, cellHasFocus);
setText("<html><table>" + value.toString() +"</html></table>");
setIcon(icoticket);
... | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
super.getListCellRendererComponent(list, null, index, isSelected, cellHasFocus);
setText("<html><table>" + value.toString() +"</table></html>");
setIcon(icoticket);
... |
diff --git a/xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-standard/src/test/java/org/xwiki/environment/internal/StandardEnvironmentTest.java b/xwiki-commons-core/xwiki-commons-environment/xwiki-commons-environment-standard/src/test/java/org/xwiki/environment/internal/StandardEnvironmentTest.ja... | true | true | public void testGetTemporaryDirectoryFailOver() throws Exception
{
FileUtils.forceMkdir(TMPDIR);
final File txtFile = new File(TMPDIR, "test.txt");
FileUtils.write(txtFile, "test");
final Provider<EnvironmentConfiguration> prov = new Provider<EnvironmentConfiguration>() {
... | public void testGetTemporaryDirectoryFailOver() throws Exception
{
FileUtils.forceMkdir(TMPDIR);
final File txtFile = new File(TMPDIR, "test.txt");
FileUtils.write(txtFile, "test");
final Provider<EnvironmentConfiguration> prov = new Provider<EnvironmentConfiguration>() {
... |
diff --git a/XPathTestRunner/src/test/java/org/omg/bpmn/miwg/xpath/XPathTest.java b/XPathTestRunner/src/test/java/org/omg/bpmn/miwg/xpath/XPathTest.java
index 4968adea..f3c5f6da 100644
--- a/XPathTestRunner/src/test/java/org/omg/bpmn/miwg/xpath/XPathTest.java
+++ b/XPathTestRunner/src/test/java/org/omg/bpmn/miwg/xpath/... | true | true | private void doTest(org.omg.bpmn.miwg.xpathTestRunner.testBase.Test test, String baseFileName) {
for (String tool : tools) {
TestInfo info = new TestInfo(baseDir.getAbsolutePath()
+ testBDir.getName(), tool, baseFileName
+ "-roundtrip.bpmn");
TestOutput out = null;
try {
out = new TestOutput... | private void doTest(org.omg.bpmn.miwg.xpathTestRunner.testBase.Test test, String baseFileName) {
for (String tool : tools) {
TestInfo info = new TestInfo(baseDir.getAbsolutePath()
+ testBDir.getName() + S, tool, baseFileName
+ "-roundtrip.bpmn");
TestOutput out = null;
try {
out = new TestOu... |
diff --git a/splat/src/main/uk/ac/starlink/splat/iface/SpecTransferHandler.java b/splat/src/main/uk/ac/starlink/splat/iface/SpecTransferHandler.java
index f16e84c0a..e92ee8c5a 100644
--- a/splat/src/main/uk/ac/starlink/splat/iface/SpecTransferHandler.java
+++ b/splat/src/main/uk/ac/starlink/splat/iface/SpecTransferHand... | true | true | protected boolean importSpecData( JComponent comp, Transferable t )
{
try {
ArrayList spectra = (ArrayList) t.getTransferData( flavors[0] );
int added = 0;
// Add any unknowns to the global list (needed in both
// cases). These will be imports from othe... | protected boolean importSpecData( JComponent comp, Transferable t )
{
try {
ArrayList spectra = (ArrayList) t.getTransferData( flavors[0] );
int added = 0;
// Add any unknowns to the global list (needed in both
// cases). These will be imports from othe... |
diff --git a/src/main/java/me/iffa/bananaspace/wgen/populators/SpaceAsteroidPopulator.java b/src/main/java/me/iffa/bananaspace/wgen/populators/SpaceAsteroidPopulator.java
index 78f84f1..aca4375 100644
--- a/src/main/java/me/iffa/bananaspace/wgen/populators/SpaceAsteroidPopulator.java
+++ b/src/main/java/me/iffa/bananas... | true | true | public void populate(World world, Random random, Chunk source) {
for (int i = 0; i < 2; i++) {
int x = random.nextInt(16);
int y = random.nextInt(128);
int z = random.nextInt(16);
Block block = source.getBlock(x, y, z);
if (block.getTypeId() != 0) ... | public void populate(World world, Random random, Chunk source) {
for (int i = 0; i < 2; i++) {
int x = random.nextInt(16);
int y = random.nextInt(128);
int z = random.nextInt(16);
Block block = source.getBlock(x, y, z);
if (block.getTypeId() != 0) ... |
diff --git a/LWALLPAPER/src/com/kaist/crescendowallpaper/MyAvata3.java b/LWALLPAPER/src/com/kaist/crescendowallpaper/MyAvata3.java
index c47d53c..afc623c 100644
--- a/LWALLPAPER/src/com/kaist/crescendowallpaper/MyAvata3.java
+++ b/LWALLPAPER/src/com/kaist/crescendowallpaper/MyAvata3.java
@@ -1,488 +1,488 @@
package ... | true | true | public MyAvata3(Context context, Context appContext, int type, String name, boolean isMe,
int progress) {
startX = rand.nextInt(StarWallpaper.Width - BODY_SX);
startY = rand.nextInt(StarWallpaper.Height - (HEAD_SY + BODY_SY));
// headImgs.add(Bitmap.createScaledBitmap(BitmapFact... | public MyAvata3(Context context, Context appContext, int type, String name, boolean isMe,
int progress) {
startX = rand.nextInt(StarWallpaper.Width - BODY_SX);
startY = rand.nextInt(StarWallpaper.Height - (HEAD_SY + BODY_SY));
// headImgs.add(Bitmap.createScaledBitmap(BitmapFact... |
diff --git a/collatex/src/main/java/eu/interedition/collatex/dekker/TranspositionDetector.java b/collatex/src/main/java/eu/interedition/collatex/dekker/TranspositionDetector.java
index cf632d5d..001edc07 100644
--- a/collatex/src/main/java/eu/interedition/collatex/dekker/TranspositionDetector.java
+++ b/collatex/src/ma... | false | true | public List<List<Match>> detect(List<List<Match>> phraseMatches, VariantGraph base) {
//rank the variant graph
base.rank();
// gather matched ranks into a list ordered by their natural order
final List<Integer> ranks = Lists.newArrayList();
for (List<Match> phraseMatch : phraseMatches) {
ra... | public List<List<Match>> detect(List<List<Match>> phraseMatches, VariantGraph base) {
//rank the variant graph
base.rank();
// gather matched ranks into a list ordered by their natural order
final List<Integer> ranks = Lists.newArrayList();
for (List<Match> phraseMatch : phraseMatches) {
ra... |
diff --git a/components/bio-formats/src/loci/formats/in/FV1000Reader.java b/components/bio-formats/src/loci/formats/in/FV1000Reader.java
index 64a1839f1..3d85db7c1 100644
--- a/components/bio-formats/src/loci/formats/in/FV1000Reader.java
+++ b/components/bio-formats/src/loci/formats/in/FV1000Reader.java
@@ -1,1431 +1,1... | false | true | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
parser.setCommentDelimiter(null);
isOIB = checkSuffix(id, OIB_SUFFIX);
if (isOIB) {
try {
ServiceFactory factory = new ServiceFactory();
poi = factory.getInstance(POIService.class);
... | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
parser.setCommentDelimiter(null);
isOIB = checkSuffix(id, OIB_SUFFIX);
if (isOIB) {
try {
ServiceFactory factory = new ServiceFactory();
poi = factory.getInstance(POIService.class);
... |
diff --git a/src/main/java/net/aufdemrand/denizen/scripts/commands/CommandExecuter.java b/src/main/java/net/aufdemrand/denizen/scripts/commands/CommandExecuter.java
index 5fc44be4d..e4f8138c3 100644
--- a/src/main/java/net/aufdemrand/denizen/scripts/commands/CommandExecuter.java
+++ b/src/main/java/net/aufdemrand/deniz... | false | true | public boolean execute(ScriptEntry scriptEntry) {
Matcher m = definition_pattern.matcher(scriptEntry.getCommandName());
StringBuffer sb = new StringBuffer();
while (m.find()) {
if (scriptEntry.getResidingQueue().hasDefinition(m.group(1).toLowerCase()))
m.appendRe... | public boolean execute(ScriptEntry scriptEntry) {
Matcher m = definition_pattern.matcher(scriptEntry.getCommandName());
StringBuffer sb = new StringBuffer();
while (m.find()) {
if (scriptEntry.getResidingQueue().hasDefinition(m.group(1).toLowerCase()))
m.appendRe... |
diff --git a/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java b/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equinox/servletbridge/FrameworkLauncher.java
index 471cd1a5..7e5daad9 100644
--- a/bundles/org.eclipse.equinox.servletbridge/src/org/eclipse/equ... | true | true | protected Map buildInitialPropertyMap() {
Map initialPropertyMap = new HashMap();
Properties launchProperties = loadProperties(RESOURCE_BASE + LAUNCH_INI);
for (Iterator it = launchProperties.entrySet().iterator(); it.hasNext();) {
Map.Entry entry = (Map.Entry) it.next();
String key = (String) entry.getKey... | protected Map buildInitialPropertyMap() {
Map initialPropertyMap = new HashMap();
Properties launchProperties = loadProperties(RESOURCE_BASE + LAUNCH_INI);
for (Iterator it = launchProperties.entrySet().iterator(); it.hasNext();) {
Map.Entry entry = (Map.Entry) it.next();
String key = (String) entry.getKey... |
diff --git a/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java b/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
index 88f1ad1ee..b60c837f8 100644
--- a/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.java
+++ b/ddms/libs/ddmuilib/src/com/android/ddmuilib/ScreenShotDialog.... | false | true | private void createContents(final Shell shell) {
GridData data;
final int colCount = 4;
shell.setLayout(new GridLayout(colCount, true));
// "refresh" button
Button refresh = new Button(shell, SWT.PUSH);
refresh.setText("Refresh");
data = new GridData(GridDa... | private void createContents(final Shell shell) {
GridData data;
final int colCount = 4;
shell.setLayout(new GridLayout(colCount, true));
// "refresh" button
Button refresh = new Button(shell, SWT.PUSH);
refresh.setText("Refresh");
data = new GridData(GridDa... |
diff --git a/src/java/com/eviware/soapui/support/xml/SyntaxEditorUtil.java b/src/java/com/eviware/soapui/support/xml/SyntaxEditorUtil.java
index 711383df2..9aa310099 100644
--- a/src/java/com/eviware/soapui/support/xml/SyntaxEditorUtil.java
+++ b/src/java/com/eviware/soapui/support/xml/SyntaxEditorUtil.java
@@ -1,128 +... | true | true | public static RSyntaxTextArea addDefaultActions( RSyntaxTextArea editor, RTextScrollPane scrollPane, boolean readOnly )
{
JPopupMenu popupMenu = editor.getPopupMenu();
SaveXmlTextAreaAction saveXmlTextAreaAction = new SaveXmlTextAreaAction( editor, "Save" );
EnableLineNumbersAction enableLineNumbersAction = ne... | public static RSyntaxTextArea addDefaultActions( RSyntaxTextArea editor, RTextScrollPane scrollPane, boolean readOnly )
{
JPopupMenu popupMenu = editor.getPopupMenu();
SaveXmlTextAreaAction saveXmlTextAreaAction = new SaveXmlTextAreaAction( editor, "Save" );
EnableLineNumbersAction enableLineNumbersAction = ne... |
diff --git a/contrib/Karma.java b/contrib/Karma.java
index 731561b..32d9be5 100644
--- a/contrib/Karma.java
+++ b/contrib/Karma.java
@@ -1,418 +1,418 @@
import org.uwcs.choob.*;
import org.uwcs.choob.modules.*;
import org.uwcs.choob.support.*;
import org.uwcs.choob.support.events.*;
import java.sql.*;
import java... | true | true | public void filterKarma( Message mes, Modules mods, IRCInterface irc ) throws ChoobException
{
if (mes instanceof PrivateEvent)
{
irc.sendContextReply(mes, "I'm sure other people want to hear what you have to think!");
return;
}
String special="";
ArrayList<KarmaObject> karmaObjs = new ArrayList();
... | public void filterKarma( Message mes, Modules mods, IRCInterface irc ) throws ChoobException
{
if (mes instanceof PrivateEvent)
{
irc.sendContextReply(mes, "I'm sure other people want to hear what you have to think!");
return;
}
String special="";
ArrayList<KarmaObject> karmaObjs = new ArrayList();
... |
diff --git a/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ProjectResources.java b/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ProjectResources.java
index 9052672d..dce26228 100644
--- a/tools... | true | true | private Resource findMatchingConfiguredResource(List<? extends Resource> resources,
FolderConfiguration referenceConfig) {
//
// 1: eliminate resources that contradict the reference configuration
// 2: pick next qualifier type
// 3: check if any resources use this qualifi... | private Resource findMatchingConfiguredResource(List<? extends Resource> resources,
FolderConfiguration referenceConfig) {
//
// 1: eliminate resources that contradict the reference configuration
// 2: pick next qualifier type
// 3: check if any resources use this qualifi... |
diff --git a/utilities/bin2asmbin/Application.java b/utilities/bin2asmbin/Application.java
index b8c8350..749cffd 100644
--- a/utilities/bin2asmbin/Application.java
+++ b/utilities/bin2asmbin/Application.java
@@ -1,206 +1,206 @@
package net.plusmid.bin2asmbin;
import java.io.BufferedWriter;
import java.io.DataInpu... | true | true | public static void main(String[] args) {
// check if no arguments are provided
if (args.length == 0) {
showHelp();
System.exit(1);
}
// parse command line arguments
parseCLI(args);
FileInputStream fi = null;
DataInputStream di = null;
try {
// open input file
fi = new ... | public static void main(String[] args) {
// check if no arguments are provided
if (args.length == 0) {
showHelp();
System.exit(1);
}
// parse command line arguments
parseCLI(args);
FileInputStream fi = null;
DataInputStream di = null;
try {
// open input file
fi = new ... |
diff --git a/eu.alert-project.iccs.stardom.core/eu.alert-project.iccs.stardom.simulator/src/main/java/eu/alertproject/iccs/stardom/simulator/Run.java b/eu.alert-project.iccs.stardom.core/eu.alert-project.iccs.stardom.simulator/src/main/java/eu/alertproject/iccs/stardom/simulator/Run.java
index 2aec6eb..0ec86e4 100644
-... | true | true | private static void handleFile(ApplicationContext context, String topic, String commitFile) {
Properties systemProperties = (Properties) context.getBean("systemProperties");
if(StringUtils.isEmpty(commitFile)){
return;
}
File file = new File(commitFile);
if(fi... | private static void handleFile(ApplicationContext context, String topic, String commitFile) {
Properties systemProperties = (Properties) context.getBean("systemProperties");
if(StringUtils.isEmpty(commitFile)){
return;
}
File file = new File(commitFile);
if(fi... |
diff --git a/app/src/processing/app/preproc/PdeEmitter.java b/app/src/processing/app/preproc/PdeEmitter.java
index 060d20668..8210d9fcd 100644
--- a/app/src/processing/app/preproc/PdeEmitter.java
+++ b/app/src/processing/app/preproc/PdeEmitter.java
@@ -1,832 +1,833 @@
/* -*- mode: java; c-basic-offset: 2; indent-tabs-... | true | true | public void print(final AST ast) throws RunnerException {
if (ast == null) {
return;
}
AST parent = null;
if (!stack.isEmpty()) {
parent = (AST) stack.peek();
}
stack.push(ast);
final AST child1 = ast.getFirstChild();
AST child2 = null;
AST child3 = null;
if (chil... | public void print(final AST ast) throws RunnerException {
if (ast == null) {
return;
}
AST parent = null;
if (!stack.isEmpty()) {
parent = (AST) stack.peek();
}
stack.push(ast);
final AST child1 = ast.getFirstChild();
AST child2 = null;
AST child3 = null;
if (chil... |
diff --git a/src/main/java/de/frosner/datagenerator/gui/main/SwingMenu.java b/src/main/java/de/frosner/datagenerator/gui/main/SwingMenu.java
index 71c4356..03faad0 100644
--- a/src/main/java/de/frosner/datagenerator/gui/main/SwingMenu.java
+++ b/src/main/java/de/frosner/datagenerator/gui/main/SwingMenu.java
@@ -1,557 +... | true | true | public SwingMenu() {
// BEGIN frame initialization
setTitle(ApplicationMetaData.getName());
setDefaultCloseOperation(EXIT_ON_CLOSE);
setResizable(true);
// END frame initialization
// BEGIN menu bar initialization
_menuBar = new JMenuBar();
setJMenuBar(_menuBar);
_helpMenu = new JMenu("Help");
_he... | public SwingMenu() {
// BEGIN frame initialization
setTitle(ApplicationMetaData.getName());
setDefaultCloseOperation(EXIT_ON_CLOSE);
setResizable(true);
// END frame initialization
// BEGIN menu bar initialization
_menuBar = new JMenuBar();
setJMenuBar(_menuBar);
_helpMenu = new JMenu("Help");
_he... |
diff --git a/bundles/extensions/event/src/test/java/org/apache/sling/event/it/ClassloadingTest.java b/bundles/extensions/event/src/test/java/org/apache/sling/event/it/ClassloadingTest.java
index f016891d62..5bec425df8 100644
--- a/bundles/extensions/event/src/test/java/org/apache/sling/event/it/ClassloadingTest.java
++... | true | true | @org.junit.Test public void testSimpleClassloading() throws Exception {
final AtomicInteger count = new AtomicInteger(0);
final List<Event> finishedEvents = Collections.synchronizedList(new ArrayList<Event>());
final ServiceRegistration jcReg = this.registerJobConsumer(TOPIC,
... | @org.junit.Test public void testSimpleClassloading() throws Exception {
final AtomicInteger count = new AtomicInteger(0);
final List<Event> finishedEvents = Collections.synchronizedList(new ArrayList<Event>());
final ServiceRegistration jcReg = this.registerJobConsumer(TOPIC,
... |
diff --git a/jersey-server/src/main/java/com/sun/jersey/server/wadl/WadlGeneratorImpl.java b/jersey-server/src/main/java/com/sun/jersey/server/wadl/WadlGeneratorImpl.java
index 452c1876..9c2ad540 100644
--- a/jersey-server/src/main/java/com/sun/jersey/server/wadl/WadlGeneratorImpl.java
+++ b/jersey-server/src/main/java... | true | true | public Param createParam( AbstractResource r, AbstractMethod m, final Parameter p ) {
Param wadlParam = new Param();
wadlParam.setName(p.getSourceName());
/* the form param right now has no Parameter.Source representation
* and requires some special handling
*/
if ... | public Param createParam( AbstractResource r, AbstractMethod m, final Parameter p ) {
if (p.getSource() == Parameter.Source.UNKNOWN)
return null;
Param wadlParam = new Param();
wadlParam.setName(p.getSourceName());
/* the form param right now has no Parameter.Source repr... |
diff --git a/src/test/java/org/atlasapi/remotesite/channel4/C4AtoZAtomAdapterTest.java b/src/test/java/org/atlasapi/remotesite/channel4/C4AtoZAtomAdapterTest.java
index da3be0d65..899515e75 100644
--- a/src/test/java/org/atlasapi/remotesite/channel4/C4AtoZAtomAdapterTest.java
+++ b/src/test/java/org/atlasapi/remotesite... | false | true | public void testPerformsGetCorrespondingGivenUriAndPassesResultToExtractor() throws Exception {
checking(new Expectations() {{
one(itemClient).get("http://api.channel4.com/programmes/atoz/a.atom"); will(returnValue(atoza.build()));
allowing(brandAdapter).canFetch("http://www.channel4.com/programmes/a-bipola... | public void testPerformsGetCorrespondingGivenUriAndPassesResultToExtractor() throws Exception {
checking(new Expectations() {{
one(itemClient).get("http://api.channel4.com/pmlsd/atoz/a.atom"); will(returnValue(atoza.build()));
allowing(brandAdapter).canFetch("http://www.channel4.com/programmes/a-bipolar-exp... |
diff --git a/src/net/sf/freecol/server/control/InGameController.java b/src/net/sf/freecol/server/control/InGameController.java
index 50ee5b135..9a0599e1e 100644
--- a/src/net/sf/freecol/server/control/InGameController.java
+++ b/src/net/sf/freecol/server/control/InGameController.java
@@ -1,3898 +1,3897 @@
/**
* Cop... | false | true | public Element endTurn(ServerPlayer serverPlayer) {
FreeColServer freeColServer = getFreeColServer();
ServerGame game = getGame();
ServerPlayer player = (ServerPlayer) game.getCurrentPlayer();
if (serverPlayer != player) {
throw new IllegalArgumentException("It is not "
... | public Element endTurn(ServerPlayer serverPlayer) {
FreeColServer freeColServer = getFreeColServer();
ServerGame game = getGame();
ServerPlayer player = (ServerPlayer) game.getCurrentPlayer();
if (serverPlayer != player) {
throw new IllegalArgumentException("It is not "
... |
diff --git a/search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java b/search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
index d7b4bd9fe..4977027db 100644
--- a/search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
+++ b/search/org/eclipse/cdt/internal/core/search/ma... | true | true | public void locateMatches( String [] paths, IWorkspace workspace, IWorkingCopy[] workingCopies ) throws InterruptedException{
matchStorage = new ArrayList();
workspaceRoot = (workspace != null) ? workspace.getRoot() : null;
HashMap wcPaths = new HashMap();
int wcLength = (workingCopies == null) ? 0 : wor... | public void locateMatches( String [] paths, IWorkspace workspace, IWorkingCopy[] workingCopies ) throws InterruptedException{
matchStorage = new ArrayList();
workspaceRoot = (workspace != null) ? workspace.getRoot() : null;
HashMap wcPaths = new HashMap();
int wcLength = (workingCopies == null) ? 0 : wor... |
diff --git a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DefaultProjectClasspathEntry.java b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DefaultProjectClasspathEntry.java
index f1fbdfeb5..1b9ba6544 100644
--- a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/int... | true | true | private void expandProject(IClasspathEntry projectEntry, List expandedPath, List expanding) throws CoreException {
expanding.add(projectEntry);
// 1. Get the raw classpath
// 2. Replace source folder entries with a project entry
IPath projectPath = projectEntry.getPath();
IResource res = ResourcesPlugin.getW... | private void expandProject(IClasspathEntry projectEntry, List expandedPath, List expanding) throws CoreException {
expanding.add(projectEntry);
// 1. Get the raw classpath
// 2. Replace source folder entries with a project entry
IPath projectPath = projectEntry.getPath();
IResource res = ResourcesPlugin.getW... |
diff --git a/org.kevoree.microsandbox.watchdog/src/main/java/org/kevoree/watchdog/child/jvm/LocateRuntimeJar.java b/org.kevoree.microsandbox.watchdog/src/main/java/org/kevoree/watchdog/child/jvm/LocateRuntimeJar.java
index ab561c3..e744c9b 100644
--- a/org.kevoree.microsandbox.watchdog/src/main/java/org/kevoree/watchdo... | true | true | public static File locateRuntimeJar(){
if(System.getProperty("os.name").toLowerCase().contains("mac")){
try {
Process p = Runtime.getRuntime().exec("/usr/libexec/java_home");
InputStream rin = p.getInputStream();
p.waitFor();
Strin... | public static File locateRuntimeJar(){
if(System.getProperty("os.name").toLowerCase().contains("mac")){
try {
Process p = Runtime.getRuntime().exec("/usr/libexec/java_home");
InputStream rin = p.getInputStream();
p.waitFor();
Strin... |
diff --git a/src/test/java/org/apache/hadoop/hbase/client/TestShell.java b/src/test/java/org/apache/hadoop/hbase/client/TestShell.java
index 71fe1d9b1..5524ed865 100644
--- a/src/test/java/org/apache/hadoop/hbase/client/TestShell.java
+++ b/src/test/java/org/apache/hadoop/hbase/client/TestShell.java
@@ -1,71 +1,72 @@
... | true | true | public static void setUpBeforeClass() throws Exception {
// Start mini cluster
TEST_UTIL.getConfiguration().setInt("hbase.regionserver.msginterval", 100);
TEST_UTIL.getConfiguration().setInt("hbase.client.pause", 250);
TEST_UTIL.getConfiguration().setInt("hbase.client.retries.number", 6);
TEST_UTI... | public static void setUpBeforeClass() throws Exception {
// Start mini cluster
TEST_UTIL.getConfiguration().setBoolean("hbase.online.schema.update.enable", true);
TEST_UTIL.getConfiguration().setInt("hbase.regionserver.msginterval", 100);
TEST_UTIL.getConfiguration().setInt("hbase.client.pause", 250);... |
diff --git a/src/edu/ucla/cens/awserver/validator/AnnotatingValidator.java b/src/edu/ucla/cens/awserver/validator/AnnotatingValidator.java
index 4bc7b70d..bcdfa190 100644
--- a/src/edu/ucla/cens/awserver/validator/AnnotatingValidator.java
+++ b/src/edu/ucla/cens/awserver/validator/AnnotatingValidator.java
@@ -1,25 +1,2... | true | true | public AnnotatingValidator(AnnotateAwRequestStrategy annotatingValidationStrategy) {
if(null == annotatingValidationStrategy) {
throw new IllegalArgumentException("a AnnotateAwRequestStrategy is required");
}
_annotatingValidationStrategy = annotatingValidationStrategy;
}
| public AnnotatingValidator(AnnotateAwRequestStrategy annotatingValidationStrategy) {
if(null == annotatingValidationStrategy) {
throw new IllegalArgumentException("an AnnotateAwRequestStrategy is required");
}
_annotatingValidationStrategy = annotatingValidationStrategy;
}
|
diff --git a/ide/eclipse/esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/configure/ui/ConfigureRuleMediatorResultsDialog.java b/ide/eclipse/esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/co... | true | true | protected Control createDialogArea(Composite parent) {
setTitle("Results Configuration");
setMessage("Results describes what should do with return values form the rule execution.");
Composite area = (Composite) super.createDialogArea(parent);
Composite container = new Composite(area, SWT.NONE);
container.set... | protected Control createDialogArea(Composite parent) {
setTitle("Results Configuration");
setMessage("Results describes what should do with return values form the rule execution.");
Composite area = (Composite) super.createDialogArea(parent);
Composite container = new Composite(area, SWT.NONE);
container.set... |
diff --git a/software/caTissue/modules/core/src/main/java/edu/wustl/catissuecore/action/InstitutionAddAction.java b/software/caTissue/modules/core/src/main/java/edu/wustl/catissuecore/action/InstitutionAddAction.java
index 22a8fbbb3..0614aa095 100644
--- a/software/caTissue/modules/core/src/main/java/edu/wustl/catissue... | true | true | protected ActionForward executeSecureAction(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
BaseAddEditAction addAction;
ActionForward actionfwd;
try {
if ( !isTokenValid(request) ) {
ActionErrors actionErrors = new ActionErrors()... | protected ActionForward executeSecureAction(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
BaseAddEditAction addAction;
ActionForward actionfwd;
try {
if ( !isTokenValid(request) ) {
ActionErrors actionErrors = new ActionErrors()... |
diff --git a/Freerider/src/no/ntnu/idi/socialhitchhiking/inbox/NotificationHandler.java b/Freerider/src/no/ntnu/idi/socialhitchhiking/inbox/NotificationHandler.java
index fa286a0..9700e79 100644
--- a/Freerider/src/no/ntnu/idi/socialhitchhiking/inbox/NotificationHandler.java
+++ b/Freerider/src/no/ntnu/idi/socialhitchh... | true | true | public static void createChatDialog(final Notification not){
final Dialog messageDialog = new Dialog(in);
messageDialog.setContentView(R.layout.message_layout);
messageDialog.setTitle("Message");
TextView nameTxt = (TextView)messageDialog.findViewById(R.id.nameTxt);
TextView contentTxt = (TextView)mess... | public static void createChatDialog(final Notification not){
final Dialog messageDialog = new Dialog(in);
messageDialog.setContentView(R.layout.message_layout);
messageDialog.setTitle("Message");
TextView nameTxt = (TextView)messageDialog.findViewById(R.id.nameTxt);
TextView contentTxt = (TextView)mess... |
diff --git a/src/net/loadingchunks/plugins/Leeroy/LeeroyCommands.java b/src/net/loadingchunks/plugins/Leeroy/LeeroyCommands.java
index 4d3c9e0..e32c982 100644
--- a/src/net/loadingchunks/plugins/Leeroy/LeeroyCommands.java
+++ b/src/net/loadingchunks/plugins/Leeroy/LeeroyCommands.java
@@ -1,460 +1,460 @@
package net.lo... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
{
if(cmd.getName().equalsIgnoreCase("leeroy"))
{
this.plugin.log.info("[LEEROY] Got Leeroy Command Hook!");
if(args[0].equalsIgnoreCase("spawn"))
{
String name;
if(args.length == 3)
name = args[2]... | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
{
if(cmd.getName().equalsIgnoreCase("leeroy"))
{
this.plugin.log.info("[LEEROY] Got Leeroy Command Hook!");
if(args[0].equalsIgnoreCase("spawn"))
{
String name;
if(args.length == 3)
name = args[2]... |
diff --git a/river/src/main/java/org/jboss/marshalling/river/RiverUnmarshaller.java b/river/src/main/java/org/jboss/marshalling/river/RiverUnmarshaller.java
index aec9552..d252701 100644
--- a/river/src/main/java/org/jboss/marshalling/river/RiverUnmarshaller.java
+++ b/river/src/main/java/org/jboss/marshalling/river/Ri... | true | true | Object doReadObject(int leadByte, final boolean unshared) throws IOException, ClassNotFoundException {
depth ++;
try {
for (;;) switch (leadByte) {
case ID_NULL: {
return null;
}
case ID_REPEAT_OBJECT_FAR: {
... | Object doReadObject(int leadByte, final boolean unshared) throws IOException, ClassNotFoundException {
depth ++;
try {
for (;;) switch (leadByte) {
case ID_NULL: {
return null;
}
case ID_REPEAT_OBJECT_FAR: {
... |
diff --git a/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java b/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java
index cb0295c06..7d6ab0ebb 100644
--- a/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java
+++ b/weaver/src/org/aspectj/weaver/patterns/W... | true | true | protected Test findResidueInternal(Shadow shadow, ExposedState state) {
if (annotationTypePattern instanceof BindingAnnotationTypePattern) {
BindingAnnotationTypePattern btp = (BindingAnnotationTypePattern)annotationTypePattern;
UnresolvedType annotationType = btp.annotationType;
Var var = shadow.getWith... | protected Test findResidueInternal(Shadow shadow, ExposedState state) {
if (annotationTypePattern instanceof BindingAnnotationTypePattern) {
BindingAnnotationTypePattern btp = (BindingAnnotationTypePattern)annotationTypePattern;
UnresolvedType annotationType = btp.annotationType;
Var var = shadow.getWith... |
diff --git a/src/org/apache/xerces/impl/XMLNamespaceBinder.java b/src/org/apache/xerces/impl/XMLNamespaceBinder.java
index 727b6421..31487b6e 100644
--- a/src/org/apache/xerces/impl/XMLNamespaceBinder.java
+++ b/src/org/apache/xerces/impl/XMLNamespaceBinder.java
@@ -1,847 +1,847 @@
/*
* The Apache Software License, ... | true | true | protected void handleStartElement(QName element, XMLAttributes attributes,
boolean isEmpty) throws XNIException {
// add new namespace context
fNamespaceSupport.pushContext();
// search for new namespace bindings
int length = attributes.getLeng... | protected void handleStartElement(QName element, XMLAttributes attributes,
boolean isEmpty) throws XNIException {
// add new namespace context
fNamespaceSupport.pushContext();
// search for new namespace bindings
int length = attributes.getLeng... |
diff --git a/src/poppio/cg/Furniture.java b/src/poppio/cg/Furniture.java
index a4bd1a4..f8e98db 100644
--- a/src/poppio/cg/Furniture.java
+++ b/src/poppio/cg/Furniture.java
@@ -1,88 +1,88 @@
package poppio.cg;
// for store data of furnitures
public class Furniture extends roomObject{
private String path;
priv... | true | true | public Furniture (int id, int furnitureCount, int objectID) {
super(id);
if(objectID == 1){
// bin
this.name = "bin"+furnitureCount;
this.path = "obj/bin.obj";
this.colorR = new Float(0.5);
this.colorG = new Float(0.445);
this.colorB = new Float(0.447);
this.coorZ = -7f;
}else if(obje... | public Furniture (int id, int furnitureCount, int objectID) {
super(id);
if(objectID == 1){
// bin
this.name = "bin"+furnitureCount;
this.path = "obj/bin.obj";
this.colorR = new Float(0.5);
this.colorG = new Float(0.445);
this.colorB = new Float(0.447);
this.coorZ = -7f;
}else if(obje... |
diff --git a/src/java/se/idega/idegaweb/commune/childcare/presentation/ChildCareProviderSelect.java b/src/java/se/idega/idegaweb/commune/childcare/presentation/ChildCareProviderSelect.java
index 4fb165bf..9cd0b639 100644
--- a/src/java/se/idega/idegaweb/commune/childcare/presentation/ChildCareProviderSelect.java
+++ b/... | true | true | public void init(IWContext iwc) throws Exception {
Form form = new Form();
form.setEventListener(ChildCareEventListener.class);
DropdownMenu menu = new DropdownMenu(getSession().getParameterChildCareID());
menu.addMenuElementFirst("-1", localize("child_care.select_provider","Select provider"));
menu.setSe... | public void init(IWContext iwc) throws Exception {
Form form = new Form();
form.setEventListener(ChildCareEventListener.class);
DropdownMenu menu = (DropdownMenu) getStyledInterface(new DropdownMenu(getSession().getParameterChildCareID()));
menu.addMenuElementFirst("-1", localize("child_care.select_provider... |
diff --git a/src/main/java/cz/startnet/utils/pgdiff/PgDiff.java b/src/main/java/cz/startnet/utils/pgdiff/PgDiff.java
index 76007a8..747cf50 100644
--- a/src/main/java/cz/startnet/utils/pgdiff/PgDiff.java
+++ b/src/main/java/cz/startnet/utils/pgdiff/PgDiff.java
@@ -1,174 +1,174 @@
package cz.startnet.utils.pgdiff;
i... | false | true | private static void updateSchemas(final PrintWriter writer,
final PgDiffArguments arguments, final PgDatabase oldDatabase,
final PgDatabase newDatabase) {
final boolean setSearchPath = newDatabase.getSchemas().size() > 1
|| !newDatabase.getSchemas().get(0).getName().e... | private static void updateSchemas(final PrintWriter writer,
final PgDiffArguments arguments, final PgDatabase oldDatabase,
final PgDatabase newDatabase) {
final boolean setSearchPath = newDatabase.getSchemas().size() > 1
|| !newDatabase.getSchemas().get(0).getName().e... |
diff --git a/src/main/java/org/helix/mobile/component/tab/TabRenderer.java b/src/main/java/org/helix/mobile/component/tab/TabRenderer.java
index cb04299b..8d1eb6da 100644
--- a/src/main/java/org/helix/mobile/component/tab/TabRenderer.java
+++ b/src/main/java/org/helix/mobile/component/tab/TabRenderer.java
@@ -1,49 +1,5... | true | true | public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
Tab tab = (Tab)component;
Boolean isActive = (Boolean)tab.getAttributes().get("active");
ResponseWriter writer = context.getResponseWriter();
writer.startElement("li", component);
... | public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
Tab tab = (Tab)component;
Boolean isActive = (Boolean)tab.getAttributes().get("active");
ResponseWriter writer = context.getResponseWriter();
writer.startElement("li", component);
... |
diff --git a/src/main/java/com/stonetolb/game/module/DemoModule.java b/src/main/java/com/stonetolb/game/module/DemoModule.java
index 2bb14b6..ee359a1 100644
--- a/src/main/java/com/stonetolb/game/module/DemoModule.java
+++ b/src/main/java/com/stonetolb/game/module/DemoModule.java
@@ -1,365 +1,365 @@
package com.stonet... | true | true | public void init() {
System.out.println("Loading Module Resources");
// Camera setup
Camera.setVantage(FluidVantage.create(0.04F));
Camera.getInstance().setPosition(CAMERA_START);
// Load texture resources
try {
this.vaughnTextureSheet = TextureLoader.getInstance().getTexture("sprites/Vaughn/world... | public void init() {
System.out.println("Loading Module Resources");
// Camera setup
Camera.setVantage(FluidVantage.create(0.04F));
Camera.getInstance().setPosition(CAMERA_START);
// Load texture resources
try {
this.vaughnTextureSheet = TextureLoader.getInstance().getTexture("sprites/Vaughn/world... |
diff --git a/grader/src/com/evllabs/grader/Grader.java b/grader/src/com/evllabs/grader/Grader.java
index 5e67e81..194a725 100644
--- a/grader/src/com/evllabs/grader/Grader.java
+++ b/grader/src/com/evllabs/grader/Grader.java
@@ -1,65 +1,65 @@
package com.evllabs.grader;
import java.util.*;
import java.util.Map.Ent... | true | true | public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int counter = 0;
Histogram authors = new Histogram();
Map<String, List<Histogram>> ranks = new HashMap<String, List<Histogram>>();
List<Histogram> currentRanks = new ArrayList<Histogram>();
while(input.hasNext()){
String li... | public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int counter = 0;
Histogram authors = new Histogram();
Map<String, List<Histogram>> ranks = new HashMap<String, List<Histogram>>();
List<Histogram> currentRanks = new ArrayList<Histogram>();
while(input.hasNext()){
String li... |
diff --git a/main/src/main/java/com/bloatit/web/linkable/money/AccountChargingProcess.java b/main/src/main/java/com/bloatit/web/linkable/money/AccountChargingProcess.java
index 1ffd03312..ed509ac57 100644
--- a/main/src/main/java/com/bloatit/web/linkable/money/AccountChargingProcess.java
+++ b/main/src/main/java/com/bl... | true | true | public Url notifyChildClosed(final WebProcess subProcess) {
if (subProcess.getClass().equals(PaylineProcess.class)) {
final PaylineProcess subPro = (PaylineProcess) subProcess;
if (subPro.isSuccessful()) {
// Redirects to the contribution action which will perform the... | public Url notifyChildClosed(final WebProcess subProcess) {
if (subProcess.getClass().equals(PaylineProcess.class)) {
final PaylineProcess subPro = (PaylineProcess) subProcess;
if (subPro.isSuccessful()) {
// Redirects to the contribution action which will perform the... |
diff --git a/src/main/java/me/zford/jobs/config/JobConfig.java b/src/main/java/me/zford/jobs/config/JobConfig.java
index 9f84927..fbd68f3 100644
--- a/src/main/java/me/zford/jobs/config/JobConfig.java
+++ b/src/main/java/me/zford/jobs/config/JobConfig.java
@@ -1,516 +1,516 @@
/*
* Jobs Plugin for Bukkit
* Copyrigh... | true | true | private void loadJobSettings(){
File f = new File(plugin.getDataFolder(), "jobConfig.yml");
this.jobs.clear();
if (!f.exists()) {
try {
f.createNewFile();
} catch (IOException e) {
plugin.getLogger().severe("Unable to create jobConfig.y... | private void loadJobSettings(){
File f = new File(plugin.getDataFolder(), "jobConfig.yml");
this.jobs.clear();
if (!f.exists()) {
try {
f.createNewFile();
} catch (IOException e) {
plugin.getLogger().severe("Unable to create jobConfig.y... |
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/RepositoryTaskDecorator.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/RepositoryTaskDecorator.java
index dda80558b..7e0780dc2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/Reposi... | true | true | public void decorate(Object element, IDecoration decoration) {
if (element instanceof AbstractRepositoryQuery) {
AbstractRepositoryQuery query = (AbstractRepositoryQuery) element;
String repositoryUrl = query.getRepositoryUrl();
if (repositoryUrl != null) {
try {
URL url = new URL(repositoryUrl);
... | public void decorate(Object element, IDecoration decoration) {
if (element instanceof AbstractRepositoryQuery) {
AbstractRepositoryQuery query = (AbstractRepositoryQuery) element;
String repositoryUrl = query.getRepositoryUrl();
if (repositoryUrl != null) {
try {
URL url = new URL(repositoryUrl);
... |
diff --git a/atlas-data-storage/src/test/java/uk/ac/ebi/gxa/data/StatisticsGenerators.java b/atlas-data-storage/src/test/java/uk/ac/ebi/gxa/data/StatisticsGenerators.java
index 977d2d417..d5cd0ccf2 100644
--- a/atlas-data-storage/src/test/java/uk/ac/ebi/gxa/data/StatisticsGenerators.java
+++ b/atlas-data-storage/src/te... | true | true | public static Generator<DesignElementStatistics> deCandidates() {
final Generator<Double> p = validPValues();
final Generator<Double> t = validTStats();
final Generator<Integer> de = PrimitiveGenerators.integers();
final Generator<Integer> uefv = PrimitiveGenerators.integers();
... | public static Generator<DesignElementStatistics> deCandidates() {
final Generator<Double> p = validPValues();
final Generator<Double> t = validTStats();
final Generator<Integer> de = PrimitiveGenerators.integers();
final Generator<Integer> uefv = PrimitiveGenerators.integers();
... |
diff --git a/src/Main/java.java b/src/Main/java.java
index 3492b49..9a59e24 100644
--- a/src/Main/java.java
+++ b/src/Main/java.java
@@ -1,19 +1,19 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Main;
/**
*
* @author arjan
*/
public class ja... | true | true | public static void main(String[] args) {
// hallo arjan
}
| public static void main(String[] args) {
// hallo joshua
}
|
diff --git a/ghana-national-core/src/main/java/org/motechproject/ghana/national/repository/AllPatients.java b/ghana-national-core/src/main/java/org/motechproject/ghana/national/repository/AllPatients.java
index d63de264..24dd9d12 100644
--- a/ghana-national-core/src/main/java/org/motechproject/ghana/national/repository... | true | true | private List<Patient> getPatientsByPhoneNumber(String phoneNumber) {
Connection connection = null;
ArrayList<Patient> patients = new ArrayList<Patient>();
try {
connection = dataSource.getConnection();
PreparedStatement statement = connection.prepareStatement("select ... | private List<Patient> getPatientsByPhoneNumber(String phoneNumber) {
Connection connection = null;
ArrayList<Patient> patients = new ArrayList<Patient>();
try {
connection = dataSource.getConnection();
PreparedStatement statement = connection.prepareStatement("select ... |
diff --git a/modules/com.noelios.restlet.ext.httpclient_3.1/src/com/noelios/restlet/ext/httpclient/HttpMethodCall.java b/modules/com.noelios.restlet.ext.httpclient_3.1/src/com/noelios/restlet/ext/httpclient/HttpMethodCall.java
index 8483c104d..f30766ad8 100644
--- a/modules/com.noelios.restlet.ext.httpclient_3.1/src/co... | true | true | public Status sendRequest(Request request) {
Status result = null;
try {
final Representation entity = request.getEntity();
// Set the request headers
for (Parameter header : getRequestHeaders()) {
getHttpMethod().setRequestHeader(header.getName(... | public Status sendRequest(Request request) {
Status result = null;
try {
final Representation entity = request.getEntity();
// Set the request headers
for (Parameter header : getRequestHeaders()) {
getHttpMethod().setRequestHeader(header.getName(... |
diff --git a/src/xhl/core/Reader.java b/src/xhl/core/Reader.java
index 6d111b7..96dbd91 100644
--- a/src/xhl/core/Reader.java
+++ b/src/xhl/core/Reader.java
@@ -1,181 +1,181 @@
package xhl.core;
import static xhl.core.Token.TokenType.*;
import java.io.IOException;
import java.io.StringReader;
import java.util.... | true | true | private Expression term() throws IOException {
Expression sexp = null;
switch (token.type) {
case SYMBOL:
sexp = new Symbol(token.stringValue, token.position);
token = lexer.nextToken();
break;
case STRING:
sexp = new LString(token.stri... | private Expression term() throws IOException {
Expression sexp = null;
switch (token.type) {
case SYMBOL:
sexp = new Symbol(token.stringValue, token.position);
token = lexer.nextToken();
break;
case STRING:
sexp = new LString(token.stri... |
diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/GitOverHttpServlet.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/GitOverHttpServlet.java
index 546ac71c7..dad9b8057 100644
--- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/GitOverHttpServlet.java
+++ b/gerrit-httpd/src/main/java/com/goo... | true | true | public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
boolean isGet =
"GET".equalsIgnoreCase(((HttpServletRequest) request).getMethod());
ReceiveCommits rc = (ReceiveCommits) request.getAttribute(ATT_RC);
R... | public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
boolean isGet =
"GET".equalsIgnoreCase(((HttpServletRequest) request).getMethod());
ReceiveCommits rc = (ReceiveCommits) request.getAttribute(ATT_RC);
R... |
diff --git a/xfire-core/src/main/org/codehaus/xfire/handler/SoapHandler.java b/xfire-core/src/main/org/codehaus/xfire/handler/SoapHandler.java
index 73558c60..31a2853a 100644
--- a/xfire-core/src/main/org/codehaus/xfire/handler/SoapHandler.java
+++ b/xfire-core/src/main/org/codehaus/xfire/handler/SoapHandler.java
@@ -1... | true | true | public void invoke(MessageContext context, XMLStreamReader reader)
throws Exception
{
XMLStreamWriter writer = null;
String encoding = null;
boolean end = false;
while ( !end && reader.hasNext() )
{
int event = reader.next();
s... | public void invoke(MessageContext context, XMLStreamReader reader)
throws Exception
{
XMLStreamWriter writer = null;
String encoding = null;
boolean end = false;
while ( !end && reader.hasNext() )
{
int event = reader.next();
s... |
diff --git a/rtest/src/org/subethamail/smtp/test/WiserFailuresTest.java b/rtest/src/org/subethamail/smtp/test/WiserFailuresTest.java
index 989b96d..5058d95 100644
--- a/rtest/src/org/subethamail/smtp/test/WiserFailuresTest.java
+++ b/rtest/src/org/subethamail/smtp/test/WiserFailuresTest.java
@@ -1,332 +1,333 @@
packag... | true | true | public void testSendTwoMsgsWithLogin() throws MessagingException, IOException
{
try
{
String From = "sender@here.com";
String To = "receiver@there.com";
String Subject = "Test";
String body = "Test Body";
Session session = Session.getInstance(getMailProperties(SMTP_PORT), null);
Message msg = n... | public void testSendTwoMsgsWithLogin() throws MessagingException, IOException
{
try
{
String From = "sender@here.com";
String To = "receiver@there.com";
String Subject = "Test";
String body = "Test Body";
Session session = Session.getInstance(getMailProperties(SMTP_PORT), null);
Message msg = n... |
diff --git a/SeapalAndroidApp/src/de/htwg/seapal/aview/gui/activity/BoatActivity.java b/SeapalAndroidApp/src/de/htwg/seapal/aview/gui/activity/BoatActivity.java
index 403951f..3eb87b3 100644
--- a/SeapalAndroidApp/src/de/htwg/seapal/aview/gui/activity/BoatActivity.java
+++ b/SeapalAndroidApp/src/de/htwg/seapal/aview/gu... | true | true | public void update(Event event) {
if (this.findViewById(R.id.boatlist) != null) {
if (this.findViewById(R.id.linearLayout_xlarge) != null
&& controller.getAllBoats().size() < fragmentList
.getBoatListSize()) {
// tablet -> delete button called -> clear FragmentDetailView
FragmentTransaction tr... | public void update(Event event) {
if (this.findViewById(R.id.boatlistheader) != null) {
if (this.findViewById(R.id.linearLayout_xlarge) != null
&& controller.getAllBoats().size() < fragmentList
.getBoatListSize()) {
// tablet -> delete button called -> clear FragmentDetailView
FragmentTransact... |
diff --git a/patchtool/src/net/snowbound/patchtool/Main.java b/patchtool/src/net/snowbound/patchtool/Main.java
index acdad17..a4c51e8 100644
--- a/patchtool/src/net/snowbound/patchtool/Main.java
+++ b/patchtool/src/net/snowbound/patchtool/Main.java
@@ -1,146 +1,146 @@
/*
* patchtool - opensource tool to manipulate P... | false | true | public static byte[] generateIndices(int num, byte[][] patchData){
byte[] ret = new byte[num * 4];
int headerSize = (6 + (num * 4));
int bloat = 0;
for(int i = 0; i < num; i++){
int temp = headerSize;
byte[] data = new byte[4];
if(i == 0){
bloat += patchData[i].length;
data = intToByteAr... | public static byte[] generateIndices(int num, byte[][] patchData){
byte[] ret = new byte[num * 4];
int headerSize = (6 + (num * 4));
int bloat = 0;
for(int i = 0; i < num; i++){
int temp = headerSize;
byte[] data = new byte[4];
if(i == 0){
bloat += patchData[i].length - 5;
data = intToBy... |
diff --git a/src/de/thm/ateam/memory/game/Memory.java b/src/de/thm/ateam/memory/game/Memory.java
index 5c79e22..68f8081 100644
--- a/src/de/thm/ateam/memory/game/Memory.java
+++ b/src/de/thm/ateam/memory/game/Memory.java
@@ -1,249 +1,252 @@
package de.thm.ateam.memory.game;
import java.util.Timer;
import java.util... | false | true | public View assembleLayout(){
newGame();
for(Player p :attr.getPlayers()){
Log.i("demo", p.nick);
}
imageAdapter = new ImageAdapter(ctx, ROW_COUNT, COL_COUNT);
theme = imageAdapter.getTheme();
mainView = new GridView(ctx);
//mainView.setLayoutParams(new GridView.LayoutParams(LayoutParams.MATCH_PAR... | public View assembleLayout(){
newGame();
for(Player p :attr.getPlayers()){
Log.i("demo", p.nick);
}
imageAdapter = new ImageAdapter(ctx, ROW_COUNT, COL_COUNT);
theme = imageAdapter.getTheme();
mainView = new GridView(ctx);
//mainView.setLayoutParams(new GridView.LayoutParams(LayoutParams.MATCH_PAR... |
diff --git a/jzy3d-api/src/api/org/jzy3d/io/obj/OBJFile.java b/jzy3d-api/src/api/org/jzy3d/io/obj/OBJFile.java
index cdd30da..3f17813 100644
--- a/jzy3d-api/src/api/org/jzy3d/io/obj/OBJFile.java
+++ b/jzy3d-api/src/api/org/jzy3d/io/obj/OBJFile.java
@@ -1,389 +1,392 @@
package org.jzy3d.io.obj;
import java.io.Buffer... | true | true | public boolean loadModelFromFile(String file) {
URL fileURL = getClass().getClassLoader().getResource(File.separator + file);
if (fileURL != null) {
BufferedReader input = null;
try {
input = new BufferedReader(new InputStreamReader(fileURL.openStream()));
... | public boolean loadModelFromFile(String file) {
URL fileURL = getClass().getClassLoader().getResource(File.separator + file);
if (fileURL != null) {
BufferedReader input = null;
try {
input = new BufferedReader(new InputStreamReader(fileURL.openStream()));
... |
diff --git a/de.xwic.cube/src/de/xwic/cube/functions/LastLeafFunction.java b/de.xwic.cube/src/de/xwic/cube/functions/LastLeafFunction.java
index e8b3733..272077b 100644
--- a/de.xwic.cube/src/de/xwic/cube/functions/LastLeafFunction.java
+++ b/de.xwic.cube/src/de/xwic/cube/functions/LastLeafFunction.java
@@ -1,117 +1,12... | false | true | private Result findLastLeaf(ICube cube, Key key, Key searchKey, IDimensionElement elm) {
Result result = new Result();
List<IDimensionElement> childs = elm.getDimensionElements();
for (int i = childs.size() - 1; i >= 0; i--) {
IDimensionElement child = childs.get(i);
if (child.isLeaf()) {
searchK... | private Result findLastLeaf(ICube cube, Key key, Key searchKey, IDimensionElement elm) {
Result result = new Result();
List<IDimensionElement> childs = elm.getDimensionElements();
for (int i = childs.size() - 1; i >= 0; i--) {
IDimensionElement child = childs.get(i);
if (child.isLeaf()) {
searchK... |
diff --git a/sc-web/src/main/java/dk/sst/snomedcave/controllers/DrugController.java b/sc-web/src/main/java/dk/sst/snomedcave/controllers/DrugController.java
index 9a6a700..1fb59c1 100644
--- a/sc-web/src/main/java/dk/sst/snomedcave/controllers/DrugController.java
+++ b/sc-web/src/main/java/dk/sst/snomedcave/controllers... | true | true | public ResponseEntity<String> tree(@RequestParam("name") String drugName) {
final List<Drug> drugs = drugRepository.findByNameLike("\"" + drugName.replace("\"", "\\\"") + "\"");
if (drugs.size() > 1) {
logger.warn("Found more than one drug for drugName=" + drugName + ", count=" + drugs.s... | public ResponseEntity<String> tree(@RequestParam("name") String drugName) {
final List<Drug> drugs = drugRepository.findByNameLike("\"" + drugName.replace("\"", "\\\"") + "\"");
if (drugs.size() > 1) {
logger.warn("Found more than one drug for drugName=" + drugName + ", count=" + drugs.s... |
diff --git a/ignition-ui/src/main/java/com/github/ignition/ui/widgets/HorizontalPagerControl.java b/ignition-ui/src/main/java/com/github/ignition/ui/widgets/HorizontalPagerControl.java
index 6d515a3..8d6e7bd 100644
--- a/ignition-ui/src/main/java/com/github/ignition/ui/widgets/HorizontalPagerControl.java
+++ b/ignition... | false | true | public HorizontalPagerControl(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
TypedArray a = context.obtainStyledAttributes(attrs,
R.styleable.com_github_ignition_ui_widgets_PagerControl);
int barColor = a.getColor(R.styleable.com_github... | public HorizontalPagerControl(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
TypedArray a = context.obtainStyledAttributes(attrs,
R.styleable.com_github_ignition_ui_widgets_HorizontalPagerControl);
int barColor = a.getColor(
... |
diff --git a/org/xbill/DNS/ZoneTransferIn.java b/org/xbill/DNS/ZoneTransferIn.java
index 7fad554..8a19992 100644
--- a/org/xbill/DNS/ZoneTransferIn.java
+++ b/org/xbill/DNS/ZoneTransferIn.java
@@ -1,680 +1,680 @@
// Copyright (c) 2003-2004 Brian Wellington (bwelling@xbill.org)
// Parts of this are derived from lib/dn... | true | true | private void
parseRR(Record rec) throws ZoneTransferException {
int type = rec.getType();
Delta delta;
switch (state) {
case INITIALSOA:
if (type != Type.SOA)
fail("missing initial SOA");
initialsoa = rec;
// Remember the serial number in the initial SOA; we need it
// to recognize the end of an IXFR.
... | private void
parseRR(Record rec) throws ZoneTransferException {
int type = rec.getType();
Delta delta;
switch (state) {
case INITIALSOA:
if (type != Type.SOA)
fail("missing initial SOA");
initialsoa = rec;
// Remember the serial number in the initial SOA; we need it
// to recognize the end of an IXFR.
... |
diff --git a/appinventor/appengine/src/com/google/appinventor/client/explorer/commands/ShowBarcodeCommand.java b/appinventor/appengine/src/com/google/appinventor/client/explorer/commands/ShowBarcodeCommand.java
index 39ca0de6..5a64fdd9 100644
--- a/appinventor/appengine/src/com/google/appinventor/client/explorer/comman... | true | true | BarcodeDialogBox(String projectName, String appInstallUrl) {
super(false, true);
setStylePrimaryName("ode-DialogBox");
setText(MESSAGES.barcodeTitle(projectName));
ClickHandler buttonHandler = new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
h... | BarcodeDialogBox(String projectName, String appInstallUrl) {
super(false, true);
setStylePrimaryName("ode-DialogBox");
setText(MESSAGES.barcodeTitle(projectName));
ClickHandler buttonHandler = new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
h... |
diff --git a/src/tconstruct/util/config/PHConstruct.java b/src/tconstruct/util/config/PHConstruct.java
index a1c2552f8..5858e9b50 100644
--- a/src/tconstruct/util/config/PHConstruct.java
+++ b/src/tconstruct/util/config/PHConstruct.java
@@ -1,732 +1,732 @@
package tconstruct.util.config;
import java.io.File;
impor... | true | true | public static void initProps (File location)
{
/* Here we will set up the config file for the mod
* First: Create a folder inside the config folder
* Second: Create the actual config file
* Note: Configs are a pain, but absolutely necessary for every mod.
*/
... | public static void initProps (File location)
{
/* Here we will set up the config file for the mod
* First: Create a folder inside the config folder
* Second: Create the actual config file
* Note: Configs are a pain, but absolutely necessary for every mod.
*/
... |
diff --git a/src/cnc/gcode/controller/CNCGCodeController.java b/src/cnc/gcode/controller/CNCGCodeController.java
index 9cfe97b..ee5b31d 100644
--- a/src/cnc/gcode/controller/CNCGCodeController.java
+++ b/src/cnc/gcode/controller/CNCGCodeController.java
@@ -1,169 +1,169 @@
/*
* To change this template, choose Tools |... | false | true | public static void main(String[] args) throws IOException {
if(args.length!=0)
{
//Usage:
if(!args[0].equals("-postprocessor") || args.length!=11)
{
System.out.println("Usage:");
System.out.println("java -jar "+Tools.getJar... | public static void main(String[] args) throws IOException {
if(args.length!=0)
{
//Usage:
if(!args[0].equals("-postprocessor") || args.length!=11)
{
System.out.println("Usage:");
System.out.println("java -jar "+Tools.getJar... |
diff --git a/src/main/java/net/floodlightcontroller/core/internal/Controller.java b/src/main/java/net/floodlightcontroller/core/internal/Controller.java
index f4745d06..5cfe4f09 100644
--- a/src/main/java/net/floodlightcontroller/core/internal/Controller.java
+++ b/src/main/java/net/floodlightcontroller/core/internal/C... | true | true | protected void processOFMessage(OFMessage m)
throws IOException, SwitchStateException {
boolean shouldHandleMessage = false;
switch (m.getType()) {
case HELLO:
if (log.isTraceEnabled())
log.trace("HELLO from {}"... | protected void processOFMessage(OFMessage m)
throws IOException, SwitchStateException {
boolean shouldHandleMessage = false;
switch (m.getType()) {
case HELLO:
if (log.isTraceEnabled())
log.trace("HELLO from {}"... |
diff --git a/server/src/main/java/org/socialhistoryservices/pid/controllers/KeysController.java b/server/src/main/java/org/socialhistoryservices/pid/controllers/KeysController.java
index 39cf1b2..f14ee9d 100644
--- a/server/src/main/java/org/socialhistoryservices/pid/controllers/KeysController.java
+++ b/server/src/mai... | true | true | public ModelAndView list(
@RequestParam(value = "token", required = false) String refresh_token) {
ModelAndView mav = new ModelAndView("keys");
final SecurityContext context = SecurityContextHolder.getContext();
Authentication authentication = context.getAuthentication();
... | public ModelAndView list(
@RequestParam(value = "token", required = false) String refresh_token) {
ModelAndView mav = new ModelAndView("keys");
final SecurityContext context = SecurityContextHolder.getContext();
Authentication authentication = context.getAuthentication();
... |
diff --git a/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java b/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java
index 1ce55f205..8a3d4a546 100644
--- a/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.jav... | false | true | private String executeM3UA(String[] args) {
try {
if (args.length < 3 || args.length > 15) {
// any command will have atleast 3 args
return M3UAOAMMessages.INVALID_COMMAND;
}
if (args[1] == null) {
return M3UAOAMMessages.IN... | private String executeM3UA(String[] args) {
try {
if (args.length < 3 || args.length > 15) {
// any command will have atleast 3 args
return M3UAOAMMessages.INVALID_COMMAND;
}
if (args[1] == null) {
return M3UAOAMMessages.IN... |
diff --git a/tests/org.eclipse.acceleo.parser.tests/src/org/eclipse/acceleo/parser/tests/AcceleoParserTests.java b/tests/org.eclipse.acceleo.parser.tests/src/org/eclipse/acceleo/parser/tests/AcceleoParserTests.java
index d88f856b..6d8d6986 100644
--- a/tests/org.eclipse.acceleo.parser.tests/src/org/eclipse/acceleo/pars... | false | true | public void testIndentStrategy() {
File file = createFile("/data/template/mtlIndentStrategy.mtl");
AcceleoSourceBuffer source = new AcceleoSourceBuffer(file);
AcceleoParser parser = new AcceleoParser();
ResourceSet resourceSet = new ResourceSetImpl();
Resource resource = ModelUtils.createResource(URI
.cr... | public void testIndentStrategy() {
File file = createFile("/data/template/mtlIndentStrategy.mtl");
AcceleoSourceBuffer source = new AcceleoSourceBuffer(file);
AcceleoParser parser = new AcceleoParser();
ResourceSet resourceSet = new ResourceSetImpl();
Resource resource = ModelUtils.createResource(URI
.cr... |
diff --git a/src/test/java/org/weymouth/demo/model/DataTest.java b/src/test/java/org/weymouth/demo/model/DataTest.java
index fcf9320..d2b869f 100755
--- a/src/test/java/org/weymouth/demo/model/DataTest.java
+++ b/src/test/java/org/weymouth/demo/model/DataTest.java
@@ -1,18 +1,18 @@
package org.weymouth.demo.model;
... | true | true | public void test(){
String probe = "probe";
Data d = new Data(probe);
String data = d.getData();
data = null;
Assert.assertNotNull(data);
Assert.assertEquals(probe, data);
}
| public void test(){
String probe = "probe";
Data d = new Data(probe);
String data = d.getData();
// data = null; // this will cause the test to fail; without being a compile error
Assert.assertNotNull(data);
Assert.assertEquals(probe, data);
}
|
diff --git a/src/main/java/org/pircbotx/PircBotX.java b/src/main/java/org/pircbotx/PircBotX.java
index 537ccf0..d1cc303 100644
--- a/src/main/java/org/pircbotx/PircBotX.java
+++ b/src/main/java/org/pircbotx/PircBotX.java
@@ -1,2342 +1,2342 @@
/**
* Copyright (C) 2010 Leon Blakey <lord.quackstar at gmail.com>
*
*... | true | true | protected void handleLine(String line) {
log("<<<" + line);
// Check for server pings.
if (line.startsWith("PING ")) {
// Respond to the ping and return immediately.
getListenerManager().dispatchEvent(new ServerPingEvent(this, line.substring(5)));
return;
}
String sourceNick = "";
String sourceL... | protected void handleLine(String line) {
log("<<<" + line);
// Check for server pings.
if (line.startsWith("PING ")) {
// Respond to the ping and return immediately.
getListenerManager().dispatchEvent(new ServerPingEvent(this, line.substring(5)));
return;
}
String sourceNick = "";
String sourceL... |
diff --git a/src/java/org/apache/nutch/mapred/TaskRunner.java b/src/java/org/apache/nutch/mapred/TaskRunner.java
index fd95bef7..a4acd17a 100644
--- a/src/java/org/apache/nutch/mapred/TaskRunner.java
+++ b/src/java/org/apache/nutch/mapred/TaskRunner.java
@@ -1,180 +1,182 @@
/**
* Copyright 2005 The Apache Software F... | true | true | public final void run() {
try {
prepare();
String sep = System.getProperty("path.separator");
File workDir = new File(new File(t.getJobFile()).getParent(), "work");
workDir.mkdirs();
StringBuffer classPath = new StringBuffer();
// start with same classpath as ... | public final void run() {
try {
prepare();
String sep = System.getProperty("path.separator");
File workDir = new File(new File(t.getJobFile()).getParent(), "work");
workDir.mkdirs();
StringBuffer classPath = new StringBuffer();
// start with same classpath as ... |
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/util/ComponentResolver.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/util/ComponentResolver.java
index 4a1ebee2..422b6d64 100644
--- a/plugi... | true | true | public String resolve(IFile file, String baseLocation, String publicId, String systemId) {
if (_DEBUG) {
System.out.print(getClass().getName() + ": resolve \"" + systemId + "\" from \"" + baseLocation + "\"");
}
if (baseLocation == null || systemId == null || file == null) {
if (_DEBUG) {
System.out.pr... | public String resolve(IFile file, String baseLocation, String publicId, String systemId) {
if (_DEBUG) {
System.out.print(getClass().getName() + ": resolve \"" + systemId + "\" from \"" + baseLocation + "\"");
}
if (baseLocation == null || systemId == null || file == null) {
if (_DEBUG) {
System.out.pr... |
diff --git a/upt/webapp/src/gov/nih/nci/security/upt/actions/CommonDBAction.java b/upt/webapp/src/gov/nih/nci/security/upt/actions/CommonDBAction.java
index 609260e6..72c2c698 100755
--- a/upt/webapp/src/gov/nih/nci/security/upt/actions/CommonDBAction.java
+++ b/upt/webapp/src/gov/nih/nci/security/upt/actions/CommonDBA... | true | true | public ActionForward search(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
{
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
HttpSession session = request.getSession();
BaseDBForm baseDBForm = (Bas... | public ActionForward search(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
{
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
HttpSession session = request.getSession();
BaseDBForm baseDBForm = (Bas... |
diff --git a/sventon/src/main/java/org/sventon/web/ctrl/template/GetLatestRevisionsController.java b/sventon/src/main/java/org/sventon/web/ctrl/template/GetLatestRevisionsController.java
index 60b78f69..b91af539 100644
--- a/sventon/src/main/java/org/sventon/web/ctrl/template/GetLatestRevisionsController.java
+++ b/sve... | true | true | protected ModelAndView svnHandle(final SVNRepository repository, final BaseCommand command,
final long headRevision, final UserRepositoryContext userRepositoryContext,
final HttpServletRequest request, final HttpServletResponse response,
... | protected ModelAndView svnHandle(final SVNRepository repository, final BaseCommand command,
final long headRevision, final UserRepositoryContext userRepositoryContext,
final HttpServletRequest request, final HttpServletResponse response,
... |
diff --git a/project/datamart/src/test/java/com/kesho/datamart/repository/StudentsDAOTest.java b/project/datamart/src/test/java/com/kesho/datamart/repository/StudentsDAOTest.java
index 144de33..09e09d2 100644
--- a/project/datamart/src/test/java/com/kesho/datamart/repository/StudentsDAOTest.java
+++ b/project/datamart/... | false | true | public void shouldSaveStudent() throws DataSetException, SQLException {
LocalDate startDate = LocalDate.now();
Student student = new Student();
student.setFirstName("s1");
Family f = new Family();
f.setId(1L);
f.setName("name");
student.setFamily(f);
stud... | public void shouldSaveStudent() throws DataSetException, SQLException {
LocalDate startDate = LocalDate.now();
Student student = new Student();
student.setFirstName("s1");
Family f = new Family();
f.setId(1L);
student.setFamily(f);
student.setActive(true);
... |
diff --git a/datastore/src/test/java/org/jboss/test/capedwarf/datastore/test/AllocateIdsTestCase.java b/datastore/src/test/java/org/jboss/test/capedwarf/datastore/test/AllocateIdsTestCase.java
index ff07bbd1..8ad98ad4 100644
--- a/datastore/src/test/java/org/jboss/test/capedwarf/datastore/test/AllocateIdsTestCase.java
... | true | true | public void testCheckKeyRange() throws Exception {
long initialValue = getInitialValue("OtherKind");
KeyRange kr1 = new KeyRange(null, "OtherKind", 1 + initialValue, 5 + initialValue);
DatastoreService.KeyRangeState state1 = service.allocateIdRange(kr1);
Assert.assertNotNull(state1)... | public void testCheckKeyRange() throws Exception {
long initialValue = getInitialValue("OtherKind");
KeyRange kr1 = new KeyRange(null, "OtherKind", 1 + initialValue, 5 + initialValue);
DatastoreService.KeyRangeState state1 = service.allocateIdRange(kr1);
Assert.assertNotNull(state1)... |
diff --git a/WEB-INF/src/org/cdlib/xtf/util/DiskHashReader.java b/WEB-INF/src/org/cdlib/xtf/util/DiskHashReader.java
index 55d21c87..76603b09 100644
--- a/WEB-INF/src/org/cdlib/xtf/util/DiskHashReader.java
+++ b/WEB-INF/src/org/cdlib/xtf/util/DiskHashReader.java
@@ -1,142 +1,142 @@
package org.cdlib.xtf.util;
/**
... | true | true | public PackedByteBuf find( String key )
throws IOException
{
// Don't allow empty string as a key, since it's used to mark
// the end of a slot.
//
if( key.length() == 0 )
key = " ";
// Find the location of the slot data. If zero, we can fail... | public PackedByteBuf find( String key )
throws IOException
{
// Don't allow empty string as a key, since it's used to mark
// the end of a slot.
//
if( key.length() == 0 )
key = " ";
// Find the location of the slot data. If zero, we can fail... |
diff --git a/Stimpack/Stimpack-war/src/java/beans/UserManager.java b/Stimpack/Stimpack-war/src/java/beans/UserManager.java
index faca410..80c3e59 100644
--- a/Stimpack/Stimpack-war/src/java/beans/UserManager.java
+++ b/Stimpack/Stimpack-war/src/java/beans/UserManager.java
@@ -1,86 +1,86 @@
/*
* To change this templa... | true | true | public String getUsername() {
if (isStudent())
return getClass().getUsername();
else if (isTeacher())
return teacher.getUsername();
return null;
}
| public String getUsername() {
if (isStudent())
return student.getUsername();
else if (isTeacher())
return teacher.getUsername();
return null;
}
|
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/RequestScope.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/RequestScope.java
index a67cd96e6..20fe89636 100644
--- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/data/RequestScope.java
+++ b/org.ecl... | true | true | public static AbstractHelpScope[] getActiveScopes(HttpServletRequest req,
HttpServletResponse resp, boolean isSearchFilter) {
AbstractHelpScope[] scopeArray;
String scopeString;
List scopes = new ArrayList();
if (!HelpSystem.isShared()) {
scopes.add(new FilterScope()); // Workbench is always filtered
}... | public static AbstractHelpScope[] getActiveScopes(HttpServletRequest req,
HttpServletResponse resp, boolean isSearchFilter) {
AbstractHelpScope[] scopeArray;
String scopeString;
List scopes = new ArrayList();
if (!HelpSystem.isShared()) {
scopes.add(new FilterScope()); // Workbench is always filtered
}... |
diff --git a/src/java/org/infoglue/deliver/applications/actions/ViewPageAction.java b/src/java/org/infoglue/deliver/applications/actions/ViewPageAction.java
index c695b93a5..2844884f8 100755
--- a/src/java/org/infoglue/deliver/applications/actions/ViewPageAction.java
+++ b/src/java/org/infoglue/deliver/applications/act... | false | true | public String doExecute() throws Exception
{
//CacheController.evictWaitingCache();
long start = new Date().getTime();
long elapsedTime = 0;
CmsLogger.logInfo("************************************************");
CmsLogger.logInfo("* ViewPageAction was called.... ... | public String doExecute() throws Exception
{
//CacheController.evictWaitingCache();
long start = new Date().getTime();
long elapsedTime = 0;
CmsLogger.logInfo("************************************************");
CmsLogger.logInfo("* ViewPageAction was called.... ... |
diff --git a/AMBroSIA/src/game/timeToLive.java b/AMBroSIA/src/game/timeToLive.java
index 8e830f2..aeb1886 100644
--- a/AMBroSIA/src/game/timeToLive.java
+++ b/AMBroSIA/src/game/timeToLive.java
@@ -1,69 +1,69 @@
package game;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import jav... | true | true | private void TTLLogic(List<? extends MapObjectTTL> objectList) {
if (!objectList.isEmpty()) {
log.debug("Starting TTL Check");
ArrayList<Object> toRemove = new ArrayList();
for (MapObjectTTL object : objectList) {
//TTL is in seconds : if it s... | private void TTLLogic(List<? extends MapObjectTTL> objectList) {
if (!objectList.isEmpty()) {
log.debug("Starting TTL Check");
ArrayList<Object> toRemove = new ArrayList<Object>();
for (MapObjectTTL object : objectList) {
//TTL is in seconds :... |
diff --git a/de.walware.statet.r.ui/src/de/walware/statet/r/internal/ui/preferences/REditorPreferencePage.java b/de.walware.statet.r.ui/src/de/walware/statet/r/internal/ui/preferences/REditorPreferencePage.java
index c06f2aaa..d020a224 100644
--- a/de.walware.statet.r.ui/src/de/walware/statet/r/internal/ui/preferences/... | false | true | protected void createBlockArea(final Composite pageComposite) {
// Preferences
final Map<Preference, String> prefs = new HashMap<Preference, String>();
prefs.put(REditorOptions.PREF_SMARTINSERT_BYDEFAULT_ENABLED, REditorOptions.GROUP_ID);
prefs.put(REditorOptions.PREF_SMARTINSERT_ONPASTE_ENABLED, REditorOption... | protected void createBlockArea(final Composite pageComposite) {
// Preferences
final Map<Preference, String> prefs = new HashMap<Preference, String>();
prefs.put(REditorOptions.PREF_SMARTINSERT_BYDEFAULT_ENABLED, REditorOptions.GROUP_ID);
prefs.put(REditorOptions.PREF_SMARTINSERT_ONPASTE_ENABLED, REditorOption... |
diff --git a/detlef/src/net/x4a42/volksempfaenger/feedparser/FeedParser.java b/detlef/src/net/x4a42/volksempfaenger/feedparser/FeedParser.java
index 521209d..efc9530 100644
--- a/detlef/src/net/x4a42/volksempfaenger/feedparser/FeedParser.java
+++ b/detlef/src/net/x4a42/volksempfaenger/feedparser/FeedParser.java
@@ -1,6... | true | true | private void onStartTagAtom(Tag tag, Attributes atts) {
switch (tag) {
case ATOM_ENTRY:
feedItem = new FeedItem();
feedItem.feed = feed;
currentItemHasITunesSummaryAlternative = false;
currentAtomItemHasPublished = false;
break;
case ATOM_CONTENT:
if (atts.getValue(ATOM_ATTR_TYPE).equ... | private void onStartTagAtom(Tag tag, Attributes atts) {
switch (tag) {
case ATOM_ENTRY:
feedItem = new FeedItem();
feedItem.feed = feed;
currentItemHasITunesSummaryAlternative = false;
currentAtomItemHasPublished = false;
break;
case ATOM_CONTENT:
if (atts.getValue(ATOM_ATTR_TYPE).equ... |
diff --git a/src/gui/MakeOfferListener.java b/src/gui/MakeOfferListener.java
index f6bbc61..cf92356 100644
--- a/src/gui/MakeOfferListener.java
+++ b/src/gui/MakeOfferListener.java
@@ -1,49 +1,52 @@
package gui;
import java.awt.Container;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
im... | true | true | public void mousePressed(MouseEvent e) {
String price = JOptionPane.showInputDialog(parent,"Enter the price:", -1);
if (price == null)
return;
if (!price.equals("")) {
try {
int offerredPrice = Integer.parseInt(price);
comm.execute(row, offerredPrice, index);
} catch(java.lang.NumberFormatExcept... | public void mousePressed(MouseEvent e) {
String price = JOptionPane.showInputDialog(parent,"Enter the price:", -1);
if (price == null)
return;
if (!price.equals("")) {
try {
int offerredPrice = Integer.parseInt(price);
if (offerredPrice < 0)
errorDialog();
else
comm.execute(row, offer... |
diff --git a/sample/hello/flash/src/playn/sample/hello/flash/HelloGameFlash.java b/sample/hello/flash/src/playn/sample/hello/flash/HelloGameFlash.java
index b3d5ee5d..682a5452 100644
--- a/sample/hello/flash/src/playn/sample/hello/flash/HelloGameFlash.java
+++ b/sample/hello/flash/src/playn/sample/hello/flash/HelloGame... | true | true | public void start() {
FlashAssetManager assets = FlashPlatform.register().assetManager();
assets.setPathPrefix("hellogame/");
PlayN.run(new HelloGame());
}
| public void start() {
FlashAssetManager assets = FlashPlatform.register().assetManager();
assets.setPathPrefix("hellogameflash/");
PlayN.run(new HelloGame());
}
|
diff --git a/wasync/src/main/java/org/atmosphere/wasync/impl/DefaultFuture.java b/wasync/src/main/java/org/atmosphere/wasync/impl/DefaultFuture.java
index e103fe3..28256fc 100644
--- a/wasync/src/main/java/org/atmosphere/wasync/impl/DefaultFuture.java
+++ b/wasync/src/main/java/org/atmosphere/wasync/impl/DefaultFuture.... | true | true | public Socket get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
time = timeout;
tu = unit;
if (!latch.await(timeout, unit) || te != null) {
throw te;
}
return socket;
}
| public Socket get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
time = timeout;
tu = unit;
if (!latch.await(timeout, unit) || te != null) {
throw te == null ? new TimeoutException() : te;
}
return socket;
}
|
diff --git a/sql12/app/src/net/sourceforge/squirrel_sql/client/plugin/PluginSummaryDialog.java b/sql12/app/src/net/sourceforge/squirrel_sql/client/plugin/PluginSummaryDialog.java
index 0dc86b94c..2e4370c7b 100755
--- a/sql12/app/src/net/sourceforge/squirrel_sql/client/plugin/PluginSummaryDialog.java
+++ b/sql12/app/src... | false | true | private void createGUI() throws DataSetException
{
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
// final SquirrelResources rsrc = _app.getResources();
// final ImageIcon icon = rsrc.getIcon(SquirrelResources.IImageNames.PLUGINS);
// if (icon != null)
// {
// setIconImage(icon.getImage());
// }
fina... | private void createGUI() throws DataSetException
{
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
// final SquirrelResources rsrc = _app.getResources();
// final ImageIcon icon = rsrc.getIcon(SquirrelResources.IImageNames.PLUGINS);
// if (icon != null)
// {
// setIconImage(icon.getImage());
// }
fina... |
diff --git a/core/test/src/com/google/zxing/common/reedsolomon/ReedSolomonEncoderQRCodeTestCase.java b/core/test/src/com/google/zxing/common/reedsolomon/ReedSolomonEncoderQRCodeTestCase.java
index 17f6d37a..2ed1856d 100644
--- a/core/test/src/com/google/zxing/common/reedsolomon/ReedSolomonEncoderQRCodeTestCase.java
+++... | false | true | public void testQRCodeVersusDecoder() throws Exception {
Random random = getRandom();
ReedSolomonEncoder encoder = new ReedSolomonEncoder(GenericGF.QR_CODE_FIELD_256);
ReedSolomonDecoder decoder = new ReedSolomonDecoder(GenericGF.QR_CODE_FIELD_256);
for (int i = 0; i < 100; i++) {
int size = 1 +... | public void testQRCodeVersusDecoder() throws Exception {
Random random = getRandom();
ReedSolomonEncoder encoder = new ReedSolomonEncoder(GenericGF.QR_CODE_FIELD_256);
ReedSolomonDecoder decoder = new ReedSolomonDecoder(GenericGF.QR_CODE_FIELD_256);
for (int i = 0; i < 100; i++) {
int size = 2 +... |
diff --git a/scheduler-component-shared/src/java/org/sakaiproject/component/app/scheduler/jobs/SakaiEventArchiveJob.java b/scheduler-component-shared/src/java/org/sakaiproject/component/app/scheduler/jobs/SakaiEventArchiveJob.java
index 4acca0a..ce8afc5 100644
--- a/scheduler-component-shared/src/java/org/sakaiproject/... | false | true | public void execute(JobExecutionContext arg0) throws JobExecutionException {
boolean archiveEnabled = ServerConfigurationService.getBoolean("scheduler.event.archive.enabled", ARCHIVE_ENABLED);
long archiveLength = Long.parseLong(
ServerConfigurationService.getString("scheduler.event.archive.length",... | public void execute(JobExecutionContext arg0) throws JobExecutionException {
boolean archiveEnabled = ServerConfigurationService.getBoolean("scheduler.event.archive.enabled", ARCHIVE_ENABLED);
long archiveLength = Long.parseLong(
ServerConfigurationService.getString("scheduler.event.archive.length",... |
diff --git a/src/me/shock/avatarpvp/EarthListener.java b/src/me/shock/avatarpvp/EarthListener.java
index 8b40427..b392eb7 100644
--- a/src/me/shock/avatarpvp/EarthListener.java
+++ b/src/me/shock/avatarpvp/EarthListener.java
@@ -1,330 +1,332 @@
package me.shock.avatarpvp;
import java.util.HashMap;
import java.util... | false | true | public void earthInteract(PlayerInteractEvent event)
{
/**
* Stuff we need for everything.
* Set up cooldowns in seconds.
*/
long golemcool = 60;
long fortifycool = 60;
Player player = event.getPlayer();
Action action = event.getAction();
if(action == Action.LEFT_CLICK_BLOCK)
{
ItemStack ... | public void earthInteract(PlayerInteractEvent event)
{
/**
* Stuff we need for everything.
* Set up cooldowns in seconds.
*/
long golemcool = 60;
long fortifycool = 60;
Player player = event.getPlayer();
Action action = event.getAction();
if(action == Action.LEFT_CLICK_BLOCK)
{
ItemStack ... |
diff --git a/examples/embedded/src/main/java/org/mortbay/jetty/example/LikeJettyXml.java b/examples/embedded/src/main/java/org/mortbay/jetty/example/LikeJettyXml.java
index ec5ec3801..992b57afa 100644
--- a/examples/embedded/src/main/java/org/mortbay/jetty/example/LikeJettyXml.java
+++ b/examples/embedded/src/main/java... | true | true | public static void main(String[] args)
throws Exception
{
String jetty_default=new java.io.File("./start.jar").exists()?".":"../..";;
String jetty_home = System.getProperty("jetty.home",jetty_default);
Server server = new Server();
QueuedThreadPool threa... | public static void main(String[] args)
throws Exception
{
String jetty_default=new java.io.File("./start.jar").exists()?".":"../..";;
String jetty_home = System.getProperty("jetty.home",jetty_default);
Server server = new Server();
QueuedThreadPool threa... |
diff --git a/src/edu/jas/application/PolyUtilAppTest.java b/src/edu/jas/application/PolyUtilAppTest.java
index 4f7427d4..5258fb2b 100644
--- a/src/edu/jas/application/PolyUtilAppTest.java
+++ b/src/edu/jas/application/PolyUtilAppTest.java
@@ -1,241 +1,241 @@
/*
* $Id$
*/
package edu.jas.application;
import j... | true | true | public void testProductConversionANCoeff() {
GenPolynomialRing<BigRational> ufac;
ufac = new GenPolynomialRing<BigRational>(new BigRational(1),1);
GenPolynomial<BigRational> m;
m = ufac.univariate(0,2);
m = m.subtract( ufac.univariate(0,1) );
//System.out.println("m = " + m);
Algeb... | public void testProductConversionANCoeff() {
GenPolynomialRing<BigRational> ufac;
ufac = new GenPolynomialRing<BigRational>(new BigRational(1),1);
GenPolynomial<BigRational> m;
m = ufac.univariate(0,2);
m = m.subtract( ufac.univariate(0,1) );
//System.out.println("m = " + m);
Algeb... |
diff --git a/src/minecraft/org/spoutcraft/client/gui/settings/DifficultyButton.java b/src/minecraft/org/spoutcraft/client/gui/settings/DifficultyButton.java
index 6af921e0..b91595c7 100644
--- a/src/minecraft/org/spoutcraft/client/gui/settings/DifficultyButton.java
+++ b/src/minecraft/org/spoutcraft/client/gui/settings... | true | true | public String getText() {
if (Minecraft.theMinecraft.theWorld != null && Minecraft.theMinecraft.theWorld.getWorldInfo().isHardcoreModeEnabled()) {
return "Difficulty: Hardcore";
}
String difficulty;
switch(Minecraft.theMinecraft.gameSettings.difficulty) {
case 0: difficulty = "Peaceful"; break;
case 1... | public String getText() {
if (Minecraft.theMinecraft.theWorld != null && Minecraft.theMinecraft.theWorld.getWorldInfo().isHardcoreModeEnabled()) {
return "Difficulty: Hardcore";
}
String difficulty;
switch(Minecraft.theMinecraft.gameSettings.difficulty) {
case 0: difficulty = "Peaceful"; break;
case 1... |
diff --git a/mpicbg/trakem2/align/ElasticMontage.java b/mpicbg/trakem2/align/ElasticMontage.java
index bc210090..be3c6fa3 100644
--- a/mpicbg/trakem2/align/ElasticMontage.java
+++ b/mpicbg/trakem2/align/ElasticMontage.java
@@ -1,613 +1,613 @@
/**
* License: GPL
*
* This program is free software; you can redistri... | true | true | final public void exec(
final Param p,
final List< Patch > patches,
final List< Patch > fixedPatches ) throws Exception
{
/* free memory */
patches.get( 0 ).getProject().getLoader().releaseAll();
/* create tiles and models for all patches */
final List< AbstractAffineTile2D< ? > > tiles = new Arra... | final public void exec(
final Param p,
final List< Patch > patches,
final List< Patch > fixedPatches ) throws Exception
{
/* free memory */
patches.get( 0 ).getProject().getLoader().releaseAll();
/* create tiles and models for all patches */
final List< AbstractAffineTile2D< ? > > tiles = new Arra... |
diff --git a/CheMet/Resource/src/main/java/uk/ac/ebi/resource/Preference.java b/CheMet/Resource/src/main/java/uk/ac/ebi/resource/Preference.java
index c1a0c2c2..aa4ab20c 100644
--- a/CheMet/Resource/src/main/java/uk/ac/ebi/resource/Preference.java
+++ b/CheMet/Resource/src/main/java/uk/ac/ebi/resource/Preference.java
@... | false | true | public void putList(List<String> values) {
StringBuilder sb = new StringBuilder(values.size() * 14);
for (String value : values) {
sb.append(value.replaceAll(LIST_SEPARATOR, LIST_SEPARATOR_ESCAPED));
if (value.equals(values.get(values.size() - 1))) {
sb.append... | public void putList(List<String> values) {
StringBuilder sb = new StringBuilder(values.size() * 14);
for (String value : values) {
sb.append(value.replaceAll(LIST_SEPARATOR, LIST_SEPARATOR_ESCAPED));
if (!value.equals(values.get(values.size() - 1))) {
sb.appen... |
diff --git a/eclihand/webapp/src/main/java/com/pedrero/eclihand/ui/panel/TeamsScreen.java b/eclihand/webapp/src/main/java/com/pedrero/eclihand/ui/panel/TeamsScreen.java
index f1fccab..62f2bd2 100644
--- a/eclihand/webapp/src/main/java/com/pedrero/eclihand/ui/panel/TeamsScreen.java
+++ b/eclihand/webapp/src/main/java/co... | true | true | protected void postConstruct() {
LOGGER.info("initializing TeamsPanel");
this.setCaption(messageResolver.getMessage("teams.panel.title"));
Layout layout = eclihandLayoutFactory.createCommonVerticalLayout();
this.setContent(layout);
this.createNewTeamButton = eclihandUiFactory.createButton();
this.createN... | protected void postConstruct() {
LOGGER.info("initializing TeamsPanel");
this.setCaption(messageResolver.getMessage("teams.panel.title"));
Layout layout = eclihandLayoutFactory.createCommonVerticalLayout();
this.setContent(layout);
this.createNewTeamButton = eclihandUiFactory.createButton();
this.createN... |
diff --git a/org.spoofax.jsglr/src/org/spoofax/jsglr/ParserHistory.java b/org.spoofax.jsglr/src/org/spoofax/jsglr/ParserHistory.java
index 51f6a057..b02343ed 100644
--- a/org.spoofax.jsglr/src/org/spoofax/jsglr/ParserHistory.java
+++ b/org.spoofax.jsglr/src/org/spoofax/jsglr/ParserHistory.java
@@ -1,247 +1,247 @@
pack... | true | true | public void readRecoverToken(SGLR myParser, boolean keepRecoveredLines) throws IOException{
if (hasFinishedRecoverTokens()) {
if(myParser.currentToken!=SGLR.EOF){
if(getIndexLastToken()>0 && recoverTokenStream[getIndexLastToken()]!=SGLR.EOF){
... | public void readRecoverToken(SGLR myParser, boolean keepRecoveredLines) throws IOException{
if (hasFinishedRecoverTokens()) {
if(myParser.currentToken!=SGLR.EOF){
if(getIndexLastToken()>=0 && recoverTokenStream[getIndexLastToken()]!=SGLR.EOF){
... |
diff --git a/src/com/example/hushcal/SyncCal.java b/src/com/example/hushcal/SyncCal.java
index bcae4ca..2d404e6 100644
--- a/src/com/example/hushcal/SyncCal.java
+++ b/src/com/example/hushcal/SyncCal.java
@@ -1,272 +1,272 @@
package com.example.hushcal;
import java.util.ArrayList;
import java.util.Calendar;
impor... | true | true | public void onItemSelected(AdapterView<?> parent, View view, int pos,
long id) {
List<Event> tmp_events_list = handler.getAllEvents(); //turn this into event_status_map
event_status_map = new HashMap<String, String>();
for (Event event : tmp_events_list) {
String title = event.getName();
Stri... | public void onItemSelected(AdapterView<?> parent, View view, int pos,
long id) {
List<Event> tmp_events_list = handler.getAllEvents(); //turn this into event_status_map
event_status_map = new HashMap<String, String>();
for (Event event : tmp_events_list) {
String title = event.getName();
Stri... |
diff --git a/bundleplugin/src/test/java/org/apache/felix/bundleplugin/BundleAllPluginTest.java b/bundleplugin/src/test/java/org/apache/felix/bundleplugin/BundleAllPluginTest.java
index bd76d247c..9eaeb63e7 100644
--- a/bundleplugin/src/test/java/org/apache/felix/bundleplugin/BundleAllPluginTest.java
+++ b/bundleplugin/... | true | true | public void testNoReBundling()
throws Exception
{
File testFile = getTestFile( "target/group.artifact_1.0.0.0.jar" );
if ( testFile.exists() )
{
testFile.delete();
}
ArtifactStub artifact = new ArtifactStub();
artifact.setGroupId( "group" );
... | public void testNoReBundling()
throws Exception
{
File testFile = getTestFile( "target/classes/org.apache.maven.maven-model_1.0.0.0.jar" );
if ( testFile.exists() )
{
testFile.delete();
}
ArtifactStub artifact = new ArtifactStub();
artifact.se... |
diff --git a/src/org/openstreetmap/josm/io/GpxImporter.java b/src/org/openstreetmap/josm/io/GpxImporter.java
index 50d2b18a..5fbe6e7b 100644
--- a/src/org/openstreetmap/josm/io/GpxImporter.java
+++ b/src/org/openstreetmap/josm/io/GpxImporter.java
@@ -1,77 +1,79 @@
// License: GPL. For details, see LICENSE file.
packa... | true | true | @Override public void importData(final File file) throws IOException {
final String fn = file.getName();
try {
InputStream is;
if (file.getName().endsWith(".gpx.gz")) {
is = new GZIPInputStream(new FileInputStream(file));
} else {
... | @Override public void importData(final File file) throws IOException {
final String fn = file.getName();
try {
InputStream is;
if (file.getName().endsWith(".gpx.gz")) {
is = new GZIPInputStream(new FileInputStream(file));
} else {
... |
diff --git a/src/se/slide/sgu/PlayerFragment.java b/src/se/slide/sgu/PlayerFragment.java
index ec35e08..8741b8a 100644
--- a/src/se/slide/sgu/PlayerFragment.java
+++ b/src/se/slide/sgu/PlayerFragment.java
@@ -1,59 +1,59 @@
package se.slide.sgu;
import android.app.Fragment;
import android.graphics.Color;
import an... | false | true | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_player, null);
final LinearLayout playerLinearLayout = (LinearLayout) view.findViewById(R.id.player_linearlayout);
playerLinear... | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_player, null);
final LinearLayout playerLinearLayout = (LinearLayout) view.findViewById(R.id.player_linearlayout);
//playerLine... |
Subsets and Splits
Megadiff Train Samples Analysis
Counts the number of changed lines in a patch file, distinguishing additions and deletions but ignoring those marked with more than two '+' or '-', providing insights into significant modifications in patches.