diff stringlengths 262 553k | is_single_chunk bool 2
classes | is_single_function bool 1
class | buggy_function stringlengths 20 391k | fixed_function stringlengths 0 392k |
|---|---|---|---|---|
diff --git a/src/org/apache/fop/fo/flow/BasicLink.java b/src/org/apache/fop/fo/flow/BasicLink.java
index 2a2b5e346..8ada63de8 100644
--- a/src/org/apache/fop/fo/flow/BasicLink.java
+++ b/src/org/apache/fop/fo/flow/BasicLink.java
@@ -1,150 +1,150 @@
/*
=================================================================... | true | true | public Status layout(Area area) throws FOPException {
String destination;
int linkType;
if ( !(destination = this.properties.get("internal-destination").getString()).equals(""))
{
linkType=LinkSet.INTERNAL;
}
else if ( !(destination = this.properties.get(... | public Status layout(Area area) throws FOPException {
String destination;
int linkType;
if ( !(destination = this.properties.get("internal-destination").getString()).equals(""))
{
linkType=LinkSet.INTERNAL;
}
else if ( !(destination = this.properties.get(... |
diff --git a/src/share/classes/sun/text/resources/FormatData_hu_HU.java b/src/share/classes/sun/text/resources/FormatData_hu_HU.java
index d0e5a1827..1d205068d 100644
--- a/src/share/classes/sun/text/resources/FormatData_hu_HU.java
+++ b/src/share/classes/sun/text/resources/FormatData_hu_HU.java
@@ -1,60 +1,60 @@
/*
... | true | true | protected final Object[][] getContents() {
return new Object[][] {
{ "NumberPatterns",
new String[] {
"#,##0.###;-#,##0.###", // decimal pattern
"\u00A4#,##0.##;-\u00A4#,##0.##", // currency pattern
"#,##0%" // percent p... | protected final Object[][] getContents() {
return new Object[][] {
{ "NumberPatterns",
new String[] {
"#,##0.###;-#,##0.###", // decimal pattern
"#,##0.## \u00A4;-#,##0.## \u00A4", // currency pattern
"#,##0%" // percent... |
diff --git a/src/org/jruby/util/TypeConverter.java b/src/org/jruby/util/TypeConverter.java
index f4e02bb49..c981b8c5a 100644
--- a/src/org/jruby/util/TypeConverter.java
+++ b/src/org/jruby/util/TypeConverter.java
@@ -1,90 +1,90 @@
/*
***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The c... | false | true | public static final IRubyObject convertToType(IRubyObject obj, RubyClass target, int convertMethodIndex, String convertMethod, boolean raise) {
if (!obj.respondsTo(convertMethod)) {
if (raise) {
String type;
if (obj.isNil()) {
type = "nil";
... | public static final IRubyObject convertToType(IRubyObject obj, RubyClass target, int convertMethodIndex, String convertMethod, boolean raise) {
if (!obj.respondsTo(convertMethod)) {
if (raise) {
String type;
if (obj.isNil()) {
type = "nil";
... |
diff --git a/src/test/java/de/akquinet/commons/image/io/test/ExtendedMetadataTest.java b/src/test/java/de/akquinet/commons/image/io/test/ExtendedMetadataTest.java
index cf050dc..c0535e7 100644
--- a/src/test/java/de/akquinet/commons/image/io/test/ExtendedMetadataTest.java
+++ b/src/test/java/de/akquinet/commons/image/i... | false | true | public void testExtendedMetadataOnJPEG() throws IOException {
File file = new File("src/test/resources/jpg/IMG_0467.jpg");
Image image = new Image(file);
// Check extended metadata
assertEquals("Clement Escoffier", image.getMetadata().getExtendedMetadata().getAuthor());
... | public void testExtendedMetadataOnJPEG() throws IOException {
File file = new File("src/test/resources/jpg/IMG_0467.jpg");
Image image = new Image(file);
// Check extended metadata
assertEquals("Clement Escoffier", image.getMetadata().getExtendedMetadata().getAuthor());
... |
diff --git a/src/com/lostaris/bukkit/ItemRepair/AutoRepairSupport.java b/src/com/lostaris/bukkit/ItemRepair/AutoRepairSupport.java
index a1b871e..02e24ee 100644
--- a/src/com/lostaris/bukkit/ItemRepair/AutoRepairSupport.java
+++ b/src/com/lostaris/bukkit/ItemRepair/AutoRepairSupport.java
@@ -1,446 +1,455 @@
package co... | false | true | public void repairWarn(ItemStack tool, int slot) {
// if the player has permission to do this command
if (!AutoRepairPlugin.isAllowed(player, "warn")) {
return;
}
HashMap<String, ArrayList<ItemStack>> repairRecipies;
// if they haven't already been warned
if (!warning) {
warning = true;
t... | public void repairWarn(ItemStack tool, int slot) {
// if the player has permission to do this command
if (!AutoRepairPlugin.isAllowed(player, "warn")) {
return;
}
HashMap<String, ArrayList<ItemStack>> repairRecipies;
// if they haven't already been warned
if (!warning) {
warning = true;
t... |
diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java b/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.java
index e969333be..b82e1295c 100755
--- a/activemq-core/src/main/java/org/apache/activemq/transport/failover/FailoverTransport.... | true | true | final boolean doReconnect() {
Exception failure = null;
synchronized (reconnectMutex) {
if (disposed || connectionFailure != null) {
reconnectMutex.notifyAll();
}
if (connectedTransport.get() != null || disposed || connectionFailure != null) {
... | final boolean doReconnect() {
Exception failure = null;
synchronized (reconnectMutex) {
if (disposed || connectionFailure != null) {
reconnectMutex.notifyAll();
}
if (connectedTransport.get() != null || disposed || connectionFailure != null) {
... |
diff --git a/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/BeansXMLDefinition.java b/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/BeansXMLDefinition.java
index c97d6c9fd..4a332971f 100644
--- a/cdi/plugins/org.jboss.tools.cdi.cor... | true | true | public void setBeansXML(XModelObject beansXML) {
if(beansXML.getModelEntity().getName().startsWith("FileCDIBeans")) {
if(beansXML instanceof FileAnyImpl) {
FileAnyImpl f = (FileAnyImpl)beansXML;
if(f.getParent() instanceof FolderImpl) {
long b = ((FolderImpl)f.getParent()).waitForUpdate();
if(b ... | public void setBeansXML(XModelObject beansXML) {
if(beansXML.getModelEntity().getName().startsWith("FileCDIBeans")) {
if(beansXML instanceof FileAnyImpl) {
FileAnyImpl f = (FileAnyImpl)beansXML;
if(f.getParent() instanceof FolderImpl) {
((FolderImpl)f.getParent()).waitForUpdate(); // I am not sure th... |
diff --git a/bundles/plugins/org.bonitasoft.studio.expression.editor/src/org/bonitasoft/studio/expression/editor/provider/ExpressionComparator.java b/bundles/plugins/org.bonitasoft.studio.expression.editor/src/org/bonitasoft/studio/expression/editor/provider/ExpressionComparator.java
index 37907fc086..3c47d3cfea 100644... | true | true | public int compare(Expression exp0, Expression exp1) {
if(exp0.getType().equals(exp1.getType())){
return exp0.getName().compareTo(exp1.getName()) ;
}
return exp0.getType().compareTo(exp1.getType());
}
| public int compare(Expression exp0, Expression exp1) {
if(exp0.getType().equals(exp1.getType()) && exp0.getName() != null){
return exp0.getName().compareTo(exp1.getName()) ;
}
return exp0.getType().compareTo(exp1.getType());
}
|
diff --git a/wicket-elements-components/src/main/java/com/googlecode/wicketelements/components/menu/BreadcrumbPanel.java b/wicket-elements-components/src/main/java/com/googlecode/wicketelements/components/menu/BreadcrumbPanel.java
index d25b4c2..36b9272 100644
--- a/wicket-elements-components/src/main/java/com/googleco... | false | true | protected void onBeforeRender() {
super.onBeforeRender();
if (lv == null) {
lv = new ListView<Class<? extends Page>>("breadcrumbs",
buildBreadcrumbPageList()) {
private static final long serialVersionUID = 1L;
@Override
... | protected void onBeforeRender() {
super.onBeforeRender();
if (lv == null) {
lv = new ListView<Class<? extends Page>>("breadcrumbs",
buildBreadcrumbPageList()) {
private static final long serialVersionUID = 1L;
@Override
... |
diff --git a/abduction/src/main/java/uk/co/mtford/jalp/abduction/rules/visitor/RuleNodeVisitor.java b/abduction/src/main/java/uk/co/mtford/jalp/abduction/rules/visitor/RuleNodeVisitor.java
index 7422e9c..568d871 100644
--- a/abduction/src/main/java/uk/co/mtford/jalp/abduction/rules/visitor/RuleNodeVisitor.java
+++ b/ab... | false | true | public void visit(E2RuleNode ruleNode) throws Exception {
EqualityInstance currentGoal = (EqualityInstance) ruleNode.getCurrentGoal();
List<IInferableInstance> newRestOfGoals = new LinkedList<IInferableInstance>(ruleNode.getNextGoals());
List<DenialInstance> newNestedDenials = new LinkedLis... | public void visit(E2RuleNode ruleNode) throws Exception {
EqualityInstance currentGoal = (EqualityInstance) ruleNode.getCurrentGoal();
List<IInferableInstance> newRestOfGoals = new LinkedList<IInferableInstance>(ruleNode.getNextGoals());
List<DenialInstance> newNestedDenials = new LinkedLis... |
diff --git a/src/com/era7/bioinfo/annotation/GenerateCSVFile.java b/src/com/era7/bioinfo/annotation/GenerateCSVFile.java
index b388f68..dca78fc 100644
--- a/src/com/era7/bioinfo/annotation/GenerateCSVFile.java
+++ b/src/com/era7/bioinfo/annotation/GenerateCSVFile.java
@@ -1,190 +1,190 @@
/*
* Copyright (C) 2010-2011... | true | true | public static void main(String[] args) {
if (args.length != 2) {
System.out.println("This program expects two parameters: \n"
+ "1. Input predicted genes XML file \n"
+ "2. Output TXT file with the potatized results\n");
} else {
Stri... | public static void main(String[] args) {
if (args.length != 2) {
System.out.println("This program expects two parameters: \n"
+ "1. Input predicted genes XML file \n"
+ "2. Output TXT file with the potatized results\n");
} else {
Stri... |
diff --git a/de.hswt.hrm.misc.ui/src/de/hswt/hrm/misc/ui/part/ReportPreferencesComposite.java b/de.hswt.hrm.misc.ui/src/de/hswt/hrm/misc/ui/part/ReportPreferencesComposite.java
index 80b6824c..53b45554 100644
--- a/de.hswt.hrm.misc.ui/src/de/hswt/hrm/misc/ui/part/ReportPreferencesComposite.java
+++ b/de.hswt.hrm.misc.u... | true | true | public void createControls() {
this.setLayout(new FillLayout());
this.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
composite = new Composite(this, SWT.NONE);
composite.setLayout(new GridLayout(3, false));
lblNewLabel = new Label(composite, SWT.NONE);... | public void createControls() {
this.setLayout(new FillLayout());
this.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
composite = new Composite(this, SWT.NONE);
composite.setLayout(new GridLayout(3, false));
lblNewLabel = new Label(composite, SWT.NONE);... |
diff --git a/src/test/java/com/advancedpwr/record/methods/CustomFactoryTest.java b/src/test/java/com/advancedpwr/record/methods/CustomFactoryTest.java
index 3377ebc..459a4f9 100644
--- a/src/test/java/com/advancedpwr/record/methods/CustomFactoryTest.java
+++ b/src/test/java/com/advancedpwr/record/methods/CustomFactoryT... | true | true | public void testUseCustomFactory()
{
recorder.addBuilderFactory(new MethodWriterFactory() {
public boolean accept(Class inClass) {
return inClass == CustomList.class;
}
public BuildMethodWriter createMethodBuilder(AccessPath inPath) {
return new CollectionBuilder() {
@... | public void testUseCustomFactory()
{
recorder.addBuilderFactory(new MethodWriterFactory() {
public boolean accept(Class inClass) {
return inClass == CustomList.class;
}
public BuildMethodWriter createMethodBuilder(AccessPath inPath) {
return new CollectionBuilder() {
@... |
diff --git a/org.eclipse.mylyn.git.core/src/org/eclipse/mylyn/internal/git/core/GitConnector.java b/org.eclipse.mylyn.git.core/src/org/eclipse/mylyn/internal/git/core/GitConnector.java
index c32ecff..1f0148c 100644
--- a/org.eclipse.mylyn.git.core/src/org/eclipse/mylyn/internal/git/core/GitConnector.java
+++ b/org.ecli... | true | true | public ChangeSet getChangeSet(ScmRepository repository, IFileRevision revision, IProgressMonitor monitor)
throws CoreException {
Repository repository2 = ((GitRepository) repository).getRepository();
RevWalk walk = new RevWalk(repository2);
try {
RevCommit commit;
commit = walk.parseCommit(ObjectId.from... | public ChangeSet getChangeSet(ScmRepository repository, IFileRevision revision, IProgressMonitor monitor)
throws CoreException {
Repository repository2 = ((GitRepository) repository).getRepository();
RevWalk walk = new RevWalk(repository2);
try {
RevCommit commit;
commit = walk.parseCommit(ObjectId.from... |
diff --git a/src/java/org/apache/jcs/utils/access/JCSWorker.java b/src/java/org/apache/jcs/utils/access/JCSWorker.java
index 98b01e82..e3d0807e 100644
--- a/src/java/org/apache/jcs/utils/access/JCSWorker.java
+++ b/src/java/org/apache/jcs/utils/access/JCSWorker.java
@@ -1,299 +1,299 @@
package org.apache.jcs.utils.acc... | false | true | private Object run( Serializable aKey, String aGroup, JCSWorkerHelper aHelper )
throws Exception
{
Object result = null;
// long start = 0;
// long dbTime = 0;
JCSWorkerHelper helper = null;
synchronized ( map )
{
// Check to see if we allread... | private Object run( Serializable aKey, String aGroup, JCSWorkerHelper aHelper )
throws Exception
{
Object result = null;
// long start = 0;
// long dbTime = 0;
JCSWorkerHelper helper = null;
synchronized ( map )
{
// Check to see if we allread... |
diff --git a/src/nu/staldal/lagoon/core/FileEntry.java b/src/nu/staldal/lagoon/core/FileEntry.java
index f99a5d6..b9ab68f 100644
--- a/src/nu/staldal/lagoon/core/FileEntry.java
+++ b/src/nu/staldal/lagoon/core/FileEntry.java
@@ -1,532 +1,538 @@
/*
* Copyright (c) 2001, Mikael St�ldal
* All rights reserved.
*
*... | true | true | private void buildAlways()
throws IOException
{
System.out.println("Building: " + currentTargetURL);
int slash = currentTargetURL.lastIndexOf('/');
String currentTargetDir = currentTargetURL.substring(0, slash+1);
String currentTargetName = currentTargetURL.substring(slash+1);
St... | private void buildAlways()
throws IOException
{
System.out.println("Building: " + currentTargetURL);
int slash = currentTargetURL.lastIndexOf('/');
String currentTargetDir = currentTargetURL.substring(0, slash+1);
String currentTargetName = currentTargetURL.substring(slash+1);
St... |
diff --git a/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTableCellRenderer.java b/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTableCellRenderer.java
index a97647a7c..d86f58249 100644
--- a/table-browser-impl/src/main/java/org/cytoscape/browser/internal/BrowserTableC... | true | true | public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected,
final boolean hasFocus, final int row, final int column) {
setHorizontalAlignment(JLabel.LEFT);
setBackground(table.getBackground());
final Validated... | public Component getTableCellRendererComponent(final JTable table, final Object value, final boolean isSelected,
final boolean hasFocus, final int row, final int column) {
setHorizontalAlignment(JLabel.LEFT);
setBackground(table.getBackground());
final Validated... |
diff --git a/src/main/java/org/apache/bcel/verifier/structurals/Pass3bVerifier.java b/src/main/java/org/apache/bcel/verifier/structurals/Pass3bVerifier.java
index 6f4f95eb..a8f7224f 100644
--- a/src/main/java/org/apache/bcel/verifier/structurals/Pass3bVerifier.java
+++ b/src/main/java/org/apache/bcel/verifier/structura... | false | true | private void circulationPump(MethodGen m,ControlFlowGraph cfg, InstructionContext start, Frame vanillaFrame, InstConstraintVisitor icv, ExecutionVisitor ev){
final Random random = new Random();
InstructionContextQueue icq = new InstructionContextQueue();
start.execute(vanillaFrame, new ArrayList<InstructionCo... | private void circulationPump(MethodGen m,ControlFlowGraph cfg, InstructionContext start, Frame vanillaFrame, InstConstraintVisitor icv, ExecutionVisitor ev){
final Random random = new Random();
InstructionContextQueue icq = new InstructionContextQueue();
start.execute(vanillaFrame, new ArrayList<InstructionCo... |
diff --git a/src/main/java/com/theminequest/MineQuest/Quest/Parser/RequirementHandler.java b/src/main/java/com/theminequest/MineQuest/Quest/Parser/RequirementHandler.java
index 5620b3e..01cf77e 100644
--- a/src/main/java/com/theminequest/MineQuest/Quest/Parser/RequirementHandler.java
+++ b/src/main/java/com/themineques... | true | true | public void parseDetails(QuestDetails q, List<String> line) {
int number = Integer.parseInt(line.remove(0));
String name = line.remove(1);
String details = "";
for (String s : line)
details+=s + ":";
if (details.length() != 0)
details = details.substring(0,details.length()-2);
Map<Integer,QuestRequir... | public void parseDetails(QuestDetails q, List<String> line) {
int number = Integer.parseInt(line.remove(0));
String name = line.remove(1);
String details = "";
for (String s : line)
details+=s + ":";
if (details.length() != 0)
details = details.substring(0,details.length()-1);
Map<Integer,QuestRequir... |
diff --git a/KrimBuyV2/src/de/bdh/kb2/BoardListener.java b/KrimBuyV2/src/de/bdh/kb2/BoardListener.java
index 4e38b24..e0f84d9 100644
--- a/KrimBuyV2/src/de/bdh/kb2/BoardListener.java
+++ b/KrimBuyV2/src/de/bdh/kb2/BoardListener.java
@@ -1,111 +1,113 @@
package de.bdh.kb2;
import org.bukkit.Bukkit;
import org.bukki... | false | true | public void onPlayerInteractEvent(PlayerInteractEvent event)
{
Block b = event.getClickedBlock();
if(b == null || !(event.getClickedBlock() instanceof Block) || !(event.getPlayer() instanceof Player))
return;
if(b.getTypeId() == configManager.interactBlock && !event.getPlayer().isSneaking())
{
int... | public void onPlayerInteractEvent(PlayerInteractEvent event)
{
Block b = event.getClickedBlock();
if(b == null || !(event.getClickedBlock() instanceof Block) || !(event.getPlayer() instanceof Player))
return;
if(b.getTypeId() == configManager.interactBlock && !event.getPlayer().isSneaking())
{
int... |
diff --git a/gitsesgo/src/br/go/gov/saude/teste/Teste.java b/gitsesgo/src/br/go/gov/saude/teste/Teste.java
index 67f8109..c2a082a 100644
--- a/gitsesgo/src/br/go/gov/saude/teste/Teste.java
+++ b/gitsesgo/src/br/go/gov/saude/teste/Teste.java
@@ -1,15 +1,16 @@
package br.go.gov.saude.teste;
/**
* Classe de teste.
... | true | true | public static void main(String[] args) {
//bug corrigido
System.out.println("hello world");
}
| public static void main(String[] args) {
//bug corrigido
//bug corrigido 3
System.out.println("hello world");
}
|
diff --git a/src/core/org/apache/hadoop/fs/Trash.java b/src/core/org/apache/hadoop/fs/Trash.java
index 641b51c2b..f4f93f8f7 100644
--- a/src/core/org/apache/hadoop/fs/Trash.java
+++ b/src/core/org/apache/hadoop/fs/Trash.java
@@ -1,287 +1,288 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or ... | true | true | public boolean moveToTrash(Path path) throws IOException {
if (interval == 0)
return false;
if (!path.isAbsolute()) // make path absolute
path = new Path(fs.getWorkingDirectory(), path);
if (!fs.exists(path)) // check that path exists
throw... | public boolean moveToTrash(Path path) throws IOException {
if (interval == 0)
return false;
if (!path.isAbsolute()) // make path absolute
path = new Path(fs.getWorkingDirectory(), path);
if (!fs.exists(path)) // check that path exists
throw... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/LaunchConfigurationITypeMoveParticipant.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/LaunchConfigurationITypeMoveParticipant.java
index b91d5c94e..f2f94a207 100644
--- a/org.eclipse.jdt.debug.u... | true | true | protected boolean initialize(Object element) {
fType= (IType)element;
try {
// check that the type is no a local, and is no declared in a local type
IType declaringType= fType;
while (declaringType != null) {
if (fType.isLocal()) {
return false;
}
declaringType= fType.getDeclaringType();
... | protected boolean initialize(Object element) {
fType= (IType)element;
try {
// check that the type is no a local, and is no declared in a local type
IType declaringType= fType;
while (declaringType != null) {
if (fType.isLocal()) {
return false;
}
declaringType= declaringType.getDeclaring... |
diff --git a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/selection/event/SelectionLayerStructuralChangeEventHandler.java b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/selection/event/SelectionLayerStructuralChangeEventHandler.java
index b7026410.... | false | true | public void handleLayerEvent(IStructuralChangeEvent event) {
if (event.isHorizontalStructureChanged()) {
// TODO handle column deletion
}
if (event.isVerticalStructureChanged()) {
Collection<Rectangle> rectangles = event.getChangedPositionRectangles();
for (Rectangle rectangle : rectangles) {
Ran... | public void handleLayerEvent(IStructuralChangeEvent event) {
if (event.isHorizontalStructureChanged()) {
// TODO handle column deletion
}
if (event.isVerticalStructureChanged()) {
Collection<Rectangle> rectangles = event.getChangedPositionRectangles();
for (Rectangle rectangle : rectangles) {
Ran... |
diff --git a/src/com/android/bluetooth/map/MapUtils/EmailUtils.java b/src/com/android/bluetooth/map/MapUtils/EmailUtils.java
index b1b302e..ac91027 100644
--- a/src/com/android/bluetooth/map/MapUtils/EmailUtils.java
+++ b/src/com/android/bluetooth/map/MapUtils/EmailUtils.java
@@ -1,1022 +1,1023 @@
/*
* Copyright (c)... | false | true | public static int getAttachmentSizeEmail(long messageId, Context context) {
if (V){
Log.v(TAG, ":: Message Id in getAttachmentSizeEmail ::"+ messageId);
}
int attchSize = 0;
Uri uri = Uri.parse("content://com.android.email.provider/attachment");
Cursor cr = conte... | public static int getAttachmentSizeEmail(long messageId, Context context) {
if (V){
Log.v(TAG, ":: Message Id in getAttachmentSizeEmail ::"+ messageId);
}
int attchSize = 0;
Uri uri = Uri.parse("content://com.android.email.provider/attachment");
Cursor cr = conte... |
diff --git a/src/mmb/foss/aueb/icong/DrawableAreaView.java b/src/mmb/foss/aueb/icong/DrawableAreaView.java
index 18326b0..4216cf9 100644
--- a/src/mmb/foss/aueb/icong/DrawableAreaView.java
+++ b/src/mmb/foss/aueb/icong/DrawableAreaView.java
@@ -1,234 +1,236 @@
package mmb.foss.aueb.icong;
import java.util.ArrayList... | true | true | public boolean onTouchEvent(MotionEvent event) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
box = getBoxTouched((int) event.getX(), (int) event.getY());
if (box != null) {
selectedBox = box;
buttonPressed = box.isButton((int) event.getX(),
(int) event.getY());
if (buttonPre... | public boolean onTouchEvent(MotionEvent event) {
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
box = getBoxTouched((int) event.getX(), (int) event.getY());
if (box != null) {
selectedBox = box;
buttonPressed = box.isButton((int) event.getX(),
(int) event.getY());
if (buttonPre... |
diff --git a/exchange2/src/com/android/exchange/EasSyncService.java b/exchange2/src/com/android/exchange/EasSyncService.java
index 657bc84d..d0360bc0 100644
--- a/exchange2/src/com/android/exchange/EasSyncService.java
+++ b/exchange2/src/com/android/exchange/EasSyncService.java
@@ -1,1968 +1,1970 @@
/*
* Copyright (... | true | true | public void sync(AbstractSyncAdapter target) throws IOException {
Mailbox mailbox = target.mMailbox;
boolean moreAvailable = true;
int loopingCount = 0;
while (!mStop && (moreAvailable || hasPendingRequests())) {
// If we have no connectivity, just exit cleanly. Exchange... | public void sync(AbstractSyncAdapter target) throws IOException {
Mailbox mailbox = target.mMailbox;
boolean moreAvailable = true;
int loopingCount = 0;
while (!mStop && (moreAvailable || hasPendingRequests())) {
// If we have no connectivity, just exit cleanly. Exchange... |
diff --git a/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java b/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java
index 60d26a83..26597275 100644
--- a/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java
+++ b/site-manage-tool/tool/src/java/org/saka... | true | true | private String buildContextForTemplate(int index, VelocityPortlet portlet,
Context context, RunData data, SessionState state) {
String realmId = "";
String site_type = "";
String sortedBy = "";
String sortedAsc = "";
ParameterParser params = data.getParameters();
context.put("tlang", rb);
context.put(... | private String buildContextForTemplate(int index, VelocityPortlet portlet,
Context context, RunData data, SessionState state) {
String realmId = "";
String site_type = "";
String sortedBy = "";
String sortedAsc = "";
ParameterParser params = data.getParameters();
context.put("tlang", rb);
context.put(... |
diff --git a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/InstanceVariableTests.java b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/InstanceVariableTests.java
index 1b2437755..7a8f17718 100644
--- a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/InstanceVa... | true | true | public void testValueHasChanged() throws Exception {
String typeName = "VariableChanges";
ILineBreakpoint bp = createLineBreakpoint(21, typeName);
IJavaThread thread= null;
try {
thread= launchToLineBreakpoint(typeName, bp);
IJavaStackFrame frame = (IJavaStackFrame)thread.getTopStackFrame();
... | public void testValueHasChanged() throws Exception {
String typeName = "VariableChanges";
ILineBreakpoint bp = createLineBreakpoint(21, typeName);
IJavaThread thread= null;
try {
thread= launchToLineBreakpoint(typeName, bp);
IJavaStackFrame frame = (IJavaStackFrame)thread.getTopStackFrame();
... |
diff --git a/src/java/net/sf/clirr/ant/AntTask.java b/src/java/net/sf/clirr/ant/AntTask.java
index 414dc6e..1adfdab 100644
--- a/src/java/net/sf/clirr/ant/AntTask.java
+++ b/src/java/net/sf/clirr/ant/AntTask.java
@@ -1,303 +1,303 @@
//////////////////////////////////////////////////////////////////////////////
// Cli... | true | true | public void execute()
{
log("Running Clirr, built from tag $Name$", Project.MSG_VERBOSE);
if (origFiles == null || newFiles == null)
{
throw new BuildException("Missing nested filesets origFiles and newFiles.", getLocation());
}
if (newClassPath == null)
... | public void execute()
{
log("Running Clirr, built from tag $Name$", Project.MSG_VERBOSE);
if (origFiles == null || newFiles == null)
{
throw new BuildException("Missing nested filesets origFiles and newFiles.", getLocation());
}
if (newClassPath == null)
... |
diff --git a/src/org/androidaalto/droidkino/xml/FinnikoSAXParser.java b/src/org/androidaalto/droidkino/xml/FinnikoSAXParser.java
index 56c11a4..9304b54 100644
--- a/src/org/androidaalto/droidkino/xml/FinnikoSAXParser.java
+++ b/src/org/androidaalto/droidkino/xml/FinnikoSAXParser.java
@@ -1,456 +1,456 @@
/*************... | true | true | public List<MovieInfo> parseMovies(String areaId) {
final MovieInfo movieInfo = new MovieInfo();
final MovieTrailer movieTrailer = new MovieTrailer();
final List<MovieInfo> movies = new ArrayList<MovieInfo>();
RootElement root = new RootElement(EVENTS);
Element event = root.... | public List<MovieInfo> parseMovies(String areaId) {
final MovieInfo movieInfo = new MovieInfo();
final MovieTrailer movieTrailer = new MovieTrailer();
final List<MovieInfo> movies = new ArrayList<MovieInfo>();
RootElement root = new RootElement(EVENTS);
Element event = root.... |
diff --git a/src/test/java/com/jayway/maven/plugins/android/AndroidSdkTest.java b/src/test/java/com/jayway/maven/plugins/android/AndroidSdkTest.java
index ae69a979..d868af85 100644
--- a/src/test/java/com/jayway/maven/plugins/android/AndroidSdkTest.java
+++ b/src/test/java/com/jayway/maven/plugins/android/AndroidSdkTes... | true | true | public void validPlatformsAndApiLevels() {
final AndroidSdk sdk3 = new AndroidSdk(new File(sdkTestSupport.getEnv_ANDROID_HOME()), "3");
final AndroidSdk sdk4 = new AndroidSdk(new File(sdkTestSupport.getEnv_ANDROID_HOME()), "4");
final AndroidSdk sdk7 = new AndroidSdk(new File(sdkTestSupport.... | public void validPlatformsAndApiLevels() {
final AndroidSdk sdk3 = new AndroidSdk(new File(sdkTestSupport.getEnv_ANDROID_HOME()), "3");
final AndroidSdk sdk4 = new AndroidSdk(new File(sdkTestSupport.getEnv_ANDROID_HOME()), "4");
final AndroidSdk sdk7 = new AndroidSdk(new File(sdkTestSupport.... |
diff --git a/demo/src/main/java/jaitools/demo/jiffle/InterpreterDemo.java b/demo/src/main/java/jaitools/demo/jiffle/InterpreterDemo.java
index b0f890ed..67f3215f 100644
--- a/demo/src/main/java/jaitools/demo/jiffle/InterpreterDemo.java
+++ b/demo/src/main/java/jaitools/demo/jiffle/InterpreterDemo.java
@@ -1,193 +1,193 ... | true | true | public static void main(String[] args) throws Exception {
InterpreterDemo demo = new InterpreterDemo();
URL url = demo.getClass().getResource("/scripts/ripples.jfl");
if (args.length == 1) {
String arg = args[0];
System.out.println(arg);
File file = new ... | public static void main(String[] args) throws Exception {
InterpreterDemo demo = new InterpreterDemo();
URL url = demo.getClass().getResource("/scripts/ripple.jfl");
if (args.length == 1) {
String arg = args[0];
System.out.println(arg);
File file = new F... |
diff --git a/src/main/java/de/prob/Shell.java b/src/main/java/de/prob/Shell.java
index 5274577..9e2d671 100644
--- a/src/main/java/de/prob/Shell.java
+++ b/src/main/java/de/prob/Shell.java
@@ -1,35 +1,35 @@
package de.prob;
import groovy.lang.Binding;
import org.codehaus.groovy.tools.shell.IO;
import org.codeha... | true | true | public void repl() {
logger.trace("Starting REPL");
IO io = new IO();
// io.setVerbosity(Verbosity.QUIET);
Binding binding = new Binding();
binding.setVariable("api", api);
PShell shell = new PShell(this.getClass().getClassLoader(), binding, io);
shell.run();
}
| public void repl() {
logger.trace("Starting REPL");
IO io = new IO();
// io.setVerbosity(Verbosity.QUIET);
Binding binding = new Binding();
binding.setVariable("api", api);
PShell shell = new PShell(this.getClass().getClassLoader(), binding, io);
shell.run("");
}
|
diff --git a/demo/dynany/Client.java b/demo/dynany/Client.java
index 1a677760..e770a2c0 100644
--- a/demo/dynany/Client.java
+++ b/demo/dynany/Client.java
@@ -1,258 +1,257 @@
package demo.dynany;
import java.io.*;
import org.omg.CORBA.Any;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.TCKind;
import org.o... | true | true | public static void main( String[] args )
{
try
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null);
DynAnyFactory dynFactory =
DynAnyFactoryHelper.narrow(
orb.resolve_initial_references("DynAnyFactory"));
NamingContextExt nc =
NamingContextExtH... | public static void main( String[] args )
{
try
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null);
DynAnyFactory dynFactory =
DynAnyFactoryHelper.narrow(
orb.resolve_initial_references("DynAnyFactory"));
NamingContextExt nc =
NamingContextExtH... |
diff --git a/ui-fw/src/main/java/org/intalio/tempo/uiframework/actions/TasksAction.java b/ui-fw/src/main/java/org/intalio/tempo/uiframework/actions/TasksAction.java
index 3fa53c63..7cc6d376 100644
--- a/ui-fw/src/main/java/org/intalio/tempo/uiframework/actions/TasksAction.java
+++ b/ui-fw/src/main/java/org/intalio/temp... | false | true | private void retrieveTasks() {
try {
final UIFWApplicationState state = ApplicationState.getCurrentInstance(_request);
final String token = state.getCurrentUser().getToken();
final String user = state.getCurrentUser().getName();
final FormManager fmanager = Fo... | private void retrieveTasks() {
try {
final UIFWApplicationState state = ApplicationState.getCurrentInstance(_request);
final String token = state.getCurrentUser().getToken();
final String user = state.getCurrentUser().getName();
final FormManager fmanager = Fo... |
diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java
index 1a7ff5c3f..9fcebcb6e 100644
--- a/core/src/processing/core/PGraphics.java
+++ b/core/src/processing/core/PGraphics.java
@@ -1,6018 +1,6019 @@
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
... | false | true | public void text(char[] chars, int start, int stop, float x, float y) {
// If multiple lines, sum the height of the additional lines
float high = 0; //-textAscent();
for (int i = start; i < stop; i++) {
if (chars[i] == '\n') {
high += textLeading;
}
}
if (textAlignY == CENTER) ... | public void text(char[] chars, int start, int stop, float x, float y) {
// If multiple lines, sum the height of the additional lines
float high = 0; //-textAscent();
for (int i = start; i < stop; i++) {
if (chars[i] == '\n') {
high += textLeading;
}
}
if (textAlignY == CENTER) ... |
diff --git a/java/de/dfki/lt/mary/modules/Synthesis.java b/java/de/dfki/lt/mary/modules/Synthesis.java
index 47a1a9118..b7717ee0c 100755
--- a/java/de/dfki/lt/mary/modules/Synthesis.java
+++ b/java/de/dfki/lt/mary/modules/Synthesis.java
@@ -1,270 +1,285 @@
/**
* Copyright 2000-2006 DFKI GmbH.
* All Rights Reserved... | false | true | public MaryData process(MaryData d)
throws Exception
{
// We produce audio data, so we expect some helpers in our input:
assert d.getAudioFileFormat() != null : "Audio file format is not set!";
Document doc = d.getDocument();
// As the input may contain multipe voice sections... | public MaryData process(MaryData d)
throws Exception
{
// We produce audio data, so we expect some helpers in our input:
assert d.getAudioFileFormat() != null : "Audio file format is not set!";
Document doc = d.getDocument();
// As the input may contain multipe voice sections... |
diff --git a/plugins/org.eclipse.recommenders.models.rcp/src/org/eclipse/recommenders/internal/models/rcp/ModelCoordinatesView.java b/plugins/org.eclipse.recommenders.models.rcp/src/org/eclipse/recommenders/internal/models/rcp/ModelCoordinatesView.java
index 75a58b073..c1a76110c 100644
--- a/plugins/org.eclipse.recomme... | true | true | public void createPartControl(Composite parent) {
bus.register(this);
Composite container = new Composite(parent, SWT.NONE);
container.setLayout(new GridLayout());
txtSearch = new Text(container, SWT.BORDER | SWT.ICON_SEARCH | SWT.SEARCH | SWT.CANCEL);
txtSearch.setMessage("... | public void createPartControl(Composite parent) {
bus.register(this);
Composite container = new Composite(parent, SWT.NONE);
container.setLayout(new GridLayout());
txtSearch = new Text(container, SWT.BORDER | SWT.ICON_SEARCH | SWT.SEARCH | SWT.CANCEL);
txtSearch.setMessage("... |
diff --git a/src/main/java/water/parser/DParseTask.java b/src/main/java/water/parser/DParseTask.java
index 645d517dd..8f8196011 100644
--- a/src/main/java/water/parser/DParseTask.java
+++ b/src/main/java/water/parser/DParseTask.java
@@ -1,1104 +1,1104 @@
package water.parser;
import java.io.IOException;
import jav... | true | true | private void calculateColumnEncodings() {
assert (_bases != null);
assert _scale != null;
assert (_min != null);
assert _ncolumns == _colTypes.length:"ncols=" + _ncolumns + ", colTypes.length=" + _colTypes.length;
for(int i = 0; i < _ncolumns; ++i){
// Entirely toss out numeric columns which... | private void calculateColumnEncodings() {
assert (_bases != null);
assert _scale != null;
assert (_min != null);
assert _ncolumns == _colTypes.length:"ncols=" + _ncolumns + ", colTypes.length=" + _colTypes.length;
for(int i = 0; i < _ncolumns; ++i){
// Entirely toss out numeric columns which... |
diff --git a/src/com/android/contacts/CallDetailActivity.java b/src/com/android/contacts/CallDetailActivity.java
index 5a2e9ea65..a5ceafa88 100644
--- a/src/com/android/contacts/CallDetailActivity.java
+++ b/src/com/android/contacts/CallDetailActivity.java
@@ -1,761 +1,762 @@
/*
* Copyright (C) 2009 The Android Open... | true | true | private void updateData(final Uri... callUris) {
mBackgroundTaskService.submit(new BackgroundTask() {
private PhoneCallDetails[] details;
@Override
public void doInBackground() {
// TODO: All phone calls correspond to the same person, so we can make a sin... | private void updateData(final Uri... callUris) {
mBackgroundTaskService.submit(new BackgroundTask() {
private PhoneCallDetails[] details;
@Override
public void doInBackground() {
// TODO: All phone calls correspond to the same person, so we can make a sin... |
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr/JavaHotCodeReplaceManager.java
index d3f85ff09..f56a462fb 100644
--- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/hcr... | false | true | private void doHotCodeReplace(List targets, List resources, List qualifiedNames) {
MultiStatus ms= new MultiStatus(JDIDebugPlugin.getUniqueIdentifier(), DebugException.TARGET_REQUEST_FAILED, JDIDebugHCRMessages.getString("JavaHotCodeReplaceManager.drop_to_frame_failed"), null); //$NON-NLS-1$
Iterator iter= targets... | private void doHotCodeReplace(List targets, List resources, List qualifiedNames) {
MultiStatus ms= new MultiStatus(JDIDebugPlugin.getUniqueIdentifier(), DebugException.TARGET_REQUEST_FAILED, JDIDebugHCRMessages.getString("JavaHotCodeReplaceManager.drop_to_frame_failed"), null); //$NON-NLS-1$
Iterator iter= targets... |
diff --git a/uk.ac.diamond.scisoft.analysis.rcp/src/uk/ac/diamond/scisoft/analysis/rcp/util/JythonInterpreterUtils.java b/uk.ac.diamond.scisoft.analysis.rcp/src/uk/ac/diamond/scisoft/analysis/rcp/util/JythonInterpreterUtils.java
index 48edd21..00f5dbe 100644
--- a/uk.ac.diamond.scisoft.analysis.rcp/src/uk/ac/diamond/sc... | true | true | public static PythonInterpreter getInterpreter() throws Exception {
final long start = System.currentTimeMillis();
logger.debug("Starting new Jython Interpreter.");
PySystemState state = new PySystemState();
final ClassLoader classLoader = uk.ac.diamond.scisoft.analysis.PlotServer.class.getC... | public static PythonInterpreter getInterpreter() throws Exception {
final long start = System.currentTimeMillis();
logger.debug("Starting new Jython Interpreter.");
PySystemState state = new PySystemState();
final ClassLoader classLoader = uk.ac.diamond.scisoft.analysis.PlotServer.class.getC... |
diff --git a/app/src/com/halcyonwaves/apps/meinemediathek/threads/DownloadStreamThread.java b/app/src/com/halcyonwaves/apps/meinemediathek/threads/DownloadStreamThread.java
index f4fbf1f..aec6e45 100644
--- a/app/src/com/halcyonwaves/apps/meinemediathek/threads/DownloadStreamThread.java
+++ b/app/src/com/halcyonwaves/a... | false | true | public void run() {
//
Thread.currentThread().setName( String.format( "StreamDownloadTask(%s)", this.DOWNLOAD_NOTIFICATION_FILE_ID.toString() ) );
// since we currently don't know how big the file is, show a progress with an undefined state
this.notificationBuilder.setProgress( 100, 0, true );
this.notifica... | public void run() {
//
Thread.currentThread().setName( String.format( "StreamDownloadTask(%s)", this.DOWNLOAD_NOTIFICATION_FILE_ID.toString() ) );
// since we currently don't know how big the file is, show a progress with an undefined state
this.notificationBuilder.setProgress( 100, 0, true );
this.notifica... |
diff --git a/Server/src/au/edu/uts/eng/remotelabs/schedserver/server/ServerActivator.java b/Server/src/au/edu/uts/eng/remotelabs/schedserver/server/ServerActivator.java
index 07e05ccd..0d8a04c8 100644
--- a/Server/src/au/edu/uts/eng/remotelabs/schedserver/server/ServerActivator.java
+++ b/Server/src/au/edu/uts/eng/remo... | true | true | public void start(final BundleContext context) throws Exception
{
this.logger = LoggerActivator.getLogger();
ServerActivator.configTracker = new ServiceTracker<Config, Config>(context, Config.class, null);
ServerActivator.configTracker.open();
this.server = new ... | public void start(final BundleContext context) throws Exception
{
this.logger = LoggerActivator.getLogger();
ServerActivator.configTracker = new ServiceTracker<Config, Config>(context, Config.class, null);
ServerActivator.configTracker.open();
this.server = new ... |
diff --git a/src/org/apache/xalan/xsltc/compiler/GenerateIdCall.java b/src/org/apache/xalan/xsltc/compiler/GenerateIdCall.java
index 1583a3f2..8c67b8fc 100644
--- a/src/org/apache/xalan/xsltc/compiler/GenerateIdCall.java
+++ b/src/org/apache/xalan/xsltc/compiler/GenerateIdCall.java
@@ -1,94 +1,94 @@
/*
* @(#)$Id$
... | true | true | public void translate(ClassGenerator classGen, MethodGenerator methodGen) {
final InstructionList il = methodGen.getInstructionList();
if (argumentCount() == 0) {
il.append(new ILOAD(methodGen.getLocalIndex("current")));
}
else { // one argument
argument().translate(classGen, methodGen);
}
final C... | public void translate(ClassGenerator classGen, MethodGenerator methodGen) {
final InstructionList il = methodGen.getInstructionList();
if (argumentCount() == 0) {
il.append(methodGen.loadContextNode());
}
else { // one argument
argument().translate(classGen, methodGen);
}
final ConstantPoolGen cpg ... |
diff --git a/src/org/red5/server/net/rtmp/codec/RTMPProtocolEncoder.java b/src/org/red5/server/net/rtmp/codec/RTMPProtocolEncoder.java
index e602bb52..dbec3a98 100644
--- a/src/org/red5/server/net/rtmp/codec/RTMPProtocolEncoder.java
+++ b/src/org/red5/server/net/rtmp/codec/RTMPProtocolEncoder.java
@@ -1,398 +1,398 @@
... | false | true | public ByteBuffer encodeSharedObject(ISharedObjectMessage so) {
final ByteBuffer out = ByteBuffer.allocate(128);
out.setAutoExpand(true);
Output.putString(out, so.getName());
// SO version
out.putInt(so.getVersion());
// Encoding (this always seems to be 2 for persistent shared objects)
out.putInt(... | public ByteBuffer encodeSharedObject(ISharedObjectMessage so) {
final ByteBuffer out = ByteBuffer.allocate(128);
out.setAutoExpand(true);
Output.putString(out, so.getName());
// SO version
out.putInt(so.getVersion());
// Encoding (this always seems to be 2 for persistent shared objects)
out.putInt(... |
diff --git a/cotrix/cotrix-web/src/main/java/org/cotrix/web/client/AppControllerImpl.java b/cotrix/cotrix-web/src/main/java/org/cotrix/web/client/AppControllerImpl.java
index 767221b8..2a1317bb 100644
--- a/cotrix/cotrix-web/src/main/java/org/cotrix/web/client/AppControllerImpl.java
+++ b/cotrix/cotrix-web/src/main/jav... | true | true | public AppControllerImpl(@CotrixBus EventBus cotrixBus, CotrixWebPresenter cotrixWebPresenter) {
this.cotrixBus = cotrixBus;
this.cotrixWebPresenter = cotrixWebPresenter;
bind();
initMenu();
initUserBar();
Home home = new Home();
addModule(home);
CotrixImportAppGinInjector importInjector... | public AppControllerImpl(@CotrixBus EventBus cotrixBus, CotrixWebPresenter cotrixWebPresenter) {
this.cotrixBus = cotrixBus;
this.cotrixWebPresenter = cotrixWebPresenter;
bind();
initMenu();
initUserBar();
Home home = new Home();
addModule(home);
CotrixImportAppGinInjector importInjector... |
diff --git a/src/sac/discountstrategy/Receipt.java b/src/sac/discountstrategy/Receipt.java
index fb4c00b..0688256 100644
--- a/src/sac/discountstrategy/Receipt.java
+++ b/src/sac/discountstrategy/Receipt.java
@@ -1,39 +1,48 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the ed... | false | true | public void createReceipt(LineItem[] lineItems) {
System.out.println(RECEIPT_HEADING1);
DecimalFormat dollars = new DecimalFormat("#00.00");
for (int sub = 0; sub < lineItems.length; sub++ ) {
System.out.println(lineItems[sub].getItemId()
+ "\t" + lineItem... | public void createReceipt(LineItem[] lineItems) {
System.out.println(RECEIPT_HEADING1);
DecimalFormat dollars = new DecimalFormat("#00.00");
for (int sub = 0; sub < lineItems.length; sub++ ) {
// System.out.println(lineItems[sub].getItemId()
// + "\t" + line... |
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java
index 540d02b2..4ba2573e 100644
--- a/bundles/org.eclipse.e4.tools.emf.editor... | false | true | public void findContribution(final Filter filter, final ContributionResultHandler handler) {
// filter.project may be null in the live editor
IJavaSearchScope scope = filter.project != null ? PDEJavaHelper
.getSearchScope(filter.project) : SearchEngine
.createWorkspaceScope();
char[] packageName = nu... | public void findContribution(final Filter filter, final ContributionResultHandler handler) {
// filter.project may be null in the live editor
IJavaSearchScope scope = filter.project != null ? PDEJavaHelper
.getSearchScope(filter.project) : SearchEngine
.createWorkspaceScope();
char[] packageName = nu... |
diff --git a/src/main/java/com/dashlabs/sluice/Sluice.java b/src/main/java/com/dashlabs/sluice/Sluice.java
index 3c48793..3c64495 100644
--- a/src/main/java/com/dashlabs/sluice/Sluice.java
+++ b/src/main/java/com/dashlabs/sluice/Sluice.java
@@ -1,49 +1,49 @@
package com.dashlabs.sluice;
import org.eclipse.jetty.ser... | true | true | public static void main(String[] args) throws Exception {
if ((args == null) || (args.length < 1)) {
System.out.printf("^error^ sluice dir [port] [welcome files...]");
System.exit(1);
}
String baseDir = args[0];
int port = 8080;
if (args.length == 2) {... | public static void main(String[] args) throws Exception {
if ((args == null) || (args.length < 1)) {
System.out.printf("^error^ sluice dir [port] [welcome files...]");
System.exit(1);
}
String baseDir = args[0];
int port = 8080;
if (args.length > 1) {
... |
diff --git a/src/ca/cumulonimbus/pressurenetsdk/CbService.java b/src/ca/cumulonimbus/pressurenetsdk/CbService.java
index be83c81..486f628 100644
--- a/src/ca/cumulonimbus/pressurenetsdk/CbService.java
+++ b/src/ca/cumulonimbus/pressurenetsdk/CbService.java
@@ -1,866 +1,878 @@
package ca.cumulonimbus.pressurenetsdk;
... | true | true | public void handleMessage(Message msg) {
switch (msg.what) {
case MSG_STOP:
log("message. bound service says stop");
stopAutoSubmit();
break;
case MSG_GET_BEST_LOCATION:
log("message. bound service requesting location");
if (locationManager != null) {
Location best = locationManager.... | public void handleMessage(Message msg) {
switch (msg.what) {
case MSG_STOP:
log("message. bound service says stop");
stopAutoSubmit();
break;
case MSG_GET_BEST_LOCATION:
log("message. bound service requesting location");
if (locationManager != null) {
Location best = locationManager.... |
diff --git a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/ContextCopyAction.java b/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/ContextCopyAction.java
index c5a2225cc..afd390907 100644
--- a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/c... | true | true | public void run(AbstractTask sourceTask) {
if (sourceTask == null) {
MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
ITasksUiConstants.TITLE_DIALOG, "No source task selected.");
return;
}
TaskSelectionDialog dialog = new TaskSelectionDialog(PlatformUI.ge... | public void run(AbstractTask sourceTask) {
if (sourceTask == null) {
MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
ITasksUiConstants.TITLE_DIALOG, "No source task selected.");
return;
}
TaskSelectionDialog dialog = new TaskSelectionDialog(PlatformUI.ge... |
diff --git a/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/MeasurementView.java b/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/MeasurementView.java
index 7e6510cd..c4fc76a0 100644
--- a/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/MeasurementView.java
+++ b/apvs/src/main/java/ch/cern/atlas/apvs/client/ui/Measur... | true | true | public boolean configure(Element element, ClientFactory clientFactory,
Arguments args) {
super.configure(element, clientFactory, args);
sortable = !options.contains("NoSort");
table.setWidth("100%");
add(table, CENTER);
name = new ClickableHtmlColumn<String>() {
@Override
public String getValue... | public boolean configure(Element element, ClientFactory clientFactory,
Arguments args) {
super.configure(element, clientFactory, args);
sortable = !options.contains("NoSort");
table.setWidth("100%");
add(table, CENTER);
name = new ClickableHtmlColumn<String>() {
@Override
public String getValue... |
diff --git a/tregmine/src/info/tregmine/stats/BlockStats.java b/tregmine/src/info/tregmine/stats/BlockStats.java
index ee25dbb..7edbc5c 100644
--- a/tregmine/src/info/tregmine/stats/BlockStats.java
+++ b/tregmine/src/info/tregmine/stats/BlockStats.java
@@ -1,158 +1,158 @@
package info.tregmine.stats;
import info.tr... | false | true | public boolean isPlaced (org.bukkit.block.Block inBlock) {
Location block = inBlock.getLocation();
java.util.zip.CRC32 crc32 = new java.util.zip.CRC32();
String pos = block.getX() + "," + block.getY() + "," + block.getZ();
String world = block.getWorld().getName();
crc32.update(pos.getBytes());
long che... | public boolean isPlaced (org.bukkit.block.Block inBlock) {
Location block = inBlock.getLocation();
java.util.zip.CRC32 crc32 = new java.util.zip.CRC32();
String pos = block.getX() + "," + block.getY() + "," + block.getZ();
String world = block.getWorld().getName();
crc32.update(pos.getBytes());
long che... |
diff --git a/src/main/java/Sirius/server/search/builtin/GeoSearch.java b/src/main/java/Sirius/server/search/builtin/GeoSearch.java
index e63db3f6..075df4f1 100644
--- a/src/main/java/Sirius/server/search/builtin/GeoSearch.java
+++ b/src/main/java/Sirius/server/search/builtin/GeoSearch.java
@@ -1,248 +1,248 @@
/*******... | true | true | public String getGeoSearchSql(final Object domainKey) {
// final String ssql = "WITH recursive derived_index(ocid,oid,stringrep,acid,aid,depth) AS "
// + "( "
// + "SELECT class_id,object_id,stringrep,class_id,object_id,0 "
// + "FROM GEOSUCHE2 WHERE c... | public String getGeoSearchSql(final Object domainKey) {
// final String ssql = "WITH recursive derived_index(ocid,oid,stringrep,acid,aid,depth) AS "
// + "( "
// + "SELECT class_id,object_id,stringrep,class_id,object_id,0 "
// + "FROM GEOSUCHE2 WHERE c... |
diff --git a/hudson-core/src/test/java/hudson/model/UpdateCenterTest.java b/hudson-core/src/test/java/hudson/model/UpdateCenterTest.java
index 7f4941b2..e5aa520e 100644
--- a/hudson-core/src/test/java/hudson/model/UpdateCenterTest.java
+++ b/hudson-core/src/test/java/hudson/model/UpdateCenterTest.java
@@ -1,64 +1,64 @@... | true | true | public void testData() throws IOException {
// check if we have the internet connectivity. See HUDSON-2095
try {
HttpURLConnection con = (HttpURLConnection) new URL("http://hudson-ci.org/").openConnection();
con.setRequestMethod("HEAD");
con.setConnectTimeout(1000... | public void testData() throws IOException {
// check if we have the internet connectivity. See HUDSON-2095
try {
HttpURLConnection con = (HttpURLConnection) new URL("http://hudson-ci.org/").openConnection();
con.setRequestMethod("HEAD");
con.setConnectTimeout(1000... |
diff --git a/src/componentprogramming/CompoLexical.java b/src/componentprogramming/CompoLexical.java
index 2b7aca6..f7288bc 100644
--- a/src/componentprogramming/CompoLexical.java
+++ b/src/componentprogramming/CompoLexical.java
@@ -1,236 +1,238 @@
/*
* To change this template, choose Tools | Templates
* and open ... | true | true | Token nextToken(){
//TODO add next token logic
Token res = null ;
String temp = new String() ;
for (int i =indexInput; i < Input.length(); i++) {
indexInput++ ;
res = new Token();
nodeNFA nextNode = CurrentState.getNextNode(Input.charAt(i... | Token nextToken(){
//TODO add next token logic
Token res = null ;
String temp = new String() ;
for (int i =indexInput; i < Input.length(); i++) {
indexInput++ ;
res = new Token();
nodeNFA nextNode = CurrentState.getNextNode(Input.charAt(i... |
diff --git a/test/java/nodebox/node/NodeContextTest.java b/test/java/nodebox/node/NodeContextTest.java
index be1a6f93..9e4eff0d 100644
--- a/test/java/nodebox/node/NodeContextTest.java
+++ b/test/java/nodebox/node/NodeContextTest.java
@@ -1,437 +1,437 @@
package nodebox.node;
import com.google.common.collect.Immuta... | false | true | public void testNestedListAsSingleValue() {
Node sample1 = createSampleNode("sample1", 4, 3.0, 9.0);
Node sample2 = createSampleNode("sample2", 4, 9.0, 24.0);
Node sample3 = sampleNode.extend()
.withName("sample3")
.withInputValue("amount", 4);
Node ne... | public void testNestedListAsSingleValue() {
Node sample1 = createSampleNode("sample1", 4, 3.0, 9.0);
Node sample2 = createSampleNode("sample2", 4, 9.0, 24.0);
Node sample3 = sampleNode.extend()
.withName("sample3")
.withInputValue("amount", 4);
Node ne... |
diff --git a/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java b/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/dump/impl/heap/HeapDumpContributor.java
index 80daccc..2ff1929 100644
--- a/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/... | true | true | public void contribute(Dump dump) throws DumpContributionFailedException {
try {
if (this.heapDumpMethod != null && this.diagnosticMBean != null) {
heapDumpMethod.invoke(this.diagnosticMBean, dump.createFile("heap.out").getAbsolutePath(), true);
} else {
... | public void contribute(Dump dump) throws DumpContributionFailedException {
try {
if (this.heapDumpMethod != null && this.diagnosticMBean != null) {
heapDumpMethod.invoke(this.diagnosticMBean, dump.createFile("heap.out").getAbsolutePath(), true);
} else {
... |
diff --git a/src/main/java/org/spout/vanilla/world/generator/normal/decorator/FlowerDecorator.java b/src/main/java/org/spout/vanilla/world/generator/normal/decorator/FlowerDecorator.java
index 8fe4084f..1048fded 100644
--- a/src/main/java/org/spout/vanilla/world/generator/normal/decorator/FlowerDecorator.java
+++ b/src... | true | true | public void populate(Chunk chunk, Random random) {
if (chunk.getY() < 4) {
return;
}
int howMany = random.nextInt(15);
Flower flower = getRandomFlower(random);
for (int i = 0; i < howMany; i++) {
int dx = random.nextInt(16);
int dz = random.nextInt(16);
int dy = getHighestWorkableBlock(chunk, dx,... | public void populate(Chunk chunk, Random random) {
if (chunk.getY() < 4) {
return;
}
int howMany = random.nextInt(15);
Flower flower = getRandomFlower(random);
for (int i = 0; i < howMany; i++) {
int dx = random.nextInt(16);
int dz = random.nextInt(16);
int dy = getHighestWorkableBlock(chunk, dx,... |
diff --git a/core/src/main/java/com/meltmedia/cadmium/core/worker/UpdateConfigTask.java b/core/src/main/java/com/meltmedia/cadmium/core/worker/UpdateConfigTask.java
index 7f75067e..57c75a2a 100644
--- a/core/src/main/java/com/meltmedia/cadmium/core/worker/UpdateConfigTask.java
+++ b/core/src/main/java/com/meltmedia/cad... | true | true | public Boolean call() throws Exception {
final String branch = configProperties.getProperty("branch");
final String revision = service.isTag(branch) ? null : configProperties.getProperty("git.ref.sha");
try {
if(previousTask != null) {
Boolean lastResponse = previousTask.get();
if(la... | public Boolean call() throws Exception {
final String branch = configProperties.getProperty("branch");
final String revision = service.isTag(branch) ? null : configProperties.getProperty("git.ref.sha");
try {
if(previousTask != null) {
Boolean lastResponse = previousTask.get();
if(la... |
diff --git a/db-impl/ext/src/java/org/sakaiproject/springframework/orm/hibernate/impl/AdditionalHibernateMappingsImpl.java b/db-impl/ext/src/java/org/sakaiproject/springframework/orm/hibernate/impl/AdditionalHibernateMappingsImpl.java
index ad2d21b..e1c57c7 100644
--- a/db-impl/ext/src/java/org/sakaiproject/springframe... | true | true | public void processConfig(Configuration config) throws IOException, MappingException
{
for (int i = 0; i < this.mappingLocations.length; i++)
{
try {
config.addInputStream(this.mappingLocations[i].getInputStream());
} catch (MappingException me) {
throw new MappingException("Failed to load "+ this.m... | public void processConfig(Configuration config) throws IOException, MappingException
{
for (int i = 0; i < this.mappingLocations.length; i++)
{
try {
config.addInputStream(this.mappingLocations[i].getInputStream());
} catch (MappingException me) {
throw new MappingException("Failed to load "+ this.m... |
diff --git a/MPesaXlsImporter/src/main/java/ke/co/safaricom/MPesaXlsImporter.java b/MPesaXlsImporter/src/main/java/ke/co/safaricom/MPesaXlsImporter.java
index c56d167..e4e9305 100644
--- a/MPesaXlsImporter/src/main/java/ke/co/safaricom/MPesaXlsImporter.java
+++ b/MPesaXlsImporter/src/main/java/ke/co/safaricom/MPesaXlsI... | false | true | public ParseResultDto parse(final InputStream input) {
final List<String> errorsList = new ArrayList<String>();
final List<AccountPaymentParametersDto> pmts = new ArrayList<AccountPaymentParametersDto>();
int friendlyRowNum = 0;
boolean skippingRowsBeforeTransactionData = true;
... | public ParseResultDto parse(final InputStream input) {
final List<String> errorsList = new ArrayList<String>();
final List<AccountPaymentParametersDto> pmts = new ArrayList<AccountPaymentParametersDto>();
int friendlyRowNum = 0;
boolean skippingRowsBeforeTransactionData = true;
... |
diff --git a/src/main/java/ch/eonum/CategoryResolver.java b/src/main/java/ch/eonum/CategoryResolver.java
index d9f618c..a9dd22b 100644
--- a/src/main/java/ch/eonum/CategoryResolver.java
+++ b/src/main/java/ch/eonum/CategoryResolver.java
@@ -1,169 +1,153 @@
package ch.eonum;
import java.util.ArrayList;
import java.... | true | true | private CategoryResolver()
{
if (Logger.mode == Mode.TEST)
{
return;
}
HTTPRequest request = new HTTPRequest();
String resultString = "";
AsyncTask<Void, Void, String> httpTask = request.execute();
try
{
resultString = httpTask.get();
}
catch (InterruptedException e)
{
e.printStackTrace... | private CategoryResolver()
{
if (Logger.mode == Mode.TEST)
{
return;
}
HTTPRequest request = new HTTPRequest();
String resultString = "";
AsyncTask<Void, Void, String> httpTask = request.execute();
try
{
resultString = httpTask.get();
}
catch (InterruptedException e)
{
e.printStackTrace... |
diff --git a/bikewars-web/src/main/java/org/yogocodes/bikewars/web/filter/UserAccessControlFilter.java b/bikewars-web/src/main/java/org/yogocodes/bikewars/web/filter/UserAccessControlFilter.java
index c84f3a0..60ab54e 100644
--- a/bikewars-web/src/main/java/org/yogocodes/bikewars/web/filter/UserAccessControlFilter.java... | true | true | public void doFilter(final ServletRequest req, final ServletResponse resp, final FilterChain chain) throws IOException, ServletException {
final HttpServletRequest request = (HttpServletRequest) req;
final HttpServletResponse response = (HttpServletResponse) resp;
final HttpSession httpSession = request.getSess... | public void doFilter(final ServletRequest req, final ServletResponse resp, final FilterChain chain) throws IOException, ServletException {
final HttpServletRequest request = (HttpServletRequest) req;
final HttpServletResponse response = (HttpServletResponse) resp;
final HttpSession httpSession = request.getSess... |
diff --git a/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/SubsequentRequestDispatcher.java b/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/SubsequentRequestDispatcher.java
index 354c9e8cf..ce9adf616 100644
--- a/servers... | true | true | public void dispatchMessage(final SipProvider sipProvider, SipServletMessageImpl sipServletMessage) throws DispatcherException {
final SipFactoryImpl sipFactoryImpl = sipApplicationDispatcher.getSipFactory();
final SipServletRequestImpl sipServletRequest = (SipServletRequestImpl) sipServletMessage;
if(logger.isD... | public void dispatchMessage(final SipProvider sipProvider, SipServletMessageImpl sipServletMessage) throws DispatcherException {
final SipFactoryImpl sipFactoryImpl = sipApplicationDispatcher.getSipFactory();
final SipServletRequestImpl sipServletRequest = (SipServletRequestImpl) sipServletMessage;
if(logger.isD... |
diff --git a/lo02-touring/src/MilleBorne.java b/lo02-touring/src/MilleBorne.java
index b0e6a85..b04db0d 100644
--- a/lo02-touring/src/MilleBorne.java
+++ b/lo02-touring/src/MilleBorne.java
@@ -1,43 +1,43 @@
import java.awt.EventQueue;
import java.util.Scanner;
import fr.lo02.controller.Controller;
import fr.lo02.... | true | true | public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Comment lancez le jeu ?");
System.out.println("1 - Console");
System.out.println("2 - Interface Graphique");
String choice = scan.nextLine();
// ---- Se defausser ----
if (choice.equals("2")) {
Game m... | public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Comment voulez-vous lancer le jeu ?");
System.out.println("1 - Console");
System.out.println("2 - Interface Graphique");
String choice = scan.nextLine();
// ---- Se defausser ----
if (choice.equals("2"))... |
diff --git a/holmes-rome-modules/src/main/java/com/sun/syndication/feed/module/mediarss/io/MediaModuleParser.java b/holmes-rome-modules/src/main/java/com/sun/syndication/feed/module/mediarss/io/MediaModuleParser.java
index 63f050fe..98db787b 100644
--- a/holmes-rome-modules/src/main/java/com/sun/syndication/feed/module... | true | true | private Metadata parseMetadata(Element e) {
Metadata md = new Metadata();
// categories
{
List<?> categories = e.getChildren("category", getNS());
ArrayList<Category> values = new ArrayList<Category>();
for (int i = 0; (categories != null) && (i < categor... | private Metadata parseMetadata(Element e) {
Metadata md = new Metadata();
// categories
{
List<?> categories = e.getChildren("category", getNS());
ArrayList<Category> values = new ArrayList<Category>();
for (int i = 0; (categories != null) && (i < categor... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/AllInstancesActionDelegate.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/AllInstancesActionDelegate.java
index 3a4dec09a..f3e077564 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/... | true | true | public void run(IAction action) {
IStructuredSelection currentSelection = getCurrentSelection();
IJavaVariable var = (IJavaVariable) currentSelection.getFirstElement();
try {
IJavaType type = var.getJavaType();
if(type instanceof JDIReferenceType) {
JDIReferenceType rtype = (JDIReferenceType) type;
... | public void run(IAction action) {
IStructuredSelection currentSelection = getCurrentSelection();
IJavaVariable var = (IJavaVariable) currentSelection.getFirstElement();
try {
IJavaType type = var.getJavaType();
if(type instanceof JDIReferenceType) {
JDIReferenceType rtype = (JDIReferenceType) type;
... |
diff --git a/core/src/processing/core/PVector.java b/core/src/processing/core/PVector.java
index 932775c..2e89bea 100644
--- a/core/src/processing/core/PVector.java
+++ b/core/src/processing/core/PVector.java
@@ -1,594 +1,597 @@
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Pr... | false | true | static public float angleBetween(PVector v1, PVector v2) {
double dot = v1.x * v2.x + v1.y * v2.y + v1.z * v2.z;
double v1mag = Math.sqrt(v1.x * v1.x + v1.y * v1.y + v1.z * v1.z);
double v2mag = Math.sqrt(v2.x * v2.x + v2.y * v2.y + v2.z * v2.z);
// This should be a number between -1 and 1, since it's... | static public float angleBetween(PVector v1, PVector v2) {
double dot = v1.x * v2.x + v1.y * v2.y + v1.z * v2.z;
double v1mag = Math.sqrt(v1.x * v1.x + v1.y * v1.y + v1.z * v1.z);
double v2mag = Math.sqrt(v2.x * v2.x + v2.y * v2.y + v2.z * v2.z);
// This should be a number between -1 and 1, since it's... |
diff --git a/src/com/jetbrains/lang/dart/ide/watcher/Dart2JSTaskConsumer.java b/src/com/jetbrains/lang/dart/ide/watcher/Dart2JSTaskConsumer.java
index 8245ebc6a3..c105ae34a8 100644
--- a/src/com/jetbrains/lang/dart/ide/watcher/Dart2JSTaskConsumer.java
+++ b/src/com/jetbrains/lang/dart/ide/watcher/Dart2JSTaskConsumer.ja... | true | true | public TaskOptions getOptionsTemplate() {
TaskOptions options = new TaskOptions();
options.setName("Dart2JS");
final VirtualFile dart2JS = DartSettingsUtil.getSettings().getDart2JS();
assert dart2JS != null;
options.setProgram(dart2JS.getPath());
options.setDescription("Compiles .dart files in... | public TaskOptions getOptionsTemplate() {
TaskOptions options = new TaskOptions();
options.setName("Dart2JS");
final VirtualFile dart2JS = DartSettingsUtil.getSettings().getDart2JS();
assert dart2JS != null;
options.setProgram(dart2JS.getPath());
options.setDescription("Compiles .dart files in... |
diff --git a/src/main/java/org/vsegda/servlet/DataArchiveTaskServlet.java b/src/main/java/org/vsegda/servlet/DataArchiveTaskServlet.java
index 474b9ca..9800125 100644
--- a/src/main/java/org/vsegda/servlet/DataArchiveTaskServlet.java
+++ b/src/main/java/org/vsegda/servlet/DataArchiveTaskServlet.java
@@ -1,90 +1,90 @@
... | true | true | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
Long streamId = Long.parseLong(req.getParameter("id"));
log.info("Archiving data for streamId=" + streamId);
PersistenceManager pm = Factory.getPersistenceManager();
try {
... | protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
Long streamId = Long.parseLong(req.getParameter("id"));
log.info("Archiving data for streamId=" + streamId);
PersistenceManager pm = Factory.getPersistenceManager();
try {
... |
diff --git a/src/com/yahoo/platform/yui/compressor/CssCompressor.java b/src/com/yahoo/platform/yui/compressor/CssCompressor.java
index 1b4b416..134681c 100644
--- a/src/com/yahoo/platform/yui/compressor/CssCompressor.java
+++ b/src/com/yahoo/platform/yui/compressor/CssCompressor.java
@@ -1,149 +1,149 @@
/*
* YUI Com... | true | true | public void compress(Writer out, int linebreakpos)
throws IOException {
Pattern p;
Matcher m;
String css;
StringBuffer sb;
int startIndex, endIndex;
// Remove all comment blocks...
sb = new StringBuffer(srcsb.toString());
while ((startInd... | public void compress(Writer out, int linebreakpos)
throws IOException {
Pattern p;
Matcher m;
String css;
StringBuffer sb;
int startIndex, endIndex;
// Remove all comment blocks...
sb = new StringBuffer(srcsb.toString());
while ((startInd... |
diff --git a/src/main/java/edu/uci/ics/crawler4j/parser/Parser.java b/src/main/java/edu/uci/ics/crawler4j/parser/Parser.java
index 3a95d65..9d855f6 100644
--- a/src/main/java/edu/uci/ics/crawler4j/parser/Parser.java
+++ b/src/main/java/edu/uci/ics/crawler4j/parser/Parser.java
@@ -1,157 +1,160 @@
/**
* Licensed to th... | false | true | public boolean parse(Page page, String contextURL) {
if (Util.hasBinaryContent(page.getContentType())) {
if (!config.isIncludeBinaryContentInCrawling()) {
return false;
}
page.setParseData(BinaryParseData.getInstance());
return true;
} else if (Util.hasPlainTextContent(page.getContentType())) {
... | public boolean parse(Page page, String contextURL) {
if (Util.hasBinaryContent(page.getContentType())) {
if (!config.isIncludeBinaryContentInCrawling()) {
return false;
}
page.setParseData(BinaryParseData.getInstance());
return true;
} else if (Util.hasPlainTextContent(page.getContentType())) {
... |
diff --git a/src/main/java/com/kenai/jbosh/BOSHClient.java b/src/main/java/com/kenai/jbosh/BOSHClient.java
index 0b03143..ef46921 100644
--- a/src/main/java/com/kenai/jbosh/BOSHClient.java
+++ b/src/main/java/com/kenai/jbosh/BOSHClient.java
@@ -1,1536 +1,1540 @@
/*
* Copyright 2009 Mike Cumings
*
* Licensed unde... | true | true | private void processExchange(final HTTPExchange exch) {
assertUnlocked();
HTTPResponse resp;
AbstractBody body;
int respCode;
try {
resp = exch.getHTTPResponse();
body = resp.getBody();
respCode = resp.getHTTPStatus();
} catch (BOS... | private void processExchange(final HTTPExchange exch) {
assertUnlocked();
HTTPResponse resp;
AbstractBody body;
int respCode;
try {
resp = exch.getHTTPResponse();
body = resp.getBody();
respCode = resp.getHTTPStatus();
} catch (BOS... |
diff --git a/src/java/vitry/runtime/Interpreter.java b/src/java/vitry/runtime/Interpreter.java
index b0ee644..ead9b21 100644
--- a/src/java/vitry/runtime/Interpreter.java
+++ b/src/java/vitry/runtime/Interpreter.java
@@ -1,782 +1,785 @@
/*
* Vitry, copyright (C) Hans Hoglund 2011
*
* This program is free softwa... | false | true | final Object eval
(
Pattern expr,
Environment<Symbol, Symbol> context,
Environment<Symbol, Object> frame,
// Sequence<vitry.runtime.Type> types,
// Environment<Symbol, Sequence<Type>> implicits,
Environ... | final Object eval
(
Pattern expr,
Environment<Symbol, Symbol> context,
Environment<Symbol, Object> frame,
// Sequence<vitry.runtime.Type> types,
// Environment<Symbol, Sequence<Type>> implicits,
Environ... |
diff --git a/src/org/red5/server/Bootstrap.java b/src/org/red5/server/Bootstrap.java
index 6dc6ac44..f861ef2c 100644
--- a/src/org/red5/server/Bootstrap.java
+++ b/src/org/red5/server/Bootstrap.java
@@ -1,201 +1,201 @@
package org.red5.server;
/*
* RED5 Open Source Flash Server - http://www.osflash.org/red5
*
... | true | true | private static void bootStrap()
throws InstantiationException, IllegalAccessException,
ClassNotFoundException, NoSuchMethodException,
InvocationTargetException {
// print the classpath
//String classPath = System.getProperty("java.class.path");
//System.out.printf("JVM classpath: %s\n", classPath); ... | private static void bootStrap()
throws InstantiationException, IllegalAccessException,
ClassNotFoundException, NoSuchMethodException,
InvocationTargetException {
// print the classpath
//String classPath = System.getProperty("java.class.path");
//System.out.printf("JVM classpath: %s\n", classPath); ... |
diff --git a/core/src/main/java/org/apache/directory/server/core/authn/PasswordPolicyConfiguration.java b/core/src/main/java/org/apache/directory/server/core/authn/PasswordPolicyConfiguration.java
index 9d88acd676..c4351b64ec 100644
--- a/core/src/main/java/org/apache/directory/server/core/authn/PasswordPolicyConfigura... | true | true | public void validate() throws LdapException
{
StringBuilder sb = new StringBuilder();
int errCount = 0;
if ( pwdMinAge < 0 )
{
sb.append( ++errCount ).append( ". password minimum age cannot be negative\n" );
}
if ( pwdMaxAge < 0 )
{
... | public void validate() throws LdapException
{
StringBuilder sb = new StringBuilder();
int errCount = 0;
if ( pwdMinAge < 0 )
{
sb.append( ++errCount ).append( ". password minimum age cannot be negative\n" );
}
if ( pwdMaxAge < 0 )
{
... |
diff --git a/Main/src/com/icbat/game/tradesong/stages/GameWorldStage.java b/Main/src/com/icbat/game/tradesong/stages/GameWorldStage.java
index ec28a71..6cad141 100644
--- a/Main/src/com/icbat/game/tradesong/stages/GameWorldStage.java
+++ b/Main/src/com/icbat/game/tradesong/stages/GameWorldStage.java
@@ -1,143 +1,143 @@... | true | true | public GameWorldStage(Tradesong gameInstance, MapProperties properties) {
// Get coords for setting bounds
mapX = (Integer)properties.get("width");
mapY = (Integer)properties.get("height");
// // Actor for dragging map around. Covers all the ground but doesn't have an image
... | public GameWorldStage(Tradesong gameInstance, MapProperties properties) {
// Get coords for setting bounds
mapX = (Integer)properties.get("width");
mapY = (Integer)properties.get("height");
// // Actor for dragging map around. Covers all the ground but doesn't have an image
... |
diff --git a/src/org/linphone/PreferencesFragment.java b/src/org/linphone/PreferencesFragment.java
index bb1a7cf..9a13ed4 100644
--- a/src/org/linphone/PreferencesFragment.java
+++ b/src/org/linphone/PreferencesFragment.java
@@ -1,534 +1,534 @@
package org.linphone;
/*
PreferencesFragment.java
Copyright (C) 2012 B... | true | true | public void onCreate(Bundle bundle) {
super.onCreate(bundle);
mContext = getActivity();
if (getResources().getBoolean(R.bool.hide_accounts)) {
// Hide category
PreferenceCategory accounts = (PreferenceCategory) findPreference(getString(R.string.pref_sipaccounts_key));
accounts.removeAll();
accounts... | public void onCreate(Bundle bundle) {
super.onCreate(bundle);
mContext = getActivity();
if (getResources().getBoolean(R.bool.hide_accounts)) {
// Hide category
PreferenceCategory accounts = (PreferenceCategory) findPreference(getString(R.string.pref_sipaccounts_key));
accounts.removeAll();
accounts... |
diff --git a/java/BinarySearch.java b/java/BinarySearch.java
index 11412da..be4f49f 100644
--- a/java/BinarySearch.java
+++ b/java/BinarySearch.java
@@ -1,41 +1,41 @@
import static java.lang.System.out;
import java.util.Arrays;
/**
* Implements a simple a binary search in a array (sorted).
*
* <h5>Lecture... | true | true | public static int search(int key, int[] a) {
int lo = 0;
int hi = a.length - 1;
while (lo <= hi) {
int mid = lo + (hi - lo) / 2;
if (key < a[mid])
hi = mid - 1;
else if (key > a[mid])
lo = mid + 1;
... | public static int search(int key, int[] a) {
int lo = 0;
int hi = a.length - 1;
while (lo <= hi) {
int mid = lo + (hi - lo) / 2; //Java bug (2006)
if (key < a[mid])
hi = mid - 1;
else if (key > a[mid])
lo =... |
diff --git a/client/cpw/mods/fml/client/FMLClientHandler.java b/client/cpw/mods/fml/client/FMLClientHandler.java
index 908ad06e..fefcc5d5 100644
--- a/client/cpw/mods/fml/client/FMLClientHandler.java
+++ b/client/cpw/mods/fml/client/FMLClientHandler.java
@@ -1,345 +1,345 @@
/*
* The FML Forge Mod Loader suite. Copyr... | true | true | public Entity spawnEntityIntoClientWorld(Class<? extends Entity> cls, EntitySpawnPacket packet)
{
WorldClient wc = client.field_71441_e;
try
{
Entity entity = (Entity)(cls.getConstructor(World.class).newInstance(wc));
if (entity instanceof IThrowableEntity)
... | public Entity spawnEntityIntoClientWorld(Class<? extends Entity> cls, EntitySpawnPacket packet)
{
WorldClient wc = client.field_71441_e;
try
{
Entity entity = (Entity)(cls.getConstructor(World.class).newInstance(wc));
if (entity instanceof IThrowableEntity)
... |
diff --git a/server/src/de/hpi/bpmn2execpn/converter/ExecConverter.java b/server/src/de/hpi/bpmn2execpn/converter/ExecConverter.java
index d51c9025..81dd8274 100644
--- a/server/src/de/hpi/bpmn2execpn/converter/ExecConverter.java
+++ b/server/src/de/hpi/bpmn2execpn/converter/ExecConverter.java
@@ -1,499 +1,497 @@
pack... | false | true | protected void handleTask(PetriNet net, Task task, ConversionContext c) {
ExecTask exTask = new ExecTask();
exTask.setId(task.getId());
exTask.setLabel(task.getLabel());
// create proper model, form and bindings
String model = null;
String form = null;
String bindings = null;
DocumentBuilderFactory ... | protected void handleTask(PetriNet net, Task task, ConversionContext c) {
ExecTask exTask = new ExecTask();
exTask.setId(task.getId());
exTask.setLabel(task.getLabel());
// create proper model, form and bindings
String model = null;
String form = null;
String bindings = null;
DocumentBuilderFactory ... |
diff --git a/Model/src/java/fr/cg95/cvq/service/users/impl/UserSearchService.java b/Model/src/java/fr/cg95/cvq/service/users/impl/UserSearchService.java
index ef7e1cad7..612c013fe 100644
--- a/Model/src/java/fr/cg95/cvq/service/users/impl/UserSearchService.java
+++ b/Model/src/java/fr/cg95/cvq/service/users/impl/UserSe... | true | true | public Set<Child> havingAsOnlyResponsible(Adult adult) {
Set<Child> children = new HashSet<Child>();
for (IndividualRole role : adult.getIndividualRoles()) {
List<Individual> responsibles = listBySubjectRole(role.getIndividualId(), null);
if (responsibles.size() == 1)
... | public Set<Child> havingAsOnlyResponsible(Adult adult) {
Set<Child> children = new HashSet<Child>();
for (IndividualRole role : adult.getIndividualRoles()) {
if(role.getIndividualId()!=null){
List<Individual> responsibles = listBySubjectRole(role.getIndividualId(), null)... |
diff --git a/src/main/java/net/t7seven7t/swornguard/commands/CmdShow.java b/src/main/java/net/t7seven7t/swornguard/commands/CmdShow.java
index c9ab220..e98f8fb 100644
--- a/src/main/java/net/t7seven7t/swornguard/commands/CmdShow.java
+++ b/src/main/java/net/t7seven7t/swornguard/commands/CmdShow.java
@@ -1,70 +1,70 @@
... | true | true | public void perform() {
OfflinePlayer target = getTarget(0);
if (target == null)
return;
PlayerData data = getPlayerData(target);
if (data.getProfilerList() != null) {
profilerList = new ArrayList<String>();
for (int x = data.getProfilerList().size() - 1; x >= 0; x--) {
profilerList.add(data.g... | public void perform() {
target = getTarget(0);
if (target == null)
return;
PlayerData data = getPlayerData(target);
if (data.getProfilerList() != null) {
profilerList = new ArrayList<String>();
for (int x = data.getProfilerList().size() - 1; x >= 0; x--) {
profilerList.add(data.getProfilerList... |
diff --git a/jsf-ri/src/com/sun/faces/facelets/tag/jsf/html/HtmlLibrary.java b/jsf-ri/src/com/sun/faces/facelets/tag/jsf/html/HtmlLibrary.java
index d0406f6ca..6cb937811 100644
--- a/jsf-ri/src/com/sun/faces/facelets/tag/jsf/html/HtmlLibrary.java
+++ b/jsf-ri/src/com/sun/faces/facelets/tag/jsf/html/HtmlLibrary.java
@@ ... | true | true | public HtmlLibrary() {
super(Namespace);
this.addHtmlComponent("body", "javax.faces.Output",
"javax.faces.Body");
this.addHtmlComponent("button", "javax.faces.HtmlOutcomeTargetButton",
"javax.faces.Button");
this.addHtmlComponent("column", "javax.fa... | public HtmlLibrary() {
super(Namespace);
this.addHtmlComponent("body", "javax.faces.Output",
"javax.faces.Body");
this.addHtmlComponent("button", "javax.faces.HtmlOutcomeTargetButton",
"javax.faces.Button");
this.addHtmlComponent("column", "javax.fa... |
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 65b7911e..59378810 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -1,4650 +1,4648 @@
/*
* Copyright (C) 2006 The Android Open Source Project
... | true | true | @Override public void onCreate(Bundle icicle) {
if (LOGV_ENABLED) {
Log.v(LOGTAG, this + " onStart");
}
super.onCreate(icicle);
// test the browser in OpenGL
// requestWindowFeature(Window.FEATURE_OPENGL);
setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);
... | @Override public void onCreate(Bundle icicle) {
if (LOGV_ENABLED) {
Log.v(LOGTAG, this + " onStart");
}
super.onCreate(icicle);
// test the browser in OpenGL
// requestWindowFeature(Window.FEATURE_OPENGL);
setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);
... |
diff --git a/src/main/java/de/kumpelblase2/remoteentities/api/pathfinding/JumpChecker.java b/src/main/java/de/kumpelblase2/remoteentities/api/pathfinding/JumpChecker.java
index 79e562f..f157888 100644
--- a/src/main/java/de/kumpelblase2/remoteentities/api/pathfinding/JumpChecker.java
+++ b/src/main/java/de/kumpelblase2... | false | true | public void checkMove(MoveData inData)
{
if(inData.getYDiff() == 1)
{
if(inData.getXDiff() == 0 && inData.getZDiff() == 0)
{
inData.setValid(false);
return;
}
if(!inData.getFrom().getBlock().getRelative(BlockFace.UP, 3).isEmpty())
{
inData.setValid(false);
return;
}
Bl... | public void checkMove(MoveData inData)
{
if(inData.getYDiff() == 1)
{
if(inData.getXDiff() == 0 && inData.getZDiff() == 0 && !inData.getFrom().getBlock().isLiquid())
{
inData.setValid(false);
return;
}
Block aboveHead = inData.getFrom().getBlock().getRelative(BlockFace.UP, 3);
if(!above... |
diff --git a/org.seasar.dolteng.eclipse.plugin/src/main/java/org/seasar/dolteng/eclipse/operation/AddDinamicPropertyOperation.java b/org.seasar.dolteng.eclipse.plugin/src/main/java/org/seasar/dolteng/eclipse/operation/AddDinamicPropertyOperation.java
index d0eab2d..431b1ce 100644
--- a/org.seasar.dolteng.eclipse.plugin... | true | true | private IJavaElement createMethod(String lineDelimiter,
FuzzyXMLAttribute attr) throws CoreException {
StringBuffer stb = new StringBuffer();
String methodName = "get" + this.elementId
+ StringUtil.capitalize(attr.getName());
IMethod mtd = type.getMethod(methodNam... | private IJavaElement createMethod(String lineDelimiter,
FuzzyXMLAttribute attr) throws CoreException {
StringBuffer stb = new StringBuffer();
String attrName = attr.getName();
String methodName;
if (attrName.equals("class")) {
methodName = "get" + this.element... |
diff --git a/net.sf.eclipsefp.haskell.core/src/net/sf/eclipsefp/haskell/core/hlint/HLintBuilder.java b/net.sf.eclipsefp.haskell.core/src/net/sf/eclipsefp/haskell/core/hlint/HLintBuilder.java
index 1c07e553..df982eb3 100644
--- a/net.sf.eclipsefp.haskell.core/src/net/sf/eclipsefp/haskell/core/hlint/HLintBuilder.java
+++... | false | true | protected IProject[] build( final int kind, final Map args,
final IProgressMonitor monitor ) throws CoreException {
if( kind == INCREMENTAL_BUILD || kind == AUTO_BUILD ) {
// Get delta
final IResourceDelta delta = getDelta( getProject() );
if( delta == null ) {
return null;
}... | protected IProject[] build( final int kind, final Map args,
final IProgressMonitor monitor ) throws CoreException {
if( kind == INCREMENTAL_BUILD || kind == AUTO_BUILD ) {
// Get delta
final IResourceDelta delta = getDelta( getProject() );
if( delta == null ) {
return null;
}... |
diff --git a/com/sun/j3d/loaders/lw3d/LWOBFileReader.java b/com/sun/j3d/loaders/lw3d/LWOBFileReader.java
index 4fe5ff9..101217c 100644
--- a/com/sun/j3d/loaders/lw3d/LWOBFileReader.java
+++ b/com/sun/j3d/loaders/lw3d/LWOBFileReader.java
@@ -1,266 +1,267 @@
/*
* $RCSfile$
*
* Copyright (c) 2007 Sun Microsystems, ... | false | true | public String getString() throws ParsingErrorException {
byte buf[] = new byte[512];
try {
byte b;
int len = 0;
do {
b = (byte)read();
buf[len++] = b;
} while (b != 0);
// Have to read an even number of bytes
if (len % 2 != 0) read();
}
catch (IOException e) {
... | public String getString() throws ParsingErrorException {
byte buf[] = new byte[512];
int len = 0;
try {
byte b;
do {
b = (byte)read();
buf[len++] = b;
} while (b != 0);
// Have to read an even number of bytes
if (len % 2 != 0) read();
}
catch (IOException e) {
... |
diff --git a/Alg1.java b/Alg1.java
index f3eee86..895206a 100644
--- a/Alg1.java
+++ b/Alg1.java
@@ -1,182 +1,191 @@
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedList;
//Source of IO reading code: stackOverflow.com
public class Alg1 {
... | false | true | public static void printIt(Process exec, String[] arg) throws IOException {
BufferedReader stdInput= new BufferedReader(new
InputStreamReader(exec.getInputStream()));
System.out.println(" Revision \t\t Date \t\t\t Rating \t\t\t\t Case");
System.out.println("|---------|-----------------... | public static void printIt(Process exec, String[] arg) throws IOException {
BufferedReader stdInput= new BufferedReader(new
InputStreamReader(exec.getInputStream()));
System.out.println(" Revision \t\t Date \t\t\t Rating \t\t\t\t Case");
System.out.println("|---------|-----------------... |
diff --git a/src/main/java/net/md_5/bungee/UserConnection.java b/src/main/java/net/md_5/bungee/UserConnection.java
index 0999aec6..88e757b4 100644
--- a/src/main/java/net/md_5/bungee/UserConnection.java
+++ b/src/main/java/net/md_5/bungee/UserConnection.java
@@ -1,178 +1,179 @@
package net.md_5.bungee;
import java.... | true | true | private void connect(String name, InetSocketAddress serverAddr) {
try {
reconnecting = true;
if (server != null) {
out.write(new Packet9Respawn((byte) 1, (byte) 0, (byte) 0, (short) 256, "DEFAULT").getPacket());
out.write(new Packet9Respawn((byte) -1,... | private void connect(String name, InetSocketAddress serverAddr) {
try {
reconnecting = true;
if (server != null) {
out.write(new Packet9Respawn((byte) 1, (byte) 0, (byte) 0, (short) 256, "DEFAULT").getPacket());
out.write(new Packet9Respawn((byte) -1,... |
diff --git a/MobilisServer/src/de/tudresden/inf/rn/mobilis/server/services/DeploymentService.java b/MobilisServer/src/de/tudresden/inf/rn/mobilis/server/services/DeploymentService.java
index 956dc80..05f577f 100644
--- a/MobilisServer/src/de/tudresden/inf/rn/mobilis/server/services/DeploymentService.java
+++ b/MobilisS... | false | true | private void initFileTransferManager() {
_fileTransferManager = new FileTransferManager( getAgent().getConnection() );
FileTransferNegotiator.setServiceEnabled( getAgent().getConnection(), true );
_fileTransferManager.addFileTransferListener( new FileTransferListener() {
public void fileTransferRequest(final... | private void initFileTransferManager() {
_fileTransferManager = new FileTransferManager( getAgent().getConnection() );
FileTransferNegotiator.setServiceEnabled( getAgent().getConnection(), true );
_fileTransferManager.addFileTransferListener( new FileTransferListener() {
public void fileTransferRequest(final... |
diff --git a/src/DVN-EJB/src/java/edu/harvard/iq/dvn/core/harvest/HarvesterServiceBean.java b/src/DVN-EJB/src/java/edu/harvard/iq/dvn/core/harvest/HarvesterServiceBean.java
index e2d29fcb..41212675 100644
--- a/src/DVN-EJB/src/java/edu/harvard/iq/dvn/core/harvest/HarvesterServiceBean.java
+++ b/src/DVN-EJB/src/java/edu... | true | true | public void doHarvesting(Long dataverseId) throws IOException {
HarvestingDataverse dataverse = em.find(HarvestingDataverse.class, dataverseId);
MutableBoolean harvestErrorOccurred = new MutableBoolean(false);
String logTimestamp = logFormatter.format(new Date());
Logger hdLogger = L... | public void doHarvesting(Long dataverseId) throws IOException {
HarvestingDataverse dataverse = em.find(HarvestingDataverse.class, dataverseId);
MutableBoolean harvestErrorOccurred = new MutableBoolean(false);
String logTimestamp = logFormatter.format(new Date());
Logger hdLogger = L... |
diff --git a/srcj/com/sun/electric/database/variable/VarContext.java b/srcj/com/sun/electric/database/variable/VarContext.java
index 355c65354..960cd2363 100644
--- a/srcj/com/sun/electric/database/variable/VarContext.java
+++ b/srcj/com/sun/electric/database/variable/VarContext.java
@@ -1,710 +1,712 @@
/* -*- tab-wid... | true | true | public Object evalVarRecurse(Variable var, Object info) throws EvalException {
CodeExpression ce = var.getCodeExpression();
if (ce == null)
return ifNotNumberTryToConvertToNumber(var.getObject());
switch (ce.getCode()) {
case JAVA:
Object value = fastJ... | public Object evalVarRecurse(Variable var, Object info) throws EvalException {
CodeExpression ce = var.getCodeExpression();
if (ce == null)
return ifNotNumberTryToConvertToNumber(var.getObject());
switch (ce.getCode()) {
case JAVA:
Object value = fastJ... |
diff --git a/src/ca/eandb/jmist/framework/gi2/PathTracingStrategy.java b/src/ca/eandb/jmist/framework/gi2/PathTracingStrategy.java
index 52380845..876a69d1 100644
--- a/src/ca/eandb/jmist/framework/gi2/PathTracingStrategy.java
+++ b/src/ca/eandb/jmist/framework/gi2/PathTracingStrategy.java
@@ -1,59 +1,59 @@
/**
*
... | false | true | public double getWeight(PathNode lightNode, PathNode eyeNode) {
if (lightNode == null) {
if (eyeNode == null) {
return 0.0;
}
int eyeDepthDiffuse = eyeNode.getDepth();
while (eyeNode.getDepth() > 0) {
if (eyeNode.isSpecular()) {
eyeDepthDiffuse--;
}
eyeNode = eyeNode.getParent();
... | public double getWeight(PathNode lightNode, PathNode eyeNode) {
if (eyeNode == null) {
return 0.0;
}
if (lightNode == null) {
int eyeDepthDiffuse = eyeNode.getDepth();
while (eyeNode.getDepth() > 0) {
if (eyeNode.isSpecular()) {
eyeDepthDiffuse--;
}
eyeNode = eyeNode.getParent();
}
... |
diff --git a/org.dawb.workbench.plotting/src/org/dawb/workbench/plotting/system/dialog/RemoveRegionDialog.java b/org.dawb.workbench.plotting/src/org/dawb/workbench/plotting/system/dialog/RemoveRegionDialog.java
index 353ad8e7c..dc547174b 100644
--- a/org.dawb.workbench.plotting/src/org/dawb/workbench/plotting/system/di... | true | true | protected Control createDialogArea(Composite parent) {
final Composite parent_composite = (Composite) super.createDialogArea(parent);
final Composite composite = new Composite(parent_composite, SWT.NONE);
composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
composite.setLayout(... | protected Control createDialogArea(Composite parent) {
final Composite parent_composite = (Composite) super.createDialogArea(parent);
final Composite composite = new Composite(parent_composite, SWT.NONE);
composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
composite.setLayout(... |
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index f365f16c..442f2e57 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1,5558 +1,5558 @@
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache Li... | true | true | final void attach(Context context, ActivityThread aThread,
Instrumentation instr, IBinder token, int ident,
Application application, Intent intent, ActivityInfo info,
CharSequence title, Activity parent, String id,
NonConfigurationInstances lastNonConfigurationInstanc... | final void attach(Context context, ActivityThread aThread,
Instrumentation instr, IBinder token, int ident,
Application application, Intent intent, ActivityInfo info,
CharSequence title, Activity parent, String id,
NonConfigurationInstances lastNonConfigurationInstanc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.