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/npanday-its/src/test/java/npanday/its/NPandayIT9903ResGenWithErrorInFileNameTest.java b/npanday-its/src/test/java/npanday/its/NPandayIT9903ResGenWithErrorInFileNameTest.java
index 3be3e545..fc6576ed 100644
--- a/npanday-its/src/test/java/npanday/its/NPandayIT9903ResGenWithErrorInFileNameTest.java
+++ b/npa... | true | true | public void testResGenWithErrorInFileName()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/npanday-9903" );
Verifier verifier = getVerifier( testDir );
verifier.executeGoal( "install" );
verifier.assertFilePresent( new File( "npa... | public void testResGenWithErrorInFileName()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/npanday-9903" );
Verifier verifier = getVerifier( testDir );
verifier.executeGoal( "install" );
verifier.assertFilePresent( new File( test... |
diff --git a/src/frontend/org/voltdb/compiler/StatementCompiler.java b/src/frontend/org/voltdb/compiler/StatementCompiler.java
index 389c4b057..535139eb5 100644
--- a/src/frontend/org/voltdb/compiler/StatementCompiler.java
+++ b/src/frontend/org/voltdb/compiler/StatementCompiler.java
@@ -1,258 +1,263 @@
/* This file i... | true | true | static void compile(VoltCompiler compiler, HSQLInterface hsql,
Catalog catalog, Database db, DatabaseEstimates estimates,
Statement catalogStmt, String stmt, String joinOrder, PartitioningForStatement partitioning)
throws VoltCompiler.VoltCompilerException {
// Cleanup whitespac... | static void compile(VoltCompiler compiler, HSQLInterface hsql,
Catalog catalog, Database db, DatabaseEstimates estimates,
Statement catalogStmt, String stmt, String joinOrder, PartitioningForStatement partitioning)
throws VoltCompiler.VoltCompilerException {
// Cleanup whitespac... |
diff --git a/starter/wscalc-client/src/main/java/org/fabric3/samples/ws/client/WsCalcClient.java b/starter/wscalc-client/src/main/java/org/fabric3/samples/ws/client/WsCalcClient.java
index cf99e22..7524216 100644
--- a/starter/wscalc-client/src/main/java/org/fabric3/samples/ws/client/WsCalcClient.java
+++ b/starter/wsc... | true | true | public static void main(String[] args) throws Exception {
// URL when the calculator is deployed to the single-VM runtime
// URL url = new URL("http://localhost:8080/calculator?wsdl");
// URL when calculator deployed in the cluster without a load-balancer
URL url = new URL("http://lo... | public static void main(String[] args) throws Exception {
// URL url = new URL("http://localhost:8080/calculator?wsdl");
// URL when calculator deployed in the cluster without a load-balancer
URL url = new URL("http://localhost:8181/calculator?wsdl");
QName name = new QName("http://c... |
diff --git a/test/suffixtree/SuffixTreeUtilsTest.java b/test/suffixtree/SuffixTreeUtilsTest.java
index b5916b8..45244a1 100644
--- a/test/suffixtree/SuffixTreeUtilsTest.java
+++ b/test/suffixtree/SuffixTreeUtilsTest.java
@@ -1,117 +1,118 @@
package suffixtree;
import java.util.ArrayList;
import java.util.Collectio... | false | true | public void testStripStartsOutsideRange() {
GeneIsoform positive1 = new GeneIsoform("", 10, 10, false, "", "");
GeneIsoform positive2 = new GeneIsoform("", 20, 20, false, "", "");
GeneIsoform negative1 = new GeneIsoform("", 30, 30, true, "", "");
GeneIsoform negative2 = new GeneIsoform("", 40... | public void testStripStartsOutsideRange() {
GeneIsoform positive1 = new GeneIsoform("", 10, 10, false, "", "");
GeneIsoform positive2 = new GeneIsoform("", 20, 20, false, "", "");
GeneIsoform negative1 = new GeneIsoform("", 30, 30, true, "", "");
GeneIsoform negative2 = new GeneIsoform("", 40... |
diff --git a/src/main/java/com/concursive/connect/web/modules/admin/actions/AdminCustomize.java b/src/main/java/com/concursive/connect/web/modules/admin/actions/AdminCustomize.java
index 33fe066..7f038b1 100644
--- a/src/main/java/com/concursive/connect/web/modules/admin/actions/AdminCustomize.java
+++ b/src/main/java/... | true | true | public String executeCommandSave(ActionContext context) {
if (!getUser(context).getAccessAdmin()) {
return "PermissionError";
}
Connection db = null;
int count = 0;
try {
db = getConnection(context);
int projectId = ProjectList.querySystemDefault(db);
Project project = Pro... | public String executeCommandSave(ActionContext context) {
if (!getUser(context).getAccessAdmin()) {
return "PermissionError";
}
Connection db = null;
int count = 0;
try {
db = getConnection(context);
int projectId = ProjectList.querySystemDefault(db);
Project project = Pro... |
diff --git a/src/java/com/linuxbox/enkive/web/DocSearchServlet.java b/src/java/com/linuxbox/enkive/web/DocSearchServlet.java
index 7d380c2..aa163ed 100644
--- a/src/java/com/linuxbox/enkive/web/DocSearchServlet.java
+++ b/src/java/com/linuxbox/enkive/web/DocSearchServlet.java
@@ -1,45 +1,45 @@
package com.linuxbox.enk... | true | true | public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException, ServletException {
try {
final DocSearchQueryService queryService = getDocSearchQueryService();
String searchTerm = req.getParameter("search_term");
boolean rawSearch = null != req.getParameter("raw_search");
LOGGE... | public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException, ServletException {
try {
final DocSearchQueryService queryService = getDocSearchQueryService();
String searchTerm = req.getParameter("search_term");
boolean rawSearch = null != req.getParameter("raw_search");
LOGGE... |
diff --git a/plugins/org.eclipse.acceleo.engine/src/org/eclipse/acceleo/engine/internal/utils/AcceleoDynamicTemplatesEclipseUtil.java b/plugins/org.eclipse.acceleo.engine/src/org/eclipse/acceleo/engine/internal/utils/AcceleoDynamicTemplatesEclipseUtil.java
index 221dffce..20f63699 100644
--- a/plugins/org.eclipse.accel... | false | true | private static void refreshModules() {
REGISTERED_MODULES.clear();
final List<Bundle> uninstalledBundles = new ArrayList<Bundle>();
final String pathSeparator = "/"; //$NON-NLS-1$
for (java.util.Map.Entry<Bundle, List<String>> entry : new LinkedHashSet<java.util.Map.Entry<Bundle, List<String>>>(
EXTENDING_... | private static void refreshModules() {
REGISTERED_MODULES.clear();
final List<Bundle> uninstalledBundles = new ArrayList<Bundle>();
final String pathSeparator = "/"; //$NON-NLS-1$
for (java.util.Map.Entry<Bundle, List<String>> entry : new LinkedHashSet<java.util.Map.Entry<Bundle, List<String>>>(
EXTENDING_... |
diff --git a/core/src/main/java/org/bazhenov/logging/storage/sql/SqlLogStorage.java b/core/src/main/java/org/bazhenov/logging/storage/sql/SqlLogStorage.java
index db58616..4f48f60 100644
--- a/core/src/main/java/org/bazhenov/logging/storage/sql/SqlLogStorage.java
+++ b/core/src/main/java/org/bazhenov/logging/storage/sq... | true | true | public synchronized void writeEntry(LogEntry entry) throws LogStorageException {
try {
int rowsUpdated = jdbc.update(
"UPDATE log_entry SET count = count + 1, last_date = ? WHERE date = ? AND checksum = ?",
timestamp(entry.getDate()), date(entry.getDate()), entry.getChecksum());
if ( rowsUpdated <= 0 )... | public synchronized void writeEntry(LogEntry entry) throws LogStorageException {
try {
int rowsUpdated = jdbc.update(
"UPDATE log_entry SET count = count + 1, last_date = ? WHERE date = ? AND checksum = ?",
timestamp(entry.getDate()), date(entry.getDate()), entry.getChecksum());
if ( rowsUpdated <= 0 )... |
diff --git a/sphinx4/edu/cmu/sphinx/result/Result.java b/sphinx4/edu/cmu/sphinx/result/Result.java
index 044aacf36..06aed225a 100644
--- a/sphinx4/edu/cmu/sphinx/result/Result.java
+++ b/sphinx4/edu/cmu/sphinx/result/Result.java
@@ -1,552 +1,552 @@
/*
* Copyright 1999-2002 Carnegie Mellon University.
* Portions Co... | true | true | private String getTimedWordPath(Token token, boolean wantFiller) {
StringBuffer sb = new StringBuffer();
// get to the first emitting token
while (token != null & !token.isEmitting()) {
token = token.getPredecessor();
}
if (token != null) {
Data last... | private String getTimedWordPath(Token token, boolean wantFiller) {
StringBuffer sb = new StringBuffer();
// get to the first emitting token
while (token != null && !token.isEmitting()) {
token = token.getPredecessor();
}
if (token != null) {
Data las... |
diff --git a/melete-app/src/java/org/sakaiproject/tool/melete/EditSectionPage.java b/melete-app/src/java/org/sakaiproject/tool/melete/EditSectionPage.java
index dba879ec..92f36c7a 100644
--- a/melete-app/src/java/org/sakaiproject/tool/melete/EditSectionPage.java
+++ b/melete-app/src/java/org/sakaiproject/tool/melete/Ed... | true | true | public String saveHere()
{
checkUploadExists();
String dataPath = new String();
FacesContext context = FacesContext.getCurrentInstance();
ResourceLoader bundle = new ResourceLoader("org.sakaiproject.tool.melete.bundle.Messages");
// validation 1: modality is required.
if (!validateModality())
{
Stri... | public String saveHere()
{
checkUploadExists();
String dataPath = new String();
FacesContext context = FacesContext.getCurrentInstance();
ResourceLoader bundle = new ResourceLoader("org.sakaiproject.tool.melete.bundle.Messages");
// validation 1: modality is required.
if (!validateModality())
{
Stri... |
diff --git a/kernel/src/main/org/jboss/kernel/plugins/bootstrap/AbstractBootstrap.java b/kernel/src/main/org/jboss/kernel/plugins/bootstrap/AbstractBootstrap.java
index 0f38d045..b9018c9a 100644
--- a/kernel/src/main/org/jboss/kernel/plugins/bootstrap/AbstractBootstrap.java
+++ b/kernel/src/main/org/jboss/kernel/plugin... | false | true | public void run()
{
try
{
bootstrap();
}
catch (RuntimeException e)
{
log.trace("RuntimeException during JBoss Kernel Bootstrap.", e);
throw e;
}
catch (Exception e)
{
log.trace("Exception during JBoss Kernel Bootstrap.", e);
... | public void run()
{
try
{
bootstrap();
}
catch (RuntimeException e)
{
log.trace("RuntimeException during JBoss Kernel Bootstrap.", e);
throw e;
}
catch (Exception e)
{
log.trace("Exception during JBoss Kernel Bootstrap.", e);
... |
diff --git a/ide/eclipse/gs/org.wso2.carbonstudio.eclipse.artifact.gadget/src/org/wso2/carbonstudio/eclipse/artifact/gadget/project/nature/GadgetProjectNature.java b/ide/eclipse/gs/org.wso2.carbonstudio.eclipse.artifact.gadget/src/org/wso2/carbonstudio/eclipse/artifact/gadget/project/nature/GadgetProjectNature.java
ind... | true | true | public void updatePom() throws Exception {
ResourceBundle mediatorPropetiesBundle = ResourceBundle.getBundle("gadget");
String groupId = mediatorPropetiesBundle.getString("Plugin_groupId");
String artifactId = mediatorPropetiesBundle.getString("Plugin_artficatId");
String version = mediatorPropetiesBundle.getS... | public void updatePom() throws Exception {
ResourceBundle mediatorPropetiesBundle = ResourceBundle.getBundle("gadget");
String groupId = mediatorPropetiesBundle.getString("Plugin_groupId");
String artifactId = mediatorPropetiesBundle.getString("Plugin_artficatId");
String version = mediatorPropetiesBundle.getS... |
diff --git a/src/org/dylanfoundry/deft/filetypes/dylan/formatter/DylanFormattingBlock.java b/src/org/dylanfoundry/deft/filetypes/dylan/formatter/DylanFormattingBlock.java
index 0e41b35..08640c7 100644
--- a/src/org/dylanfoundry/deft/filetypes/dylan/formatter/DylanFormattingBlock.java
+++ b/src/org/dylanfoundry/deft/fil... | false | true | private DylanFormattingBlock buildSubBlock(ASTNode child) {
IElementType parentType = _node.getElementType();
IElementType grandParentType = _node.getTreeParent() == null ? null : _node.getTreeParent().getElementType();
IElementType childType = child.getElementType();
Wrap wrap = null;
Indent chil... | private DylanFormattingBlock buildSubBlock(ASTNode child) {
IElementType parentType = _node.getElementType();
IElementType grandParentType = _node.getTreeParent() == null ? null : _node.getTreeParent().getElementType();
IElementType childType = child.getElementType();
Wrap wrap = null;
Indent chil... |
diff --git a/bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/datetimekit/DateTimeThemeAdapter.java b/bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/datetimekit/DateTimeThemeAdapter.java
index c17689677..9bb3886c6 100644
--- a/bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/wi... | true | true | public int getButtonWidth( final DateTime datetime ) {
return getCssDimension( "DateTime-Buttons", "width", datetime );
}
| public int getButtonWidth( final DateTime dateTime ) {
int upButtonWidth = getCssDimension( "DateTime-UpButton",
"width",
dateTime );
int downButtonWidth = getCssDimension( "DateTime-DownButton",
... |
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/freeplane/src/org/freeplane/features/styles/MapStyle.java b/freeplane/src/org/freeplane/features/styles/MapStyle.java
index 668c77e3c..d7e2d3e7b 100755
--- a/freeplane/src/org/freeplane/features/styles/MapStyle.java
+++ b/freeplane/src/org/freeplane/features/styles/MapStyle.java
@@ -1,500 +1,501 @@
/*
*... | true | true | public MapStyle( final boolean persistent) {
super();
ModeController modeController = Controller.getCurrentModeController();
if (persistent) {
final MapController mapController = modeController.getMapController();
mapController.getWriteManager().addExtensionElementWriter(getExtensionClass(),
new XmlWri... | public MapStyle( final boolean persistent) {
super();
ModeController modeController = Controller.getCurrentModeController();
if (persistent) {
final MapController mapController = modeController.getMapController();
mapController.getWriteManager().addExtensionElementWriter(getExtensionClass(),
new XmlWri... |
diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java
index 8f63d81ca..b72f6d090 100644
--- a/core/src/processing/core/PApplet.java
+++ b/core/src/processing/core/PApplet.java
@@ -1,7927 +1,7927 @@
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of t... | false | true | public void setupExternalMessages() { //Frame parentFrame) {
//final Worker worker = new Worker();
//parentFrame.addComponentListener(new ComponentAdapter() {
frame.addComponentListener(new ComponentAdapter() {
public void componentMoved(ComponentEvent e) {
Point where = ((Frame) e.get... | public void setupExternalMessages() { //Frame parentFrame) {
//final Worker worker = new Worker();
//parentFrame.addComponentListener(new ComponentAdapter() {
frame.addComponentListener(new ComponentAdapter() {
public void componentMoved(ComponentEvent e) {
Point where = ((Frame) e.get... |
diff --git a/src/test/java/org/hibernate/kmet/handlerequalstest/HandlerEqualsTest.java b/src/test/java/org/hibernate/kmet/handlerequalstest/HandlerEqualsTest.java
index 935b4f6..cbe180c 100644
--- a/src/test/java/org/hibernate/kmet/handlerequalstest/HandlerEqualsTest.java
+++ b/src/test/java/org/hibernate/kmet/handlere... | true | true | public void realisedButNotRemoved() throws Exception {
Statement baseStatemet = mock(Statement.class);
Statement proxyedStatement = ProxyBuilder.buildImplicitStatement(baseStatemet, null, null);
JdbcResourceRegistryImpl jdbcResourceRegistryImpl = new JdbcResourceRegistryImpl(null);
jdbcResourceRegistryIm... | public void releasedButNotRemoved() throws Exception {
Statement baseStatemet = mock(Statement.class);
Statement proxyedStatement = ProxyBuilder.buildImplicitStatement(baseStatemet, null, null);
JdbcResourceRegistryImpl jdbcResourceRegistryImpl = new JdbcResourceRegistryImpl(null);
jdbcResourceRegistryIm... |
diff --git a/util/src/main/java/com/psddev/dari/util/HtmlWriter.java b/util/src/main/java/com/psddev/dari/util/HtmlWriter.java
index 3fe89c9c..9fca93f6 100644
--- a/util/src/main/java/com/psddev/dari/util/HtmlWriter.java
+++ b/util/src/main/java/com/psddev/dari/util/HtmlWriter.java
@@ -1,300 +1,300 @@
package com.psdd... | true | true | public HtmlWriter object(Object object) throws IOException {
HtmlFormatter<Object> formatter;
if (object == null) {
formatter = overrideFormatters.get(null);
if (formatter == null) {
formatter = defaultFormatters.get(null);
}
if (forma... | public HtmlWriter object(Object object) throws IOException {
HtmlFormatter<Object> formatter;
if (object == null) {
formatter = overrideFormatters.get(null);
if (formatter == null) {
formatter = defaultFormatters.get(null);
}
if (forma... |
diff --git a/src/de/uni_koblenz/jgralab/schema/impl/MapDomainImpl.java b/src/de/uni_koblenz/jgralab/schema/impl/MapDomainImpl.java
index 43ac2a93f..0b8ee2baa 100644
--- a/src/de/uni_koblenz/jgralab/schema/impl/MapDomainImpl.java
+++ b/src/de/uni_koblenz/jgralab/schema/impl/MapDomainImpl.java
@@ -1,249 +1,253 @@
/**
... | false | true | public CodeBlock getWriteMethod(String schemaRootPackagePrefix,
String variableName, String graphIoVariableName) {
CodeList code = new CodeList();
code.setVariable("name", variableName);
code.setVariable("keydom", getKeyDomain().getJavaClassName(
schemaRootPackagePrefix));
code.setVariable("keytype",
... | public CodeBlock getWriteMethod(String schemaRootPackagePrefix,
String variableName, String graphIoVariableName) {
CodeList code = new CodeList();
code.setVariable("name", variableName);
code.setVariable("nameKey", variableName + "Key");
code.setVariable("nameValue", variableName + "Value");
code.setVari... |
diff --git a/phresco-service-impl/src/main/java/com/photon/phresco/service/converters/ApplicationInfoConverter.java b/phresco-service-impl/src/main/java/com/photon/phresco/service/converters/ApplicationInfoConverter.java
index a6d6a0c0..8dd8283d 100644
--- a/phresco-service-impl/src/main/java/com/photon/phresco/service... | true | true | public ApplicationInfo convertDAOToObject(ApplicationInfoDAO dao,
MongoOperations mongoOperation) throws PhrescoException {
ApplicationInfo applicationInfo = new ApplicationInfo();
applicationInfo.setCode(dao.getCode());
applicationInfo.setVersion(dao.getVersion());
applicationInfo.setCustomerIds(dao.getCus... | public ApplicationInfo convertDAOToObject(ApplicationInfoDAO dao,
MongoOperations mongoOperation) throws PhrescoException {
ApplicationInfo applicationInfo = new ApplicationInfo();
applicationInfo.setCode(dao.getCode());
applicationInfo.setVersion(dao.getVersion());
applicationInfo.setCustomerIds(dao.getCus... |
diff --git a/runtime/src/com/sun/xml/bind/api/impl/NameConverter.java b/runtime/src/com/sun/xml/bind/api/impl/NameConverter.java
index f20287c9..0ede6936 100644
--- a/runtime/src/com/sun/xml/bind/api/impl/NameConverter.java
+++ b/runtime/src/com/sun/xml/bind/api/impl/NameConverter.java
@@ -1,282 +1,282 @@
/*
* DO NO... | true | true | public String toPackageName( String nsUri ) {
// remove scheme and :, if present
// spec only requires us to remove 'http' and 'urn'...
int idx = nsUri.indexOf(':');
String scheme = "";
if(idx>=0) {
scheme = nsUri.substring(0,idx);
... | public String toPackageName( String nsUri ) {
// remove scheme and :, if present
// spec only requires us to remove 'http' and 'urn'...
int idx = nsUri.indexOf(':');
String scheme = "";
if(idx>=0) {
scheme = nsUri.substring(0,idx);
... |
diff --git a/source/main/com/noelios/restlet/util/UniformCallModel.java b/source/main/com/noelios/restlet/util/UniformCallModel.java
index 3bbf8a82f..172d18540 100644
--- a/source/main/com/noelios/restlet/util/UniformCallModel.java
+++ b/source/main/com/noelios/restlet/util/UniformCallModel.java
@@ -1,398 +1,398 @@
/*... | false | true | public String get(String name)
{
String result = null;
try
{
if(name.startsWith(NAME_CLIENT_ADDRESS))
{
if(name.equals(NAME_CLIENT_ADDRESS))
{
result = call.getClientAddress();
}
else
{
String rest = name.substring(NAME_CLI... | public String get(String name)
{
String result = null;
try
{
if(name.startsWith(NAME_CLIENT_ADDRESS))
{
if(name.equals(NAME_CLIENT_ADDRESS))
{
result = call.getClientAddress();
}
else
{
String rest = name.substring(NAME_CLI... |
diff --git a/jason/asSemantics/Agent.java b/jason/asSemantics/Agent.java
index c1e23ca..09192ac 100644
--- a/jason/asSemantics/Agent.java
+++ b/jason/asSemantics/Agent.java
@@ -1,464 +1,468 @@
// ----------------------------------------------------------------------------
// Copyright (C) 2003 Rafael H. Bordini, Jomi... | true | true | public void buf(List<Literal> percepts) {
if (percepts == null) {
return;
}
// deleting percepts in the BB that is not perceived anymore
Iterator<Literal> perceptsInBB = getBB().getPercepts();
while (perceptsInBB.hasNext()) {
Literal l = perceptsInBB... | public void buf(List<Literal> percepts) {
if (percepts == null) {
return;
}
// deleting percepts in the BB that is not perceived anymore
Iterator<Literal> perceptsInBB = getBB().getPercepts();
while (perceptsInBB.hasNext()) {
Literal l = perceptsInBB... |
diff --git a/applications/carrot2-dcs/src/org/carrot2/dcs/MemoryFileItemFactory.java b/applications/carrot2-dcs/src/org/carrot2/dcs/MemoryFileItemFactory.java
index cb48a4f50..98b14ef92 100644
--- a/applications/carrot2-dcs/src/org/carrot2/dcs/MemoryFileItemFactory.java
+++ b/applications/carrot2-dcs/src/org/carrot2/dc... | true | true | public String getString()
{
try
{
return new String(this.baos.toByteArray(), "utf-8");
}
catch (UnsupportedEncodingException e)
{
throw new RuntimeException("UTF-8 must be supported.");
}
}
| public String getString()
{
try
{
return new String(this.baos.toByteArray(), "UTF-8");
}
catch (UnsupportedEncodingException e)
{
throw new RuntimeException("UTF-8 must be supported.");
}
}
|
diff --git a/src/battleSystem/BattleGUI/SpellDisplay.java b/src/battleSystem/BattleGUI/SpellDisplay.java
index 2f4de29..35e4548 100644
--- a/src/battleSystem/BattleGUI/SpellDisplay.java
+++ b/src/battleSystem/BattleGUI/SpellDisplay.java
@@ -1,71 +1,72 @@
package battleSystem.BattleGUI;
import java.awt.FontMetrics;
... | true | true | public void paint(Graphics g)
{
//window is first sprite
window.paint(g);
Actor a = parent.getActiveActor();
for (int i = range; i < range+4; i++)
{
g.drawString("L"+(i+1), window.getX() + 10,
window.getY() + 24 + 16 * (i-range));
if (a.getSpells(i) != null)
for (int n = 0; n < a.getSpel... | public void paint(Graphics g)
{
//window is first sprite
window.paint(g);
Actor a = parent.getActiveActor();
for (int i = range; i < range+4; i++)
{
g.drawString("L"+(i+1), window.getX() + 10,
window.getY() + 24 + 16 * (i-range));
if (a.getSpells(i) != null)
for (int n = 0; n < a.getSpel... |
diff --git a/src/java/com/eviware/soapui/support/propertyexpansion/RSyntaxTextAreaPropertyExpansionTarget.java b/src/java/com/eviware/soapui/support/propertyexpansion/RSyntaxTextAreaPropertyExpansionTarget.java
index dddd96de9..fdf801ee6 100644
--- a/src/java/com/eviware/soapui/support/propertyexpansion/RSyntaxTextArea... | true | true | public void insertPropertyExpansion( PropertyExpansion expansion, Point pt )
{
int pos = pt == null ? -1 : textField.viewToModel( pt );
if( pos == -1 )
pos = textField.getCaretPosition();
try
{
textField.setText( textField.getText( 0, pos ) + expansion.toString()
+ textField.getText( pos, textFiel... | public void insertPropertyExpansion( PropertyExpansion expansion, Point pt )
{
int pos = pt == null ? -1 : textField.viewToModel( pt );
if( pos == -1 )
pos = textField.getCaretPosition();
try
{
textField.setText( textField.getText( 0, pos ) + expansion.toString()
+ textField.getText( pos, textFiel... |
diff --git a/govProject/src/main/java/com/cherrot/govproject/web/controller/HomeController.java b/govProject/src/main/java/com/cherrot/govproject/web/controller/HomeController.java
index 2d91c13..1b41b8a 100644
--- a/govProject/src/main/java/com/cherrot/govproject/web/controller/HomeController.java
+++ b/govProject/src... | false | true | private void initData() {
try {
userService.findByLoginName("f@f.f", false, false, false, false);
} catch (Exception ex) {
//创建测试用户 用户名 f@f.f 密码 fff
User user = new User("f@f.f", "fff", 0, new Date(), "切萝卜可爱多");
userService.create(user);
//... | private void initData() {
try {
userService.findByLoginName("f@f.f", false, false, false, false);
} catch (Exception ex) {
//创建测试用户 用户名 f@f.f 密码 fff
User user = new User("f@f.f", "fff", 0, new Date(), "切萝卜可爱多");
userService.create(user);
//... |
diff --git a/opentripplanner-routing/src/main/java/org/opentripplanner/routing/impl/RoutingServiceImpl.java b/opentripplanner-routing/src/main/java/org/opentripplanner/routing/impl/RoutingServiceImpl.java
index ac2b74524..5bc32f68c 100644
--- a/opentripplanner-routing/src/main/java/org/opentripplanner/routing/impl/Rout... | true | true | public GraphPath route(Vertex fromVertex, Vertex toVertex, State state, TraverseOptions options) {
HashMap<Vertex, Edge> extraEdges = new HashMap<Vertex, Edge>();
ShortestPathTree spt = AStar.getShortestPathTree(_graph, fromVertex, toVertex, state,
options, extraEdges);
ret... | public GraphPath route(Vertex fromVertex, Vertex toVertex, State state, TraverseOptions options) {
HashMap<Vertex, Edge> extraEdges = new HashMap<Vertex, Edge>();
ShortestPathTree spt = AStar.getShortestPathTree(_graph, fromVertex.getLabel(), toVertex.getLabel(), state,
options);
... |
diff --git a/api/src/main/java/org/openmrs/module/mirebalais/MirebalaisHospitalActivator.java b/api/src/main/java/org/openmrs/module/mirebalais/MirebalaisHospitalActivator.java
index 76296c63..1372e9b2 100644
--- a/api/src/main/java/org/openmrs/module/mirebalais/MirebalaisHospitalActivator.java
+++ b/api/src/main/java/... | true | true | private void setupAddressHierarchy() {
AddressHierarchyService ahService = Context.getService(AddressHierarchyService.class);
// first check to see if we need to configure the address hierarchy levels
int numberOfLevels = ahService.getAddressHierarchyLevelsCount();
// if not 0 or 6 levels, we are in a we... | private void setupAddressHierarchy() {
AddressHierarchyService ahService = Context.getService(AddressHierarchyService.class);
// first check to see if we need to configure the address hierarchy levels
int numberOfLevels = ahService.getAddressHierarchyLevelsCount();
// if not 0 or 6 levels, we are in a we... |
diff --git a/core/service/src/test/java/com/camunda/fox/platform/impl/deployment/MultipleClasspathRootsClassPathScannerTest.java b/core/service/src/test/java/com/camunda/fox/platform/impl/deployment/MultipleClasspathRootsClassPathScannerTest.java
index c6d7eab7e..98c57154d 100755
--- a/core/service/src/test/java/com/ca... | false | true | public void testScanClassPath_multipleRoots() throws MalformedURLException {
// define a classloader with multiple roots.
URLClassLoader classLoader = new URLClassLoader(
new URL[]{
new URL("file:src/test/resources/com/camunda/fox/platform/impl/deployment/ClassPathScannerTest.testScanClassP... | public void testScanClassPath_multipleRoots() throws MalformedURLException {
// define a classloader with multiple roots.
URLClassLoader classLoader = new URLClassLoader(
new URL[]{
new URL("file:src/test/resources/com/camunda/fox/platform/impl/deployment/ClassPathScannerTest.testScanClassP... |
diff --git a/src/com/cyanogenmod/filemanager/commands/shell/Shell.java b/src/com/cyanogenmod/filemanager/commands/shell/Shell.java
index f547de9..d8e176c 100644
--- a/src/com/cyanogenmod/filemanager/commands/shell/Shell.java
+++ b/src/com/cyanogenmod/filemanager/commands/shell/Shell.java
@@ -1,131 +1,131 @@
/*
* Cop... | true | true | public void checkStdErr(Program program, int exitCode, String err)
throws InsufficientPermissionsException, NoSuchFileOrDirectory,
CommandNotFoundException, ExecutionException, ReadOnlyFilesystemException {
//Check problems in the standard error
if (exitCode != 0 && err.index... | public void checkStdErr(Program program, int exitCode, String err)
throws InsufficientPermissionsException, NoSuchFileOrDirectory,
CommandNotFoundException, ExecutionException, ReadOnlyFilesystemException {
//Check problems in the standard error
if (exitCode != 0 && err.index... |
diff --git a/src/java/org/apache/poi/hssf/dev/BiffViewer.java b/src/java/org/apache/poi/hssf/dev/BiffViewer.java
index 665182b09..fe0d211f8 100644
--- a/src/java/org/apache/poi/hssf/dev/BiffViewer.java
+++ b/src/java/org/apache/poi/hssf/dev/BiffViewer.java
@@ -1,693 +1,690 @@
/*
* ==================================... | true | true | private static Record[] createRecord( short rectype, short size,
byte[] data )
{
Record retval = null;
Record[] realretval = null;
// int irectype = rectype;
switch ( rectype )
{
case ChartRecord.sid:
... | private static Record[] createRecord( short rectype, short size,
byte[] data )
{
Record retval = null;
Record[] realretval = null;
// int irectype = rectype;
switch ( rectype )
{
case ChartRecord.sid:
... |
diff --git a/src/main/java/net/countercraft/movecraft/utils/BlockUtils.java b/src/main/java/net/countercraft/movecraft/utils/BlockUtils.java
index 218495e..ba4f0a3 100644
--- a/src/main/java/net/countercraft/movecraft/utils/BlockUtils.java
+++ b/src/main/java/net/countercraft/movecraft/utils/BlockUtils.java
@@ -1,835 +... | true | true | public static byte rotate( byte data, int typeID, Rotation rotation ) {
switch ( typeID ) {
case 17:
case 170:
boolean side1 = ( ( data & 0x4 ) == 0x4 );
boolean side2 = ( ( data & 0x8 ) == 0x8 );
if ( side1 || side2 ) {
data = ( byte ) ( data ^ 0xC );
}
return data;
case 50:
c... | public static byte rotate( byte data, int typeID, Rotation rotation ) {
switch ( typeID ) {
case 17:
case 170:
boolean side1 = ( ( data & 0x4 ) == 0x4 );
boolean side2 = ( ( data & 0x8 ) == 0x8 );
if ( side1 || side2 ) {
data = ( byte ) ( data ^ 0xC );
}
return data;
case 50:
c... |
diff --git a/src/main/java/org/youthnet/export/migration/ActivityLogsMigration.java b/src/main/java/org/youthnet/export/migration/ActivityLogsMigration.java
index 276df5f..f49e4e5 100644
--- a/src/main/java/org/youthnet/export/migration/ActivityLogsMigration.java
+++ b/src/main/java/org/youthnet/export/migration/Activi... | true | true | public void migrate(String csvDir, String outputDir) {
CSVFileReader csvFileReader = null;
BufferedWriter activityLogsWriter = null;
BufferedWriter opportunityActLogWriter = null;
BufferedWriter organisationActivityLogWriter = null;
BufferedWriter volunteerActivityLogWriter ... | public void migrate(String csvDir, String outputDir) {
CSVFileReader csvFileReader = null;
BufferedWriter activityLogsWriter = null;
BufferedWriter opportunityActLogWriter = null;
BufferedWriter organisationActivityLogWriter = null;
BufferedWriter volunteerActivityLogWriter ... |
diff --git a/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNStatusPrinter.java b/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNStatusPrinter.java
index f34f29620..a1df03294 100644
--- a/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNStatusPrinter.java
+++ b/svnkit-cli/src/org/tmatesoft/svn/cli/svn/SVNStatusPrinter.java
@@ -1,1... | false | true | public void printStatus(String path, SVNStatus status,
boolean detailed, boolean showLastCommitted, boolean skipUnrecognized, boolean showReposLocks) {
if (status == null || (skipUnrecognized && !(status.isVersioned() || status.getTreeConflict() != null)) ||
(status.getContents... | public void printStatus(String path, SVNStatus status,
boolean detailed, boolean showLastCommitted, boolean skipUnrecognized, boolean showReposLocks) {
if (status == null || (skipUnrecognized && !(status.isVersioned() || status.getTreeConflict() != null)) ||
(status.getContents... |
diff --git a/tests/com.aptana.editor.ruby.tests/src/com/aptana/editor/ruby/tests/AllTests.java b/tests/com.aptana.editor.ruby.tests/src/com/aptana/editor/ruby/tests/AllTests.java
index 479faec..6d864c6 100644
--- a/tests/com.aptana.editor.ruby.tests/src/com/aptana/editor/ruby/tests/AllTests.java
+++ b/tests/com.aptana.... | true | true | public static Test suite()
{
TestSuite suite = new TestSuite("Test for com.aptana.editor.ruby.tests");
// $JUnit-BEGIN$
suite.addTestSuite(RubyEditorTests.class);
suite.addTestSuite(RubyCATests.class);
// $JUnit-END$
return suite;
}
| public static Test suite()
{
TestSuite suite = new TestSuite("Test for com.aptana.editor.ruby.tests");
// $JUnit-BEGIN$
suite.addTest(RubyEditorTests.suite());
suite.addTest(RubyCATests.suite());
// $JUnit-END$
return suite;
}
|
diff --git a/src/main/java/net/lshift/timetracking/TimeTrackingEntry.java b/src/main/java/net/lshift/timetracking/TimeTrackingEntry.java
index 7c21410..ff0349b 100644
--- a/src/main/java/net/lshift/timetracking/TimeTrackingEntry.java
+++ b/src/main/java/net/lshift/timetracking/TimeTrackingEntry.java
@@ -1,82 +1,82 @@
... | false | true | public TimeTrackingEntry(String line) {
if (line != null) {
String[] elements = line.split(",");
assert elements.length == 4;
user = elements[0];
issue = elements[1];
DateFormat formatter = new SimpleDateFormat("yyyyy-MM-dd");
try {
... | public TimeTrackingEntry(String line) {
if (line != null) {
String[] elements = line.split(",");
assert elements.length == 4;
user = elements[0].trim();
issue = elements[1].trim();
DateFormat formatter = new SimpleDateFormat("yyyyy-MM-dd");
... |
diff --git a/web/src/main/java/org/remus/server/JettyServer.java b/web/src/main/java/org/remus/server/JettyServer.java
index fb8d3b2..99b5109 100644
--- a/web/src/main/java/org/remus/server/JettyServer.java
+++ b/web/src/main/java/org/remus/server/JettyServer.java
@@ -1,292 +1,295 @@
package org.remus.server;
impor... | false | true | public void jsRequest(String string, WorkMode mode,
BaseStackNode appletView, BaseStackNode appletOut) {
String peerID = pm.getPeerID(this);
logger.info("Javascript Query: " + peerID);
RemusNet.Iface jsWorker = null;
//RemusManager manager = pm.getManager();
//jsWorker = manager.getWorker("javascript");
... | public void jsRequest(String string, WorkMode mode,
BaseStackNode appletView, BaseStackNode appletOut) {
String peerID = pm.getPeerID(this);
logger.info("Javascript Query: " + peerID);
RemusNet.Iface jsWorker = null;
//RemusManager manager = pm.getManager();
//jsWorker = manager.getWorker("javascript");
... |
diff --git a/kernel/src/tests/org/jboss/test/kernel/config/support/CustomCollection.java b/kernel/src/tests/org/jboss/test/kernel/config/support/CustomCollection.java
index 8a9bbc84..c688337b 100644
--- a/kernel/src/tests/org/jboss/test/kernel/config/support/CustomCollection.java
+++ b/kernel/src/tests/org/jboss/test/k... | true | true | public CustomCollection()
{
this.preInstantiated = true;
}
| public CustomCollection()
{
this.preInstantiated = false;
}
|
diff --git a/web-ifp/src/java/org/sakaiproject/portlets/SakaiIFrame.java b/web-ifp/src/java/org/sakaiproject/portlets/SakaiIFrame.java
index f73ad0a..43c76f6 100644
--- a/web-ifp/src/java/org/sakaiproject/portlets/SakaiIFrame.java
+++ b/web-ifp/src/java/org/sakaiproject/portlets/SakaiIFrame.java
@@ -1,403 +1,403 @@
/*... | true | true | public void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
response.setContentType("text/html");
// System.out.println("==== doView called ====");
PrintWriter out = response.getWriter();
Placement placement = ToolManager.getCurrentPlacement();
response.... | public void doView(RenderRequest request, RenderResponse response)
throws PortletException, IOException {
response.setContentType("text/html");
// System.out.println("==== doView called ====");
PrintWriter out = response.getWriter();
Placement placement = ToolManager.getCurrentPlacement();
response.... |
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 9f614b09..7a6ea413 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1,2616 +1,2617 @@
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed und... | true | true | public boolean onOptionsItemSelected(MenuItem item) {
if (mOptionsMenuHandler != null &&
mOptionsMenuHandler.onOptionsItemSelected(item)) {
return true;
}
if (item.getGroupId() != R.id.CONTEXT_MENU) {
// menu remains active, so ensure comboview is dis... | public boolean onOptionsItemSelected(MenuItem item) {
if (mOptionsMenuHandler != null &&
mOptionsMenuHandler.onOptionsItemSelected(item)) {
return true;
}
if (item.getGroupId() != R.id.CONTEXT_MENU) {
// menu remains active, so ensure comboview is dis... |
diff --git a/api/src/main/java/org/jboss/xnio/channels/WrappingSslTcpChannel.java b/api/src/main/java/org/jboss/xnio/channels/WrappingSslTcpChannel.java
index 55b9e6ac..03f2067c 100644
--- a/api/src/main/java/org/jboss/xnio/channels/WrappingSslTcpChannel.java
+++ b/api/src/main/java/org/jboss/xnio/channels/WrappingSslT... | false | true | public long read(final ByteBuffer[] dsts, final int offset, final int length) throws IOException {
final Lock mainLock = this.mainLock;
mainLock.lock();
try {
final ByteBuffer readBuffer = this.readBuffer;
final int r = readBuffer.remaining();
if (r > 0) {... | public long read(final ByteBuffer[] dsts, final int offset, final int length) throws IOException {
final Lock mainLock = this.mainLock;
mainLock.lock();
try {
ByteBuffer readBuffer = this.readBuffer;
final int r = readBuffer.remaining();
if (r > 0) {
... |
diff --git a/dfpagent/src/com/github/veithen/dfpagent/protocol/connection/LogInterceptor.java b/dfpagent/src/com/github/veithen/dfpagent/protocol/connection/LogInterceptor.java
index 558847a..fa6c9d2 100644
--- a/dfpagent/src/com/github/veithen/dfpagent/protocol/connection/LogInterceptor.java
+++ b/dfpagent/src/com/git... | false | true | private static void hexDump(StringBuilder buffer, byte[] data, int length) {
for (int start = 0; start < length; start += 16) {
for (int i=0; i<16; i++) {
int index = start+i;
if (index < length) {
String hex = Integer.toHexString(data[start+i]... | private static void hexDump(StringBuilder buffer, byte[] data, int length) {
for (int start = 0; start < length; start += 16) {
for (int i=0; i<16; i++) {
if (i == 8) {
buffer.append(' ');
}
int index = start+i;
... |
diff --git a/plugins/org.eclipse.emf.compare.ui/src/org/eclipse/emf/compare/ui/viewer/content/part/property/PropertyContentProvider.java b/plugins/org.eclipse.emf.compare.ui/src/org/eclipse/emf/compare/ui/viewer/content/part/property/PropertyContentProvider.java
index 00c773adb..e049f2563 100755
--- a/plugins/org.eclip... | true | true | public Object[] getElements(Object inputElement) {
Object[] elements = new Object[] {};
if (inputElement instanceof Match2Elements) {
final Match2Elements match = (Match2Elements)inputElement;
if (partSide == EMFCompareConstants.RIGHT) {
inputEObject = match.getLeftElement();
} else if (partSide == ... | public Object[] getElements(Object inputElement) {
Object[] elements = new Object[] {};
if (inputElement instanceof Match2Elements) {
final Match2Elements match = (Match2Elements)inputElement;
if (partSide == EMFCompareConstants.RIGHT) {
inputEObject = match.getLeftElement();
} else if (partSide == ... |
diff --git a/org.eclipse.examples.slideshow.runner/src/org/eclipse/examples/slideshow/templates/eclipse/EclipseInfoSlideBackground.java b/org.eclipse.examples.slideshow.runner/src/org/eclipse/examples/slideshow/templates/eclipse/EclipseInfoSlideBackground.java
index c31a75a..affe9db 100644
--- a/org.eclipse.examples.sl... | true | true | public void renderOn(ResourceManager resourceManager, IFigure root, Slide slide) {
// TODO Make the banner dynamically size based on the size of the root figure
Figure banner = new ImageFigure(bannerImage);
banner.setBounds(new Rectangle(0, 768-71, 1024, 71));
root.add(banner);
Label copyright = new Label... | public void renderOn(ResourceManager resourceManager, IFigure root, Slide slide) {
// TODO Make the banner dynamically size based on the size of the root figure
Figure banner = new ImageFigure(bannerImage);
banner.setBounds(new Rectangle(0, 768-71, 1024, 71));
root.add(banner);
Label copyright = new Label... |
diff --git a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/text/hover/AbstractAnnotationHover.java b/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk/internal/ui/text/hover/AbstractAnnotationHover.java
index 01824b7da..57569453b 100644
--- a/core/plugins/org.eclipse.dltk.ui/src/org/eclipse/dltk... | true | true | public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) {
IPath path;
IAnnotationModel model;
if (textViewer instanceof ISourceViewer) {
path = null;
model = ((ISourceViewer) textViewer).getAnnotationModel();
} else {
// Get annotation model from file buffer manager
path = getEdito... | public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) {
IPath path;
IAnnotationModel model;
if (textViewer instanceof ISourceViewer) {
path = null;
model = ((ISourceViewer) textViewer).getAnnotationModel();
} else {
// Get annotation model from file buffer manager
path = getEdito... |
diff --git a/easysoa-registry/easysoa-registry-core/src/main/java/org/easysoa/validation/validators/WSDLValidator.java b/easysoa-registry/easysoa-registry-core/src/main/java/org/easysoa/validation/validators/WSDLValidator.java
index 8537543f..52fe7585 100644
--- a/easysoa-registry/easysoa-registry-core/src/main/java/or... | true | true | public boolean isWsdlCompatibleWith(File wsdlFile, File referenceEnvWsdlFile) throws WSDLException, MalformedURLException, IOException, URISyntaxException {
/**
* Parses both WSDLs in parallel, following the reference WSDL structure.
* XXX: Parsing is rough, incomplete and could deserve ... | public boolean isWsdlCompatibleWith(File wsdlFile, File referenceEnvWsdlFile) throws WSDLException, MalformedURLException, IOException, URISyntaxException {
/**
* Parses both WSDLs in parallel, following the reference WSDL structure.
* XXX: Parsing is rough, incomplete and could deserve ... |
diff --git a/DataModel/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactNode.java b/DataModel/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactNode.java
index f49c1a728..3bd88f584 100644
--- a/DataModel/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactNode.java
+++ b/DataModel/src/org/sleuthkit/autopsy/d... | false | true | protected Sheet createSheet() {
Sheet s = super.createSheet();
Sheet.Set ss = s.get(Sheet.PROPERTIES);
if (ss == null) {
ss = Sheet.createPropertiesSet();
s.put(ss);
}
final String NO_DESCR = "no description";
Map<Integer, Object> map = new Li... | protected Sheet createSheet() {
Sheet s = super.createSheet();
Sheet.Set ss = s.get(Sheet.PROPERTIES);
if (ss == null) {
ss = Sheet.createPropertiesSet();
s.put(ss);
}
final String NO_DESCR = "no description";
Map<Integer, Object> map = new Li... |
diff --git a/java/src/org/broadinstitute/sting/gatk/GenomeAnalysisTK.java b/java/src/org/broadinstitute/sting/gatk/GenomeAnalysisTK.java
index d8f66489a..2b77f44b1 100644
--- a/java/src/org/broadinstitute/sting/gatk/GenomeAnalysisTK.java
+++ b/java/src/org/broadinstitute/sting/gatk/GenomeAnalysisTK.java
@@ -1,489 +1,49... | true | true | protected int execute() {
final boolean TEST_ROD = false;
List<ReferenceOrderedData<? extends ReferenceOrderedDatum> > rods = new ArrayList<ReferenceOrderedData<? extends ReferenceOrderedDatum> >();
//
// please don't use these in the future, use the new syntax
//
if... | protected int execute() {
final boolean TEST_ROD = false;
List<ReferenceOrderedData<? extends ReferenceOrderedDatum> > rods = new ArrayList<ReferenceOrderedData<? extends ReferenceOrderedDatum> >();
//
// please don't use these in the future, use the new syntax
//
if... |
diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightPhase.java b/modules/elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightPhase.java
index 5f80520aadf..44f32737026 100644
--- a/modules/elasticsearch/src/main/java/org/elasticsearch/search/highlight/Highligh... | false | true | @Override public void execute(SearchContext context, HitContext hitContext) throws ElasticSearchException {
try {
DocumentMapper documentMapper = context.mapperService().documentMapper(hitContext.hit().type());
Map<String, HighlightField> highlightFields = newHashMap();
... | @Override public void execute(SearchContext context, HitContext hitContext) throws ElasticSearchException {
try {
DocumentMapper documentMapper = context.mapperService().documentMapper(hitContext.hit().type());
Map<String, HighlightField> highlightFields = newHashMap();
... |
diff --git a/user/super/com/google/gwt/emul/java/sql/Timestamp.java b/user/super/com/google/gwt/emul/java/sql/Timestamp.java
index 527a40456..bf9aa004e 100644
--- a/user/super/com/google/gwt/emul/java/sql/Timestamp.java
+++ b/user/super/com/google/gwt/emul/java/sql/Timestamp.java
@@ -1,169 +1,169 @@
/*
* Copyright 2... | true | true | public static Timestamp valueOf(String s) {
String[] components = s.split(" ");
if (components.length != 2) {
throw new IllegalArgumentException("Invalid escape format: " + s);
}
String[] timeComponents = components[1].split("\\.");
boolean hasNanos = true;
int nanos = 0;
if (time... | public static Timestamp valueOf(String s) {
String[] components = s.split(" ");
if (components.length != 2) {
throw new IllegalArgumentException("Invalid escape format: " + s);
}
String[] timeComponents = components[1].split("\\.");
boolean hasNanos = true;
int nanos = 0;
if (time... |
diff --git a/xwiki-commons-core/xwiki-commons-test/src/main/java/org/xwiki/test/AbstractMockingComponentTestCase.java b/xwiki-commons-core/xwiki-commons-test/src/main/java/org/xwiki/test/AbstractMockingComponentTestCase.java
index 97c851713..38f30b5ac 100644
--- a/xwiki-commons-core/xwiki-commons-test/src/main/java/org... | true | true | public void setUp() throws Exception
{
this.componentManager = new MockingComponentManager();
// Step 1: Register all components available
// TODO: Remove this so that tests are executed faster. Need to offer a way to register components manually.
this.loader.initialize(this.com... | public void setUp() throws Exception
{
this.componentManager = new LogSpecificMockingComponentManager();
// Step 1: Register all components available
// TODO: Remove this so that tests are executed faster. Need to offer a way to register components manually.
this.loader.initiali... |
diff --git a/src/ge/edu/freeuni/restaurant/presentation/AccountCreatingServlet.java b/src/ge/edu/freeuni/restaurant/presentation/AccountCreatingServlet.java
index 2eabd3b..2cdabda 100644
--- a/src/ge/edu/freeuni/restaurant/presentation/AccountCreatingServlet.java
+++ b/src/ge/edu/freeuni/restaurant/presentation/Account... | true | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String username = request.getParameter("username");
String pass = request.getParameter("myPass");
String info = request.getParameter("info");
String name = request.getParameter("name");
Str... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String username = request.getParameter("username");
String pass = request.getParameter("myPass");
String info = request.getParameter("info");
String name = request.getParameter("name");
Str... |
diff --git a/src/android/OTS2GUI.java b/src/android/OTS2GUI.java
index 3192ceb..b8f945d 100644
--- a/src/android/OTS2GUI.java
+++ b/src/android/OTS2GUI.java
@@ -1,465 +1,465 @@
package android;
import java.util.*;
import java.util.regex.*;
import android.gui.*;
import android.os.*;
import android.content.... | true | true | public LinkedHashMap contact2GUI(){ logrule();
LinkedList contactdetail = new LinkedList();
contactdetail.add(style("direction","vertical"));
String mainphone=user.content("private:viewing:phone:0");
if(mainphone==null) mainphone=user.content("private:viewing:phone");
if(ma... | public LinkedHashMap contact2GUI(){ logrule();
LinkedList contactdetail = new LinkedList();
contactdetail.add(style("direction","vertical"));
String mainphone=user.content("private:viewing:phone:0");
if(mainphone==null) mainphone=user.content("private:viewing:phone");
if(ma... |
diff --git a/src/org/jacorb/ir/Container.java b/src/org/jacorb/ir/Container.java
index 6e5e6856..f5bf9851 100644
--- a/src/org/jacorb/ir/Container.java
+++ b/src/org/jacorb/ir/Container.java
@@ -1,546 +1,546 @@
package org.jacorb.ir;
/*
* JacORB - a free Java ORB
*
* Copyright (C) 1997-2011 Gerald Br... | true | true | void loadContents()
{
this_container =
org.omg.CORBA.ContainerHelper.narrow( delegator.getReference());
if (this_container == null)
{
throw new INTF_REPOS ("no container !");
}
if( delegator instanceof Contained )
{
containing_... | void loadContents()
{
this_container =
org.omg.CORBA.ContainerHelper.narrow( delegator.getReference());
if (this_container == null)
{
throw new INTF_REPOS ("no container !");
}
if( delegator instanceof Contained )
{
containing_... |
diff --git a/src/java/org/infoglue/cms/applications/managementtool/actions/UpdateMySettingsAction.java b/src/java/org/infoglue/cms/applications/managementtool/actions/UpdateMySettingsAction.java
index 85d64687..88ccc3e5 100644
--- a/src/java/org/infoglue/cms/applications/managementtool/actions/UpdateMySettingsAction.ja... | false | true | public String doExecute() throws Exception
{
Map args = new HashMap();
args.put("globalKey", "infoglue");
PropertySet ps = PropertySetManager.getInstance("jdbc", args);
ps.setString("principal_" + this.getInfoGluePrincipal().getName() + "_languageCode", languageCode);
ps.setStr... | public String doExecute() throws Exception
{
Map args = new HashMap();
args.put("globalKey", "infoglue");
PropertySet ps = PropertySetManager.getInstance("jdbc", args);
if(languageCode != null)
ps.setString("principal_" + this.getInfoGluePrincipal().getName() + "_languageCode"... |
diff --git a/SimplyVanish/src/asofold/simplyvanish/VanishConfig.java b/SimplyVanish/src/asofold/simplyvanish/VanishConfig.java
index 60d2d2c..d135a1b 100644
--- a/SimplyVanish/src/asofold/simplyvanish/VanishConfig.java
+++ b/SimplyVanish/src/asofold/simplyvanish/VanishConfig.java
@@ -1,110 +1,111 @@
package asofold.si... | true | true | public void readFromArray(String[] parts, int startIndex, boolean allowVanish){
for ( String part : parts){
String s = part.trim().toLowerCase();
if (s.isEmpty() || s.length()<2) continue;
boolean state = false;
if (s.startsWith("+")){
state = true;
s = s.substring(1);
}
else if (s.startsWi... | public void readFromArray(String[] parts, int startIndex, boolean allowVanish){
for ( int i = startIndex; i<parts.length; i++){
String part = parts[i];
String s = part.trim().toLowerCase();
if (s.isEmpty() || s.length()<2) continue;
boolean state = false;
if (s.startsWith("+")){
state = true;
... |
diff --git a/test/agnostic/renderKit/basic/src/test/java/com/sun/faces/test/agnostic/renderKit/basic/Issue2420IT.java b/test/agnostic/renderKit/basic/src/test/java/com/sun/faces/test/agnostic/renderKit/basic/Issue2420IT.java
index 8bcd59843..e01d306c4 100644
--- a/test/agnostic/renderKit/basic/src/test/java/com/sun/fac... | true | true | public void testHBodyWithGivenId() throws Exception {
HtmlPage page = webClient.getPage(webUrl + "faces/inputFile.xhtml");
String expectedOutput = "<input id="+'"'+"form:file"+'"'+" type="+'"'+"file"+'"' +
" name="+'"'+"form:file"+'"'+" value="+'"'+"text value"+'"'+" />";
assertT... | public void testInputFileRender() throws Exception {
HtmlPage page = webClient.getPage(webUrl + "faces/inputFileRenderTest.xhtml");
String expectedOutput = "<input id="+'"'+"form:file"+'"'+" type="+'"'+"file"+'"' +
" name="+'"'+"form:file"+'"'+" value="+'"'+"text value"+'"'+" />";
... |
diff --git a/modeshape-rhq-plugin/src/main/java/org/modeshape/rhq/EngineDiscoveryComponent.java b/modeshape-rhq-plugin/src/main/java/org/modeshape/rhq/EngineDiscoveryComponent.java
index ed9493a..64cf8ea 100644
--- a/modeshape-rhq-plugin/src/main/java/org/modeshape/rhq/EngineDiscoveryComponent.java
+++ b/modeshape-rhq-... | true | true | public Set<DiscoveredResourceDetails> discoverResources( final ResourceDiscoveryContext<EngineComponent> context )
throws InvalidPluginConfigurationException, Exception {
final Set<DiscoveredResourceDetails> discoveredResources = new HashSet<DiscoveredResourceDetails>();
final BaseComponent<... | public Set<DiscoveredResourceDetails> discoverResources( final ResourceDiscoveryContext<EngineComponent> context )
throws InvalidPluginConfigurationException, Exception {
final Set<DiscoveredResourceDetails> discoveredResources = new HashSet<DiscoveredResourceDetails>();
final BaseComponent<... |
diff --git a/src/main/java/suite/lp/invocable/Invocables.java b/src/main/java/suite/lp/invocable/Invocables.java
index d8a9a3f59..842810ae7 100644
--- a/src/main/java/suite/lp/invocable/Invocables.java
+++ b/src/main/java/suite/lp/invocable/Invocables.java
@@ -1,168 +1,166 @@
package suite.lp.invocable;
import java... | true | true | public Node invoke(InvocableBridge bridge, List<Node> inputs) {
final Fun<Node, Node> unwrapper = bridge.getUnwrapper();
final List<String> list = new ArrayList<>();
ExpandUtil.expandList(unwrapper, inputs.get(0), new Sink<Node>() {
public void sink(Node node) {
list.add(ExpandUtil.expandString(unw... | public Node invoke(InvocableBridge bridge, List<Node> inputs) {
final Fun<Node, Node> unwrapper = bridge.getUnwrapper();
final List<String> list = new ArrayList<>();
ExpandUtil.expandList(unwrapper, inputs.get(0), new Sink<Node>() {
public void sink(Node node) {
list.add(ExpandUtil.expandString(unw... |
diff --git a/src/server/ServerConnection.java b/src/server/ServerConnection.java
index 1f33d57..c80afbc 100644
--- a/src/server/ServerConnection.java
+++ b/src/server/ServerConnection.java
@@ -1,99 +1,99 @@
package server;
import java.net.Socket;
import java.util.Calendar;
import main.Connection;
import main.P... | true | true | public void processMessage(Packet message){
Packet response;
System.out.println(message.getCommand().name() + " " + message.getChannelName());
switch(message.getCommand()){
case JOIN:
// This user joins appropriate channel
System.out.println("CALLING addUserToChannel with: " + String.valueOf(this.userId)... | public void processMessage(Packet message){
Packet response;
System.out.println(message.getCommand().name() + " " + message.getChannelName());
switch(message.getCommand()){
case JOIN:
// This user joins appropriate channel
System.out.println("CALLING addUserToChannel with: " + String.valueOf(this.userId)... |
diff --git a/src/main/java/javax/time/scales/LeapSeconds.java b/src/main/java/javax/time/scales/LeapSeconds.java
index 9b831ea4..f383be48 100644
--- a/src/main/java/javax/time/scales/LeapSeconds.java
+++ b/src/main/java/javax/time/scales/LeapSeconds.java
@@ -1,171 +1,175 @@
/*
* Copyright (c) 2009-2010, Stephen Cole... | false | true | private static void loadLeapSeconds() {
// It would be better for LeapSeconds.txt to be a file within the JRE lib folder to enable
// simple updating.
InputStream in = LeapSeconds.class.getResourceAsStream("LeapSeconds.txt");
if (in == null) {
throw new CalendricalExcepti... | private static void loadLeapSeconds() {
// It would be better for LeapSeconds.txt to be a file within the JRE lib folder to enable
// simple updating.
InputStream in = LeapSeconds.class.getResourceAsStream("LeapSeconds.txt");
if (in == null) {
throw new CalendricalExcepti... |
diff --git a/src/org/testng/xml/XmlSuite.java b/src/org/testng/xml/XmlSuite.java
index 5be8d836..46a3825b 100755
--- a/src/org/testng/xml/XmlSuite.java
+++ b/src/org/testng/xml/XmlSuite.java
@@ -1,565 +1,565 @@
package org.testng.xml;
import org.testng.IObjectFactory;
import org.testng.collections.Lists;
import o... | true | true | public String toXml() {
XMLStringBuffer xsb = new XMLStringBuffer("");
xsb.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + '\"');
Properties p = new Properties();
p.setProperty("name", getName());
if (getVerbose() != null) {
p.setProperty("verbose", getVerbose().toString());
}
... | public String toXml() {
XMLStringBuffer xsb = new XMLStringBuffer("");
xsb.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + '\"');
Properties p = new Properties();
p.setProperty("name", getName());
if (getVerbose() != null) {
p.setProperty("verbose", getVerbose().toString());
}
... |
diff --git a/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java b/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
index ede6f5c7..106f9f00 100644
--- a/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
+++ b/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
@@ -1,232 +1,232 @@
pack... | true | true | public void paintPrimitive(OsmPrimitive primitive, MapPaintSettings paintSettings, MapPainter painter, boolean selected) {
Way w = (Way)primitive;
/* show direction arrows, if draw.segment.relevant_directions_only is not set,
the way is tagged with a direction key
(even if the tag is... | public void paintPrimitive(OsmPrimitive primitive, MapPaintSettings paintSettings, MapPainter painter, boolean selected) {
Way w = (Way)primitive;
/* show direction arrows, if draw.segment.relevant_directions_only is not set,
the way is tagged with a direction key
(even if the tag is... |
diff --git a/servlet/src/test/java/io/undertow/servlet/test/streams/BlockingInputStreamServlet.java b/servlet/src/test/java/io/undertow/servlet/test/streams/BlockingInputStreamServlet.java
index dbe0e4287..8cd529f34 100644
--- a/servlet/src/test/java/io/undertow/servlet/test/streams/BlockingInputStreamServlet.java
+++ ... | true | true | protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
final ByteArrayOutputStream out = new ByteArrayOutputStream();
final ServletInputStream inputStream = req.getInputStream();
if(inputStream.available() == 0) {
... | protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {
final ByteArrayOutputStream out = new ByteArrayOutputStream();
final ServletInputStream inputStream = req.getInputStream();
byte[] buf = new byte[1024];
int read... |
diff --git a/src/eu/silvere/BeerListActivity.java b/src/eu/silvere/BeerListActivity.java
index 26d19a1..9f42961 100644
--- a/src/eu/silvere/BeerListActivity.java
+++ b/src/eu/silvere/BeerListActivity.java
@@ -1,91 +1,90 @@
package eu.silvere;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mCtx = getApplicationContext();
// mBeerBottleLoader = (BeerBottleLoader)
// savedInstanceState.get("beer_list");
// mBootleList = new BeerBottleLoader(getResources()).getBottles();
if (savedInstanceState != null && ... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mCtx = getApplicationContext();
// mBeerBottleLoader = (BeerBottleLoader)
// savedInstanceState.get("beer_list");
// mBootleList = new BeerBottleLoader(getResources()).getBottles();
if (savedInstanceState != null && ... |
diff --git a/trunk/src/webcamstudio/layout/transitions/FadeOut.java b/trunk/src/webcamstudio/layout/transitions/FadeOut.java
index cbeb261..ae79bce 100644
--- a/trunk/src/webcamstudio/layout/transitions/FadeOut.java
+++ b/trunk/src/webcamstudio/layout/transitions/FadeOut.java
@@ -1,41 +1,41 @@
/*
* To change this te... | true | true | public void doTransition(final LayoutItem item) {
VideoSource source = item.getSource();
source.setOpacity(0);
source.setShowAtX(item.getX());
source.setShowAtY(item.getY());
source.setOutputWidth(item.getWidth());
source.setOutputHeight(item.getHeight());
sou... | public void doTransition(final LayoutItem item) {
VideoSource source = item.getSource();
source.setOpacity(0);
source.setShowAtX(item.getX());
source.setShowAtY(item.getY());
source.setOutputWidth(item.getWidth());
source.setOutputHeight(item.getHeight());
sou... |
diff --git a/src/com/ubhave/triggermanager/triggers/clockbased/DailyNotificationScheduler.java b/src/com/ubhave/triggermanager/triggers/clockbased/DailyNotificationScheduler.java
index 9821758..c81b402 100644
--- a/src/com/ubhave/triggermanager/triggers/clockbased/DailyNotificationScheduler.java
+++ b/src/com/ubhave/tr... | false | true | private void scheduleNotifications()
{
ArrayList<Integer> times = new ArrayList<Integer>();
int currentMinute = currentMinute();
int earlyLimit = params.getValueInMinutes(TriggerConfig.DO_NOT_DISTURB_BEFORE_MINUTES);
int lateLimit = params.getValueInMinutes(TriggerConfig.DO_NOT_DISTURB_AFTER_MINUTES);
int m... | private void scheduleNotifications()
{
ArrayList<Integer> times = new ArrayList<Integer>();
int currentMinute = currentMinute();
int earlyLimit = params.getValueInMinutes(TriggerConfig.DO_NOT_DISTURB_BEFORE_MINUTES);
int lateLimit = params.getValueInMinutes(TriggerConfig.DO_NOT_DISTURB_AFTER_MINUTES);
int m... |
diff --git a/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/contentassist/PathParamAnnotationValueCompletionProposalComputer.java b/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/contentassist/PathParamAnnotationValueCompletionProposalComputer.java
index f1f8c01e..035c0ce7 1006... | true | true | public final List<ICompletionProposal> computeCompletionProposals(final ContentAssistInvocationContext context,
final IProgressMonitor monitor) {
JavaContentAssistInvocationContext javaContext = (JavaContentAssistInvocationContext) context;
try {
final IJavaProject project = javaContext.getProject();
fina... | public final List<ICompletionProposal> computeCompletionProposals(final ContentAssistInvocationContext context,
final IProgressMonitor monitor) {
JavaContentAssistInvocationContext javaContext = (JavaContentAssistInvocationContext) context;
try {
final IJavaProject project = javaContext.getProject();
fina... |
diff --git a/motech-openmrs-ws/src/main/java/org/motechproject/openmrs/rest/impl/SpringRestfulClientImpl.java b/motech-openmrs-ws/src/main/java/org/motechproject/openmrs/rest/impl/SpringRestfulClientImpl.java
index 19450a259..42777dab5 100644
--- a/motech-openmrs-ws/src/main/java/org/motechproject/openmrs/rest/impl/Spr... | true | true | private <T> T executeCommand(RestCommand<T> command) throws HttpException {
try {
return command.execute();
} catch (HttpClientErrorException e) {
System.out.println(e.getResponseBodyAsString());
LOGGER.warn("Request failed with client error: " + e.getMessage());
... | private <T> T executeCommand(RestCommand<T> command) throws HttpException {
try {
return command.execute();
} catch (HttpClientErrorException e) {
LOGGER.debug("RESPONSE: " + e.getResponseBodyAsString());
LOGGER.warn("Request failed with client error: " + e.getMes... |
diff --git a/src/main/java/org/apache/hbasene/index/HBaseIndexReader.java b/src/main/java/org/apache/hbasene/index/HBaseIndexReader.java
index 3e24565..da7b6fc 100644
--- a/src/main/java/org/apache/hbasene/index/HBaseIndexReader.java
+++ b/src/main/java/org/apache/hbasene/index/HBaseIndexReader.java
@@ -1,285 +1,286 @@... | false | true | public Document document(int n, FieldSelector fieldSelector)
throws CorruptIndexException, IOException {
Document doc = null;
HTable table = this.createHTable();
Get get = new Get(Bytes.toBytes(n));
get.addColumn(HBaseIndexTransactionLog.FAMILY_INT_TO_DOC,
HBaseIndexTransactionLog.QUALIF... | public Document document(int n, FieldSelector fieldSelector)
throws CorruptIndexException, IOException {
final long index = (long) n; // internally, all row keys are long.
Document doc = null;
HTable table = this.createHTable();
Get get = new Get(Bytes.toBytes(index));
get.addColumn(HBaseInd... |
diff --git a/src/main/java/com/salesforce/phoenix/execute/ScanPlan.java b/src/main/java/com/salesforce/phoenix/execute/ScanPlan.java
index 4abf6005..2a1812a6 100644
--- a/src/main/java/com/salesforce/phoenix/execute/ScanPlan.java
+++ b/src/main/java/com/salesforce/phoenix/execute/ScanPlan.java
@@ -1,132 +1,133 @@
/***... | true | true | protected Scanner newScanner(ConnectionQueryServices services) throws SQLException {
// Set any scan attributes before creating the scanner, as it will be too late afterwards
context.getScan().setAttribute(ScanRegionObserver.NON_AGGREGATE_QUERY, QueryConstants.TRUE);
ResultIterator scanner;
... | protected Scanner newScanner(ConnectionQueryServices services) throws SQLException {
// Set any scan attributes before creating the scanner, as it will be too late afterwards
context.getScan().setAttribute(ScanRegionObserver.NON_AGGREGATE_QUERY, QueryConstants.TRUE);
ResultIterator scanner;
... |
diff --git a/src/gossipLearning/controls/observers/SamplingBasedPredictionObserver.java b/src/gossipLearning/controls/observers/SamplingBasedPredictionObserver.java
index a2dcaf9..f0f1bdd 100644
--- a/src/gossipLearning/controls/observers/SamplingBasedPredictionObserver.java
+++ b/src/gossipLearning/controls/observers/... | true | true | protected Set<Integer> generateIndices() {
TreeSet<Integer> indices = new TreeSet<Integer>();
while (indices.size() < samples) {
indices.add(CommonState.r.nextInt(g.size()));
}
return indices;
}
| protected Set<Integer> generateIndices() {
if (samples > g.size() || samples < 1) {
return super.generateIndices();
}
TreeSet<Integer> indices = new TreeSet<Integer>();
while (indices.size() < samples) {
indices.add(CommonState.r.nextInt(g.size()));
}
return indices;
}
|
diff --git a/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java b/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java
index 34e442d08..aa3b446de 100644
--- a/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java
+++ b/gdx/src/com/badlogic/gdx/net/NetJavaImpl.java
@@ -1,211 +1,201 @@
package com.badlogic.gdx.net;
import java.io.Buffer... | false | true | public void sendHttpRequest (final HttpRequest httpRequest, final HttpResponseListener httpResponseListener) {
if (httpRequest.getUrl() == null) {
httpResponseListener.failed(new GdxRuntimeException("can't process a HTTP request without URL set"));
return;
}
try {
final String method = httpRequest.getM... | public void sendHttpRequest (final HttpRequest httpRequest, final HttpResponseListener httpResponseListener) {
if (httpRequest.getUrl() == null) {
httpResponseListener.failed(new GdxRuntimeException("can't process a HTTP request without URL set"));
return;
}
try {
final String method = httpRequest.getM... |
diff --git a/src/main/java/com/flazr/amf/Amf0Value.java b/src/main/java/com/flazr/amf/Amf0Value.java
index b67f7cc..b13d954 100644
--- a/src/main/java/com/flazr/amf/Amf0Value.java
+++ b/src/main/java/com/flazr/amf/Amf0Value.java
@@ -1,247 +1,247 @@
/*
* Flazr <http://flazr.com> Copyright (C) 2009 Peter Thomas.
*
... | false | true | private static Object decode(final ChannelBuffer in, final Type type) {
switch (type) {
case NUMBER: return Double.longBitsToDouble(in.readLong());
case BOOLEAN: return in.readByte() == BOOLEAN_TRUE;
case STRING: return decodeString(in);
case ARRAY:
... | private static Object decode(final ChannelBuffer in, final Type type) {
switch (type) {
case NUMBER: return Double.longBitsToDouble(in.readLong());
case BOOLEAN: return in.readByte() == BOOLEAN_TRUE;
case STRING: return decodeString(in);
case ARRAY:
... |
diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/TermComponentQuery.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/TermComponentQuery.java
index 7dc9647cc..062ab3979 100644
--- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/TermComponentQuery.java
+++ b/KeywordSearch/src/org/sle... | true | true | public Collection<KeywordWriteResult> writeToBlackBoard(FsContent newFsHit, String listName) {
final String MODULE_NAME = KeywordSearchIngestService.MODULE_NAME;
Collection<KeywordWriteResult> writeResults = new ArrayList<KeywordWriteResult>();
//get case-insensitive term matches
M... | public Collection<KeywordWriteResult> writeToBlackBoard(FsContent newFsHit, String listName) {
final String MODULE_NAME = KeywordSearchIngestService.MODULE_NAME;
Collection<KeywordWriteResult> writeResults = new ArrayList<KeywordWriteResult>();
//get case-insensitive term matches
M... |
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskList.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskList.java
index 9f2c80790..4124f7350 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskList.java
+++ b/org.eclipse.mylyn.tasks.core/sr... | false | true | public void addTask(AbstractTask task, AbstractTaskContainer parentContainer) {
if (task == null) {
return;
}
AbstractTask newTask = tasks.get(task.getHandleIdentifier());
if (newTask == null) {
newTask = task;
tasks.put(newTask.getHandleIdentifier(), newTask);
archiveContainer.addChild(newTask);... | public void addTask(AbstractTask task, AbstractTaskContainer parentContainer) {
if (task == null) {
return;
}
AbstractTask newTask = tasks.get(task.getHandleIdentifier());
if (newTask == null) {
newTask = task;
tasks.put(newTask.getHandleIdentifier(), newTask);
archiveContainer.addChild(newTask);... |
diff --git a/api/src/test/java/com/zaubersoftware/leviathan/api/engine/NewApiTestDriver.java b/api/src/test/java/com/zaubersoftware/leviathan/api/engine/NewApiTestDriver.java
index aadc003..2912c5a 100644
--- a/api/src/test/java/com/zaubersoftware/leviathan/api/engine/NewApiTestDriver.java
+++ b/api/src/test/java/com/z... | true | true | public void testname() throws Exception {
final Engine engine = Leviathan.newEngine().build();
engine.forUri("http://google.com/").then(new ContextAwareClosure<URIFetcherResponse>() {
@Override
public void execute(final URIFetcherResponse response) {
// ok! n... | public void testname() throws Exception {
final Engine engine = Leviathan.newEngine().build();
engine.forUri("http://google.com/").then(new ContextAwareClosure<URIFetcherResponse>() {
@Override
public void execute(final URIFetcherResponse response) {
// ok! n... |
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
index d7f14643..cee2ec0b 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java
+++ b/Ess... | true | true | protected static void loadGroups(WorldDataHolder ph, File groupsFile) throws FileNotFoundException, IOException {
//READ GROUPS FILE
Yaml yamlGroups = new Yaml(new SafeConstructor());
Map<String, Object> groupsRootDataNode;
if (!groupsFile.exists()) {
throw new IllegalAr... | protected static void loadGroups(WorldDataHolder ph, File groupsFile) throws FileNotFoundException, IOException {
//READ GROUPS FILE
Yaml yamlGroups = new Yaml(new SafeConstructor());
Map<String, Object> groupsRootDataNode;
if (!groupsFile.exists()) {
throw new IllegalAr... |
diff --git a/beam-core/src/main/java/org/esa/beam/dataio/geometry/GeometryAndFeatureTypeStrategy.java b/beam-core/src/main/java/org/esa/beam/dataio/geometry/GeometryAndFeatureTypeStrategy.java
index e4da6c079..7502ebbcb 100644
--- a/beam-core/src/main/java/org/esa/beam/dataio/geometry/GeometryAndFeatureTypeStrategy.jav... | false | true | public void interpretLine(String[] tokens, SimpleFeatureBuilder builder, SimpleFeatureType simpleFeatureType) throws IOException, ConversionException {
for (int columnIndex = 1; columnIndex < tokens.length; columnIndex++) {
String token = tokens[columnIndex];
token = VectorDataNodeIO... | public void interpretLine(String[] tokens, SimpleFeatureBuilder builder, SimpleFeatureType simpleFeatureType) throws IOException, ConversionException {
for (int columnIndex = 1; columnIndex < tokens.length; columnIndex++) {
String token = tokens[columnIndex];
token = VectorDataNodeIO... |
diff --git a/android/flightpred/src/ch/ulrichard/flightpred/MapTabView.java b/android/flightpred/src/ch/ulrichard/flightpred/MapTabView.java
index 5f13df1..5f5bde7 100644
--- a/android/flightpred/src/ch/ulrichard/flightpred/MapTabView.java
+++ b/android/flightpred/src/ch/ulrichard/flightpred/MapTabView.java
@@ -1,113 +... | true | true | private void loadPredData() {
try {
XmlHandler xmlh = XmlHandler.inst("");
xmlh.load();
TreeMap<String, TreeMap<Date, Float>> preddata = xmlh.getPredData();
MapView mapv = (MapView)findViewById(R.id.mapview);
List<Overlay> mapOverlays = mapv.getOverlays();
TreeMap<Date, Paint>... | private void loadPredData() {
try {
// XmlHandler xmlh = XmlHandler.inst("");
JsonHandler xmlh = JsonHandler.inst("");
xmlh.load();
TreeMap<String, TreeMap<Date, Float>> preddata = xmlh.getPredData();
MapView mapv = (MapView)findViewById(R.id.mapview);
List<Overlay> mapOverlays = mapv.ge... |
diff --git a/src/com/mistphizzle/donationpoints/plugin/SignListener.java b/src/com/mistphizzle/donationpoints/plugin/SignListener.java
index 1998cc4..5b8c5fa 100644
--- a/src/com/mistphizzle/donationpoints/plugin/SignListener.java
+++ b/src/com/mistphizzle/donationpoints/plugin/SignListener.java
@@ -1,32 +1,31 @@
pack... | true | true | public void onSignChance(SignChangeEvent e) {
if (e.isCancelled()) return;
if (e.getPlayer() == null) return;
Player p = e.getPlayer();
String line1 = e.getLine(0);
// Permissions
if (line1.equalsIgnoreCase("[Premium]"));
if (!p.hasPermission("donationpoints.sign.create")) {
e.setCancelled(true);
... | public void onSignChance(SignChangeEvent e) {
if (e.isCancelled()) return;
if (e.getPlayer() == null) return;
Player p = e.getPlayer();
String line1 = e.getLine(0);
// Permissions
if (line1.equalsIgnoreCase("[Premium]") && !p.hasPermission("donationpoints.sign.create")) {
e.setCancelled(true);
p.s... |
diff --git a/svnkit/src/org/tmatesoft/svn/core/internal/io/svn/SVNRepositoryImpl.java b/svnkit/src/org/tmatesoft/svn/core/internal/io/svn/SVNRepositoryImpl.java
index a1536ef53..c1f618d6b 100644
--- a/svnkit/src/org/tmatesoft/svn/core/internal/io/svn/SVNRepositoryImpl.java
+++ b/svnkit/src/org/tmatesoft/svn/core/intern... | false | true | protected long logImpl(String[] targetPaths, long startRevision, long endRevision,
boolean changedPaths, boolean strictNode, long limit,
boolean includeMergedRevisions, String[] revisionPropertyNames,
ISVNLogEntryHandler handler) throws SVNException {
... | protected long logImpl(String[] targetPaths, long startRevision, long endRevision,
boolean changedPaths, boolean strictNode, long limit,
boolean includeMergedRevisions, String[] revisionPropertyNames,
ISVNLogEntryHandler handler) throws SVNException {
... |
diff --git a/src/chess/search/search34/pipeline/DescentStage.java b/src/chess/search/search34/pipeline/DescentStage.java
index 2e0b115..f0a2ad1 100644
--- a/src/chess/search/search34/pipeline/DescentStage.java
+++ b/src/chess/search/search34/pipeline/DescentStage.java
@@ -1,225 +1,224 @@
package chess.search.search34.... | false | true | public int eval(SearchContext c, NodeProps props, KillerMoveSet kms, State4 s) {
int alpha = c.alpha;
NodeType nt = c.nt;
//unimplemented misc from previous search
final int razorReduction = 0;
final boolean threatMove = false;
StackFrame frame = stack[c.stackIndex];
MoveSet[] mset = frame.mlist.list;... | public int eval(SearchContext c, NodeProps props, KillerMoveSet kms, State4 s) {
int alpha = c.alpha;
NodeType nt = c.nt;
//unimplemented misc from previous search
final int razorReduction = 0;
final boolean threatMove = false;
StackFrame frame = stack[c.stackIndex];
MoveSet[] mset = frame.mlist.list;... |
diff --git a/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc17/db/SvnWcDbShared.java b/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc17/db/SvnWcDbShared.java
index df6c55f31..b1aa6e08c 100644
--- a/svnkit/src/main/java/org/tmatesoft/svn/core/internal/wc17/db/SvnWcDbShared.java
+++ b/svnkit/src/main/jav... | true | true | protected static Structure<NodeInfo> readInfo(SVNWCDbRoot wcRoot, File localRelPath, NodeInfo... fields) throws SVNException {
Structure<NodeInfo> info = Structure.obtain(NodeInfo.class, fields);
SVNSqlJetStatement stmtInfo = null;
SVNSqlJetStatement stmtActual = null;
... | protected static Structure<NodeInfo> readInfo(SVNWCDbRoot wcRoot, File localRelPath, NodeInfo... fields) throws SVNException {
Structure<NodeInfo> info = Structure.obtain(NodeInfo.class, fields);
SVNSqlJetStatement stmtInfo = null;
SVNSqlJetStatement stmtActual = null;
... |
diff --git a/src/com/tritarget/client/AboutBox.java b/src/com/tritarget/client/AboutBox.java
index 260af34..e25deed 100644
--- a/src/com/tritarget/client/AboutBox.java
+++ b/src/com/tritarget/client/AboutBox.java
@@ -1,30 +1,30 @@
/**
* Copyright (c) 2008 Devin Weaver
* Licensed under the Educational Community Lic... | true | true | public static HTML getHtml() {
return new HTML("<div class=\"about-box\">"
+ "<h4>" + CipherEncoder.APP_NAME
+ " Version " + CipherEncoder.APP_VERSION + "</h4>"
+ "<p>by Devin Weaver "
+ "<<a href=\"mailto:wea... | public static HTML getHtml() {
return new HTML("<div class=\"about-box\">"
+ "<h4>" + CipherEncoder.APP_NAME
+ " Version " + CipherEncoder.APP_VERSION + "</h4>"
+ "<p>by Devin Weaver "
+ "<<a href=\"mailto:wea... |
diff --git a/dbfit-java/core/src/main/java/dbfit/util/DbAutoGeneratedKeyAccessor.java b/dbfit-java/core/src/main/java/dbfit/util/DbAutoGeneratedKeyAccessor.java
index 3054872e..bd9b59bb 100644
--- a/dbfit-java/core/src/main/java/dbfit/util/DbAutoGeneratedKeyAccessor.java
+++ b/dbfit-java/core/src/main/java/dbfit/util/D... | true | true | public Object get() throws IllegalAccessException, InvocationTargetException {
try {
ResultSet rs = statement.getGeneratedKeys();
if (rs.next()) //todo: first try to find by name (mysql does not support name-based return keys)
return rs.getObject(1);
} catch (... | public Object get() throws IllegalAccessException, InvocationTargetException {
try {
ResultSet rs = statement.getGeneratedKeys();
if (rs.next()) {//todo: first try to find by name (mysql does not support name-based return keys)
if (javaType == Integer.class) {
... |
diff --git a/src/org/nutz/lang/util/Resources.java b/src/org/nutz/lang/util/Resources.java
index 2757cd34e..6fb30f4dc 100644
--- a/src/org/nutz/lang/util/Resources.java
+++ b/src/org/nutz/lang/util/Resources.java
@@ -1,167 +1,171 @@
package org.nutz.lang.util;
import java.io.File;
import java.io.FileFilter;
impor... | false | true | private static File getBasePath(String base) {
try {
Enumeration<URL> urls = new ClassLoader() {}.getResources(base);
File file = null;
// zozoh: In eclipse tomcat debug env, the urls is always empty
if (null != urls && urls.hasMoreElements()) {
URL url = urls.nextElement();
if (url != null)
... | private static File getBasePath(String base) {
try {
Enumeration<URL> urls = new ClassLoader() {}.getResources(base);
File file = null;
// zozoh: In eclipse tomcat debug env, the urls is always empty
if (null != urls && urls.hasMoreElements()) {
URL url = urls.nextElement();
if (url != null)
... |
diff --git a/Project/src/de/Psychologie/socialintelligence/PopPollActivity.java b/Project/src/de/Psychologie/socialintelligence/PopPollActivity.java
index 9fa62cf..3a9a49e 100644
--- a/Project/src/de/Psychologie/socialintelligence/PopPollActivity.java
+++ b/Project/src/de/Psychologie/socialintelligence/PopPollActivity.... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ActivityRegistry.register(this);
setContentView(R.layout.activity_pop_poll);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
// Kalender Instanze setzen
cal = Calendar.getInstance();
pr... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ActivityRegistry.register(this);
setContentView(R.layout.activity_pop_poll);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
// Kalender Instanze setzen
cal = Calendar.getInstance();
pr... |
diff --git a/gui/src/main/java/org/jboss/as/console/client/domain/runtime/DomainRuntimeNavigation.java b/gui/src/main/java/org/jboss/as/console/client/domain/runtime/DomainRuntimeNavigation.java
index f85f7c83..7fd84bcb 100644
--- a/gui/src/main/java/org/jboss/as/console/client/domain/runtime/DomainRuntimeNavigation.ja... | true | true | public Widget asWidget()
{
layout = new VerticalPanel();
layout.setStyleName("fill-layout-width");
stack = new VerticalPanel();
stack.setStyleName("fill-layout-width");
// ----------------------------------------------------
LHSNavTree domainNavigation = new L... | public Widget asWidget()
{
layout = new VerticalPanel();
layout.setStyleName("fill-layout-width");
stack = new VerticalPanel();
stack.setStyleName("fill-layout-width");
// ----------------------------------------------------
LHSNavTree domainNavigation = new L... |
diff --git a/mapscript/java/examples/QueryByAttributeUnicode.java b/mapscript/java/examples/QueryByAttributeUnicode.java
index 93ec3539..aec867b4 100644
--- a/mapscript/java/examples/QueryByAttributeUnicode.java
+++ b/mapscript/java/examples/QueryByAttributeUnicode.java
@@ -1,47 +1,46 @@
import edu.umn.gis.mapscript.*... | false | true | public static void main(String[] args) {
String filter="/S�dliche Weinstra�e/";
if (args.length == 2) {
filter=args[1];
}
// Unsupported
//String langSettings=System.getenv("LANG");
// Only since jdk 1.5
//String charsetSetting=Charset.defaultCharset().displayName();
String charsetSetting = new ja... | public static void main(String[] args) {
String filter="/S�dliche Weinstra�e/";
if (args.length == 2) {
filter=args[1];
}
// Unsupported
//String langSettings=System.getenv("LANG");
// Only since jdk 1.5
//String charsetSetting=Charset.defaultCharset().displayName();
String charsetSetting = new ja... |
diff --git a/backend/skynet_backend/src/main/java/toctep/skynet/backend/bll/TweetParser.java b/backend/skynet_backend/src/main/java/toctep/skynet/backend/bll/TweetParser.java
index fb0191d..c21a608 100644
--- a/backend/skynet_backend/src/main/java/toctep/skynet/backend/bll/TweetParser.java
+++ b/backend/skynet_backend/... | true | true | private void parseUser(twitter4j.User userStatus) {
this.user = new User();
user.setTwitterId(userStatus.getId());
user.setDefaultProfile(false); //Twitter4j has no support for this?
user.setStatusesCount(userStatus.getStatusesCount());
user.setProfileBackgroundTile(0); /... | private void parseUser(twitter4j.User userStatus) {
this.user = new User();
user.setTwitterId(userStatus.getId());
user.setDefaultProfile(false); //Twitter4j has no support for this?
user.setStatusesCount(userStatus.getStatusesCount());
user.setProfileBackgroundTile(0); /... |
diff --git a/src/com/adamki11s/questx/sql/SQLTables.java b/src/com/adamki11s/questx/sql/SQLTables.java
index cadf108..4d78753 100644
--- a/src/com/adamki11s/questx/sql/SQLTables.java
+++ b/src/com/adamki11s/questx/sql/SQLTables.java
@@ -1,50 +1,50 @@
package com.adamki11s.questx.sql;
import java.sql.SQLException;
... | true | true | public static void initiateSQLite(SyncSQL sql) {
QuestX.logMSG("Connecting to SQLite database...");
if (sql.initialise()) {
QuestX.logMSG("Connection successfull!");
} else {
QuestX.logMSG("Something went wrong!");
}
/*try {
if (!sql.doesTableExist("reputation")) {
String createRepTable = "CREA... | public static void initiateSQLite(SyncSQL sql) {
QuestX.logMSG("Connecting to SQLite database...");
if (sql.initialise()) {
QuestX.logMSG("Connection successful!");
} else {
QuestX.logMSG("Something went wrong!");
}
/*try {
if (!sql.doesTableExist("reputation")) {
String createRepTable = "CREAT... |
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/hyperlink/MultipleHyperlinkPresenter.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/hyperlink/MultipleHyperlinkPresenter.java
index cad1cc5c1..2cc0fe07d 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/hyperlink/MultipleHyperlinkPres... | false | true | private void registerTableListeners() {
fTable.addMouseMoveListener(new MouseMoveListener() {
TableItem fLastItem= null;
public void mouseMove(MouseEvent e) {
if (fTable.equals(e.getSource())) {
Object o= fTable.getItem(new Point(e.x, e.y));
if (o instanceof TableItem) {
TableItem... | private void registerTableListeners() {
fTable.addMouseMoveListener(new MouseMoveListener() {
TableItem fLastItem= null;
public void mouseMove(MouseEvent e) {
if (fTable.equals(e.getSource())) {
Object o= fTable.getItem(new Point(e.x, e.y));
if (fLastItem == null ^ o == null) {
fT... |
diff --git a/src/chameleon/support/expression/AssignmentExpression.java b/src/chameleon/support/expression/AssignmentExpression.java
index 79365cc..d6a3060 100644
--- a/src/chameleon/support/expression/AssignmentExpression.java
+++ b/src/chameleon/support/expression/AssignmentExpression.java
@@ -1,125 +1,125 @@
packag... | true | true | public VerificationResult verifySelf() {
VerificationResult result = Valid.create();
try {
Expression var = getVariable();
if(var == null) {
result = result.and(new BasicProblem(this, "The assignment has no variable at the left-hand side"));
}
Expression value = getValue();
if(value == null) {
... | public VerificationResult verifySelf() {
VerificationResult result = Valid.create();
try {
Expression var = getVariable();
if(var == null) {
result = result.and(new BasicProblem(this, "The assignment has no variable at the left-hand side"));
}
Expression value = getValue();
if(value == null) {
... |
diff --git a/apps/streaming/java/src/net/i2p/client/streaming/ConnThrottler.java b/apps/streaming/java/src/net/i2p/client/streaming/ConnThrottler.java
index 07430e751..5383873e9 100644
--- a/apps/streaming/java/src/net/i2p/client/streaming/ConnThrottler.java
+++ b/apps/streaming/java/src/net/i2p/client/streaming/ConnTh... | false | true | ConnThrottler(int max, int totalMax, long period) {
_max = max;
_totalMax = totalMax;
if (max > 0) {
SimpleScheduler.getInstance().addPeriodicEvent(new Cleaner(), period);
this.counter = new ObjectCounter();
} else {
this.counter = null;
}
... | ConnThrottler(int max, int totalMax, long period) {
_max = max;
_totalMax = totalMax;
SimpleScheduler.getInstance().addPeriodicEvent(new Cleaner(), period);
if (max > 0)
this.counter = new ObjectCounter();
else
this.counter = null;
if (totalMax... |
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageDraw.java b/src/com/android/gallery3d/filtershow/imageshow/ImageDraw.java
index 6c3417ad3..8fcc028af 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/ImageDraw.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/ImageDraw.java
@@ -1,150 +... | false | true | public boolean onTouchEvent(MotionEvent event) {
boolean ret = super.onTouchEvent(event);
if (event.getPointerCount() > 1) {
if (mFRep.getCurrentDrawing() != null) {
mFRep.clearCurrentSection();
mEditorDraw.commitLocalRepresentation();
}
... | public boolean onTouchEvent(MotionEvent event) {
if (event.getPointerCount() > 1) {
boolean ret = super.onTouchEvent(event);
if (mFRep.getCurrentDrawing() != null) {
mFRep.clearCurrentSection();
mEditorDraw.commitLocalRepresentation();
}
... |
diff --git a/src/test/cli/cloudify/cloud/BootstrapFailureEc2Test.java b/src/test/cli/cloudify/cloud/BootstrapFailureEc2Test.java
index 1c59a5fc..0f729a98 100644
--- a/src/test/cli/cloudify/cloud/BootstrapFailureEc2Test.java
+++ b/src/test/cli/cloudify/cloud/BootstrapFailureEc2Test.java
@@ -1,97 +1,97 @@
package test.c... | true | true | public void installTest() throws IOException, InterruptedException {
File standardBootstrapManagement = new File(service.getPathToCloudFolder() + "/upload", "bootstrap-management.sh");
File badBootstrapManagement = new File(SGTestHelper.getSGTestRootDir() + "/apps/cloudify/cloud/ec2/bad-bootstrap-management.sh"... | public void installTest() throws IOException, InterruptedException {
File standardBootstrapManagement = new File(service.getPathToCloudFolder() + "/upload", "bootstrap-management.sh");
File badBootstrapManagement = new File(SGTestHelper.getSGTestRootDir() + "/apps/cloudify/cloud/ec2/bad-bootstrap-management.sh"... |
diff --git a/src/gov/nih/nci/nautilus/query/CompoundQuery.java b/src/gov/nih/nci/nautilus/query/CompoundQuery.java
index eda4f501..67794721 100755
--- a/src/gov/nih/nci/nautilus/query/CompoundQuery.java
+++ b/src/gov/nih/nci/nautilus/query/CompoundQuery.java
@@ -1,281 +1,295 @@
/*
* @author: SahniH
* Created on ... | true | true | public ViewType [] getValidViews(){
ViewType [] validViewTypes=null;
ArrayList queryTypesCollection=null;
boolean isGEQuery = false;
boolean isCGHQuery = false;
boolean isClinical = false;
queryTypesCollection = getQueryTypes(this);
for (Iterator iter = queryTypesCollection.iterator();iter.hasNext()... | public ViewType [] getValidViews(){
ViewType [] validViewTypes=null;
ArrayList queryTypesCollection=null;
boolean isGEQuery = false;
boolean isCGHQuery = false;
boolean isClinical = false;
queryTypesCollection = getQueryTypes(this);
for (Iterator iter = queryTypesCollection.iterator();iter.hasNext()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.