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/java/com/android/internal/telephony/gsm/GsmSMSDispatcher.java b/src/java/com/android/internal/telephony/gsm/GsmSMSDispatcher.java
index d6c2a20..9295773 100644
--- a/src/java/com/android/internal/telephony/gsm/GsmSMSDispatcher.java
+++ b/src/java/com/android/internal/telephony/gsm/GsmSMSDispatcher.java... | true | true | private void handleBroadcastSms(AsyncResult ar) {
try {
byte[] receivedPdu = (byte[])ar.result;
if (false) {
for (int i = 0; i < receivedPdu.length; i += 8) {
StringBuilder sb = new StringBuilder("SMS CB pdu data: ");
for (int ... | private void handleBroadcastSms(AsyncResult ar) {
try {
byte[] receivedPdu = (byte[])ar.result;
if (false) {
for (int i = 0; i < receivedPdu.length; i += 8) {
StringBuilder sb = new StringBuilder("SMS CB pdu data: ");
for (int ... |
diff --git a/tests/src/com/android/providers/contacts/ContactsProvider2Test.java b/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
index 74d0e691..58086e2d 100644
--- a/tests/src/com/android/providers/contacts/ContactsProvider2Test.java
+++ b/tests/src/com/android/providers/contacts/ContactsProvider... | true | true | public void testSettingsInsertionPreventsDuplicates() {
Account account1 = new Account("a", "b");
AccountWithDataSet account2 = new AccountWithDataSet("c", "d", "plus");
createSettings(account1, "0", "0");
createSettings(account2, "1", "1");
// Now try creating the settings ... | public void testSettingsInsertionPreventsDuplicates() {
Account account1 = new Account("a", "b");
AccountWithDataSet account2 = new AccountWithDataSet("c", "d", "plus");
createSettings(account1, "0", "0");
createSettings(account2, "1", "1");
// Now try creating the settings ... |
diff --git a/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/templates/editor/ModelWizard.java b/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/templates/editor/ModelWizard.java
index 3704915bb..376f8912f 100644
--- a/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse... | false | true | public String generate(Object argument)
{
final StringBuffer stringBuffer = new StringBuffer();
/**
* <copyright>
*
* Copyright (c) 2002-2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Lice... | public String generate(Object argument)
{
final StringBuffer stringBuffer = new StringBuffer();
/**
* <copyright>
*
* Copyright (c) 2002-2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Lice... |
diff --git a/src/com/fsck/k9/activity/FolderList.java b/src/com/fsck/k9/activity/FolderList.java
index 4b2f8bfa..a07335d7 100644
--- a/src/com/fsck/k9/activity/FolderList.java
+++ b/src/com/fsck/k9/activity/FolderList.java
@@ -1,1422 +1,1421 @@
package com.fsck.k9.activity;
import android.app.AlertDialog;
import a... | true | true | public View getItemView(int itemPosition, View convertView, ViewGroup parent)
{
FolderInfoHolder folder = (FolderInfoHolder) getItem(itemPosition);
View view;
if ((convertView != null) && (convertView.getId() == R.layout.folder_list_item))
{
... | public View getItemView(int itemPosition, View convertView, ViewGroup parent)
{
FolderInfoHolder folder = (FolderInfoHolder) getItem(itemPosition);
View view;
if ((convertView != null) && (convertView.getId() == R.layout.folder_list_item))
{
... |
diff --git a/src/share/classes/com/sun/tools/javafx/comp/JavafxBoundContextAnalysis.java b/src/share/classes/com/sun/tools/javafx/comp/JavafxBoundContextAnalysis.java
index ab4ab7176..736d4288e 100644
--- a/src/share/classes/com/sun/tools/javafx/comp/JavafxBoundContextAnalysis.java
+++ b/src/share/classes/com/sun/tools... | true | true | public void visitFunctionDefinition(JFXFunctionDefinition tree) {
// start over in a function definition
boolean wasInBindContext = inBindContext;
inBindContext = tree.isBound();
// don't use super, since we don't want to cancel the inBindContext
scan(tree.getParams());
... | public void visitFunctionDefinition(JFXFunctionDefinition tree) {
// start over in a function definition
boolean wasInBindContext = inBindContext;
inBindContext = tree.isBound();
// don't use super, since we don't want to cancel the inBindContext
scan(tree.getParams());
... |
diff --git a/drools-core/src/main/java/org/drools/rule/SlidingTimeWindow.java b/drools-core/src/main/java/org/drools/rule/SlidingTimeWindow.java
index b15e816d44..925b2dc1a7 100644
--- a/drools-core/src/main/java/org/drools/rule/SlidingTimeWindow.java
+++ b/drools-core/src/main/java/org/drools/rule/SlidingTimeWindow.ja... | true | true | public void expireTuples(final Object context,
final InternalWorkingMemory workingMemory) {
TimerService clock = workingMemory.getTimerService();
long currentTime = clock.getCurrentTime();
SlidingTimeWindowContext queue = (SlidingTimeWindowContext) context;
... | public void expireTuples(final Object context,
final InternalWorkingMemory workingMemory) {
TimerService clock = workingMemory.getTimerService();
long currentTime = clock.getCurrentTime();
SlidingTimeWindowContext queue = (SlidingTimeWindowContext) context;
... |
diff --git a/src/nl/utwente/ewi/udprelaydb/DbConfiguration.java b/src/nl/utwente/ewi/udprelaydb/DbConfiguration.java
index be6405a..bceed69 100644
--- a/src/nl/utwente/ewi/udprelaydb/DbConfiguration.java
+++ b/src/nl/utwente/ewi/udprelaydb/DbConfiguration.java
@@ -1,55 +1,55 @@
package nl.utwente.ewi.udprelaydb;
im... | true | true | public DbConfiguration(Element database) {
try {
dbDriverName = XMLUtil.getSubElementContents(database, "dbDriverName").trim();
dbUser = XMLUtil.getSubElementContents(database, "dbUser").trim();
dbPassword = XMLUtil.getSubElementContents(database, "dbPassword");
dbURI = XMLUtil.getSubEleme... | public DbConfiguration(Element database) {
try {
dbDriverName = XMLUtil.getSubElementContents(database, "dbDriverName").trim();
dbUser = XMLUtil.getSubElementContents(database, "dbUser").trim();
dbPassword = XMLUtil.getSubElementContents(database, "dbPassword");
dbURI = XMLUtil.getSubEleme... |
diff --git a/src/minecraft/org/getspout/spout/gui/GenericLabel.java b/src/minecraft/org/getspout/spout/gui/GenericLabel.java
index e6a258de..93857d7b 100644
--- a/src/minecraft/org/getspout/spout/gui/GenericLabel.java
+++ b/src/minecraft/org/getspout/spout/gui/GenericLabel.java
@@ -1,119 +1,119 @@
package org.getspout... | false | true | public void render() {
FontRenderer font = SpoutClient.getHandle().fontRenderer;
String lines[] = getText().split("\\n");
int top = 0;
switch (vAlign) {
case SECOND: top = (int) (getHeight() / 2 - lines.length * 5); break;
case THIRD: top = (int) (getHeight() - lines.length * 10); break;
}
for (int i... | public void render() {
FontRenderer font = SpoutClient.getHandle().fontRenderer;
String lines[] = getText().split("\\n");
double top = getScreenY();
switch (vAlign) {
case SECOND: top += (int) (getHeight() / 2 - lines.length * 5); break;
case THIRD: top += (int) (getHeight() - lines.length * 10); break;
... |
diff --git a/src/Driver2.java b/src/Driver2.java
index 3ecd69e..c359e3d 100644
--- a/src/Driver2.java
+++ b/src/Driver2.java
@@ -1,243 +1,244 @@
/*
* ALGORITHM FOR MIN SPANNING TREE
* 1. eliminate paths to rooms that have already been prcessed
* 2. check if avail is empty
* 3. find cheapest in avail
* 4. add... | true | true | private static void calculateMinWorkToOpenAllRooms() {
int n = 0;
PriorityQueue<Door> couldVisit = new PriorityQueue<Door>();
ArrayList<Room> alreadyVisited = new ArrayList<Room>();
ArrayList<Door> firstRoomsDoors = theRooms[0].getValidDoorsObj();
for(int i=0; i<firstRoomsDoors.size();i++)//ad... | private static void calculateMinWorkToOpenAllRooms() {
int n = 0;
PriorityQueue<Door> couldVisit = new PriorityQueue<Door>();
ArrayList<Room> alreadyVisited = new ArrayList<Room>();
ArrayList<Door> firstRoomsDoors = theRooms[0].getValidDoorsObj();
for(int i=0; i<firstRoomsDoors.size();i++)//ad... |
diff --git a/sveditor/plugins/net.sf.sveditor.core/src/net/sf/sveditor/core/parser/SVExprParser.java b/sveditor/plugins/net.sf.sveditor.core/src/net/sf/sveditor/core/parser/SVExprParser.java
index f8ef728a..58e570d9 100644
--- a/sveditor/plugins/net.sf.sveditor.core/src/net/sf/sveditor/core/parser/SVExprParser.java
+++... | false | true | private SVDBExpr assignment_pattern_expr() throws SVParseException {
SVDBExpr ret_top;
fLexer.readOperator("'");
fLexer.readOperator("{");
if (fDebugEn) {debug(" assignmentPattern");}
if (fLexer.peekOperator("}")) {
// empty_queue: '{}
fLexer.eatToken();
ret_top = new SVDBConcatenationExpr();
... | private SVDBExpr assignment_pattern_expr() throws SVParseException {
SVDBExpr ret_top;
fLexer.readOperator("'");
fLexer.readOperator("{");
if (fDebugEn) {debug(" assignmentPattern");}
if (fLexer.peekOperator("}")) {
// empty_queue: '{}
fLexer.eatToken();
ret_top = new SVDBConcatenationExpr();
... |
diff --git a/source/whois/src/com/cnnic/whois/view/HtmlResponseWriter.java b/source/whois/src/com/cnnic/whois/view/HtmlResponseWriter.java
index 050758e..17779e0 100644
--- a/source/whois/src/com/cnnic/whois/view/HtmlResponseWriter.java
+++ b/source/whois/src/com/cnnic/whois/view/HtmlResponseWriter.java
@@ -1,115 +1,11... | true | true | public void writeResponse(HttpServletRequest request,
HttpServletResponse response, Map<String, Object> map, int queryType)
throws IOException, ServletException {
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
Map<String, Object> htmlMap = new LinkedHashMap<String, Object>... | public void writeResponse(HttpServletRequest request,
HttpServletResponse response, Map<String, Object> map, int queryType)
throws IOException, ServletException {
request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
Map<String, Object> htmlMap = new LinkedHashMap<String, Object>... |
diff --git a/psi-mi-impl/performance/src/main/java/org/cytoscape/psi_mi/internal/PerfTest.java b/psi-mi-impl/performance/src/main/java/org/cytoscape/psi_mi/internal/PerfTest.java
index d16909bda..be51af437 100644
--- a/psi-mi-impl/performance/src/main/java/org/cytoscape/psi_mi/internal/PerfTest.java
+++ b/psi-mi-impl/p... | true | true | public PerfTest() {
layout = mock(CyLayoutAlgorithm.class);
when(layout.createTaskIterator()).thenReturn(new TaskIterator(new SimpleTask()));
layouts = mock(CyLayoutAlgorithmManager.class);
when(layouts.getLayout(anyString())).thenReturn(layout);
taskMonitor = mock(TaskMonitor.class... | public PerfTest() {
layout = mock(CyLayoutAlgorithm.class);
when(layout.createTaskIterator()).thenReturn(new TaskIterator(new SimpleTask()));
layouts = mock(CyLayoutAlgorithmManager.class);
when(layouts.getLayout(anyString())).thenReturn(layout);
taskMonitor = mock(TaskMonitor.class... |
diff --git a/nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/nuxeo/drive/service/impl/NuxeoDriveManagerImpl.java b/nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/nuxeo/drive/service/impl/NuxeoDriveManagerImpl.java
index 2e82398b..d5e39e74 100644
--- a/nuxeo-drive-server/nuxeo-drive-core/src/main/java/org/n... | false | true | public void registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer, CoreSession session)
throws ClientException {
checkCanUpdateSynchronizationRoot(newRootContainer, session);
// Unregister any sub-folder of the new root
Map<String, Synchron... | public void registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer, CoreSession session)
throws ClientException {
checkCanUpdateSynchronizationRoot(newRootContainer, session);
// Unregister any sub-folder of the new root
Map<String, Synchron... |
diff --git a/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java b/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
index 4608214..f17f1f7 100644
--- a/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
+++ b/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
@@ -1,912 +1,909 @@
/*
* Cop... | true | true | public void handleMessage(Message msg) {
if (VERBOSE) Log.v(TAG, "Handler(): got msg=" + msg.what);
switch (msg.what) {
case MSG_INTERNAL_START_LISTENER:
if (mAdapter.isEnabled()) {
startRfcommSocketListener();
... | public void handleMessage(Message msg) {
if (VERBOSE) Log.v(TAG, "Handler(): got msg=" + msg.what);
switch (msg.what) {
case MSG_INTERNAL_START_LISTENER:
if (mAdapter.isEnabled()) {
startRfcommSocketListener();
... |
diff --git a/src/uk/me/parabola/mkgmap/main/Main.java b/src/uk/me/parabola/mkgmap/main/Main.java
index 53d91486..d0c8fde0 100644
--- a/src/uk/me/parabola/mkgmap/main/Main.java
+++ b/src/uk/me/parabola/mkgmap/main/Main.java
@@ -1,375 +1,375 @@
/*
* Copyright (C) 2007 Steve Ratcliffe
*
* This program is free sof... | true | true | public void endOptions(CommandArgs args) {
List<String> filenames = new ArrayList<String>();
if(threadPool != null) {
threadPool.shutdown();
while(!futures.isEmpty()) {
try {
try {
// don't call get() until a job has finished
if(futures.get(0).isDone())
filenames.add(futures.rem... | public void endOptions(CommandArgs args) {
List<String> filenames = new ArrayList<String>();
if(threadPool != null) {
threadPool.shutdown();
while(!futures.isEmpty()) {
try {
try {
// don't call get() until a job has finished
if(futures.get(0).isDone())
filenames.add(futures.rem... |
diff --git a/jmdns/src/javax/jmdns/impl/JmDNSImpl.java b/jmdns/src/javax/jmdns/impl/JmDNSImpl.java
index 129a68c..69e58c0 100644
--- a/jmdns/src/javax/jmdns/impl/JmDNSImpl.java
+++ b/jmdns/src/javax/jmdns/impl/JmDNSImpl.java
@@ -1,1642 +1,1642 @@
///Copyright 2003-2005 Arthur van Hoff, Rick Blair
//Licensed under Apa... | false | true | void handleResponse(DNSIncoming msg) throws IOException
{
final long now = System.currentTimeMillis();
boolean hostConflictDetected = false;
boolean serviceConflictDetected = false;
for (DNSRecord rec : msg.getAllAnswers())
{
boolean isInformative = false;
... | void handleResponse(DNSIncoming msg) throws IOException
{
final long now = System.currentTimeMillis();
boolean hostConflictDetected = false;
boolean serviceConflictDetected = false;
for (DNSRecord rec : msg.getAllAnswers())
{
boolean isInformative = false;
... |
diff --git a/ananya-kilkari-subscription/src/test/java/org/motechproject/ananya/kilkari/subscription/repository/KilkariPropertiesDataIT.java b/ananya-kilkari-subscription/src/test/java/org/motechproject/ananya/kilkari/subscription/repository/KilkariPropertiesDataIT.java
index 701e74a8..0ac989e5 100644
--- a/ananya-kilk... | true | true | public void shouldBeAbleToLoadThePropertiesFromTheKilkariPropertiesFile() {
assertEquals(0, kilkariProperties.getCampaignScheduleDeltaDays());
assertEquals(1, kilkariProperties.getCampaignScheduleDeltaMinutes());
assertEquals(0, kilkariProperties.getBufferDaysToAllowRenewalForDeactivation())... | public void shouldBeAbleToLoadThePropertiesFromTheKilkariPropertiesFile() {
assertEquals(0, kilkariProperties.getCampaignScheduleDeltaDays());
assertEquals(1, kilkariProperties.getCampaignScheduleDeltaMinutes());
assertEquals(0, kilkariProperties.getBufferDaysToAllowRenewalForDeactivation())... |
diff --git a/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/util/BrowserManager.java b/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/util/BrowserManager.java
index 8d9aefd9..90b28c40 100755
--- a/editor/tools/plugins/com.google.dar... | true | true | protected void launchBrowser(ILaunch launch, DartLaunchConfigWrapper launchConfig, IFile file,
String url, IProgressMonitor monitor, boolean enableDebugging) throws CoreException {
// For now, we always start a debugging connection, even when we're not really debugging.
boolean enableBreakpoints = enab... | protected void launchBrowser(ILaunch launch, DartLaunchConfigWrapper launchConfig, IFile file,
String url, IProgressMonitor monitor, boolean enableDebugging) throws CoreException {
// For now, we always start a debugging connection, even when we're not really debugging.
boolean enableBreakpoints = enab... |
diff --git a/src/a2/GithubRequest.java b/src/a2/GithubRequest.java
index 9c2a55f..d64b45e 100644
--- a/src/a2/GithubRequest.java
+++ b/src/a2/GithubRequest.java
@@ -1,130 +1,130 @@
package a2;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.io.IOUtils... | true | true | public GithubRequest(String url) throws IllegalStateException, IOException{
while(true){
Logger httplogger = Logger.getLogger("org.apache.http.wire");
httplogger.setLevel(Level.DEBUG);
HttpHost targetHost = new HttpHost("api.github.com", 443, "https");
UsernamePasswordCredentials cred = new UsernamePasswordC... | public GithubRequest(String url) throws IllegalStateException, IOException{
while(true){
Logger httplogger = Logger.getLogger("org.apache.http.wire");
httplogger.setLevel(Level.DEBUG);
HttpHost targetHost = new HttpHost("api.github.com", 443, "https");
UsernamePasswordCredentials cred = new UsernamePasswordC... |
diff --git a/src/pta/calc/CalcMSD.java b/src/pta/calc/CalcMSD.java
index 53127af..01245c6 100644
--- a/src/pta/calc/CalcMSD.java
+++ b/src/pta/calc/CalcMSD.java
@@ -1,103 +1,104 @@
package pta.calc;
import ij.IJ;
import ij.measure.Calibration;
import java.util.ArrayList;
import java.util.List;
import pta.PTA;... | true | true | public CalcMSD(final List<FPoint> pointlist,final int leastLength,Calibration cal) {
try {
if (pointlist.size()<leastLength)
return;
int calcFrameLen = leastLength;
calcFrameLen = calcFrameLen>pointlist.get(pointlist.size()-1).getFrame()-pointlist.get(0).getFrame()?
pointlist.get(pointlist.size()-... | public CalcMSD(final List<FPoint> pointlist,final int leastLength,Calibration cal) {
try {
if (pointlist.size()<leastLength)
return;
int calcFrameLen = leastLength;
calcFrameLen = calcFrameLen>pointlist.get(pointlist.size()-1).getFrame()-pointlist.get(0).getFrame()?
pointlist.get(pointlist.size()-... |
diff --git a/htroot/xml/util/getpageinfo_p.java b/htroot/xml/util/getpageinfo_p.java
index 6b9e9c675..aa9841ac6 100644
--- a/htroot/xml/util/getpageinfo_p.java
+++ b/htroot/xml/util/getpageinfo_p.java
@@ -1,130 +1,139 @@
// /xml/util/gettitle_p.java
// -------------------------------
// part of the AnomicHTTPD cachi... | false | true | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch<?> env) {
serverObjects prop = new serverObjects();
prop.put("sitemap", "");
prop.put("title", "");
prop.put("favicon","");
prop.put("robots-allowed", "3"); //unknown
String action... | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch<?> env) {
serverObjects prop = new serverObjects();
prop.put("sitemap", "");
prop.put("title", "");
prop.put("favicon","");
prop.put("robots-allowed", "3"); //unknown
String action... |
diff --git a/magnolia-eclipse/src/org/magnolialang/terms/SkinTable.java b/magnolia-eclipse/src/org/magnolialang/terms/SkinTable.java
index 9c190a9..d435adc 100644
--- a/magnolia-eclipse/src/org/magnolialang/terms/SkinTable.java
+++ b/magnolia-eclipse/src/org/magnolialang/terms/SkinTable.java
@@ -1,81 +1,81 @@
package ... | false | true | private void loadTable() {
final PBFReader reader = new PBFReader();
InputStream stream = null;
final IPath path = new Path("src/" + tableName);
try {
stream = FileLocator.openStream(MagnoliaPlugin.METAXA_BUNDLE, path,
false);
table = (IMap) reader.read(vf, ts, null, stream);
}
catch(final IOExc... | private void loadTable() {
final PBFReader reader = new PBFReader();
InputStream stream = null;
final IPath path = new Path("lang/" + tableName);
try {
stream = FileLocator.openStream(MagnoliaPlugin.MAGNOLIA_BUNDLE,
path, false);
table = (IMap) reader.read(vf, ts, null, stream);
}
catch(final IO... |
diff --git a/src/Main.java b/src/Main.java
index e2db722..38ce22d 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -1,285 +1,285 @@
/**
* Copyright 2012 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART
*
* SMART is free software: you can redistribute it and/or modify
* it und... | true | true | private static int handle(int funid) {
//debug("FunID: " + funid);
switch (funid) {
case getRefresh:
args.putInt(0*4,client.getRefresh());
break;
case setRefresh:
client.setRefresh(args.getInt(0*4));
break;
... | private static int handle(int funid) {
//debug("FunID: " + funid);
switch (funid) {
case getRefresh:
args.putInt(0*4,client.getRefresh());
break;
case setRefresh:
client.setRefresh(args.getInt(0*4));
break;
... |
diff --git a/src/org/pentaho/metadata/util/MondrianModelExporter.java b/src/org/pentaho/metadata/util/MondrianModelExporter.java
index 2d0d3c9f..0eb12a85 100644
--- a/src/org/pentaho/metadata/util/MondrianModelExporter.java
+++ b/src/org/pentaho/metadata/util/MondrianModelExporter.java
@@ -1,329 +1,331 @@
/*
* This ... | true | true | public String createMondrianModelXML() throws Exception
{
StringBuffer xml = new StringBuffer(10000);
xml.append("<Schema "); //$NON-NLS-1$
xml.append("name=\""); //$NON-NLS-1$
XMLHandler.appendReplacedChars(xml, businessModel.getName(locale));
xml.append("\">"); //$NON-... | public String createMondrianModelXML() throws Exception
{
StringBuffer xml = new StringBuffer(10000);
xml.append("<Schema "); //$NON-NLS-1$
xml.append("name=\""); //$NON-NLS-1$
XMLHandler.appendReplacedChars(xml, businessModel.getName(locale));
xml.append("\">"); //$NON-... |
diff --git a/wealdtech-jersey-server/src/main/java/com/wealdtech/jersey/providers/HttpExceptionMapper.java b/wealdtech-jersey-server/src/main/java/com/wealdtech/jersey/providers/HttpExceptionMapper.java
index 496254f..2aa77a8 100644
--- a/wealdtech-jersey-server/src/main/java/com/wealdtech/jersey/providers/HttpExceptio... | false | true | private String statusToJSON(final HttpException exception)
{
WealdError err = exception;
while (err.getCause() != null)
{
if (err.getCause() instanceof WealdError)
{
err = (WealdError)err.getCause();
}
}
ErrorInfo errorInfo = new ErrorInfo(null, err.getUserMessage(), er... | private String statusToJSON(final HttpException exception)
{
WealdError err = exception;
Throwable t = exception.getCause();
while (t != null)
{
if (t instanceof WealdError)
{
err = (WealdError)t;
}
t = t.getCause();
}
ErrorInfo errorInfo = new ErrorInfo(null,... |
diff --git a/src/edu/cs408/vormund/Database.java b/src/edu/cs408/vormund/Database.java
index 69ff61e..af1816f 100644
--- a/src/edu/cs408/vormund/Database.java
+++ b/src/edu/cs408/vormund/Database.java
@@ -1,328 +1,328 @@
package edu.cs408.vormund;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;... | true | true | public static void main(String[] args) throws SQLException {
Database db = new Database();
assert db.hasConnection();
assert db.hasStatement();
db.close();
assert !db.hasConnection();
assert !db.hasStatement();
db.makeConnection();
assert db.hasConnection();
db.createStatement();... | public static void main(String[] args) throws SQLException {
Database db = new Database();
assert db.hasConnection();
assert db.hasStatement();
db.close();
assert !db.hasConnection();
assert !db.hasStatement();
db.makeConnection();
assert db.hasConnection();
db.createStatement();... |
diff --git a/core/src/main/java/hudson/tasks/Ant.java b/core/src/main/java/hudson/tasks/Ant.java
index 16097b3..15aa703 100644
--- a/core/src/main/java/hudson/tasks/Ant.java
+++ b/core/src/main/java/hudson/tasks/Ant.java
@@ -1,366 +1,367 @@
package hudson.tasks;
import hudson.CopyOnWrite;
import hudson.Launcher;
... | false | true | public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
AbstractProject proj = build.getProject();
ArgumentListBuilder args = new ArgumentListBuilder();
AntInstallation ai = getAnt();
if(ai==null) {
... | public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
AbstractProject proj = build.getProject();
ArgumentListBuilder args = new ArgumentListBuilder();
AntInstallation ai = getAnt();
if(ai==null) {
... |
diff --git a/src/halo/util/validator/ObjectValidator.java b/src/halo/util/validator/ObjectValidator.java
index ceaaf93..1a30d55 100644
--- a/src/halo/util/validator/ObjectValidator.java
+++ b/src/halo/util/validator/ObjectValidator.java
@@ -1,152 +1,156 @@
package halo.util.validator;
import halo.util.ClassInfo;
i... | true | true | public <T> List<ErrResult> execBatch() {
List<ErrResult> list = new ArrayList<ErrResult>();
@SuppressWarnings("unchecked")
ClassInfo<T> classInfo = (ClassInfo<T>) ClassInfoFactory
.getClassInfo(instance.getClass());
Set<Entry<String, String>> set = exprMap.entrySet();... | public <T> List<ErrResult> execBatch() {
List<ErrResult> list = new ArrayList<ErrResult>();
@SuppressWarnings("unchecked")
ClassInfo<T> classInfo = (ClassInfo<T>) ClassInfoFactory
.getClassInfo(instance.getClass());
Set<Entry<String, String>> set = exprMap.entrySet();... |
diff --git a/src/org/jmist/packages/PinholeLens.java b/src/org/jmist/packages/PinholeLens.java
index c1e761d8..99174477 100644
--- a/src/org/jmist/packages/PinholeLens.java
+++ b/src/org/jmist/packages/PinholeLens.java
@@ -1,65 +1,65 @@
/**
*
*/
package org.jmist.packages;
import org.jmist.toolkit.Point2;
imp... | true | true | protected Ray3 viewRayAt(Point2 p) {
return new Ray3(
Point3.ORIGIN,
Vector3.unit(
width * (p.x() - 0.5),
height * (0.5 - p.x()),
-1.0
)
);
}
| protected Ray3 viewRayAt(Point2 p) {
return new Ray3(
Point3.ORIGIN,
Vector3.unit(
width * (p.x() - 0.5),
height * (0.5 - p.y()),
-1.0
)
);
}
|
diff --git a/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java b/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java
index 9ca30de7e..7c6baef44 100644
--- a/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java
+++ b/core/src/main/java/org/acegisecurity/ui/AbstractP... | false | true | public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
if (!(request instanceof HttpServletRequest)) {
throw new ServletException("Can only process HttpServletRequest");
}
if (!(response instanceof... | public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
if (!(request instanceof HttpServletRequest)) {
throw new ServletException("Can only process HttpServletRequest");
}
if (!(response instanceof... |
diff --git a/uk.ac.gda.core/src/gda/device/scannable/scannablegroup/ScannableGroup.java b/uk.ac.gda.core/src/gda/device/scannable/scannablegroup/ScannableGroup.java
index 1a628e731..44fabb942 100644
--- a/uk.ac.gda.core/src/gda/device/scannable/scannablegroup/ScannableGroup.java
+++ b/uk.ac.gda.core/src/gda/device/scan... | true | true | public String toFormattedString() {
//TODO this works if the toFormattedString method of the members conforms to a standard. But I don't think there is one!
//Rather use getPosition and format here.
String membersOutput = getName() + " ::\n";
for (Scannable member : groupMembers) {
membersOutput += member.t... | public String toFormattedString() {
//TODO this works if the toFormattedString method of the members conforms to a standard. But I don't think there is one!
//Rather use getPosition and format here.
String membersOutput = getName() + " ::\n";
for (Scannable member : groupMembers) {
membersOutput += member.t... |
diff --git a/ccw.core/src/ccw/editors/antlrbased/LoadFileAction.java b/ccw.core/src/ccw/editors/antlrbased/LoadFileAction.java
index 2b57bfce..c672b78f 100644
--- a/ccw.core/src/ccw/editors/antlrbased/LoadFileAction.java
+++ b/ccw.core/src/ccw/editors/antlrbased/LoadFileAction.java
@@ -1,78 +1,79 @@
/*****************... | false | true | public void run() {
IFile editorFile = (IFile) editor.getEditorInput().getAdapter(IFile.class);
if (editorFile == null) return;
ClojureProject proj = ClojureCore.getClojureProject(editor.getProject());
String sourcePath = null;
String filePath = editorFile.getLocation()... | public void run() {
IFile editorFile = (IFile) editor.getEditorInput().getAdapter(IFile.class);
if (editorFile == null) return;
ClojureProject proj = ClojureCore.getClojureProject(editor.getProject());
String sourcePath = null;
String filePath = editorFile.getLocation()... |
diff --git a/src/main/java/com/ctb/pilot/study/algorithm/controller/AlgorithmContestController.java b/src/main/java/com/ctb/pilot/study/algorithm/controller/AlgorithmContestController.java
index 5a4b327..5f3a2bb 100644
--- a/src/main/java/com/ctb/pilot/study/algorithm/controller/AlgorithmContestController.java
+++ b/sr... | true | true | public String addHistory(@RequestParam int contestSequence,
@RequestParam String problemId,
@RequestParam String submissionHistory, HttpServletRequest req)
throws ParseException {
String[] splitSubmissionHistory = submissionHistory.split(" ");
String submitId = splitSubmissionHistory[INDEX_SUBMIT_ID].trim... | public String addHistory(@RequestParam int contestSequence,
@RequestParam String problemId,
@RequestParam String submissionHistory, HttpServletRequest req)
throws ParseException {
String[] splitSubmissionHistory = submissionHistory.split("[\t ]+");
String submitId = splitSubmissionHistory[INDEX_SUBMIT_ID]... |
diff --git a/src/main/java/ch/mimo/netty/handler/codec/icap/IcapMessageDecoder.java b/src/main/java/ch/mimo/netty/handler/codec/icap/IcapMessageDecoder.java
index 6a4cc72..4ada73e 100755
--- a/src/main/java/ch/mimo/netty/handler/codec/icap/IcapMessageDecoder.java
+++ b/src/main/java/ch/mimo/netty/handler/codec/icap/Ica... | true | true | protected Object decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, State state) throws Exception {
switch (state) {
case SKIP_CONTROL_CHARS: {
try {
IcapDecoderUtil.skipControlCharacters(buffer);
checkpoint(State.READ_ICAP_INITIAL);
... | protected Object decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, State state) throws Exception {
switch (state) {
case SKIP_CONTROL_CHARS: {
try {
IcapDecoderUtil.skipControlCharacters(buffer);
checkpoint(State.READ_ICAP_INITIAL);
... |
diff --git a/solr/src/test/org/apache/solr/analysis/TestLuceneMatchVersion.java b/solr/src/test/org/apache/solr/analysis/TestLuceneMatchVersion.java
index f21a9295e..2c4649fed 100644
--- a/solr/src/test/org/apache/solr/analysis/TestLuceneMatchVersion.java
+++ b/solr/src/test/org/apache/solr/analysis/TestLuceneMatchVers... | true | true | public void testStandardTokenizerVersions() throws Exception {
assertEquals(DEFAULT_VERSION, solrConfig.luceneMatchVersion);
final IndexSchema schema = h.getCore().getSchema();
FieldType type = schema.getFieldType("textDefault");
TokenizerChain ana = (TokenizerChain) type.getAnalyzer();
... | public void testStandardTokenizerVersions() throws Exception {
assertEquals(DEFAULT_VERSION, solrConfig.luceneMatchVersion);
final IndexSchema schema = h.getCore().getSchema();
FieldType type = schema.getFieldType("textDefault");
TokenizerChain ana = (TokenizerChain) type.getAnalyzer();
... |
diff --git a/src/plugins/WebOfTrust/Trust.java b/src/plugins/WebOfTrust/Trust.java
index e81cae25..ec3fa5c3 100644
--- a/src/plugins/WebOfTrust/Trust.java
+++ b/src/plugins/WebOfTrust/Trust.java
@@ -1,295 +1,296 @@
/* This code is part of WoT, a plugin for Freenet. It is distributed
* under the GNU General Public L... | true | true | public void startupDatabaseIntegrityTest() throws Exception {
checkedActivate(2);
if(mTruster == null)
throw new NullPointerException("mTruster==null");
if(mTrustee == null)
throw new NullPointerException("mTrustee==null");
if(mValue < -100 || mValue > 100)
throw new IllegalStateException("In... | public void startupDatabaseIntegrityTest() throws Exception {
checkedActivate(2);
if(mTruster == null)
throw new NullPointerException("mTruster==null");
if(mTrustee == null)
throw new NullPointerException("mTrustee==null");
if(mValue < -100 || mValue > 100)
throw new IllegalStateException("In... |
diff --git a/core/src/main/java/org/fenwaygrp/fenmarking/FenmarkingDefaultImpl.java b/core/src/main/java/org/fenwaygrp/fenmarking/FenmarkingDefaultImpl.java
index 0d7c5ff..0c0401d 100644
--- a/core/src/main/java/org/fenwaygrp/fenmarking/FenmarkingDefaultImpl.java
+++ b/core/src/main/java/org/fenwaygrp/fenmarking/Fenmar... | true | true | private MetricResult submitInternal(PerformanceConfiguration configuration,
final Algorithm algorithm, Map testData) {
if (testData == null) {
testData = new HashMap();
}
for (int i = 0; i < configuration.getNumberOfWarmUps(); i++) {
algorith... | private MetricResult submitInternal(PerformanceConfiguration configuration,
final Algorithm algorithm, Map testData) {
if (testData == null) {
testData = new HashMap();
}
for (int i = 0; i < configuration.getNumberOfWarmUps(); i++) {
algorith... |
diff --git a/search-impl/impl/src/test/org/sakai/search/index/impl/test/ClusterFSIndexStorageEclipsetest.java b/search-impl/impl/src/test/org/sakai/search/index/impl/test/ClusterFSIndexStorageEclipsetest.java
index 22d9beda..a6bf1c5a 100644
--- a/search-impl/impl/src/test/org/sakai/search/index/impl/test/ClusterFSIndex... | true | true | protected void setUp() throws Exception
{
super.setUp();
if (dbtype.equals("hsqldb"))
{
Properties properties = new Properties();
properties.setProperty("driverClassName", "org.hsqldb.jdbcDriver");
properties.setProperty("url", "jdbc:hsqldb:mem:search-test");
properties.setProperty("maxActive", "10"... | protected void setUp() throws Exception
{
super.setUp();
if (dbtype.equals("hsqldb"))
{
Properties properties = new Properties();
properties.setProperty("driverClassName", "org.hsqldb.jdbcDriver");
properties.setProperty("url", "jdbc:hsqldb:mem:search-test");
properties.setProperty("maxActive", "10"... |
diff --git a/website/src/org/riotfamily/website/template/TemplateMacroHelper.java b/website/src/org/riotfamily/website/template/TemplateMacroHelper.java
index d8efff3ef..0f4c07f80 100644
--- a/website/src/org/riotfamily/website/template/TemplateMacroHelper.java
+++ b/website/src/org/riotfamily/website/template/Template... | false | true | public void execute(Environment env, Map params, TemplateModel[] loopVars,
TemplateDirectiveBody body) throws TemplateException, IOException {
String name = getRequiredStringParam(params, "name", env);
String cacheKey = getStringParam(params, "cacheKey", null);
boolean cache = getBooleanParam(par... | public void execute(Environment env, Map params, TemplateModel[] loopVars,
TemplateDirectiveBody body) throws TemplateException, IOException {
String name = getRequiredStringParam(params, "name", env);
boolean cache = getBooleanParam(params, "cache", true);
String cacheKey = null;
if (cach... |
diff --git a/modules/activiti-cycle/src/main/java/org/activiti/cycle/impl/connector/signavio/SignavioConnector.java b/modules/activiti-cycle/src/main/java/org/activiti/cycle/impl/connector/signavio/SignavioConnector.java
index 89b83d04..02fed239 100644
--- a/modules/activiti-cycle/src/main/java/org/activiti/cycle/impl/... | true | true | public RepositoryArtifact createArtifactFromJSON(String containingFolderId, String artifactName, String artifactType, String jsonContent)
throws RepositoryNodeNotFoundException {
// TODO: Add check if model already exists (overwrite or throw exception?)
String revisionComment = null;
Strin... | public RepositoryArtifact createArtifactFromJSON(String containingFolderId, String artifactName, String artifactType, String jsonContent)
throws RepositoryNodeNotFoundException {
// TODO: Add check if model already exists (overwrite or throw exception?)
String revisionComment = null;
Strin... |
diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java
index 9729a525..e9c1e28d 100644
--- a/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java
+++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/Checker.java
@@ -1,377 +1,377 @@
... | false | true | private int process(String aFileName)
{
// check if already checked and passed the file
final File f = new File(aFileName);
final long timestamp = f.lastModified();
if (mCache.alreadyChecked(aFileName, timestamp)) {
return 0;
}
// Create a stripped do... | private int process(String aFileName)
{
// check if already checked and passed the file
final File f = new File(aFileName);
final long timestamp = f.lastModified();
if (mCache.alreadyChecked(aFileName, timestamp)) {
return 0;
}
// Create a stripped do... |
diff --git a/src/com/android/volley/toolbox/NetworkImageView.java b/src/com/android/volley/toolbox/NetworkImageView.java
index 9456ae2..33b82a4 100644
--- a/src/com/android/volley/toolbox/NetworkImageView.java
+++ b/src/com/android/volley/toolbox/NetworkImageView.java
@@ -1,253 +1,253 @@
/**
* Copyright (C) 2013 The... | true | true | private void loadImageIfNecessary(final boolean isInLayoutPass) {
int width = getWidth();
int height = getHeight();
boolean isFullyWrapContent = getLayoutParams().height == LayoutParams.WRAP_CONTENT
&& getLayoutParams().width == LayoutParams.WRAP_CONTENT;
// if the v... | private void loadImageIfNecessary(final boolean isInLayoutPass) {
int width = getWidth();
int height = getHeight();
boolean isFullyWrapContent = getLayoutParams().height == LayoutParams.WRAP_CONTENT
&& getLayoutParams().width == LayoutParams.WRAP_CONTENT;
// if the v... |
diff --git a/java-checks/src/main/java/org/sonar/java/checks/CycleBetweenPackagesCheck.java b/java-checks/src/main/java/org/sonar/java/checks/CycleBetweenPackagesCheck.java
index 78ded74a9..0bc5dbf2b 100644
--- a/java-checks/src/main/java/org/sonar/java/checks/CycleBetweenPackagesCheck.java
+++ b/java-checks/src/main/j... | true | true | public static ActiveRule getActiveRule(CheckFactory checkFactory) {
for (Object check : checkFactory.getChecks()) {
if (check.getClass().getName() == CycleBetweenPackagesCheck.class.getName()) {
return checkFactory.getActiveRule(check);
}
}
return null;
}
| public static ActiveRule getActiveRule(CheckFactory checkFactory) {
for (Object check : checkFactory.getChecks()) {
if (CycleBetweenPackagesCheck.class.equals(check.getClass())) {
return checkFactory.getActiveRule(check);
}
}
return null;
}
|
diff --git a/src/com/ubidots/Variable.java b/src/com/ubidots/Variable.java
index c0a6b00..6424777 100644
--- a/src/com/ubidots/Variable.java
+++ b/src/com/ubidots/Variable.java
@@ -1,98 +1,98 @@
package com.ubidots;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map... | true | true | public void saveValues(double values[], long timestamps[]) {
if (values == null || timestamps == null) {
throw new NullPointerException();
} else if (values.length != timestamps.length) {
throw new RuntimeException("values[] and timestamps[] "
+ "must have same length");
}
// Create a list of maps t... | public void saveValues(double values[], long timestamps[]) {
if (values == null || timestamps == null) {
throw new NullPointerException();
} else if (values.length != timestamps.length) {
throw new RuntimeException("values[] and timestamps[] "
+ "must have same length");
}
// Create a list of maps t... |
diff --git a/gnu/testlet/java/lang/Thread/insecurity.java b/gnu/testlet/java/lang/Thread/insecurity.java
index a8bade2a..b0ae3053 100644
--- a/gnu/testlet/java/lang/Thread/insecurity.java
+++ b/gnu/testlet/java/lang/Thread/insecurity.java
@@ -1,307 +1,307 @@
// Copyright (C) 2006 Red Hat, Inc.
// Written by Gary Bens... | true | true | public void test(TestHarness harness)
{
try {
harness.checkPoint("setup");
TestSecurityManager2 sm = new TestSecurityManager2(harness);
// The default SecurityManager.checkAccess(Thread) method should
// only check permissions when the thread in question is a system
// thread. S... | public void test(TestHarness harness)
{
try {
harness.checkPoint("setup");
TestSecurityManager2 sm = new TestSecurityManager2(harness);
// The default SecurityManager.checkAccess(Thread) method should
// only check permissions when the thread in question is a system
// thread. S... |
diff --git a/java/src/com/technobear/eigenharp/creator/BelcantoXmlRpcProcessor.java b/java/src/com/technobear/eigenharp/creator/BelcantoXmlRpcProcessor.java
index a0ffe5d..41b1ceb 100644
--- a/java/src/com/technobear/eigenharp/creator/BelcantoXmlRpcProcessor.java
+++ b/java/src/com/technobear/eigenharp/creator/Belcanto... | true | true | public boolean endBlock()
{
if(_client== null) return false;
if(_buffer.length()==0) return true;
Vector<String> params = new Vector<String>();
params.addElement(_buffer.toString());
Object result;
try
{
result = _client.execute("execBelcanto", params);
System.out.println("executed:"... | public boolean endBlock()
{
if(_client== null) return false;
if(_buffer.length()==0) return true;
Vector<String> params = new Vector<String>();
params.addElement(_buffer.toString());
Object result;
try
{
result = _client.execute("execBelcanto", params);
System.out.println("executed:"... |
diff --git a/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java b/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java
index 01d0b3912..d6f65374f 100644
--- a/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMImpl.java
+++ b/src/impl/java/org/wyona/yanel/impl/navigation/SitetreeDOMI... | false | true | private org.w3c.dom.Element getElement(org.w3c.dom.Element parent, String path) throws Exception {
String[] names = path.split("/");
//log.debug("Path: " + path);
//log.debug("Length: " + names.length);
String childName = null;
String subtreePath = null;
if (names.length >... | private org.w3c.dom.Element getElement(org.w3c.dom.Element parent, String path) throws Exception {
String[] names = path.split("/");
//log.debug("Path: " + path);
//log.debug("Length: " + names.length);
String childName = null;
String subtreePath = null;
if (names.length >... |
diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/shutdown/TransportNodesShutdownAction.java b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/shutdown/TransportNodesShutdownAction.java
index 935914ef336..ce52b3ea5d4 100644
--- a/modules/elastic... | true | true | @Override protected NodesShutdownResponse masterOperation(final NodesShutdownRequest request, final ClusterState state) throws ElasticSearchException {
if (disabled) {
throw new ElasticSearchIllegalStateException("Shutdown is disabled");
}
Set<DiscoveryNode> nodes = Sets.newHashS... | @Override protected NodesShutdownResponse masterOperation(final NodesShutdownRequest request, final ClusterState state) throws ElasticSearchException {
if (disabled) {
throw new ElasticSearchIllegalStateException("Shutdown is disabled");
}
Set<DiscoveryNode> nodes = Sets.newHashS... |
diff --git a/components/loci-plugins/src/loci/plugins/util/ROIHandler.java b/components/loci-plugins/src/loci/plugins/util/ROIHandler.java
index 824767706..8a43f0e1a 100644
--- a/components/loci-plugins/src/loci/plugins/util/ROIHandler.java
+++ b/components/loci-plugins/src/loci/plugins/util/ROIHandler.java
@@ -1,251 +... | false | true | public static void openROIs(IMetadata retrieve, ImagePlus[] images) {
if (!(retrieve instanceof OMEXMLMetadata)) return;
int nextRoi = 0;
RoiManager manager = RoiManager.getInstance();
OME root = (OME) retrieve.getRoot();
int imageCount = retrieve.getImageCount();
for (int imageNum=0; imageN... | public static void openROIs(IMetadata retrieve, ImagePlus[] images) {
if (!(retrieve instanceof OMEXMLMetadata)) return;
int nextRoi = 0;
RoiManager manager = RoiManager.getInstance();
OME root = (OME) retrieve.getRoot();
int imageCount = images.length;
for (int imageNum=0; imageNum<imageCou... |
diff --git a/src/com/towson/wavyleaf/Main.java b/src/com/towson/wavyleaf/Main.java
index 85e3970..91cc34f 100644
--- a/src/com/towson/wavyleaf/Main.java
+++ b/src/com/towson/wavyleaf/Main.java
@@ -1,391 +1,391 @@
package com.towson.wavyleaf;
import android.app.AlarmManager;
import android.app.AlertDialog;
import ... | true | true | protected Dialog onCreateDialog(int id) {
switch(id) {
// case HELP:
// return new AlertDialog.Builder(this)
// .setTitle("External Link")
// .setMessage("Help documents can be found online.\n\nContinue?")
// .setPositiveButton("ok", new DialogInterface.OnClickListener() {
// public void onClick... | protected Dialog onCreateDialog(int id) {
switch(id) {
// case HELP:
// return new AlertDialog.Builder(this)
// .setTitle("External Link")
// .setMessage("Help documents can be found online.\n\nContinue?")
// .setPositiveButton("ok", new DialogInterface.OnClickListener() {
// public void onClick... |
diff --git a/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java b/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java
index 4cd15ac9..e2d6146c 100644
--- a/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java
+++ b/src/org/red5/server/jetty/Red5WebPropertiesConfiguration.java
@@ -1,69 +1,7... | true | true | public void configureWebApp () throws Exception{
if (getWebAppContext().isStarted()) {
log.debug("Cannot configure webapp after it is started");
return;
}
Resource webInf= getWebAppContext().getWebInf();
if(webInf!=null&&webInf.isDirectory()){... | public void configureWebApp () throws Exception{
if (getWebAppContext().isStarted()) {
log.debug("Cannot configure webapp after it is started");
return;
}
Resource webInf= getWebAppContext().getWebInf();
if(webInf!=null&&webInf.isDirectory()){... |
diff --git a/src/main/java/org/jasig/ssp/model/Template.java b/src/main/java/org/jasig/ssp/model/Template.java
index 0c5ae7869..3a82f2ad3 100644
--- a/src/main/java/org/jasig/ssp/model/Template.java
+++ b/src/main/java/org/jasig/ssp/model/Template.java
@@ -1,154 +1,154 @@
/**
* Licensed to Jasig under one or more co... | true | true | public Template clone() throws CloneNotSupportedException {
Template clone = new Template();
cloneCommonFields(clone);
//clone.setIsPrivate(this.getIsPrivate());
clone.setIsImportant(false);
clone.setIsF1Visa(true);
clone.setDepartmentCode(this.getDepartmentCode());
clone.setDivisionCode(this.getDepartme... | public Template clone() throws CloneNotSupportedException {
Template clone = new Template();
cloneCommonFields(clone);
clone.setIsPrivate(this.getIsPrivate());
clone.setIsImportant(this.getIsImportant());
clone.setIsF1Visa(this.getIsF1Visa());
clone.setDepartmentCode(this.getDepartmentCode());
clone.setD... |
diff --git a/WEB-INF/src/edu/wustl/catissuecore/bizlogic/StorageContainerBizLogic.java b/WEB-INF/src/edu/wustl/catissuecore/bizlogic/StorageContainerBizLogic.java
index c8c5bcf91..2a4f851c7 100644
--- a/WEB-INF/src/edu/wustl/catissuecore/bizlogic/StorageContainerBizLogic.java
+++ b/WEB-INF/src/edu/wustl/catissuecore/bi... | false | true | protected void update(DAO dao, Object obj, Object oldObj, SessionDataBean sessionDataBean) throws DAOException, UserNotAuthorizedException
{
StorageContainer container = (StorageContainer) obj;
StorageContainer oldContainer = (StorageContainer) oldObj;
Logger.out.debug("container.isParentChanged() : " + contain... | protected void update(DAO dao, Object obj, Object oldObj, SessionDataBean sessionDataBean) throws DAOException, UserNotAuthorizedException
{
StorageContainer container = (StorageContainer) obj;
StorageContainer oldContainer = (StorageContainer) oldObj;
Logger.out.debug("container.isParentChanged() : " + contain... |
diff --git a/sirocco-cimi-command-line-tools/src/main/java/org/ow2/sirocco/cimi/tools/SystemShowCommand.java b/sirocco-cimi-command-line-tools/src/main/java/org/ow2/sirocco/cimi/tools/SystemShowCommand.java
index 18b5042..fa9e13d 100644
--- a/sirocco-cimi-command-line-tools/src/main/java/org/ow2/sirocco/cimi/tools/Syst... | true | true | public static void printSystem(final System system, final ResourceSelectExpandParams showParams) throws CimiClientException {
Table table = CommandHelper.createResourceShowTable(system, showParams);
if (showParams.isSelected("state")) {
table.addCell("state");
table.addCell(... | public static void printSystem(final System system, final ResourceSelectExpandParams showParams) throws CimiClientException {
Table table = CommandHelper.createResourceShowTable(system, showParams);
if (showParams.isSelected("state") && system.getState() != null) {
table.addCell("state"... |
diff --git a/titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/util/ByteBufferUtil.java b/titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/util/ByteBufferUtil.java
index 5e196f3b8..446262257 100644
--- a/titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/util/ByteBufferUtil.java
+++ b/t... | false | true | public static final int compare(ByteBuffer a, ByteBuffer b) {
if (a == b) {
return 0;
}
int ia = 0;
int ib = 0;
int result;
while (true) {
boolean aHasRemaining = ia < a.limit();
boolean bHasRemaining = ib < b.limit();
... | public static final int compare(ByteBuffer a, ByteBuffer b) {
if (a == b) {
return 0;
}
int ia = 0;
int ib = 0;
int result;
while (true) {
boolean aHasRemaining = ia + a.position() < a.limit();
boolean bHasRemaining = ib + b.positio... |
diff --git a/snippettool-1.1/src/org/abratuhi/snippettool/model/SnippetTool.java b/snippettool-1.1/src/org/abratuhi/snippettool/model/SnippetTool.java
index be0a515..982e4c9 100644
--- a/snippettool-1.1/src/org/abratuhi/snippettool/model/SnippetTool.java
+++ b/snippettool-1.1/src/org/abratuhi/snippettool/model/SnippetT... | true | true | private void setInscriptText(final File inscriptFile) throws Exception {
logger.debug("Loading inscript text from %", inscriptFile);
String xsltFilename = props.getProperty("local.xslt.file");
TransformerFactory tFactory = TransformerFactory.newInstance();
Source xslSource = new StreamSource(new File(xsltFil... | private void setInscriptText(final File inscriptFile) throws Exception {
logger.debug("Loading inscript text from {}", inscriptFile);
String xsltFilename = props.getProperty("local.xslt.file");
TransformerFactory tFactory = TransformerFactory.newInstance();
Source xslSource = new StreamSource(new File(xsltFi... |
diff --git a/common/mrtjp/projectred/tiles/TileAlloySmelter.java b/common/mrtjp/projectred/tiles/TileAlloySmelter.java
index c125037b..c79592a2 100644
--- a/common/mrtjp/projectred/tiles/TileAlloySmelter.java
+++ b/common/mrtjp/projectred/tiles/TileAlloySmelter.java
@@ -1,436 +1,438 @@
package mrtjp.projectred.tiles;
... | true | true | public void updateEntity() {
if (queueWorkUpdate) {
queueWorkUpdate = false;
hasWork = hasWork();
}
if (hasWork && heat <= 0) {
eatFuel();
if (heat > 0) {
queueWatcherUpdate = true;
updateNextTick = true;
}
}
if (heat > 0) {
spawnParticles();
if (hasWork) {
progress++;
}
... | public void updateEntity() {
if (queueWorkUpdate) {
queueWorkUpdate = false;
hasWork = hasWork();
}
if (hasWork && heat <= 0) {
eatFuel();
if (heat > 0) {
queueWatcherUpdate = true;
updateNextTick = true;
}
}
if (heat > 0) {
if (BasicUtils.isClient(worldObj)) {
spawnParticles();... |
diff --git a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/edit/config/DefaultEditBindings.java b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/edit/config/DefaultEditBindings.java
index a391ca09..a8c36516 100644
--- a/org.eclipse.nebula.widgets.natt... | false | true | public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
//configure the space key to activate a cell editor via keyboard
//this is especially useful for changing the value for a checkbox
uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.NONE, 32), new KeyEditAction());
uiBindingRegist... | public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
//configure the space key to activate a cell editor via keyboard
//this is especially useful for changing the value for a checkbox
uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.NONE, 32), new KeyEditAction());
uiBindingRegist... |
diff --git a/src/java/main/org/jaxen/function/CeilingFunction.java b/src/java/main/org/jaxen/function/CeilingFunction.java
index 1e83632..a8b56b7 100644
--- a/src/java/main/org/jaxen/function/CeilingFunction.java
+++ b/src/java/main/org/jaxen/function/CeilingFunction.java
@@ -1,39 +1,39 @@
package org.jaxen.function... | true | true | public Object call(Context context,
List args) throws FunctionCallException
{
if (args.size() == 1)
{
return evaluate( args.get(1),
context.getNavigator() );
}
throw new FunctionCallException("ceiling() requires one... | public Object call(Context context,
List args) throws FunctionCallException
{
if (args.size() == 1)
{
return evaluate( args.get(0),
context.getNavigator() );
}
throw new FunctionCallException("ceiling() requires one... |
diff --git a/pregelix/pregelix-core/src/main/java/edu/uci/ics/pregelix/core/driver/Driver.java b/pregelix/pregelix-core/src/main/java/edu/uci/ics/pregelix/core/driver/Driver.java
index 1b4f22679..8b82bf28a 100644
--- a/pregelix/pregelix-core/src/main/java/edu/uci/ics/pregelix/core/driver/Driver.java
+++ b/pregelix/preg... | true | true | public void runJobs(List<PregelixJob> jobs, Plan planChoice, String ipAddress, int port, boolean profiling)
throws HyracksException {
try {
if (jobs.size() <= 0) {
throw new HyracksException("Please submit at least one job for execution!");
}
t... | public void runJobs(List<PregelixJob> jobs, Plan planChoice, String ipAddress, int port, boolean profiling)
throws HyracksException {
try {
if (jobs.size() <= 0) {
throw new HyracksException("Please submit at least one job for execution!");
}
t... |
diff --git a/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/EdgeViewDefaultSupport.java b/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/EdgeViewDefaultSupport.java
index cd96a0172..44ec2aa3e 100644
--- a/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/i... | true | true | <T, V extends T> void setEdgeViewDefault(VisualProperty<? extends T> vp, V value) {
if(value == null)
value = (V) vp.getDefault();
if (vp == DVisualLexicon.EDGE_STROKE_SELECTED_PAINT) {
setSelectedPaint((Paint) value);
} else if (vp == DVisualLexicon.EDGE_TRANSPARENCY) {
setTransparency(((Number) ... | <T, V extends T> void setEdgeViewDefault(VisualProperty<? extends T> vp, V value) {
if(value == null)
value = (V) vp.getDefault();
if (vp == DVisualLexicon.EDGE_STROKE_SELECTED_PAINT) {
setSelectedPaint((Paint) value);
} else if (vp == DVisualLexicon.EDGE_TRANSPARENCY) {
setTransparency(((Number) ... |
diff --git a/onebusaway-transit-data-federation-builder/src/main/java/org/onebusaway/transit_data_federation/bundle/tasks/transit_graph/DistanceAlongShapeLibrary.java b/onebusaway-transit-data-federation-builder/src/main/java/org/onebusaway/transit_data_federation/bundle/tasks/transit_graph/DistanceAlongShapeLibrary.ja... | true | true | private void constructError(ShapePoints shapePoints,
List<StopTimeEntryImpl> stopTimes,
List<List<PointAndIndex>> possibleAssignments, UTMProjection projection)
throws InvalidStopToShapeMappingException {
StopTimeEntryImpl first = stopTimes.get(0);
StopTimeEntryImpl last = stopTimes.get(sto... | private void constructError(ShapePoints shapePoints,
List<StopTimeEntryImpl> stopTimes,
List<List<PointAndIndex>> possibleAssignments, UTMProjection projection)
throws InvalidStopToShapeMappingException {
StopTimeEntryImpl first = stopTimes.get(0);
StopTimeEntryImpl last = stopTimes.get(sto... |
diff --git a/rexster-server/src/main/java/com/tinkerpop/rexster/server/RexsterSettings.java b/rexster-server/src/main/java/com/tinkerpop/rexster/server/RexsterSettings.java
index fac28c67..5df24490 100644
--- a/rexster-server/src/main/java/com/tinkerpop/rexster/server/RexsterSettings.java
+++ b/rexster-server/src/main/... | false | true | public XMLConfiguration getProperties() {
final XMLConfiguration properties = new XMLConfiguration();
if (line.hasCommandParameters() && line.getCommandParameters().hasOption("debug")) {
// turn on all logging for jersey
for (String l : Collections.list(LogManager.getLogMan... | public XMLConfiguration getProperties() {
final XMLConfiguration properties = new XMLConfiguration();
if (line.hasCommandParameters() && line.getCommandParameters().hasOption("debug")) {
// turn on all logging for jersey
for (String l : Collections.list(LogManager.getLogMan... |
diff --git a/src/controller/EndOfLevelController.java b/src/controller/EndOfLevelController.java
index 802b334..8e9d350 100644
--- a/src/controller/EndOfLevelController.java
+++ b/src/controller/EndOfLevelController.java
@@ -1,85 +1,85 @@
package controller;
import model.Game;
import org.newdawn.slick.GameContai... | true | true | public void keyPressed (int key, char c) {
if (key == Input.KEY_ESCAPE) {
sbg.enterState(Game.START_MENU);
} else if (key == Input.KEY_ENTER) {
if (this.newHighScore) {
sbg.enterState(Game.NEW_HIGHSCORE);
} else if (this.gameOver || this.victory) {
sbg.enterState(Game.HIGHSCORE);
} else {
... | public void keyPressed (int key, char c) {
if (key == Input.KEY_ESCAPE) {
sbg.enterState(Game.START_MENU);
} else if (key == Input.KEY_ENTER) {
if (this.newHighScore && (this.gameOver || this.victory)) {
sbg.enterState(Game.NEW_HIGHSCORE);
} else if (this.gameOver || this.victory) {
sbg.enterStat... |
diff --git a/freeplane/src/org/freeplane/core/util/ColorUtils.java b/freeplane/src/org/freeplane/core/util/ColorUtils.java
index da1a1b1f7..14db84036 100644
--- a/freeplane/src/org/freeplane/core/util/ColorUtils.java
+++ b/freeplane/src/org/freeplane/core/util/ColorUtils.java
@@ -1,36 +1,36 @@
package org.freeplane.co... | true | true | public static Color stringToColor(final String str) {
if (str == null) {
return null;
}
if (str.length() != 7 || str.charAt(0) != '#') {
throw new NumberFormatException("wrong color format in " + str);
}
return new Color(Integer.parseInt(str.substring(1, 3), 16), Integer.parseInt(str.substring(3, 5), 1... | public static Color stringToColor(final String str) {
if (str == null) {
return null;
}
if (str.length() != 7 || str.charAt(0) != '#') {
throw new NumberFormatException("wrong color format in " + str + ". Expecting #rrggbb");
}
return new Color(Integer.parseInt(str.substring(1, 3), 16), Integer.parseIn... |
diff --git a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/invitation/ProjectNegotiation.java b/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/invitation/ProjectNegotiation.java
index b4f40ca67..ad94035f3 100644
--- a/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/invitation/ProjectNegotiation.java
+++ b/de.fu_berlin.inf... | true | true | protected void monitorFileTransfer(FileTransfer transfer,
IProgressMonitor monitor) throws SarosCancellationException,
IOException {
if (monitor == null)
monitor = new NullProgressMonitor();
long fileSize = transfer.getFileSize();
int lastWorked = 0;
St... | protected void monitorFileTransfer(FileTransfer transfer,
IProgressMonitor monitor) throws SarosCancellationException,
IOException {
if (monitor == null)
monitor = new NullProgressMonitor();
long fileSize = transfer.getFileSize();
int lastWorked = 0;
St... |
diff --git a/src/Model/PlayerModel.java b/src/Model/PlayerModel.java
index 5561bf7..6b0f940 100644
--- a/src/Model/PlayerModel.java
+++ b/src/Model/PlayerModel.java
@@ -1,709 +1,712 @@
package Model;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import java.util.ArrayList;
import jav... | false | true | public void isAttacking(Skill attackingSkill) throws SlickException{
if(attackingSkill != null){
boolean collided = checkSkillObstacleCollision(attackingSkill, (float)(attackingSkill.getXDirAtt()*attackingSkill.getAttSpeed()), (float)(attackingSkill.getYDirAtt()*attackingSkill.getAttSpeed()));
if(!attackin... | public void isAttacking(Skill attackingSkill) throws SlickException{
if(attackingSkill != null){
boolean collided = checkSkillObstacleCollision(attackingSkill, (float)(attackingSkill.getXDirAtt()*attackingSkill.getAttSpeed()), (float)(attackingSkill.getYDirAtt()*attackingSkill.getAttSpeed()));
if(!attackin... |
diff --git a/src/main/java/org/scribe/extractors/TokenExtractorImpl.java b/src/main/java/org/scribe/extractors/TokenExtractorImpl.java
index 501c018..2bc0aa0 100644
--- a/src/main/java/org/scribe/extractors/TokenExtractorImpl.java
+++ b/src/main/java/org/scribe/extractors/TokenExtractorImpl.java
@@ -1,38 +1,38 @@
pack... | false | true | public Token extract(String response)
{
Preconditions.checkEmptyString(response, "Cant extract a token from null object or an empty string.");
Matcher matcher = Pattern.compile(TOKEN_REGEX).matcher(response);
if (matcher.matches())
{
String token = URLUtils.percentDecode(matcher.group(1));
... | public Token extract(String response)
{
Preconditions.checkEmptyString(response, "Response body is incorrect. Can't extract a token from an empty string");
Matcher matcher = Pattern.compile(TOKEN_REGEX).matcher(response);
if (matcher.matches())
{
String token = URLUtils.percentDecode(matcher.... |
diff --git a/src/main/java/eu/europeana/portal2/web/presentation/model/SeeAlsoSuggestions.java b/src/main/java/eu/europeana/portal2/web/presentation/model/SeeAlsoSuggestions.java
index bb5b5cb4..f614e14c 100644
--- a/src/main/java/eu/europeana/portal2/web/presentation/model/SeeAlsoSuggestions.java
+++ b/src/main/java/e... | false | true | public void add(String query, Integer count) {
String[] parts = query.split(":", 2);
String fieldName = parts[0];
String fieldValue = parts[1]
.replaceAll("^\"", "")
.replaceAll("\"$", "");
String aggregatedFieldName = (seeAlsoAggregations.containsKey(fieldName))
? seeAlsoAggregations.get(fieldNam... | public void add(String query, Integer count) {
String[] parts = query.split(":", 2);
String fieldName = parts[0];
String fieldValue = parts[1]
.replaceAll("^\"", "")
.replaceAll("\"$", "")
.replace("\\/", "/")
.replace("\\:", ":")
.replace("\\&", "&")
.replace("\\?", "?")
.replace("\\... |
diff --git a/Battleship/src/main/java/ch/bfh/bti7301/w2013/battleship/sounds/SoundEffectsBoardListener.java b/Battleship/src/main/java/ch/bfh/bti7301/w2013/battleship/sounds/SoundEffectsBoardListener.java
index d3c7cef..2047354 100644
--- a/Battleship/src/main/java/ch/bfh/bti7301/w2013/battleship/sounds/SoundEffectsBoa... | false | true | public void stateChanged(Missile m) {
switch (boardType) {
case LOCAL:
if (!SettingsPanel.getSettings().isLocalSound())
return;
case OPPONENT:
if (!SettingsPanel.getSettings().isOpponentSound())
return;
}
switch (m.getMissileState()) {
case HIT:
SoundEffects.playHit();
break;
case SU... | public void stateChanged(Missile m) {
switch (boardType) {
case LOCAL:
if (!SettingsPanel.getSettings().isLocalSound())
return;
break;
case OPPONENT:
if (!SettingsPanel.getSettings().isOpponentSound())
return;
break;
}
switch (m.getMissileState()) {
case HIT:
SoundEffects.playHit();... |
diff --git a/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/templates/model/Class.java b/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/templates/model/Class.java
index d76a258c2..4d95b3c3b 100644
--- a/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/e... | false | true | public String generate(Object argument)
{
StringBuffer stringBuffer = new StringBuffer();
/**
* <copyright>
*
* Copyright (c) 2002-2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.... | public String generate(Object argument)
{
StringBuffer stringBuffer = new StringBuffer();
/**
* <copyright>
*
* Copyright (c) 2002-2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.... |
diff --git a/src/main/ed/manager/DBApp.java b/src/main/ed/manager/DBApp.java
index d7f3e9437..5ec40ca40 100644
--- a/src/main/ed/manager/DBApp.java
+++ b/src/main/ed/manager/DBApp.java
@@ -1,129 +1,130 @@
// DBApp.java
/**
* Copyright (C) 2008 10gen Inc.
*
* This program is free software: you can redistr... | true | true | static String[] _optionsToArgs( Map<String,String> m ){
if ( m == null || m.size() == 0 )
return null;
List<String> args = new ArrayList<String>();
for ( String c : _configs ){
if ( m.containsKey( c ) ){
args.add( "--" + c );
args.add... | static String[] _optionsToArgs( Map<String,String> m ){
if ( m == null || m.size() == 0 )
return null;
List<String> args = new ArrayList<String>();
for ( String c : _configs ){
if ( m.containsKey( c ) ){
args.add( "--" + c );
args.add... |
diff --git a/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/search/InjectionPointQueryParticipant.java b/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/search/InjectionPointQueryParticipant.java
index b6dd33291..c01165f46 100644
--- a/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/... | false | true | public void search(ISearchRequestor requestor,
QuerySpecification querySpecification, IProgressMonitor monitor)
throws CoreException {
objects.clear();
if(querySpecification instanceof ElementQuerySpecification){
if (!isSearchForReferences(querySpecification.getLimitTo()))
return;
ElementQue... | public void search(ISearchRequestor requestor,
QuerySpecification querySpecification, IProgressMonitor monitor)
throws CoreException {
objects.clear();
if(querySpecification instanceof ElementQuerySpecification){
if (!isSearchForReferences(querySpecification.getLimitTo()))
return;
ElementQue... |
diff --git a/src/mobisocial/bento/todo/ui/TodoListFragment.java b/src/mobisocial/bento/todo/ui/TodoListFragment.java
index 82ca267..0739b34 100644
--- a/src/mobisocial/bento/todo/ui/TodoListFragment.java
+++ b/src/mobisocial/bento/todo/ui/TodoListFragment.java
@@ -1,511 +1,519 @@
/*
* Copyright (C) 2012 Kazuya (Kaz)... | true | true | public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (DEBUG) Log.d(TAG, "requestCode: " + requestCode + ", resultCode: " + resultCode);
if (resultCode == Activity.RESULT_OK) {
try {
File imageFile = null;
if (requestCode == REQUEST_IMAGE_CAPTURE) {
imageFile = ... | public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (DEBUG) Log.d(TAG, "requestCode: " + requestCode + ", resultCode: " + resultCode);
if (resultCode == Activity.RESULT_OK) {
try {
File imageFile = null;
if (requestCode == REQUEST_IMAGE_CAPTURE) {
imageFile = ... |
diff --git a/core/cc.warlock.rcp/src/cc/warlock/rcp/application/WarlockUpdates.java b/core/cc.warlock.rcp/src/cc/warlock/rcp/application/WarlockUpdates.java
index 7cb7245d..a1fb1de2 100644
--- a/core/cc.warlock.rcp/src/cc/warlock/rcp/application/WarlockUpdates.java
+++ b/core/cc.warlock.rcp/src/cc/warlock/rcp/applicati... | true | true | public static void checkForUpdates (final IProgressMonitor monitor)
{
try {
Properties properties = getUpdateProperties();
String url = properties.getProperty(UPDATE_SITE);
if (url == null)
return;
ISite updateSite = SiteManager.getSite(new URL(url), monitor);
IFeatureReference[] featureRefs ... | public static void checkForUpdates (final IProgressMonitor monitor)
{
try {
Properties properties = getUpdateProperties();
String url = properties.getProperty(UPDATE_SITE);
if (url == null)
return;
ISite updateSite = SiteManager.getSite(new URL(url), monitor);
IFeatureReference[] featureRefs ... |
diff --git a/Ingest/src/org/sleuthkit/autopsy/ingest/IngestManager.java b/Ingest/src/org/sleuthkit/autopsy/ingest/IngestManager.java
index 622fb432e..3c4dd14e1 100644
--- a/Ingest/src/org/sleuthkit/autopsy/ingest/IngestManager.java
+++ b/Ingest/src/org/sleuthkit/autopsy/ingest/IngestManager.java
@@ -1,942 +1,942 @@
/*... | false | true | private void startAll() {
//image ingesters
while (hasNextImage()) {
//dequeue
final QueueUnit<Image, IngestServiceImage> qu =
this.getNextImage();
//check if such (service,image) already running
synchronized (this) {
... | private void startAll() {
//image ingesters
while (hasNextImage()) {
//dequeue
final QueueUnit<Image, IngestServiceImage> qu =
this.getNextImage();
//check if such (service,image) already running
synchronized (this) {
... |
diff --git a/src/main/java/org/scale7/cassandra/pelops/Connection.java b/src/main/java/org/scale7/cassandra/pelops/Connection.java
index 5439632..96151e2 100644
--- a/src/main/java/org/scale7/cassandra/pelops/Connection.java
+++ b/src/main/java/org/scale7/cassandra/pelops/Connection.java
@@ -1,125 +1,127 @@
/*
* The... | false | true | public void open() throws TTransportException {
if (isOpen()) return;
transport.open();
logger.debug("transport is open '{}'",transport);
if (node.getConfig().getConnectionAuthenticator() !=null) {
logger.debug("Authentication request '{}'",node.ge... | public void open() throws TTransportException {
if (isOpen()) return;
transport.open();
logger.debug("transport is open '{}'",transport);
if (node.getConfig().getConnectionAuthenticator() !=null) {
logger.debug("Authentication request '{}'",node.ge... |
diff --git a/src/java/net/sf/jabref/imports/BibtexParser.java b/src/java/net/sf/jabref/imports/BibtexParser.java
index 4109f5503..bce3b5bf7 100644
--- a/src/java/net/sf/jabref/imports/BibtexParser.java
+++ b/src/java/net/sf/jabref/imports/BibtexParser.java
@@ -1,701 +1,701 @@
/*
Copyright (C) 2003 David Weitzman, Niz... | false | true | public ParserResult parse() throws IOException {
_db = new BibtexDatabase(); // Bibtex related contents.
_meta = new HashMap(); // Metadata in comments for Bibkeeper.
entryTypes = new HashMap(); // To store custem entry types parsed.
ParserResult _pr = new ParserResult(_db, _meta, entryTypes... | public ParserResult parse() throws IOException {
_db = new BibtexDatabase(); // Bibtex related contents.
_meta = new HashMap(); // Metadata in comments for Bibkeeper.
entryTypes = new HashMap(); // To store custem entry types parsed.
ParserResult _pr = new ParserResult(_db, _meta, entryTypes... |
diff --git a/src/main/java/hudson/plugins/perforce/PerforceSCM.java b/src/main/java/hudson/plugins/perforce/PerforceSCM.java
index 92931e1..c1a88c7 100644
--- a/src/main/java/hudson/plugins/perforce/PerforceSCM.java
+++ b/src/main/java/hudson/plugins/perforce/PerforceSCM.java
@@ -1,2353 +1,2353 @@
package hudson.plugi... | true | true | public boolean checkout(AbstractBuild build, Launcher launcher,
FilePath workspace, BuildListener listener, File changelogFile) throws IOException, InterruptedException {
PrintStream log = listener.getLogger();
changelogFilename = changelogFile.getAbsolutePath();
boolean wipeBe... | public boolean checkout(AbstractBuild build, Launcher launcher,
FilePath workspace, BuildListener listener, File changelogFile) throws IOException, InterruptedException {
PrintStream log = listener.getLogger();
changelogFilename = changelogFile.getAbsolutePath();
boolean wipeBe... |
diff --git a/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/StaxSource.java b/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/StaxSource.java
index abe16f8b6..07ce13168 100644
--- a/servicemix-core/src/main/java/org/apache/servicemix/jbi/jaxp/StaxSource.java
+++ b/servicemix-core/src/main/jav... | true | true | protected void parse() throws SAXException {
try {
contentHandler.startDocument();
while (true) {
switch (streamReader.getEventType()) {
case XMLStreamConstants.ATTRIBUTE:
case XMLStreamConstants.CDATA:
break;
... | protected void parse() throws SAXException {
try {
contentHandler.startDocument();
while (true) {
switch (streamReader.getEventType()) {
case XMLStreamConstants.ATTRIBUTE:
case XMLStreamConstants.CDATA:
break;
... |
diff --git a/src/com/novell/spsample/client/DocPanel.java b/src/com/novell/spsample/client/DocPanel.java
index 659860e1..2d9b4744 100644
--- a/src/com/novell/spsample/client/DocPanel.java
+++ b/src/com/novell/spsample/client/DocPanel.java
@@ -1,160 +1,160 @@
/*
* Copyright (c) 2010 Unpublished Work of Novell, Inc. A... | false | true | public DocPanel()
{
super("div",
"<h1>Spiffy UI Documentation</h1><br /><br />" +
"<div id=\"docPanelText\">" +
"<p>" +
"The Spiffy UI framework is included as a subproject and referenced in your project. " +
"You ... | public DocPanel()
{
super("div",
"<h1>Spiffy UI Documentation</h1><br /><br />" +
"<div id=\"docPanelText\">" +
"<p>" +
"The Spiffy UI framework is included as a subproject and referenced in your project. " +
"You ... |
diff --git a/src/main/java/ambibright/engine/AspectRatioService.java b/src/main/java/ambibright/engine/AspectRatioService.java
index 90cc79d..0a505a6 100644
--- a/src/main/java/ambibright/engine/AspectRatioService.java
+++ b/src/main/java/ambibright/engine/AspectRatioService.java
@@ -1,85 +1,85 @@
package ambibright.e... | true | true | public void run() {
logger.debug("Checking if aspect ratio changed");
// Get current image
BufferedImage image = screenCapture.captureScreen(fullScreenBounds);
// Detect top
y = fullScreenBounds.height / 4;
for (testX = 0; testX < fullScreenBounds.width; testX += fullScreenBounds.width / 5) {
for (tes... | public void run() {
logger.debug("Checking if aspect ratio changed");
// Get current image
BufferedImage image = screenCapture.captureScreen(fullScreenBounds);
// Detect top
y = fullScreenBounds.height / 4;
for (testX = 0; testX < fullScreenBounds.width; testX += fullScreenBounds.width / 5) {
for (tes... |
diff --git a/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java b/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java
index 0e9d5244..187ab7cd 100644
--- a/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java
+++ b/src/net/rptools/maptool/client/ui/zone/ZoneRenderer.java
@@ -1,2721 +1,2719 @@
/*
* Lic... | false | true | protected void renderTokens(Graphics2D g, List<Token> tokenList, PlayerView view) {
Graphics2D clippedG = g;
timer.start("createClip");
if (!view.isGMView() && visibleScreenArea != null && tokenList.size() > 0 && tokenList.get(0).isToken()) {
clippedG = (Graphics2D)g.create();
... | protected void renderTokens(Graphics2D g, List<Token> tokenList, PlayerView view) {
Graphics2D clippedG = g;
timer.start("createClip");
if (!view.isGMView() && visibleScreenArea != null && tokenList.size() > 0 && tokenList.get(0).isToken()) {
clippedG = (Graphics2D)g.create();
... |
diff --git a/src/Season.java b/src/Season.java
index e09a04c..931449e 100644
--- a/src/Season.java
+++ b/src/Season.java
@@ -1,174 +1,181 @@
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Season {
private List<Team> teams;
private int numWe... | false | true | private double recScore(Team t, int depth, Set<Game> played_games){
double score = 0;
if(depth <= this.MAXDEPTH){
for(int i=0; i<t.getGames().size(); i++){
double postSeasonBonus = 1;
Game g = t.getGames().get(i);
if(i >= 12){
//post season
if(t.getGames().size() >=14){
if(i >= 13){
... | private double recScore(Team t, int depth, Set<Game> played_games){
double score = 0;
if(depth <= this.MAXDEPTH){
Set<Game> played_this_round = new HashSet<Game>();
for(Game g : t.getGames()){
if(!played_games.contains(g)){
played_games.add(g);
played_this_round.add(g);
}
}
for(int i=... |
diff --git a/src/plugins/WebOfTrust/SubscriptionManager.java b/src/plugins/WebOfTrust/SubscriptionManager.java
index 1f2a1b68..e2bb2566 100644
--- a/src/plugins/WebOfTrust/SubscriptionManager.java
+++ b/src/plugins/WebOfTrust/SubscriptionManager.java
@@ -1,1424 +1,1424 @@
/* This code is part of Freenet. It is distrib... | false | true | protected boolean sendNotifications(SubscriptionManager manager) {
if(logMINOR) Logger.minor(manager, "sendNotifications() for " + this);
switch(mType) {
case FCP:
for(final Notification notification : manager.getNotifications(this)) {
if(logDEBUG) Logger.debug(manager, "Sending notification ... | protected boolean sendNotifications(SubscriptionManager manager) {
if(SubscriptionManager.logMINOR) Logger.minor(manager, "sendNotifications() for " + this);
switch(mType) {
case FCP:
for(final Notification notification : manager.getNotifications(this)) {
if(SubscriptionManager.logDEBUG) Logg... |
diff --git a/source/com/mucommander/io/EncodingDetector.java b/source/com/mucommander/io/EncodingDetector.java
index 8ead66d1..b2d2cfda 100644
--- a/source/com/mucommander/io/EncodingDetector.java
+++ b/source/com/mucommander/io/EncodingDetector.java
@@ -1,184 +1,184 @@
/*
* This file is part of muCommander, http://... | true | true | public static String detectEncoding(byte bytes[], int off, int len) {
// The current ICU CharsetDetector class will throw an ArrayIndexOutOfBoundsException exception if the
// supplied array is less than 4 bytes long. In that case, return null.
if(len<4)
return null;
// ... | public static String detectEncoding(byte bytes[], int off, int len) {
// The current ICU CharsetDetector class will throw an ArrayIndexOutOfBoundsException exception if the
// supplied array is less than 4 bytes long. In that case, return null.
if(len<4)
return null;
// ... |
diff --git a/src/org/apache/xerces/validators/common/XMLValidator.java b/src/org/apache/xerces/validators/common/XMLValidator.java
index b7dae22bc..0546456c4 100644
--- a/src/org/apache/xerces/validators/common/XMLValidator.java
+++ b/src/org/apache/xerces/validators/common/XMLValidator.java
@@ -1,3547 +1,3548 @@
/*
... | false | true | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if (fGrammar == null &&
!fValidating && !fNamespacesEnabled) {
fCurrentElementIndex = -1;
fCurrentContentSpecType = ... | private void validateElementAndAttributes(QName element,
XMLAttrList attrList)
throws Exception {
if (fGrammar == null &&
!fValidating && !fNamespacesEnabled) {
fCurrentElementIndex = -1;
fCurrentContentSpecType = ... |
diff --git a/src/main/java/com/google/gson/internal/bind/TypeAdapterRuntimeTypeWrapper.java b/src/main/java/com/google/gson/internal/bind/TypeAdapterRuntimeTypeWrapper.java
index 1a1f7d84..337b737e 100644
--- a/src/main/java/com/google/gson/internal/bind/TypeAdapterRuntimeTypeWrapper.java
+++ b/src/main/java/com/google... | true | true | public void write(JsonWriter writer, T value) throws IOException {
Type runtimeType = Reflection.getRuntimeTypeIfMoreSpecific(type, value);
TypeAdapter t = runtimeType != type ?
context.getAdapter(TypeToken.get(runtimeType)) : delegate;
t.write(writer, value);
}
| public void write(JsonWriter writer, T value) throws IOException {
TypeAdapter t = delegate;
if (delegate instanceof ReflectiveTypeAdapter) {
Type runtimeType = Reflection.getRuntimeTypeIfMoreSpecific(type, value);
if (runtimeType != type) {
t = context.getAdapter(TypeToken.get(runtimeType... |
diff --git a/CommandsEX/src/com/github/zathrus_writer/commandsex/helpers/Nicknames.java b/CommandsEX/src/com/github/zathrus_writer/commandsex/helpers/Nicknames.java
index 997e5ad..c4e16f1 100644
--- a/CommandsEX/src/com/github/zathrus_writer/commandsex/helpers/Nicknames.java
+++ b/CommandsEX/src/com/github/zathrus_writ... | false | true | public static void saveNicks(){
// we can't save the nicknames if the database is disabled
if (CommandsEX.sqlEnabled){
// delete rows from the database if the key is not in the HashMap, used for when a nickname is reset
// and the row is no longer in the table
try {
ResultSet rs = SQLManager.query_res... | public static void saveNicks(){
// we can't save the nicknames if the database is disabled
if (CommandsEX.sqlEnabled){
// delete rows from the database if the key is not in the HashMap, used for when a nickname is reset
// and the row is no longer in the table
try {
ResultSet rs = SQLManager.query_res... |
diff --git a/src/test/java/org/atlasapi/remotesite/channel4/C4FourOdEpisodesExtractorTest.java b/src/test/java/org/atlasapi/remotesite/channel4/C4FourOdEpisodesExtractorTest.java
index 320a39530..8eacd5017 100644
--- a/src/test/java/org/atlasapi/remotesite/channel4/C4FourOdEpisodesExtractorTest.java
+++ b/src/test/java... | true | true | public void testExtractingEpisodes() throws Exception {
List<Episode> episodes = new C4EpisodesExtractor(new NullAdapterLog()).includeBroadcasts().includeOnDemands().extract(fourOdFeed.build());
Episode firstEpisode = (Episode) Iterables.get(episodes, 0);
assertThat(firstEpisode.getCanonicalUri(), is("htt... | public void testExtractingEpisodes() throws Exception {
List<Episode> episodes = new C4EpisodesExtractor(new NullAdapterLog()).includeBroadcasts().includeOnDemands().extract(fourOdFeed.build());
Episode firstEpisode = (Episode) Iterables.get(episodes, 0);
assertThat(firstEpisode.getCanonicalUri(), is("htt... |
diff --git a/src/main/java/org/eastway/echarts/client/presenter/LinkPresenter.java b/src/main/java/org/eastway/echarts/client/presenter/LinkPresenter.java
index 48cef1c..b89fed1 100644
--- a/src/main/java/org/eastway/echarts/client/presenter/LinkPresenter.java
+++ b/src/main/java/org/eastway/echarts/client/presenter/Li... | true | true | public void fetchData() {
dispatch.executeWithCache(action, new EchartsCallback<GetLinksResult>(eventBus) {
@Override
protected void handleFailure(Throwable caught) {
}
@Override
protected void handleSuccess(GetLinksResult result) {
setData(result.getLinks());
display.setData(result.getLinks(... | public void fetchData() {
dispatch.execute(action, new EchartsCallback<GetLinksResult>(eventBus) {
@Override
protected void handleFailure(Throwable caught) {
}
@Override
protected void handleSuccess(GetLinksResult result) {
setData(result.getLinks());
display.setData(result.getLinks());
}
... |
diff --git a/udf/src/main/java/org/pygmalion/udf/uuid/GenerateTimeUUID.java b/udf/src/main/java/org/pygmalion/udf/uuid/GenerateTimeUUID.java
index b40ceba..6d06cab 100644
--- a/udf/src/main/java/org/pygmalion/udf/uuid/GenerateTimeUUID.java
+++ b/udf/src/main/java/org/pygmalion/udf/uuid/GenerateTimeUUID.java
@@ -1,31 +1... | true | true | public String exec(Tuple input) throws IOException {
String rval = null;
if (input != null || input.size() == 0) {
rval = TimeUUIDUtils.getUniqueTimeUUIDinMillis().toString();
} else if (input.size() == 1) {
Long time = (Long) input.get(0);
rval = TimeUUI... | public String exec(Tuple input) throws IOException {
String rval = null;
if (input == null || input.size() == 0) {
rval = TimeUUIDUtils.getUniqueTimeUUIDinMillis().toString();
} else if (input.size() == 1) {
Long time = (Long) input.get(0);
rval = TimeUUI... |
diff --git a/src/jlogic/Main.java b/src/jlogic/Main.java
index cb36d20..214f380 100644
--- a/src/jlogic/Main.java
+++ b/src/jlogic/Main.java
@@ -1,7 +1,7 @@
package jlogic;
public final class Main {
- public static void main(String[] args) {
- System.out.println("Hello, world!");
- }
+ public static void main(S... | true | true | public static void main(String[] args) {
System.out.println("Hello, world!");
}
| public static void main(String[] args) {
System.out.println("Hello, world!");
}
|
diff --git a/Mine/src/player.java b/Mine/src/player.java
index da57b16..f76637c 100644
--- a/Mine/src/player.java
+++ b/Mine/src/player.java
@@ -1,46 +1,46 @@
import java.awt.Point;
public class player {
Point position;
int hp = 10, fuel = 100, money = 0;
public player(int x, int y){
position = new ... | false | true | public void move(int dx, int dy){
if(position.x +dx < 0 || position.x +dx > map.size.width){
dx = 0;
}
if(position.y +dy < 0 || position.y + dy > map.size.height){
dy=0;
}
position.translate(dx, dy);
game.refresh();
}
| public void move(int dx, int dy){
if(position.x +dx < 0 || position.x +dx >= map.size.width){
dx = 0;
}
if(position.y +dy < 0 || position.y + dy >= map.size.height){
dy=0;
}
position.translate(dx, dy);
game.refresh();
}
|
diff --git a/src/editor/highlighter/LuaReadWriteAccessDetector.java b/src/editor/highlighter/LuaReadWriteAccessDetector.java
index 8e6966c8..b5372185 100644
--- a/src/editor/highlighter/LuaReadWriteAccessDetector.java
+++ b/src/editor/highlighter/LuaReadWriteAccessDetector.java
@@ -1,94 +1,94 @@
/*
* Copyright 2011 ... | false | true | public boolean isDeclarationWriteAccess(PsiElement element) {
if (! (element instanceof LuaSymbol))
return false;
if (element instanceof LuaParameter) {
return true;
}
LuaStatementElement stmt = PsiTreeUtil.getParentOfType(element, LuaGenericForStatement.cla... | public boolean isDeclarationWriteAccess(PsiElement element) {
if (! (element instanceof LuaSymbol))
return false;
if (element instanceof LuaParameter) {
return true;
}
LuaStatementElement stmt = PsiTreeUtil.getParentOfType(element, LuaGenericForStatement.cla... |
diff --git a/src/main/courseproj/application/MinhashWikipediaPages.java b/src/main/courseproj/application/MinhashWikipediaPages.java
index c4ac109..4603395 100644
--- a/src/main/courseproj/application/MinhashWikipediaPages.java
+++ b/src/main/courseproj/application/MinhashWikipediaPages.java
@@ -1,410 +1,410 @@
packag... | true | true | public int run(String[] args) throws Exception {
Options options = new Options();
options.addOption(OptionBuilder.withArgName("path")
.hasArg().withDescription("bz2 input path").create(INPUT));
options.addOption(OptionBuilder.withArgName("path")
.hasArg().with... | public int run(String[] args) throws Exception {
Options options = new Options();
options.addOption(OptionBuilder.withArgName("path")
.hasArg().withDescription("bz2 input path").create(INPUT));
options.addOption(OptionBuilder.withArgName("path")
.hasArg().with... |
diff --git a/trunk/java/com/tigervnc/vncviewer/Viewport.java b/trunk/java/com/tigervnc/vncviewer/Viewport.java
index e8793a1b..31acc0e1 100644
--- a/trunk/java/com/tigervnc/vncviewer/Viewport.java
+++ b/trunk/java/com/tigervnc/vncviewer/Viewport.java
@@ -1,132 +1,132 @@
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rig... | false | true | public Viewport(String name, CConn cc_) {
cc = cc_;
setTitle(name+" - TigerVNC");
setFocusable(false);
setFocusTraversalKeysEnabled(false);
UIManager.getDefaults().put("ScrollPane.ancestorInputMap",
new UIDefaults.LazyInputMap(new Object[]{}));
sp = new JScrollPane();
sp.getViewport... | public Viewport(String name, CConn cc_) {
cc = cc_;
setTitle(name+" - TigerVNC");
setFocusable(false);
setFocusTraversalKeysEnabled(false);
UIManager.getDefaults().put("ScrollPane.ancestorInputMap",
new UIDefaults.LazyInputMap(new Object[]{}));
sp = new JScrollPane();
sp.getViewport... |
diff --git a/modules/org.restlet/src/org/restlet/engine/http/header/HeaderUtils.java b/modules/org.restlet/src/org/restlet/engine/http/header/HeaderUtils.java
index 2ac614833..ec20c3111 100644
--- a/modules/org.restlet/src/org/restlet/engine/http/header/HeaderUtils.java
+++ b/modules/org.restlet/src/org/restlet/engine/... | false | true | public static void addResponseHeaders(Response response,
Series<Parameter> responseHeaders) throws IllegalArgumentException {
if (response.getStatus().equals(Status.CLIENT_ERROR_METHOD_NOT_ALLOWED)
|| Method.OPTIONS.equals(response.getRequest().getMethod())) {
// Form... | public static void addResponseHeaders(Response response,
Series<Parameter> responseHeaders) throws IllegalArgumentException {
if (response.getStatus().equals(Status.CLIENT_ERROR_METHOD_NOT_ALLOWED)
|| Method.OPTIONS.equals(response.getRequest().getMethod())) {
// Form... |
diff --git a/src/com/matejdro/bukkit/portalstick/EntityManager.java b/src/com/matejdro/bukkit/portalstick/EntityManager.java
index 977d5f4..472d3e1 100644
--- a/src/com/matejdro/bukkit/portalstick/EntityManager.java
+++ b/src/com/matejdro/bukkit/portalstick/EntityManager.java
@@ -1,184 +1,184 @@
package com.matejdro.b... | true | true | public static Location teleport(Entity entity, Location LocTo, Vector vector)
{
Region regionTo = RegionManager.getRegion(LocTo);
Portal portal = PortalManager.insideBlocks.get(LocTo);
if (portal == null && ((Math.abs(vector.getBlockX()) > 1 || (Math.abs(vector.getBlockY()) > 1 || (Math.abs(vector.getBlockZ()) ... | public static Location teleport(Entity entity, Location LocTo, Vector vector)
{
Region regionTo = RegionManager.getRegion(LocTo);
Portal portal = PortalManager.insideBlocks.get(LocTo);
if (portal == null && ((Math.abs(vector.getBlockX()) > 1 || (Math.abs(vector.getBlockY()) > 1 || (Math.abs(vector.getBlockZ()) ... |
diff --git a/user/src/com/google/gwt/user/client/impl/DOMImplTrident.java b/user/src/com/google/gwt/user/client/impl/DOMImplTrident.java
index 8f90472d1..05ddbc51c 100644
--- a/user/src/com/google/gwt/user/client/impl/DOMImplTrident.java
+++ b/user/src/com/google/gwt/user/client/impl/DOMImplTrident.java
@@ -1,264 +1,26... | true | true | public native void initEventSystem() /*-{
// All GWT apps on the page register themselves with the globelEventArray
// so that the first app to handle an event can allow all apps on the page
// to preview it. See issue 3892 for more details.
//
// Apps cannot just mark the event as they visit it f... | public native void initEventSystem() /*-{
// All GWT apps on the page register themselves with the globelEventArray
// so that the first app to handle an event can allow all apps on the page
// to preview it. See issue 3892 for more details.
//
// Apps cannot just mark the event as they visit it f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.