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/perfload-daemon/src/main/java/com/mgmtp/perfload/core/daemon/util/ForkedProcessClientRunner.java b/perfload-daemon/src/main/java/com/mgmtp/perfload/core/daemon/util/ForkedProcessClientRunner.java
index cd2013c..299b26f 100644
--- a/perfload-daemon/src/main/java/com/mgmtp/perfload/core/daemon/util/ForkedPro... | true | true | public Future<Integer> runClient(final File clientDir, final ProcessConfig procConfig, final List<String> arguments) {
return execService.submit(new Callable<Integer>() {
@Override
public Integer call() throws IOException, InterruptedException {
File javaHome = new File(System.getenv("JAVA_HOME"));
if ... | public Future<Integer> runClient(final File clientDir, final ProcessConfig procConfig, final List<String> arguments) {
return execService.submit(new Callable<Integer>() {
@Override
public Integer call() throws IOException, InterruptedException {
File javaHome = new File(System.getenv("JAVA_HOME"));
if ... |
diff --git a/src/jp/ac/fit/asura/nao/glue/naimon/PressurePanel.java b/src/jp/ac/fit/asura/nao/glue/naimon/PressurePanel.java
index 1422888..076efcc 100644
--- a/src/jp/ac/fit/asura/nao/glue/naimon/PressurePanel.java
+++ b/src/jp/ac/fit/asura/nao/glue/naimon/PressurePanel.java
@@ -1,204 +1,204 @@
/*
* 作成日: 2008/11/23... | false | true | protected void paintComponent(Graphics g) {
// 画像上の中心を計算
Point c = new Point();
c.x = getPreferredSize().width / 2;
c.y = getPreferredSize().height / 2;
// それぞれの足の現在位置(ボディ座標)を取得
// 本当はボディ座標からロボット座標に変換して使うべき
Vector3f tmp = new Vector3f();
ssc.body2robotCoord(ssc.getContext().get(Frames.LSole)
.getB... | protected void paintComponent(Graphics g) {
// 画像上の中心を計算
Point c = new Point();
c.x = getPreferredSize().width / 2;
c.y = getPreferredSize().height / 2;
// それぞれの足の現在位置(ボディ座標)を取得
// 本当はボディ座標からロボット座標に変換して使うべき
Vector3f tmp = new Vector3f();
ssc.body2robotCoord(ssc.getContext().get(Frames.LSole)
.getB... |
diff --git a/ZONE-extractor/ZONE-RSSreader/src/main/java/org/zoneproject/extractor/rssreader/RSSGetter.java b/ZONE-extractor/ZONE-RSSreader/src/main/java/org/zoneproject/extractor/rssreader/RSSGetter.java
index c6cd24f..2c548d6 100644
--- a/ZONE-extractor/ZONE-RSSreader/src/main/java/org/zoneproject/extractor/rssreader... | true | true | private static ArrayList<Item> getFlux(String source, XmlReader reader){
ArrayList<Item> items = new ArrayList<Item>();
SyndFeedInput sfi = new SyndFeedInput();
try {
SyndFeed feed = sfi.build(reader);
List entries = new ArrayList();
entries = fee... | private static ArrayList<Item> getFlux(String source, XmlReader reader){
ArrayList<Item> items = new ArrayList<Item>();
SyndFeedInput sfi = new SyndFeedInput();
try {
SyndFeed feed = sfi.build(reader);
List entries = new ArrayList();
entries = fee... |
diff --git a/opentripplanner-routing/src/main/java/org/opentripplanner/routing/impl/StreetVertexIndexServiceImpl.java b/opentripplanner-routing/src/main/java/org/opentripplanner/routing/impl/StreetVertexIndexServiceImpl.java
index 4396d20..f386b60 100644
--- a/opentripplanner-routing/src/main/java/org/opentripplanner/r... | true | true | public Vertex getClosestVertex(Coordinate location) {
Envelope env = new Envelope(location);
env.expandBy(0.0018);
List<Vertex> nearby = (List<Vertex>) _index.query(env);
Vertex minVertex = null;
double minDistance = Double.POSITIVE_INFINITY;
doubl... | public Vertex getClosestVertex(Coordinate location) {
Envelope env = new Envelope(location);
env.expandBy(0.0036);
List<Vertex> nearby = (List<Vertex>) _index.query(env);
Vertex minVertex = null;
double minDistance = Double.POSITIVE_INFINITY;
doubl... |
diff --git a/src/com/lostaris/bukkit/ItemRepair/Repair.java b/src/com/lostaris/bukkit/ItemRepair/Repair.java
index c9f2520..de8214c 100644
--- a/src/com/lostaris/bukkit/ItemRepair/Repair.java
+++ b/src/com/lostaris/bukkit/ItemRepair/Repair.java
@@ -1,256 +1,257 @@
package com.lostaris.bukkit.ItemRepair;
import java... | false | true | public boolean manualRepair(ItemStack tool, int slot) {
if (!AutoRepairPlugin.isAllowed(getPlayer(), "repair")) {
getPlayer().sendMessage("�cYou dont have permission to do the repair command.");
return false;
}
PlayerInventory inven = getPlayer().getInventory();
HashMap<String, ArrayList<ItemStack> > re... | public boolean manualRepair(ItemStack tool, int slot) {
if (!AutoRepairPlugin.isAllowed(getPlayer(), "repair")) {
getPlayer().sendMessage("�cYou dont have permission to do the repair command.");
return false;
}
PlayerInventory inven = getPlayer().getInventory();
HashMap<String, ArrayList<ItemStack> > re... |
diff --git a/projects/samskivert/src/java/com/samskivert/swing/IntField.java b/projects/samskivert/src/java/com/samskivert/swing/IntField.java
index d8f3839a..152b484f 100644
--- a/projects/samskivert/src/java/com/samskivert/swing/IntField.java
+++ b/projects/samskivert/src/java/com/samskivert/swing/IntField.java
@@ -1... | false | true | public IntField (int initial, int minValue, int maxValue)
{
super(new IntDocument(), format(initial), 5);
validateMinMax(minValue, maxValue);
if (initial > maxValue || initial < minValue) {
throw new IllegalArgumentException("initial value not between " +
... | public IntField (int initial, int minValue, int maxValue)
{
super(new IntDocument(), format(initial), 5);
validateMinMax(minValue, maxValue);
if (initial > maxValue || initial < minValue) {
throw new IllegalArgumentException("initial value not between " +
... |
diff --git a/src/org/commoncrawl/mapred/ec2/parser/EC2CheckpointTask.java b/src/org/commoncrawl/mapred/ec2/parser/EC2CheckpointTask.java
index ac7f86a..3010349 100644
--- a/src/org/commoncrawl/mapred/ec2/parser/EC2CheckpointTask.java
+++ b/src/org/commoncrawl/mapred/ec2/parser/EC2CheckpointTask.java
@@ -1,1123 +1,1138 ... | true | true | private static Runnable createRunnableForSegment(final Semaphore completionSemaphore,final int checkpointItemIdx,final Exception[] exceptionArray, final long checkpointId,final long segmentId, final FileSystem fs,final Configuration conf,final Collection<SplitInfo> splits)throws IOException {
// we need to ... | private static Runnable createRunnableForSegment(final Semaphore completionSemaphore,final int checkpointItemIdx,final Exception[] exceptionArray, final long checkpointId,final long segmentId, final FileSystem fs,final Configuration conf,final Collection<SplitInfo> splits)throws IOException {
// we need to ... |
diff --git a/src/main/java/com/censoredsoftware/demigods/command/GeneralCommands.java b/src/main/java/com/censoredsoftware/demigods/command/GeneralCommands.java
index 6b836c3f..ea5218fa 100644
--- a/src/main/java/com/censoredsoftware/demigods/command/GeneralCommands.java
+++ b/src/main/java/com/censoredsoftware/demigod... | true | true | private boolean leaderboard(CommandSender sender)
{
// Define variables
List<DCharacter> characters = Lists.newArrayList(DCharacter.Util.getAllUsable());
Map<UUID, Double> scores = Maps.newLinkedHashMap();
for(int i = 0; i < characters.size(); i++)
{
DCharacter character = characters.get(i);
double sc... | private boolean leaderboard(CommandSender sender)
{
// Define variables
List<DCharacter> characters = Lists.newArrayList(DCharacter.Util.getAllUsable());
Map<UUID, Double> scores = Maps.newLinkedHashMap();
for(int i = 0; i < characters.size(); i++)
{
DCharacter character = characters.get(i);
double sc... |
diff --git a/src/org/liberty/android/fantastischmemo/DBImporter.java b/src/org/liberty/android/fantastischmemo/DBImporter.java
index 79644557..c987ef92 100644
--- a/src/org/liberty/android/fantastischmemo/DBImporter.java
+++ b/src/org/liberty/android/fantastischmemo/DBImporter.java
@@ -1,209 +1,209 @@
/*
Copyright (C... | false | true | public void ImportQATXT() throws Exception{
String fullpath = filePath + "/" + fileName;
DatabaseHelper.createEmptyDatabase(filePath, fileName.replace(".txt", ".db"));
DatabaseHelper dbHelper = new DatabaseHelper(mContext, filePath, fileName.replace(".txt", ".db"));
BufferedReader t... | public void ImportQATXT() throws Exception{
String fullpath = filePath + "/" + fileName;
DatabaseHelper.createEmptyDatabase(filePath, fileName.replace(".txt", ".db"));
DatabaseHelper dbHelper = new DatabaseHelper(mContext, filePath, fileName.replace(".txt", ".db"));
BufferedReader t... |
diff --git a/aop-mc-int/src/main/org/jboss/aop/microcontainer/integration/AspectDependencyBuilderListItem.java b/aop-mc-int/src/main/org/jboss/aop/microcontainer/integration/AspectDependencyBuilderListItem.java
index e7471a36..cb7d3aa8 100644
--- a/aop-mc-int/src/main/org/jboss/aop/microcontainer/integration/AspectDepe... | true | true | public void removeDependency(KernelControllerContext context)
{
DependencyInfo depends = context.getDependencyInfo();
Set<DependencyItem> items = depends.getIDependOn(null);
if (items.size() > 0)
{
for (DependencyItem item : items)
{
try
{
... | public void removeDependency(KernelControllerContext context)
{
DependencyInfo depends = context.getDependencyInfo();
Set<DependencyItem> items = depends.getIDependOn(null);
if (items.size() > 0)
{
for (DependencyItem item : items)
{
try
{
... |
diff --git a/org/mailster/util/MailUtilities.java b/org/mailster/util/MailUtilities.java
index 1c868ad..4061c8b 100644
--- a/org/mailster/util/MailUtilities.java
+++ b/org/mailster/util/MailUtilities.java
@@ -1,756 +1,757 @@
package org.mailster.util;
import java.io.BufferedOutputStream;
import java.io.BufferedRea... | true | true | private static SmtpMessagePart handleBodyPart(BufferedReader reader,
SmtpHeadersInterface parentHeaders, boolean readHeader)
throws IOException
{
boolean isHeader = readHeader;
int lineNum = 0;
SmtpHeadersInterface headers = new SmtpHeaders();
SmtpMessageP... | private static SmtpMessagePart handleBodyPart(BufferedReader reader,
SmtpHeadersInterface parentHeaders, boolean readHeader)
throws IOException
{
boolean isHeader = readHeader;
int lineNum = 0;
SmtpHeadersInterface headers = new SmtpHeaders();
SmtpMessageP... |
diff --git a/org.dawb.workbench.plotting/src/org/dawb/workbench/plotting/tools/InfoPixelLabelProvider.java b/org.dawb.workbench.plotting/src/org/dawb/workbench/plotting/tools/InfoPixelLabelProvider.java
index 17ba6ee38..5077bed41 100644
--- a/org.dawb.workbench.plotting/src/org/dawb/workbench/plotting/tools/InfoPixelLa... | false | true | public String getText(Object element) {
double x = 0.0;
double y = 0.0;
try {
if (element instanceof IRegion){
final IRegion region = (IRegion)element;
if (region.getRegionType()==RegionType.POINT) {
PointROI pr = (PointROI)tool.getBounds(region);
x = pr.getPointX();
y = pr.get... | public String getText(Object element) {
double x = 0.0;
double y = 0.0;
try {
if (element instanceof IRegion){
final IRegion region = (IRegion)element;
if (region.getRegionType()==RegionType.POINT) {
PointROI pr = (PointROI)tool.getBounds(region);
x = pr.getPointX();
y = pr.get... |
diff --git a/src/pt/up/fe/dceg/neptus/mra/replay/LogReplay.java b/src/pt/up/fe/dceg/neptus/mra/replay/LogReplay.java
index d3fcf8504..d20bb5e37 100644
--- a/src/pt/up/fe/dceg/neptus/mra/replay/LogReplay.java
+++ b/src/pt/up/fe/dceg/neptus/mra/replay/LogReplay.java
@@ -1,480 +1,480 @@
/*
* Copyright (c) 2004-2013 Uni... | true | true | private JToolBar buildControls() {
JToolBar controlsPanel = new JToolBar();
timeline = new Timeline(0, (int)(maxTime - minTime), 32, 1000, false);
timeline.addTimelineChangeListener(new TimelineChangeListener() {
@Override
public void timelineC... | private JToolBar buildControls() {
JToolBar controlsPanel = new JToolBar();
timeline = new Timeline(0, (int)(maxTime - minTime), 32, 1000, false);
timeline.addTimelineChangeListener(new TimelineChangeListener() {
@Override
public void timelineC... |
diff --git a/trc/edu/jas/gbmod/QuotSolvablePolynomialTest.java b/trc/edu/jas/gbmod/QuotSolvablePolynomialTest.java
index 67e03fbd..4a4a3ca3 100644
--- a/trc/edu/jas/gbmod/QuotSolvablePolynomialTest.java
+++ b/trc/edu/jas/gbmod/QuotSolvablePolynomialTest.java
@@ -1,566 +1,566 @@
/*
* $Id$
*/
package edu.jas.gbmo... | true | true | public void testSolvableCoeffs() {
GenSolvablePolynomialRing<BigRational> csring = new GenSolvablePolynomialRing<BigRational>(cfac,
tord, cvars);
WeylRelations<BigRational> wlc = new WeylRelations<BigRational>(csring);
//no: wlc.generate();
//assertTrue("# rel... | public void testSolvableCoeffs() {
GenSolvablePolynomialRing<BigRational> csring = new GenSolvablePolynomialRing<BigRational>(cfac,
tord, cvars);
//WeylRelations<BigRational> wlc = new WeylRelations<BigRational>(csring);
//no: wlc.generate();
//assertTrue("# ... |
diff --git a/src/fr/adrienbrault/idea/symfony2plugin/Symfony2ProjectComponent.java b/src/fr/adrienbrault/idea/symfony2plugin/Symfony2ProjectComponent.java
index 9bde9f22..1bb7d987 100644
--- a/src/fr/adrienbrault/idea/symfony2plugin/Symfony2ProjectComponent.java
+++ b/src/fr/adrienbrault/idea/symfony2plugin/Symfony2Pro... | true | true | public Map<String, Route> getRoutes() {
Map<String, Route> routes = new HashMap<String, Route>();
String urlGeneratorPath = getPath(project, Settings.getInstance(project).pathToUrlGenerator);
File urlGeneratorFile = new File(urlGeneratorPath);
VirtualFile virtualUrlGeneratorFile = V... | public Map<String, Route> getRoutes() {
Map<String, Route> routes = new HashMap<String, Route>();
String urlGeneratorPath = getPath(project, Settings.getInstance(project).pathToUrlGenerator);
File urlGeneratorFile = new File(urlGeneratorPath);
VirtualFile virtualUrlGeneratorFile = V... |
diff --git a/src/main/java/net/sf/webdav/methods/DoGet.java b/src/main/java/net/sf/webdav/methods/DoGet.java
index fa318a9..df85160 100644
--- a/src/main/java/net/sf/webdav/methods/DoGet.java
+++ b/src/main/java/net/sf/webdav/methods/DoGet.java
@@ -1,163 +1,163 @@
package net.sf.webdav.methods;
import java.io.IOExc... | true | true | public void execute(HttpServletRequest req, HttpServletResponse resp,
boolean includeBody, String mimeType) throws IOException {
String path = getRelativePath(req);
if (debug == 1)
System.err.println("-- doGet " + path);
if (store.isFolder(path)) {
if (df... | public void execute(HttpServletRequest req, HttpServletResponse resp,
boolean includeBody, String mimeType) throws IOException {
String path = getRelativePath(req);
if (debug == 1)
System.err.println("-- doGet " + path);
if (store.isFolder(path)) {
if (df... |
diff --git a/src/main/java/uk/frequency/glance/server/business/logic/EventGeneration.java b/src/main/java/uk/frequency/glance/server/business/logic/EventGeneration.java
index 2713aac..d970b11 100644
--- a/src/main/java/uk/frequency/glance/server/business/logic/EventGeneration.java
+++ b/src/main/java/uk/frequency/glanc... | false | true | private void handlePositionTrace(PositionTrace currentTrace) {
User user = genInfo.getUser();
Event currentEvent = genInfo.getCurrentEvent();
if (currentEvent == null) {
//create a new event
//get all traces on a given time window before the current trace
Date timeWindowStart = TimeUtil.add(curr... | private void handlePositionTrace(PositionTrace currentTrace) {
User user = genInfo.getUser();
Event currentEvent = genInfo.getCurrentEvent();
if (currentEvent == null) {
//create a new event
//get all traces on a given time window before the current trace
Date timeWindowStart = TimeUtil.add(curr... |
diff --git a/src/test/java/mikera/transformz/TestAffine.java b/src/test/java/mikera/transformz/TestAffine.java
index 75badfe9..10b7a85e 100644
--- a/src/test/java/mikera/transformz/TestAffine.java
+++ b/src/test/java/mikera/transformz/TestAffine.java
@@ -1,95 +1,95 @@
package mikera.transformz;
import org.junit.Tes... | true | true | @Test public void genericAffineTests() {
doAffineTests(Transformz.identityTransform(3));
doAffineTests(Transformz.identityTransform(7));
doAffineTests(Matrixx.createRandomSquareMatrix(3));
doAffineTests(Matrixx.createRandomSquareMatrix(5));
AMatrix rmatrix=Matrixx.createRandomMatrix(5, 6);
doAffineTe... | @Test public void genericAffineTests() {
doAffineTests(Transformz.identityTransform(3));
doAffineTests(Transformz.identityTransform(7));
doAffineTests(Matrixx.createRandomSquareMatrix(3));
doAffineTests(Matrixx.createRandomSquareMatrix(5));
AMatrix rmatrix=Matrixx.createRandomMatrix(5, 6);
doAffineTe... |
diff --git a/phonemic/src/org/sodbeans/phonemic/tts/impl/SpeechBridge.java b/phonemic/src/org/sodbeans/phonemic/tts/impl/SpeechBridge.java
index 2124c6a..9694556 100644
--- a/phonemic/src/org/sodbeans/phonemic/tts/impl/SpeechBridge.java
+++ b/phonemic/src/org/sodbeans/phonemic/tts/impl/SpeechBridge.java
@@ -1,505 +1,50... | true | true | public void run() {
try {
Thread thisThread = Thread.currentThread();
running = true;
while (thisThread == blinker) {
SpeechRequest request = queue.take();
// If we aren't blocking and we aren't speaking or this... | public void run() {
try {
Thread thisThread = Thread.currentThread();
running = true;
while (thisThread == blinker) {
SpeechRequest request = queue.take();
// If we aren't blocking and we aren't speaking or this... |
diff --git a/software/ncitbrowser/src/java/gov/nih/nci/evs/browser/utils/TreeUtils.java b/software/ncitbrowser/src/java/gov/nih/nci/evs/browser/utils/TreeUtils.java
index 4f1c7ac4..66ef79ab 100644
--- a/software/ncitbrowser/src/java/gov/nih/nci/evs/browser/utils/TreeUtils.java
+++ b/software/ncitbrowser/src/java/gov/ni... | true | true | public static HashMap getAssociatedConcepts(LexBIGService lbSvc,
LexBIGServiceConvenienceMethods lbscm, String scheme, String version,
String code, String[] assocNames, boolean direction) {
HashMap hmap = new HashMap();
TreeItem ti = null;
long ms = System.currentTimeMillis()... | public static HashMap getAssociatedConcepts(LexBIGService lbSvc,
LexBIGServiceConvenienceMethods lbscm, String scheme, String version,
String code, String[] assocNames, boolean direction) {
HashMap hmap = new HashMap();
TreeItem ti = null;
long ms = System.currentTimeMillis()... |
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/BrowserIdentificationTest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/BrowserIdentificationTest.java
index 02ef23efe..0625a11f2 100644
--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/BrowserIdentificationTest.... | true | true | public void placeholderTest() {
}
| public void testPlaceholder() {
}
|
diff --git a/java/modules/core/src/main/java/org/apache/synapse/mediators/elementary/Source.java b/java/modules/core/src/main/java/org/apache/synapse/mediators/elementary/Source.java
index 3a6ab6178..59e890cd7 100644
--- a/java/modules/core/src/main/java/org/apache/synapse/mediators/elementary/Source.java
+++ b/java/mo... | true | true | public ArrayList<OMNode> evaluate(MessageContext synCtx, SynapseLog synLog)
throws JaxenException {
ArrayList<OMNode> sourceNodeList = new ArrayList<OMNode>();
if (sourceType == EnrichMediator.CUSTOM) {
assert xpath != null : "XPath should be non null in case of CUSTOM";
... | public ArrayList<OMNode> evaluate(MessageContext synCtx, SynapseLog synLog)
throws JaxenException {
ArrayList<OMNode> sourceNodeList = new ArrayList<OMNode>();
if (sourceType == EnrichMediator.CUSTOM) {
assert xpath != null : "XPath should be non null in case of CUSTOM";
... |
diff --git a/netbeans-gradle-plugin/src/main/java/org/netbeans/gradle/project/properties/DefaultPropertySources.java b/netbeans-gradle-plugin/src/main/java/org/netbeans/gradle/project/properties/DefaultPropertySources.java
index cb92495c..1dba6a29 100644
--- a/netbeans-gradle-plugin/src/main/java/org/netbeans/gradle/pr... | true | true | public static JavaPlatform tryChooseFromPlatforms(
String specName,
String versionStr,
JavaPlatform[] platforms) {
if (specName == null) throw new NullPointerException("specName");
if (versionStr == null) throw new NullPointerException("versionStr");
Spe... | public static JavaPlatform tryChooseFromPlatforms(
String specName,
String versionStr,
JavaPlatform[] platforms) {
if (specName == null) throw new NullPointerException("specName");
if (versionStr == null) throw new NullPointerException("versionStr");
Spe... |
diff --git a/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1641Test.java b/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJspJbide1641Test.java
index 3117dab8..d814075a 100644
--- a/tests/org.jboss.tools.jst.jsp.test/src/org/jboss/tools/jst/jsp/test/ca/JstJ... | true | true | public void testJstJspJbide1641() {
openEditor(PAGE_NAME);
// Find start of <ui:composition> tag
String documentContent = document.get();
int start = (documentContent == null ? -1 : documentContent.indexOf(INSERT_BEFORE_STRING));
int offsetToTest = start + PREFIX_STRING.length();
assertTrue("Canno... | public void testJstJspJbide1641() {
openEditor(PAGE_NAME);
// Find start of <ui:composition> tag
String documentContent = document.get();
int start = (documentContent == null ? -1 : documentContent.indexOf(INSERT_BEFORE_STRING));
int offsetToTest = start + PREFIX_STRING.length();
assertTrue("Canno... |
diff --git a/core/src/processing/core/PGraphics3D.java b/core/src/processing/core/PGraphics3D.java
index b648739e6..fd249b7cd 100644
--- a/core/src/processing/core/PGraphics3D.java
+++ b/core/src/processing/core/PGraphics3D.java
@@ -1,3698 +1,3698 @@
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
... | true | true | protected final void add_triangle_with_clip(int a, int b, int c) {
boolean aClipped = false;
boolean bClipped = false;
//boolean cClipped = false;
int clippedCount = 0;
cameraNear = -8;
if (vertices[a][VZ] > cameraNear) {
aClipped = true;
clippedCount++;
}
if (vertices... | protected final void add_triangle_with_clip(int a, int b, int c) {
boolean aClipped = false;
boolean bClipped = false;
//boolean cClipped = false;
int clippedCount = 0;
cameraNear = -8;
if (vertices[a][VZ] > cameraNear) {
aClipped = true;
clippedCount++;
}
if (vertices... |
diff --git a/src/main/java/org/elasticsearch/action/search/MultiSearchRequest.java b/src/main/java/org/elasticsearch/action/search/MultiSearchRequest.java
index dcc88ab9144..60ead9040b9 100644
--- a/src/main/java/org/elasticsearch/action/search/MultiSearchRequest.java
+++ b/src/main/java/org/elasticsearch/action/search... | true | true | public MultiSearchRequest add(BytesReference data, boolean contentUnsafe,
@Nullable String[] indices, @Nullable String[] types, @Nullable String searchType, IgnoreIndices ignoreIndices) throws Exception {
XContent xContent = XContentFactory.xContent(data);
int from ... | public MultiSearchRequest add(BytesReference data, boolean contentUnsafe,
@Nullable String[] indices, @Nullable String[] types, @Nullable String searchType, IgnoreIndices ignoreIndices) throws Exception {
XContent xContent = XContentFactory.xContent(data);
int from ... |
diff --git a/hk2/hk2-maven/src/main/java/com/sun/enterprise/module/maven/MavenProjectRepository.java b/hk2/hk2-maven/src/main/java/com/sun/enterprise/module/maven/MavenProjectRepository.java
index 4d082b333..bf8127f2f 100644
--- a/hk2/hk2-maven/src/main/java/com/sun/enterprise/module/maven/MavenProjectRepository.java
+... | false | true | public MavenProjectRepository(MavenProject project, ArtifactResolver artifactResolver, ArtifactRepository localRepository, ArtifactFactory artifactFactory) throws IOException {
super(project.getName(),project.getFile().toURI());
this.project = project;
this.artifactResolver = artifactResolve... | public MavenProjectRepository(MavenProject project, ArtifactResolver artifactResolver, ArtifactRepository localRepository, ArtifactFactory artifactFactory) throws IOException {
super(project.getName(),project.getFile().toURI());
this.project = project;
this.artifactResolver = artifactResolve... |
diff --git a/sql12/plugins/codecompletion/src/main/java/net/sourceforge/squirrel_sql/plugins/codecompletion/prefs/CodeCompletionPreferencesPanel.java b/sql12/plugins/codecompletion/src/main/java/net/sourceforge/squirrel_sql/plugins/codecompletion/prefs/CodeCompletionPreferencesPanel.java
index 6f3b8e114..7e8932a21 1006... | true | true | public CodeCompletionPreferencesPanel()
{
setLayout(new GridBagLayout());
GridBagConstraints gbc;
gbc = new GridBagConstraints(0,0,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5),0,0 );
// i18n[codeCompletion.prefsExplain=When completing functions SQuirreL doesn't ... | public CodeCompletionPreferencesPanel()
{
setLayout(new GridBagLayout());
GridBagConstraints gbc;
gbc = new GridBagConstraints(0,0,1,1,0,0,GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(5,5,5,5),0,0 );
// i18n[codeCompletion.prefsExplain=When completing functions SQuirreL doesn't ... |
diff --git a/src/org/geworkbench/components/parsers/SOFTSeriesParser.java b/src/org/geworkbench/components/parsers/SOFTSeriesParser.java
index 768793d7..98ae3ec2 100644
--- a/src/org/geworkbench/components/parsers/SOFTSeriesParser.java
+++ b/src/org/geworkbench/components/parsers/SOFTSeriesParser.java
@@ -1,280 +1,279 ... | true | true | public DSMicroarraySet getMArraySet(File file)
throws InputFileFormatException, InterruptedIOException {
BufferedReader in = null;
final int extSeperater = '.';
String fileName = file.getName();
int dotIndex = fileName.lastIndexOf(extSeperater);
if (dotIndex != -1) {
fileName = fileName.substring(0,... | public DSMicroarraySet getMArraySet(File file)
throws InputFileFormatException, InterruptedIOException {
BufferedReader in = null;
final int extSeperater = '.';
String fileName = file.getName();
int dotIndex = fileName.lastIndexOf(extSeperater);
if (dotIndex != -1) {
fileName = fileName.substring(0,... |
diff --git a/java/target/src/rtapi/examples/safetycritical/HelloSCJ.java b/java/target/src/rtapi/examples/safetycritical/HelloSCJ.java
index 4530a1ee..1e68b536 100644
--- a/java/target/src/rtapi/examples/safetycritical/HelloSCJ.java
+++ b/java/target/src/rtapi/examples/safetycritical/HelloSCJ.java
@@ -1,112 +1,112 @@
... | true | true | protected void initialize() {
System.out.println("abc");
PeriodicEventHandler peh = new PeriodicEventHandler(
new PriorityParameters(11), new PeriodicParameters(
new RelativeTime(0, 0), new RelativeTime(500, 0)),
new StorageParameters(10000, null), 500) {
int cnt;
public void handleAsyncEven... | public void initialize() {
System.out.println("abc");
PeriodicEventHandler peh = new PeriodicEventHandler(
new PriorityParameters(11), new PeriodicParameters(
new RelativeTime(0, 0), new RelativeTime(500, 0)),
new StorageParameters(10000, null), 500) {
int cnt;
public void handleAsyncEvent()... |
diff --git a/src/main/java/be/darnell/superbans/bans/BanManager.java b/src/main/java/be/darnell/superbans/bans/BanManager.java
index 84b9e2a..e39c195 100644
--- a/src/main/java/be/darnell/superbans/bans/BanManager.java
+++ b/src/main/java/be/darnell/superbans/bans/BanManager.java
@@ -1,137 +1,137 @@
/*
* Copyright (c... | true | true | public BanManager(SuperBans instance) {
plugin = instance;
// Select ban storage
switch (plugin.getConfig().getString("Storage", "Flat").toLowerCase()) {
case "mysql":
// Select MySQL storage
default:
// Select flat file storage
... | public BanManager(SuperBans instance) {
plugin = instance;
// Select ban storage
switch (plugin.getConfig().getString("Storage", "Flat").toLowerCase()) {
case "mysql":
// Select MySQL storage
default:
// Select flat file storage
... |
diff --git a/modules/mediatype/java/src/org/apache/lenya/cms/site/usecases/CustomPublish.java b/modules/mediatype/java/src/org/apache/lenya/cms/site/usecases/CustomPublish.java
index 2a0b093b..691fa267 100644
--- a/modules/mediatype/java/src/org/apache/lenya/cms/site/usecases/CustomPublish.java
+++ b/modules/mediatype/... | true | true | protected void publish(Document authoringDocument) {
SourceResolver resolver = null;
String destination;
int authoringOccurence;
Document doc = getSourceDocument();
String sourceUri = getSourceDocument().getSourceURI();
try {
resolver = (SourceResolver) ma... | protected void publish(Document authoringDocument) {
SourceResolver resolver = null;
String destination;
int authoringOccurence;
Document doc = getSourceDocument();
String sourceUri = getSourceDocument().getSourceURI();
try {
resolver = (SourceResolver) ma... |
diff --git a/Economy/src/iggy/Economy/SignShops.java b/Economy/src/iggy/Economy/SignShops.java
index 95ad163..ddc8988 100644
--- a/Economy/src/iggy/Economy/SignShops.java
+++ b/Economy/src/iggy/Economy/SignShops.java
@@ -1,158 +1,158 @@
package iggy.Economy;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
... | false | true | public void clickSign(PlayerInteractEvent event){
if (event.getAction() != Action.LEFT_CLICK_BLOCK){
return;
}
Block clickedBlock = event.getClickedBlock();
if (clickedBlock == null) {
return;
}
// this might need to be 'Material.SIGN'
if (clickedBlock.getType() == Material.SIGN_POST || clickedBlo... | public void clickSign(PlayerInteractEvent event){
if (event.getAction() != Action.LEFT_CLICK_BLOCK){
return;
}
Block clickedBlock = event.getClickedBlock();
if (clickedBlock == null) {
return;
}
// this might need to be 'Material.SIGN'
if (clickedBlock.getType() == Material.SIGN_POST || clickedBlo... |
diff --git a/src/java/com/buglabs/bug/input/pub/InputEventProvider.java b/src/java/com/buglabs/bug/input/pub/InputEventProvider.java
index afcf4ec..aa75f7f 100644
--- a/src/java/com/buglabs/bug/input/pub/InputEventProvider.java
+++ b/src/java/com/buglabs/bug/input/pub/InputEventProvider.java
@@ -1,100 +1,100 @@
/* Cop... | true | true | public void run() {
InputDevice dev = new InputDevice();
if (dev.open(inputDevice, FCNTL_H.O_RDWR) < 0) {
log.log(LogService.LOG_ERROR, "Unable to open input device: " + inputDevice);
}
while(!isInterrupted()) {
InputEvent[] inputEvents = dev.readEvents();
synchronized(listeners) {
Iterator... | public void run() {
InputDevice dev = new InputDevice();
if (dev.open(inputDevice, FCNTL_H.O_RDWR) < 0) {
log.log(LogService.LOG_ERROR, "Unable to open input device: " + inputDevice);
}
while(!isInterrupted()) {
InputEvent[] inputEvents = dev.readEvents();
synchronized(listeners) {
Iterator... |
diff --git a/src/ClearFXCommandExecutor.java b/src/ClearFXCommandExecutor.java
index a4931f1..eb0703d 100644
--- a/src/ClearFXCommandExecutor.java
+++ b/src/ClearFXCommandExecutor.java
@@ -1,68 +1,68 @@
package com.kierdavis.clearfx;
import java.util.Iterator;
import org.bukkit.ChatColor;
import org.bukkit.comman... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (!sender.hasPermission("clearfx.clear")) {
sender.sendMessage(ChatColor.YELLOW + "You don't have permission to use this command (" + ChatColor.RED + "clearfx.clear" + ChatColor.YELLOW + ")");
... | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (!sender.hasPermission("clearfx.clear")) {
sender.sendMessage(ChatColor.YELLOW + "You don't have permission to use this command (" + ChatColor.RED + "clearfx.clear" + ChatColor.YELLOW + ")");
... |
diff --git a/src/main/java/me/limebyte/battlenight/core/listeners/HealthListener.java b/src/main/java/me/limebyte/battlenight/core/listeners/HealthListener.java
index 3a62bd3..c555d77 100644
--- a/src/main/java/me/limebyte/battlenight/core/listeners/HealthListener.java
+++ b/src/main/java/me/limebyte/battlenight/core/l... | false | true | public void onEntityDamage(EntityDamageEvent event) {
if (!(event.getEntity() instanceof Player)) return;
Player player = (Player) event.getEntity();
BattleNightAPI api = getAPI();
Battle battle = api.getBattleManager().getBattle();
if (api.getSpectatorManager().getSpectator... | public void onEntityDamage(EntityDamageEvent event) {
if (!(event.getEntity() instanceof Player)) return;
Player player = (Player) event.getEntity();
BattleNightAPI api = getAPI();
Battle battle = api.getBattleManager().getBattle();
if (api.getSpectatorManager().getSpectator... |
diff --git a/src/main/java/gov/usgs/cida/geoutils/geoutils/geoserver/servlet/ShapefileUploadServlet.java b/src/main/java/gov/usgs/cida/geoutils/geoutils/geoserver/servlet/ShapefileUploadServlet.java
index accc0fd..09578d0 100644
--- a/src/main/java/gov/usgs/cida/geoutils/geoutils/geoserver/servlet/ShapefileUploadServle... | true | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, FileNotFoundException {
String filenameParam;
boolean useBaseCRSFailover;
boolean overwriteExistingLayer;
// "reproject" (default), "force", "none"
ProjectionPolicy projec... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, FileNotFoundException {
String filenameParam;
boolean useBaseCRSFailover;
boolean overwriteExistingLayer;
// "reproject" (default), "force", "none"
ProjectionPolicy projec... |
diff --git a/src/main/java/com/antew/redditinpictures/library/ui/ImageListFragment.java b/src/main/java/com/antew/redditinpictures/library/ui/ImageListFragment.java
index 9fb5f0b..49a32a7 100644
--- a/src/main/java/com/antew/redditinpictures/library/ui/ImageListFragment.java
+++ b/src/main/java/com/antew/redditinpictur... | true | true | private AbsListView.OnScrollListener getListViewOnScrollListener() {
if (mListScrollListener == null) {
mListScrollListener = new AbsListView.OnScrollListener() {
@Override
public void onScrollStateChanged(AbsListView absListView, int scrollState) {
... | private AbsListView.OnScrollListener getListViewOnScrollListener() {
if (mListScrollListener == null) {
mListScrollListener = new AbsListView.OnScrollListener() {
@Override
public void onScrollStateChanged(AbsListView absListView, int scrollState) {
... |
diff --git a/test/com/eteks/sweethome3d/junit/ImportedTextureWizardTest.java b/test/com/eteks/sweethome3d/junit/ImportedTextureWizardTest.java
index 57aea00f..c64fe9e5 100644
--- a/test/com/eteks/sweethome3d/junit/ImportedTextureWizardTest.java
+++ b/test/com/eteks/sweethome3d/junit/ImportedTextureWizardTest.java
@@ -1... | false | true | public void testImportedTextureWizard() throws ComponentSearchException, InterruptedException,
NoSuchFieldException, IllegalAccessException, InvocationTargetException {
String language = Locale.getDefault().getLanguage();
final UserPreferences preferences = new FileUserPreferences() {
@Override... | public void testImportedTextureWizard() throws ComponentSearchException, InterruptedException,
NoSuchFieldException, IllegalAccessException, InvocationTargetException {
String language = Locale.getDefault().getLanguage();
final UserPreferences preferences = new FileUserPreferences() {
@Override... |
diff --git a/src/net/sf/gogui/sgf/SgfReader.java b/src/net/sf/gogui/sgf/SgfReader.java
index 1e49b533..dee83093 100644
--- a/src/net/sf/gogui/sgf/SgfReader.java
+++ b/src/net/sf/gogui/sgf/SgfReader.java
@@ -1,1067 +1,1070 @@
//----------------------------------------------------------------------------
// $Id$
//---... | false | true | private boolean readProp(Node node, boolean isRoot)
throws IOException, SgfError, SgfCharsetChanged
{
m_tokenizer.nextToken();
int ttype = m_tokenizer.ttype;
if (ttype == StreamTokenizer.TT_WORD)
{
// Use intern() to allow fast comparsion with ==
S... | private boolean readProp(Node node, boolean isRoot)
throws IOException, SgfError, SgfCharsetChanged
{
m_tokenizer.nextToken();
int ttype = m_tokenizer.ttype;
if (ttype == StreamTokenizer.TT_WORD)
{
// Use intern() to allow fast comparsion with ==
S... |
diff --git a/src/main/java/com/mckesson/bo/impl/HelloWorldBoImpl.java b/src/main/java/com/mckesson/bo/impl/HelloWorldBoImpl.java
index c1dd236..125903c 100644
--- a/src/main/java/com/mckesson/bo/impl/HelloWorldBoImpl.java
+++ b/src/main/java/com/mckesson/bo/impl/HelloWorldBoImpl.java
@@ -1,12 +1,12 @@
package com.mcke... | true | true | public String getHelloWorld(String name) {
if (name == null)
return "Hello World!";
return "Hello " + name + "!";
}
| public String getHelloWorld(String name) {
if (name == null || name.isEmpty())
return "Hello World!";
return "Hello " + name + "!";
}
|
diff --git a/src/edu/wpi/first/wpilibj/templates/RobotTemplate.java b/src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
index f2b95d6..2e4e432 100644
--- a/src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
+++ b/src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
@@ -1,127 +1,129 @@
package edu.wpi.first.... | false | true | public void operatorControl() {
drivetrain.setSafetyEnabled(true);
while(isOperatorControl() && isEnabled()){
drivetrain.tankDrive(leftStick, rightStick);
Timer.delay(0.01);
/* if(!pnuematicA.getPressureSwitchValue() && !pnuematicA.enabled()... | public void operatorControl() {
drivetrain.setSafetyEnabled(true);
while(isOperatorControl() && isEnabled()){
drivetrain.tankDrive(leftStick, rightStick);
Timer.delay(0.01);
/* if(!pnuematicA.getPressureSwitchValue() && !pnuematicA.enabled()... |
diff --git a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java
index ddf80cbac..ee20a0d6f 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputForm... | true | true | public RecordWriter<Key,Value> getRecordWriter(TaskAttemptContext job) throws IOException, InterruptedException {
// get the path of the temporary output file
final Configuration conf = job.getConfiguration();
String extension = conf.get(FILE_TYPE);
if (extension == null || extension.isEmpty())
... | public RecordWriter<Key,Value> getRecordWriter(TaskAttemptContext job) throws IOException, InterruptedException {
// get the path of the temporary output file
final Configuration conf = job.getConfiguration();
String extension = conf.get(FILE_TYPE);
if (extension == null || extension.isEmpty())
... |
diff --git a/src/de/xcraft/engelier/XcraftGate/Commands/CommandGate.java b/src/de/xcraft/engelier/XcraftGate/Commands/CommandGate.java
index b490017..e2148d7 100644
--- a/src/de/xcraft/engelier/XcraftGate/Commands/CommandGate.java
+++ b/src/de/xcraft/engelier/XcraftGate/Commands/CommandGate.java
@@ -1,186 +1,186 @@
pa... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if (sender instanceof Player) {
player = (Player)sender;
} else {
plugin.log.warning(plugin.getNameBrackets() + " this command cannot be used from the console");
return true;
}
if (!isPermitted("gate",... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
if (sender instanceof Player) {
player = (Player)sender;
} else {
plugin.log.warning(plugin.getNameBrackets() + " this command cannot be used from the console");
return true;
}
if (!isPermitted("gate",... |
diff --git a/src/flow/netbeans/markdown/MarkdownViewHtmlAction.java b/src/flow/netbeans/markdown/MarkdownViewHtmlAction.java
index 7110576..f99e89e 100644
--- a/src/flow/netbeans/markdown/MarkdownViewHtmlAction.java
+++ b/src/flow/netbeans/markdown/MarkdownViewHtmlAction.java
@@ -1,65 +1,65 @@
package flow.netbeans.ma... | true | true | public MarkdownViewHtmlAction(MarkdownDataObject context) throws IOException {
this.context = context;
Preferences prefs = NbPreferences.forModule(MarkdownPanel.class);
MarkdownGlobalOptions markdownOptions = new MarkdownGlobalOptions(prefs);
PegDownProcessor markdownProcessor = new... | public MarkdownViewHtmlAction(MarkdownDataObject context) throws IOException {
this.context = context;
Preferences prefs = NbPreferences.forModule(MarkdownPanel.class);
MarkdownGlobalOptions markdownOptions = new MarkdownGlobalOptions(prefs);
PegDownProcessor markdownProcessor = new... |
diff --git a/src/eu/bryants/anthony/toylanguage/parser/rules/FunctionsRule.java b/src/eu/bryants/anthony/toylanguage/parser/rules/FunctionsRule.java
index eca00c4..7edd12e 100644
--- a/src/eu/bryants/anthony/toylanguage/parser/rules/FunctionsRule.java
+++ b/src/eu/bryants/anthony/toylanguage/parser/rules/FunctionsRule.... | true | true | public Object match(Production<ParseType> production, Object[] args) throws ParseException
{
if (production == FUNCTION_PRODUCTION)
{
return new Function[] {(Function) args[0]};
}
if (production == FUNCTIONS_PRODUCTION)
{
@SuppressWarnings("unchecked")
ParseList<Function> funct... | public Object match(Production<ParseType> production, Object[] args) throws ParseException
{
if (production == FUNCTION_PRODUCTION)
{
Function function = (Function) args[0];
return new ParseList<Function>(function, function.getLexicalPhrase());
}
if (production == FUNCTIONS_PRODUCTION)
... |
diff --git a/Project1_Objectron/src/model/Game.java b/Project1_Objectron/src/model/Game.java
index d4c4afb..1582158 100644
--- a/Project1_Objectron/src/model/Game.java
+++ b/Project1_Objectron/src/model/Game.java
@@ -1,173 +1,173 @@
package model;
import java.util.ArrayList;
import java.util.List;
import java.uti... | true | true | private void buildWalls() {
Random random = new Random();
int procentWalls = 2 + random.nextInt(19);
while(grid.getWallCoverage() < procentWalls && (procentWalls - grid.getWallCoverage()) > 2){
int directionInt = random.nextInt(2);
int randomLength = 1;
int randomX = 0;
int randomY = 0;
Directi... | private void buildWalls() {
Random random = new Random();
int procentWalls = random.nextInt(21);
while(grid.getWallCoverage() < procentWalls && (procentWalls - grid.getWallCoverage()) > 2){
int directionInt = random.nextInt(2);
int randomLength = 1;
int randomX = 0;
int randomY = 0;
Direction d... |
diff --git a/StatisticsPlugin/src/org/gephi/statistics/plugin/GraphDistance.java b/StatisticsPlugin/src/org/gephi/statistics/plugin/GraphDistance.java
index 18d45017d..539ab4607 100644
--- a/StatisticsPlugin/src/org/gephi/statistics/plugin/GraphDistance.java
+++ b/StatisticsPlugin/src/org/gephi/statistics/plugin/GraphD... | true | true | public void execute(Graph graph, AttributeModel attributeModel) {
mIsCanceled = false;
AttributeTable nodeTable = attributeModel.getNodeTable();
AttributeColumn eccentricityCol = nodeTable.getColumn(ECCENTRICITY);
AttributeColumn closenessCol = nodeTable.getColumn(CLOSENESS);
... | public void execute(Graph graph, AttributeModel attributeModel) {
mIsCanceled = false;
AttributeTable nodeTable = attributeModel.getNodeTable();
AttributeColumn eccentricityCol = nodeTable.getColumn(ECCENTRICITY);
AttributeColumn closenessCol = nodeTable.getColumn(CLOSENESS);
... |
diff --git a/src/ac/robinson/mediatablet/view/HomesteadSurfaceView.java b/src/ac/robinson/mediatablet/view/HomesteadSurfaceView.java
index fae9228..fe16418 100644
--- a/src/ac/robinson/mediatablet/view/HomesteadSurfaceView.java
+++ b/src/ac/robinson/mediatablet/view/HomesteadSurfaceView.java
@@ -1,701 +1,705 @@
/*
*... | false | true | private void loadImages() {
Context context = getContext();
SharedPreferences panoramaSettings = context.getSharedPreferences(MediaTablet.APPLICATION_NAME,
Context.MODE_PRIVATE);
String panoramaPath = panoramaSettings.getString(context.getString(R.string.key_panorama_file), null);
boolean useSample = conte... | private void loadImages() {
Context context = getContext();
SharedPreferences panoramaSettings = context.getSharedPreferences(MediaTablet.APPLICATION_NAME,
Context.MODE_PRIVATE);
String panoramaPath = panoramaSettings.getString(context.getString(R.string.key_panorama_file), null);
if (panoramaPath == null)... |
diff --git a/qa/integration-tests-webapps/src/test/java/org/camunda/bpm/rest/test/RestIT.java b/qa/integration-tests-webapps/src/test/java/org/camunda/bpm/rest/test/RestIT.java
index fd8432111..d5a203c6b 100644
--- a/qa/integration-tests-webapps/src/test/java/org/camunda/bpm/rest/test/RestIT.java
+++ b/qa/integration-t... | true | true | public void testScenario() throws JSONException {
// get list of process engines
log.info("Checking " + APP_BASE_PATH + ENGINES_PATH);
WebResource resource = client.resource(APP_BASE_PATH + ENGINES_PATH);
ClientResponse response = resource.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
... | public void testScenario() throws JSONException {
// get list of process engines
log.info("Checking " + APP_BASE_PATH + ENGINES_PATH);
WebResource resource = client.resource(APP_BASE_PATH + ENGINES_PATH);
ClientResponse response = resource.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
... |
diff --git a/native/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceDroidGapActivity.java b/native/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceDroidGapActivity.java
index 9abea6507..f11d08ac2 100644
--- a/native/SalesforceSDK/src/com/salesforce/androidsdk/ui/SalesforceDroidGapActivity.java
+++ b/n... | false | true | public void authenticate(final CallbackContext callbackContext) {
Log.i("SalesforceDroidGapActivity.authenticate", "authenticate called");
clientManager.getRestClient(this, new RestClientCallback() {
@Override
public void authenticatedRestClient(RestClient client) {
if (client == null) {
... | public void authenticate(final CallbackContext callbackContext) {
Log.i("SalesforceDroidGapActivity.authenticate", "authenticate called");
clientManager.getRestClient(this, new RestClientCallback() {
@Override
public void authenticatedRestClient(RestClient client) {
if (client == null) {
... |
diff --git a/BOLT/src/physics/collisionmodels/CollisionBox.java b/BOLT/src/physics/collisionmodels/CollisionBox.java
index 7c3e330..400c418 100644
--- a/BOLT/src/physics/collisionmodels/CollisionBox.java
+++ b/BOLT/src/physics/collisionmodels/CollisionBox.java
@@ -1,538 +1,544 @@
package physics.collisionmodels;
im... | false | true | public static CollisionBox createCollisionBox(Vector3f... points)
{
//
//!!!VARIABLENAMES + COMMENTATION FOR AXIS IS FULLY BULLSHIT!!!
//
//in this code names are changed:
//from: x-axis is right-left-axis, y-axis is front-back-axis, z-axis is height-axis
//to: x-axis is right-left-axis, y-axis is height-... | public static CollisionBox createCollisionBox(Vector3f... points)
{
//
//!!!VARIABLENAMES + COMMENTATION FOR AXIS IS FULLY BULLSHIT!!!
//
//in this code names are changed:
//from: x-axis is right-left-axis, y-axis is front-back-axis, z-axis is height-axis
//to: x-axis is right-left-axis, y-axis is height-... |
diff --git a/src/main/java/com/cloudera/h2/mr/scheduler/FIFOScheduler.java b/src/main/java/com/cloudera/h2/mr/scheduler/FIFOScheduler.java
index 71e9b20..1144be5 100644
--- a/src/main/java/com/cloudera/h2/mr/scheduler/FIFOScheduler.java
+++ b/src/main/java/com/cloudera/h2/mr/scheduler/FIFOScheduler.java
@@ -1,59 +1,59 ... | true | true | public T poll(long timeout, TimeUnit unit) throws InterruptedException {
T item;
long now;
long endTime;
item = null;
endTime = System.currentTimeMillis() + unit.toMillis(timeout);
do {
synchronized (queue) {
item = queue.poll();
}
now = System.currentTimeMillis();... | public T poll(long timeout, TimeUnit unit) throws InterruptedException {
T item;
long now;
long endTime;
item = null;
endTime = System.currentTimeMillis() + unit.toMillis(timeout);
do {
synchronized (queue) {
item = queue.poll();
}
now = System.currentTimeMillis();... |
diff --git a/webapp/src/main/java/de/flapdoodle/drug/persistence/config/mongo/ProductionDatabase.java b/webapp/src/main/java/de/flapdoodle/drug/persistence/config/mongo/ProductionDatabase.java
index b8fa55f..9066a83 100644
--- a/webapp/src/main/java/de/flapdoodle/drug/persistence/config/mongo/ProductionDatabase.java
++... | true | true | protected void configure()
{
try
{
bind(ServerAddress.class).toInstance(new ServerAddress("172.0.0.1", 27017));
MongoOptions options = new MongoOptions();
bind(MongoOptions.class).toInstance(options);
bind(String.class).annotatedWith(Names.named("database")).toInstance(getProductionDatabase());
... | protected void configure()
{
try
{
bind(ServerAddress.class).toInstance(new ServerAddress("127.0.0.1", 27017));
MongoOptions options = new MongoOptions();
bind(MongoOptions.class).toInstance(options);
bind(String.class).annotatedWith(Names.named("database")).toInstance(getProductionDatabase());
... |
diff --git a/src/com/jogamp/opencl/gl/CLGLTexture2d.java b/src/com/jogamp/opencl/gl/CLGLTexture2d.java
index 88b3228..7882cf9 100644
--- a/src/com/jogamp/opencl/gl/CLGLTexture2d.java
+++ b/src/com/jogamp/opencl/gl/CLGLTexture2d.java
@@ -1,63 +1,63 @@
package com.jogamp.opencl.gl;
import com.jogamp.opencl.CL;
impor... | true | true | static <B extends Buffer> CLGLTexture2d<B> createFromGLTexture2d(CLContext context, B directBuffer, int target, int texture, int mipLevel, int flags) {
CLGLBuffer.checkBuffer(directBuffer, flags);
CL cl = getCL(context);
int[] result = new int[1];
CLGLI clgli = (CLGLI)cl;
... | static <B extends Buffer> CLGLTexture2d<B> createFromGLTexture2d(CLContext context, B directBuffer, int target, int texture, int mipLevel, int flags) {
CLGLBuffer.checkBuffer(directBuffer, flags);
CL cl = getCL(context);
int[] result = new int[1];
CLGLI clgli = (CLGLI)cl;
... |
diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/search/query/QueryPhase.java b/modules/elasticsearch/src/main/java/org/elasticsearch/search/query/QueryPhase.java
index 80cb12240fc..63d48fc7032 100644
--- a/modules/elasticsearch/src/main/java/org/elasticsearch/search/query/QueryPhase.java
+++ b/module... | true | true | public void execute(SearchContext searchContext) throws QueryPhaseExecutionException {
try {
searchContext.queryResult().from(searchContext.from());
searchContext.queryResult().size(searchContext.size());
Query query = searchContext.query();
if (searchContext... | public void execute(SearchContext searchContext) throws QueryPhaseExecutionException {
try {
searchContext.queryResult().from(searchContext.from());
searchContext.queryResult().size(searchContext.size());
Query query = searchContext.query();
if (searchContext... |
diff --git a/src/com/android/stk/StkApp.java b/src/com/android/stk/StkApp.java
index 0b1f208..0f0af52 100644
--- a/src/com/android/stk/StkApp.java
+++ b/src/com/android/stk/StkApp.java
@@ -1,66 +1,66 @@
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (th... | true | true | public static int calculateDurationInMilis(Duration duration) {
int timeout = 0;
if (duration != null) {
switch (duration.timeUnit) {
case MINUTE:
timeout = 1000 * 60;
break;
case TENTH_SECOND:
timeout = 1000 * 10;
... | public static int calculateDurationInMilis(Duration duration) {
int timeout = 0;
if (duration != null) {
switch (duration.timeUnit) {
case MINUTE:
timeout = 1000 * 60;
break;
case TENTH_SECOND:
timeout = 1000 / 10;
... |
diff --git a/src/com/mebigfatguy/yank/Downloader.java b/src/com/mebigfatguy/yank/Downloader.java
index 61d0fa8..ef7b300 100644
--- a/src/com/mebigfatguy/yank/Downloader.java
+++ b/src/com/mebigfatguy/yank/Downloader.java
@@ -1,139 +1,140 @@
/*
* yank - a maven artifact fetcher ant task
* Copyright 2013 MeBigFatGuy... | true | true | private void download(boolean isJar, boolean report) {
File destinationFile = new File(destination, artifact.getArtifactId() + ((options.isStripVersions()) ? "" : "-" + artifact.getVersion()) + (isJar ? ".jar" : "-sources.jar"));
for (String server : options.getServers()) {
URL u = isJar... | private void download(boolean isJar, boolean report) {
File destinationFile = new File(destination, artifact.getArtifactId() + ((options.isStripVersions()) ? "" : "-" + artifact.getVersion()) + (isJar ? ".jar" : "-sources.jar"));
for (String server : options.getServers()) {
URL u = isJar... |
diff --git a/src/Extra/org/objectweb/proactive/extra/gcmdeployment/GCMApplication/GCMApplicationParserImpl.java b/src/Extra/org/objectweb/proactive/extra/gcmdeployment/GCMApplication/GCMApplicationParserImpl.java
index 42076928f..e7e57f0cf 100644
--- a/src/Extra/org/objectweb/proactive/extra/gcmdeployment/GCMApplicatio... | false | true | synchronized public Map<String, GCMVirtualNodeInternal> getVirtualNodes() throws SAXException,
IOException {
if (virtualNodes != null) {
return virtualNodes;
}
try {
virtualNodes = new HashMap<String, GCMVirtualNodeInternal>();
// make sure t... | synchronized public Map<String, GCMVirtualNodeInternal> getVirtualNodes() throws SAXException,
IOException {
if (virtualNodes != null) {
return virtualNodes;
}
try {
virtualNodes = new HashMap<String, GCMVirtualNodeInternal>();
// make sure t... |
diff --git a/src/org/openstreetmap/osmosis/core/TaskRegistrar.java b/src/org/openstreetmap/osmosis/core/TaskRegistrar.java
index 114c830b..2f9654b4 100644
--- a/src/org/openstreetmap/osmosis/core/TaskRegistrar.java
+++ b/src/org/openstreetmap/osmosis/core/TaskRegistrar.java
@@ -1,624 +1,624 @@
// This software is rele... | true | true | public void initialize(List<String> plugins) {
org.openstreetmap.osmosis.core.sort.v0_5.EntitySorterFactory entitySorterFactory05;
org.openstreetmap.osmosis.core.sort.v0_5.ChangeSorterFactory changeSorterFactory05;
EntitySorterFactory entitySorterFactory06;
ChangeSorterFactory changeSorterFactory06;
// Conf... | public void initialize(List<String> plugins) {
org.openstreetmap.osmosis.core.sort.v0_5.EntitySorterFactory entitySorterFactory05;
org.openstreetmap.osmosis.core.sort.v0_5.ChangeSorterFactory changeSorterFactory05;
EntitySorterFactory entitySorterFactory06;
ChangeSorterFactory changeSorterFactory06;
// Conf... |
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java
index e60d9afa2..30d6ab5cf 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java
+++ b/solr/solrj/src/j... | true | true | public NamedList<Object> request(final SolrRequest request, ResponseParser processor) throws SolrServerException, IOException {
HttpMethod method = null;
InputStream is = null;
SolrParams params = request.getParams();
Collection<ContentStream> streams = requestWriter.getContentStreams(request);
St... | public NamedList<Object> request(final SolrRequest request, ResponseParser processor) throws SolrServerException, IOException {
HttpMethod method = null;
InputStream is = null;
SolrParams params = request.getParams();
Collection<ContentStream> streams = requestWriter.getContentStreams(request);
St... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java
index dd08673cf..5354f6a87 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/Jav... | true | true | private void handleConnectorComboModified() {
int index = fConnectorCombo.getSelectionIndex();
if ( (index < 0) || (index >= fConnectors.length) ) {
return;
}
IVMConnector vm = fConnectors[index];
if (vm.equals(fConnector)) {
return; // selection did not change
}
fConnector = vm;
try {
fArgume... | private void handleConnectorComboModified() {
int index = fConnectorCombo.getSelectionIndex();
if ( (index < 0) || (index >= fConnectors.length) ) {
return;
}
IVMConnector vm = fConnectors[index];
if (vm.equals(fConnector)) {
return; // selection did not change
}
fConnector = vm;
try {
fArgume... |
diff --git a/lc-user-tools/src/main/java/org/esa/cci/lc/io/LcCondMetadata.java b/lc-user-tools/src/main/java/org/esa/cci/lc/io/LcCondMetadata.java
index 63cfc78..a35c757 100644
--- a/lc-user-tools/src/main/java/org/esa/cci/lc/io/LcCondMetadata.java
+++ b/lc-user-tools/src/main/java/org/esa/cci/lc/io/LcCondMetadata.java... | true | true | public LcCondMetadata(Product product) {
if (product.getProductReader() instanceof LcConditionTiffReader) {
MetadataElement metadataRoot = product.getMetadataRoot();
condition = metadataRoot.getAttributeString("condition");
spatialResolution = metadataRoot.getAttributeStr... | public LcCondMetadata(Product product) {
if (product.getProductReader() instanceof LcConditionTiffReader) {
MetadataElement metadataRoot = product.getMetadataRoot();
condition = metadataRoot.getAttributeString("condition");
spatialResolution = metadataRoot.getAttributeStr... |
diff --git a/twitter4j-core/src/main/java/twitter4j/internal/json/HTMLEntity.java b/twitter4j-core/src/main/java/twitter4j/internal/json/HTMLEntity.java
index d20f30d0..8984f1ae 100644
--- a/twitter4j-core/src/main/java/twitter4j/internal/json/HTMLEntity.java
+++ b/twitter4j-core/src/main/java/twitter4j/internal/json/H... | false | true | static String unescapeAndSlideEntityIncdices(String text, UserMentionEntity[] userMentionEntities,
URLEntity[] urlEntities, HashtagEntity[] hashtagEntities,
MediaEntity[] mediaEntities) {
int entityInd... | static String unescapeAndSlideEntityIncdices(String text, UserMentionEntity[] userMentionEntities,
URLEntity[] urlEntities, HashtagEntity[] hashtagEntities,
MediaEntity[] mediaEntities) {
int entityInd... |
diff --git a/src/main/java/org/kornicameister/sise/lake/clisp/ClispEnvironment.java b/src/main/java/org/kornicameister/sise/lake/clisp/ClispEnvironment.java
index 0919297..9503021 100644
--- a/src/main/java/org/kornicameister/sise/lake/clisp/ClispEnvironment.java
+++ b/src/main/java/org/kornicameister/sise/lake/clisp/C... | true | true | private boolean bootstrap() {
final Properties properties = new Properties();
try {
properties.load(new BufferedReader(new FileReader(new File(this.propertiesPath))));
for (ClispBootstrapTypeDescriptor entry : ClispPropertiesSplitter.load(LAKE_TYPES, properties)) {
... | private boolean bootstrap() {
final Properties properties = new Properties();
try {
properties.load(new BufferedReader(new FileReader(new File(this.propertiesPath))));
for (ClispBootstrapTypeDescriptor entry : ClispPropertiesSplitter.load(LAKE_TYPES, properties)) {
... |
diff --git a/CubicTestPlugin/src/main/java/org/cubictest/common/utils/ErrorHandler.java b/CubicTestPlugin/src/main/java/org/cubictest/common/utils/ErrorHandler.java
index 401a9bcf..69bcc6ff 100644
--- a/CubicTestPlugin/src/main/java/org/cubictest/common/utils/ErrorHandler.java
+++ b/CubicTestPlugin/src/main/java/org/cu... | false | true | public static void showErrorDialog(Throwable e, String userMessage, Shell shell) {
e = getCause(e);
String msg = null;
try {
if(e instanceof InterruptedException) {
msg = UiText.INTERRUPTED_MESSAGE;
}
else {
msg = userMessage + ": " + ((e == null) ? "" : "\n" + e.toString());
}
CubicTes... | public static void showErrorDialog(Throwable e, String userMessage, Shell shell) {
e = getCause(e);
try {
CubicTestPlugin plugin = CubicTestPlugin.getDefault();
if (e == null) {
MessageDialog.openError(shell, UiText.APP_TITLE, userMessage);
}
else {
String extendedMsg = userMessage + ((e ==... |
diff --git a/src/test/com/zutubi/diff/PatchFileTest.java b/src/test/com/zutubi/diff/PatchFileTest.java
index 4e468d5..fb9dced 100644
--- a/src/test/com/zutubi/diff/PatchFileTest.java
+++ b/src/test/com/zutubi/diff/PatchFileTest.java
@@ -1,205 +1,205 @@
package com.zutubi.diff;
import com.zutubi.util.FileSystemUtils... | true | true | private void readApplyAndCheck(String name) throws DiffException, IOException
{
File in = new File(oldDir, name);
File out = new File(newDir, name);
boolean existedBefore = in.exists();
if (out.exists() && SystemUtils.IS_WINDOWS)
{
FileSystemUtils.translateEO... | private void readApplyAndCheck(String name) throws DiffException, IOException
{
File in = new File(oldDir, name);
File out = new File(newDir, name);
boolean existedBefore = in.exists();
if (out.exists() && SystemUtils.IS_WINDOWS)
{
FileSystemUtils.translateEO... |
diff --git a/src/org/mozilla/javascript/TokenStream.java b/src/org/mozilla/javascript/TokenStream.java
index 7b6957c8..93caf3f5 100644
--- a/src/org/mozilla/javascript/TokenStream.java
+++ b/src/org/mozilla/javascript/TokenStream.java
@@ -1,1621 +1,1623 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basi... | false | true | final int getToken() throws IOException
{
int c;
retry:
for (;;) {
// Eat whitespace, possibly sensitive to newlines.
for (;;) {
c = getChar();
if (c == EOF_CHAR) {
tokenBeg = cursor - 1;
tokenEn... | final int getToken() throws IOException
{
int c;
retry:
for (;;) {
// Eat whitespace, possibly sensitive to newlines.
for (;;) {
c = getChar();
if (c == EOF_CHAR) {
tokenBeg = cursor - 1;
tokenEn... |
diff --git a/crypto/src/org/bouncycastle/asn1/x509/IssuingDistributionPoint.java b/crypto/src/org/bouncycastle/asn1/x509/IssuingDistributionPoint.java
index 1d4b9162..b6524a45 100644
--- a/crypto/src/org/bouncycastle/asn1/x509/IssuingDistributionPoint.java
+++ b/crypto/src/org/bouncycastle/asn1/x509/IssuingDistribution... | false | true | public IssuingDistributionPoint(
DistributionPointName distributionPoint,
boolean onlyContainsUserCerts,
boolean onlyContainsCACerts,
ReasonFlags onlySomeReasons,
boolean indirectCRL,
boolean onlyContainsAttributeCerts)
{
this.distributionPoint = distribut... | public IssuingDistributionPoint(
DistributionPointName distributionPoint,
boolean onlyContainsUserCerts,
boolean onlyContainsCACerts,
ReasonFlags onlySomeReasons,
boolean indirectCRL,
boolean onlyContainsAttributeCerts)
{
this.distributionPoint = distribut... |
diff --git a/sfmf4j-jpathwatch/src/test/java/com/github/sworisbreathing/sfmf4j/osgi/test/impl/JPathWatchOSGiTest.java b/sfmf4j-jpathwatch/src/test/java/com/github/sworisbreathing/sfmf4j/osgi/test/impl/JPathWatchOSGiTest.java
index 2b87b10..5d09e9d 100644
--- a/sfmf4j-jpathwatch/src/test/java/com/github/sworisbreathing/... | true | true | protected Option implementationOption() {
return composite(
wrappedBundle(mavenBundle("jpathwatch", "jpathwatch", "0.95")).startLevel(Constants.START_LEVEL_SYSTEM_BUNDLES),
//mavenBundle(sfmf4jGroupId(), "sfmf4j-jpathwatch", sfmf4jVersion()));
bundle("referenc... | protected Option implementationOption() {
return composite(
wrappedBundle(mavenBundle("net.sf.jpathwatch", "jpathwatch", "0.95")).startLevel(Constants.START_LEVEL_SYSTEM_BUNDLES),
//mavenBundle(sfmf4jGroupId(), "sfmf4j-jpathwatch", sfmf4jVersion()));
bundle("r... |
diff --git a/org.eclipse.mylyn.context.tests/src/org/eclipse/mylyn/core/tests/TaskscapeTest.java b/org.eclipse.mylyn.context.tests/src/org/eclipse/mylyn/core/tests/TaskscapeTest.java
index 286f38818..2bd1bc7fd 100644
--- a/org.eclipse.mylyn.context.tests/src/org/eclipse/mylyn/core/tests/TaskscapeTest.java
+++ b/org.ecl... | false | true | public void testExternalization() {
TaskscapeExternalizer externalizer = new TaskscapeExternalizer();
String path = "test-taskscape.xml";
File file = new File(path);
file.deleteOnExit();
ITaskscapeNode node = taskscape.parseEvent(mockSelection("1"));
tasks... | public void testExternalization() {
TaskscapeExternalizer externalizer = new TaskscapeExternalizer();
String path = "test-taskscape.xml";
File file = new File(path);
file.deleteOnExit();
ITaskscapeNode node = taskscape.parseEvent(mockSelection("1"));
tasks... |
diff --git a/src/com/joulespersecond/seattlebusbot/ArrivalsListFragment.java b/src/com/joulespersecond/seattlebusbot/ArrivalsListFragment.java
index 38955d32..664fb5da 100644
--- a/src/com/joulespersecond/seattlebusbot/ArrivalsListFragment.java
+++ b/src/com/joulespersecond/seattlebusbot/ArrivalsListFragment.java
@@ -1... | false | true | public void onLoadFinished(Loader<ObaArrivalInfoResponse> loader,
ObaArrivalInfoResponse result) {
UIHelp.showProgress(this, false);
ObaArrivalInfo[] info = null;
List<ObaSituation> situations = null;
if (result.getCode() == ObaApi.OBA_OK) {
if (mStop == nul... | public void onLoadFinished(Loader<ObaArrivalInfoResponse> loader,
ObaArrivalInfoResponse result) {
UIHelp.showProgress(this, false);
ObaArrivalInfo[] info = null;
List<ObaSituation> situations = null;
if (result.getCode() == ObaApi.OBA_OK) {
if (mStop == nul... |
diff --git a/user/src/com/google/gwt/uibinder/rebind/HandlerEvaluator.java b/user/src/com/google/gwt/uibinder/rebind/HandlerEvaluator.java
index c7199e34f..afbecbd97 100644
--- a/user/src/com/google/gwt/uibinder/rebind/HandlerEvaluator.java
+++ b/user/src/com/google/gwt/uibinder/rebind/HandlerEvaluator.java
@@ -1,367 +... | true | true | public void run(IndentedWriter writer, FieldManager fieldManager,
String uiOwner) throws UnableToCompleteException {
// Iterate through all methods defined in the class.
for (JMethod method : ownerClass.getUiHandlers()) {
// Evaluate the method.
String boundMethod = method.getName();
... | public void run(IndentedWriter writer, FieldManager fieldManager,
String uiOwner) throws UnableToCompleteException {
// Iterate through all methods defined in the class.
for (JMethod method : ownerClass.getUiHandlers()) {
// Evaluate the method.
String boundMethod = method.getName();
... |
diff --git a/src/edu/dartmouth/cs/audiorecorder/AudioRecorderService.java b/src/edu/dartmouth/cs/audiorecorder/AudioRecorderService.java
index ff9e03e..0883b7c 100644
--- a/src/edu/dartmouth/cs/audiorecorder/AudioRecorderService.java
+++ b/src/edu/dartmouth/cs/audiorecorder/AudioRecorderService.java
@@ -1,331 +1,333 @@... | false | true | public void onCreate() {
Log.i(TAG, "onCreate()");
try {
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
mWl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
AudioRecorderService.class.getName());
mWl.acquire();
HandlerThread thread = new HandlerThread("AudioRecorderHand... | public void onCreate() {
Log.i(TAG, "onCreate()");
try {
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
mWl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
AudioRecorderService.class.getName());
mWl.acquire();
HandlerThread thread = new HandlerThread("AudioRecorderHand... |
diff --git a/src/org/intellij/erlang/application/ErlangApplicationConfiguration.java b/src/org/intellij/erlang/application/ErlangApplicationConfiguration.java
index 78938b36..d95a6f9f 100644
--- a/src/org/intellij/erlang/application/ErlangApplicationConfiguration.java
+++ b/src/org/intellij/erlang/application/ErlangApp... | true | true | public void checkConfiguration() throws RuntimeConfigurationException {
super.checkConfiguration();
ErlangModuleBasedConfiguration configurationModule = getConfigurationModule();
Module module = configurationModule.getModule();
if (module == null) return;
if (StringUtil.isEmpty(myModuleAndFunctio... | public void checkConfiguration() throws RuntimeConfigurationException {
super.checkConfiguration();
ErlangModuleBasedConfiguration configurationModule = getConfigurationModule();
Module module = configurationModule.getModule();
if (module == null) return;
if (StringUtil.isEmpty(myModuleAndFunctio... |
diff --git a/Model/src/java/fr/cg95/cvq/service/users/impl/CertificateService.java b/Model/src/java/fr/cg95/cvq/service/users/impl/CertificateService.java
index b2a619826..bec668fe4 100644
--- a/Model/src/java/fr/cg95/cvq/service/users/impl/CertificateService.java
+++ b/Model/src/java/fr/cg95/cvq/service/users/impl/Cer... | false | true | public byte[] generate(Request request) throws CvqException {
String htmlFilename =
StringUtils.uncapitalize(request.getRequestType().getLabel().replace(" ", "")) + "Request";
File htmlTemplate =
localAuthorityRegistry.getReferentialResource(Type.CERTIFICATE_TEMPLATE, htmlFi... | public byte[] generate(Request request) throws CvqException {
String htmlFilename =
StringUtils.uncapitalize(request.getRequestType().getLabel().replace(" ", "")) + "Request";
File htmlTemplate =
localAuthorityRegistry.getReferentialResource(Type.CERTIFICATE_TEMPLATE, htmlFi... |
diff --git a/modules/library/render/src/main/java/org/geotools/map/MapContent.java b/modules/library/render/src/main/java/org/geotools/map/MapContent.java
index e2d387ab4..7fcc3df22 100644
--- a/modules/library/render/src/main/java/org/geotools/map/MapContent.java
+++ b/modules/library/render/src/main/java/org/geotools... | false | true | public synchronized CopyOnWriteArrayList<Layer> layers() {
if (layerList == null) {
layerList = new CopyOnWriteArrayList<Layer>() {
private static final long serialVersionUID = 8011733882551971475L;
public void add(int index, Layer element) {
... | public synchronized CopyOnWriteArrayList<Layer> layers() {
if (layerList == null) {
layerList = new CopyOnWriteArrayList<Layer>() {
private static final long serialVersionUID = 8011733882551971475L;
public void add(int index, Layer element) {
... |
diff --git a/src/main/java/cz/muni/fi/publishsubscribe/countingtree/benchmark/Main.java b/src/main/java/cz/muni/fi/publishsubscribe/countingtree/benchmark/Main.java
index 4e53fe2..8fb9726 100644
--- a/src/main/java/cz/muni/fi/publishsubscribe/countingtree/benchmark/Main.java
+++ b/src/main/java/cz/muni/fi/publishsubscr... | true | true | public static void main(String[] args) {
//com.google.caliper.Runner.main(new String[] { "cz.muni.fi.publishsubscribe.countingtree.benchmark.TestBenchmark" });
//com.google.caliper.Runner.main(new String[] { "cz.muni.fi.publishsubscribe.countingtree.benchmark.EveryEventLessThanOrEqual" });
//com.google.calipe... | public static void main(String[] args) {
//com.google.caliper.Runner.main(new String[] { "cz.muni.fi.publishsubscribe.countingtree.benchmark.TestBenchmark" });
//com.google.caliper.Runner.main(new String[] { "cz.muni.fi.publishsubscribe.countingtree.benchmark.EveryEventLessThanOrEqual" });
//com.google.calipe... |
diff --git a/wayback-core/src/main/java/org/archive/wayback/resourceindex/cdxserver/EmbeddedCDXServerIndex.java b/wayback-core/src/main/java/org/archive/wayback/resourceindex/cdxserver/EmbeddedCDXServerIndex.java
index e76f60bb4..2b75d711a 100644
--- a/wayback-core/src/main/java/org/archive/wayback/resourceindex/cdxser... | false | true | protected void remoteCdxServerQuery(CDXQuery query, AuthToken authToken, CDXToSearchResultWriter resultWriter) throws IOException, AccessControlException
{
HTTPSeekableLineReader reader = null;
//Do local access/url validation check
String urlkey = selfRedirFilter.getCanonicalizer().urlStringToKey(query.getU... | protected void remoteCdxServerQuery(CDXQuery query, AuthToken authToken, CDXToSearchResultWriter resultWriter) throws IOException, AccessControlException
{
HTTPSeekableLineReader reader = null;
//Do local access/url validation check
String urlkey = selfRedirFilter.getCanonicalizer().urlStringToKey(query.getU... |
diff --git a/ctomlabviewer/src/java/gov/nih/nci/caxchange/ctom/viewer/actions/ParticipantSearchAction.java b/ctomlabviewer/src/java/gov/nih/nci/caxchange/ctom/viewer/actions/ParticipantSearchAction.java
index 3ca3d825..74b2407d 100644
--- a/ctomlabviewer/src/java/gov/nih/nci/caxchange/ctom/viewer/actions/ParticipantSea... | true | true | public ActionForward doParticipantSearch(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response)
{
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
// gets the session object from HttpRequest
HttpSession session = reques... | public ActionForward doParticipantSearch(ActionMapping mapping,
ActionForm form, HttpServletRequest request,
HttpServletResponse response)
{
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
// gets the session object from HttpRequest
HttpSession session = reques... |
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java
index e0b04dac..c61607e7 100644
--- a/src/com/android/launcher2/LauncherModel.java
+++ b/src/com/android/launcher2/LauncherModel.java
@@ -1,1996 +1,1999 @@
/*
* Copyright (C) 2008 The Android Open Source Project
... | false | true | static boolean shortcutExists(Context context, String title, Intent intent) {
final ContentResolver cr = context.getContentResolver();
Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
new String[] { "title", "intent" }, "title=? and intent=?",
new String[] { title,... | static boolean shortcutExists(Context context, String title, Intent intent) {
final ContentResolver cr = context.getContentResolver();
Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI,
new String[] { "title", "intent" }, "title=? and intent=?",
new String[] { title,... |
diff --git a/src/com/android/camera/CameraSettings.java b/src/com/android/camera/CameraSettings.java
index 0512a98b..8e4e14fb 100644
--- a/src/com/android/camera/CameraSettings.java
+++ b/src/com/android/camera/CameraSettings.java
@@ -1,637 +1,640 @@
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Li... | false | true | private void initPreference(PreferenceGroup group) {
ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY);
ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL);
ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE);
... | private void initPreference(PreferenceGroup group) {
ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY);
ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL);
ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE);
... |
diff --git a/src/semanticMarkup/ling/chunk/AbstractChunker.java b/src/semanticMarkup/ling/chunk/AbstractChunker.java
index 2e460eb1..753c7d52 100644
--- a/src/semanticMarkup/ling/chunk/AbstractChunker.java
+++ b/src/semanticMarkup/ling/chunk/AbstractChunker.java
@@ -1,268 +1,270 @@
package semanticMarkup.ling.chunk;
... | false | true | protected void createTwoValuedChunk(ChunkType chunkType, AbstractParseTree root, ChunkCollector chunkCollector) {
Chunk possibleParentChunk = chunkCollector.getChunk(root.getTerminals().get(0));
boolean parentExists = possibleParentChunk.containsAll(root.getTerminals());
List<AbstractParseTree> functionTerminal... | protected void createTwoValuedChunk(ChunkType chunkType, AbstractParseTree root, ChunkCollector chunkCollector) {
Chunk possibleParentChunk = chunkCollector.getChunk(root.getTerminals().get(0));
boolean parentExists = possibleParentChunk.containsAll(root.getTerminals());
List<AbstractParseTree> functionTerminal... |
diff --git a/spf4j-zel/src/main/java/org/spf4j/zel/vm/JavaMethodCall.java b/spf4j-zel/src/main/java/org/spf4j/zel/vm/JavaMethodCall.java
index 9fde864ffb..27a3520a27 100644
--- a/spf4j-zel/src/main/java/org/spf4j/zel/vm/JavaMethodCall.java
+++ b/spf4j-zel/src/main/java/org/spf4j/zel/vm/JavaMethodCall.java
@@ -1,66 +1,6... | true | true | public Object invoke(final ExecutionContext context, final Object [] parameters)
throws IllegalAccessException, InvocationTargetException {
int np = parameters.length;
if (np > 0) {
Class<?>[] classes = new Class<?>[np];
for (int i = 0; i < np; i++) {
... | public Object invoke(final ExecutionContext context, final Object [] parameters)
throws IllegalAccessException, InvocationTargetException {
int np = parameters.length;
if (np > 0) {
Class<?>[] classes = new Class<?>[np];
for (int i = 0; i < np; i++) {
... |
diff --git a/assembly/openejb-tomcat/openejb-tomcat-common/src/main/java/org/apache/openejb/tomcat/installer/Paths.java b/assembly/openejb-tomcat/openejb-tomcat-common/src/main/java/org/apache/openejb/tomcat/installer/Paths.java
index 4eb8bdea4e..79550cabc9 100644
--- a/assembly/openejb-tomcat/openejb-tomcat-common/src... | true | true | public boolean verify() {
if (openejbWarDir == null) {
addError("OpenEJB war is not unpacked");
}
if (getCatalinaHomeDir() == null) {
addError("Catalina home directory is not defined");
}
if (getCatalinaBaseDir() == null) {
addError("Catali... | public boolean verify() {
if (openejbWarDir == null) {
addError("OpenEJB war is not unpacked");
}
if (getCatalinaHomeDir() == null) {
addError("Catalina home directory is not defined");
}
if (getCatalinaBaseDir() == null) {
addError("Catali... |
diff --git a/dspace/src/org/dspace/content/InstallItem.java b/dspace/src/org/dspace/content/InstallItem.java
index 5b80c347b..bb1c20b23 100644
--- a/dspace/src/org/dspace/content/InstallItem.java
+++ b/dspace/src/org/dspace/content/InstallItem.java
@@ -1,188 +1,188 @@
/*
* InstallItem.java
*
* $Id$
*
* Versi... | true | true | public static Item installItem(Context c, InProgressSubmission is, EPerson e2)
throws SQLException, IOException, AuthorizeException
{
Item item = is.getItem();
// create accession date
DCDate now = DCDate.getCurrent();
item.addDC("date", "accessioned", null, now.... | public static Item installItem(Context c, InProgressSubmission is, EPerson e2)
throws SQLException, IOException, AuthorizeException
{
Item item = is.getItem();
// create accession date
DCDate now = DCDate.getCurrent();
item.addDC("date", "accessioned", null, now.... |
diff --git a/src/main/java/db/DbAdaptor.java b/src/main/java/db/DbAdaptor.java
index 0ed2eb4..be20af8 100644
--- a/src/main/java/db/DbAdaptor.java
+++ b/src/main/java/db/DbAdaptor.java
@@ -1,24 +1,23 @@
package db;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import ja... | true | true | public static Connection connect() throws ClassNotFoundException, SQLException{
Class.forName("org.postgresql.Driver");
Properties properties = new Properties();
properties.setProperty("user", USER);
properties.setProperty("password", PASSWORD);
Connection conn = DriverManager.getConnection(URL, properties);... | public static Connection connect() throws ClassNotFoundException, SQLException{
Class.forName("org.postgresql.Driver");
Properties properties = new Properties();
properties.setProperty("user", USER);
properties.setProperty("password", PASSWORD);
Connection conn = DriverManager.getConnection(URL, properties);... |
diff --git a/libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java b/libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java
index d54dcf1d4..3b9aa40e0 100644
--- a/libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java
+++ b/libraries/javalib/gnu/java/rmi/server/UnicastConnection... | true | true | private static void startScavenger(){
scavenger = new Thread(new Runnable(){
public void run(){
if (debug) System.out.println("************* start scavenger.");
boolean liveon = true;
while (liveon){
// Sleep for the expire timeout
try{
... | private static void startScavenger(){
scavenger = new Thread(new Runnable(){
public void run(){
if (debug) System.out.println("************* start scavenger.");
boolean liveon = true;
while (liveon){
// Sleep for the expire timeout
try{
... |
diff --git a/source/Consumer.java b/source/Consumer.java
index 4628041..35ca889 100644
--- a/source/Consumer.java
+++ b/source/Consumer.java
@@ -1,28 +1,28 @@
//file: Consumer.java
import java.util.Vector;
public class Consumer implements Runnable
{
Producer producer;
Consumer( Producer producer ) {
... | true | true | public void run() {
while ( true ) {
String message = producer.getMessage();
System.out.println("Got message: " + message);
try {
Thread.sleep( 2000 );
} catch ( InterruptedException e ) { }
}
}
| public void run() {
while ( true ) {
String message = producer.getMessage();
System.out.println("Got message: "+ message);
try {
Thread.sleep( 2000 );
} catch ( InterruptedException e ) { }
}
}
|
diff --git a/src/com/android/settings/accounts/ManageAccountsSettings.java b/src/com/android/settings/accounts/ManageAccountsSettings.java
index 4efe62be0..d769cdb3a 100644
--- a/src/com/android/settings/accounts/ManageAccountsSettings.java
+++ b/src/com/android/settings/accounts/ManageAccountsSettings.java
@@ -1,351 +... | true | true | protected void onSyncStateUpdated() {
// Set background connection state
final ConnectivityManager connManager = (ConnectivityManager)
getActivity().getSystemService(Context.CONNECTIVITY_SERVICE);
final boolean backgroundDataSetting = connManager.getBackgroundDataSetting();
... | protected void onSyncStateUpdated() {
// Catch any delayed delivery of update messages
if (getActivity() == null) return;
// Set background connection state
final ConnectivityManager connManager = (ConnectivityManager)
getActivity().getSystemService(Context.CONNECTIVI... |
diff --git a/hibernate-core/src/main/java/org/hibernate/loader/plan2/build/internal/FetchStyleLoadPlanBuildingAssociationVisitationStrategy.java b/hibernate-core/src/main/java/org/hibernate/loader/plan2/build/internal/FetchStyleLoadPlanBuildingAssociationVisitationStrategy.java
index f19339d106..481ac6642c 100644
--- a... | true | true | protected FetchStrategy adjustJoinFetchIfNeeded(
AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) {
if ( currentDepth() > sessionFactory().getSettings().getMaximumFetchDepth() ) {
return new FetchStrategy( fetchStrategy.getTiming(), FetchStyle.SELECT );
}
if ( attributeD... | protected FetchStrategy adjustJoinFetchIfNeeded(
AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) {
final Integer maxFetchDepth = sessionFactory().getSettings().getMaximumFetchDepth();
if ( maxFetchDepth != null && currentDepth() > maxFetchDepth ) {
return new FetchStrategy... |
diff --git a/src/servers/src/org/xtreemfs/mrc/operations/OpenOperation.java b/src/servers/src/org/xtreemfs/mrc/operations/OpenOperation.java
index b0f97a37..1f323463 100644
--- a/src/servers/src/org/xtreemfs/mrc/operations/OpenOperation.java
+++ b/src/servers/src/org/xtreemfs/mrc/operations/OpenOperation.java
@@ -1,292... | true | true | public void startRequest(MRCRequest rq) throws Throwable {
final openRequest rqArgs = (openRequest) rq.getRequestArgs();
final VolumeManager vMan = master.getVolumeManager();
final FileAccessManager faMan = master.getFileAccessManager();
Path p = new Path(r... | public void startRequest(MRCRequest rq) throws Throwable {
final openRequest rqArgs = (openRequest) rq.getRequestArgs();
final VolumeManager vMan = master.getVolumeManager();
final FileAccessManager faMan = master.getFileAccessManager();
Path p = new Path(r... |
diff --git a/ini/trakem2/display/Tree.java b/ini/trakem2/display/Tree.java
index cbc10b10..d66b8bfa 100644
--- a/ini/trakem2/display/Tree.java
+++ b/ini/trakem2/display/Tree.java
@@ -1,2632 +1,2633 @@
/**
TrakEM2 plugin for ImageJ(C).
Copyright (C) 2009 Albert Cardona.
This program is free software; you can red... | true | true | public void keyPressed(KeyEvent ke) {
switch (ProjectToolbar.getToolId()) {
case ProjectToolbar.PEN:
case ProjectToolbar.BRUSH:
break;
default:
// Reject
return;
}
Object source = ke.getSource();
if (! (source instanceof DisplayCanvas)) return;
final int keyCode = ke.getKeyCode();
f... | public void keyPressed(KeyEvent ke) {
switch (ProjectToolbar.getToolId()) {
case ProjectToolbar.PEN:
case ProjectToolbar.BRUSH:
break;
default:
// Reject
return;
}
Object source = ke.getSource();
if (! (source instanceof DisplayCanvas)) return;
final int keyCode = ke.getKeyCode();
f... |
diff --git a/src/com/intervigil/micdroid/AutotalentTask.java b/src/com/intervigil/micdroid/AutotalentTask.java
index 094def9..342e615 100644
--- a/src/com/intervigil/micdroid/AutotalentTask.java
+++ b/src/com/intervigil/micdroid/AutotalentTask.java
@@ -1,192 +1,192 @@
package com.intervigil.micdroid;
import java.io... | true | true | private void processPitchCorrection(String file) throws IOException {
WaveReader reader = null;
WaveWriter writer = null;
short[] buf = new short[AUTOTALENT_CHUNK_SIZE];
try {
reader = new WaveReader(
context.getCacheDir().g... | private void processPitchCorrection(String file) throws IOException {
WaveReader reader = null;
WaveWriter writer = null;
short[] buf = new short[AUTOTALENT_CHUNK_SIZE];
try {
reader = new WaveReader(
context.getCacheDir().g... |
diff --git a/src/org/python/core/PyUnicode.java b/src/org/python/core/PyUnicode.java
index bece37bd..fea17978 100644
--- a/src/org/python/core/PyUnicode.java
+++ b/src/org/python/core/PyUnicode.java
@@ -1,1280 +1,1283 @@
package org.python.core;
import java.util.ArrayList;
import java.util.Collection;
import java... | true | true | final static PyObject unicode_new(PyNewWrapper new_, boolean init, PyType subtype,
PyObject[] args, String[] keywords) {
ArgParser ap = new ArgParser("unicode",
args,
keywords,
new String[]{"string",
"encoding",
"errors"
... | final static PyObject unicode_new(PyNewWrapper new_, boolean init, PyType subtype,
PyObject[] args, String[] keywords) {
ArgParser ap = new ArgParser("unicode",
args,
keywords,
new String[]{"string",
"encoding",
"errors"
... |
diff --git a/src/com/pilot51/voicenotify/Service.java b/src/com/pilot51/voicenotify/Service.java
index 33c852c..0baaf99 100644
--- a/src/com/pilot51/voicenotify/Service.java
+++ b/src/com/pilot51/voicenotify/Service.java
@@ -1,266 +1,266 @@
package com.pilot51.voicenotify;
import java.util.ArrayList;
import java.u... | true | true | public void onAccessibilityEvent(AccessibilityEvent event) {
long newMsgTime = System.currentTimeMillis();
PackageManager packMan = getPackageManager();
ApplicationInfo appInfo = new ApplicationInfo();
String pkgName = String.valueOf(event.getPackageName());
try {
appInfo = packMan.getApplicationInfo(pkgN... | public void onAccessibilityEvent(AccessibilityEvent event) {
long newMsgTime = System.currentTimeMillis();
PackageManager packMan = getPackageManager();
ApplicationInfo appInfo = new ApplicationInfo();
String pkgName = String.valueOf(event.getPackageName());
try {
appInfo = packMan.getApplicationInfo(pkgN... |
diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/monitor/network/SigarNetworkProbe.java b/modules/elasticsearch/src/main/java/org/elasticsearch/monitor/network/SigarNetworkProbe.java
index 13da16451e9..61c4a20ec36 100644
--- a/modules/elasticsearch/src/main/java/org/elasticsearch/monitor/network/Sigar... | true | true | @Override public String ifconfig() {
Sigar sigar = sigarService.sigar();
StringBuilder sb = new StringBuilder();
try {
for (String ifname : sigar.getNetInterfaceList()) {
NetInterfaceConfig ifconfig = null;
try {
ifconfig = siga... | @Override public String ifconfig() {
Sigar sigar = sigarService.sigar();
StringBuilder sb = new StringBuilder();
try {
for (String ifname : sigar.getNetInterfaceList()) {
NetInterfaceConfig ifconfig = null;
try {
ifconfig = siga... |
diff --git a/mobilewiki/src/mobilewiki/EditServlet.java b/mobilewiki/src/mobilewiki/EditServlet.java
index 24a18bd..8e51615 100644
--- a/mobilewiki/src/mobilewiki/EditServlet.java
+++ b/mobilewiki/src/mobilewiki/EditServlet.java
@@ -1,46 +1,47 @@
package mobilewiki;
import java.io.IOException;
import javax.servl... | true | true | protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if (user == null)
{
resp.sendError(HttpServletResponse.SC_FORBIDDEN);
return;
}
S... | protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if (user == null)
{
resp.sendError(HttpServletResponse.SC_FORBIDDEN);
return;
}
S... |
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java
index 8ec3bf2cb6..214674029c 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java
+++ b/sonar-plugin-api/... | true | true | public int execute(Command command, StreamConsumer stdOut, StreamConsumer stdErr, long timeoutMilliseconds) {
ExecutorService executorService = null;
Process process = null;
StreamGobbler outputGobbler = null;
StreamGobbler errorGobbler = null;
try {
ProcessBuilder builder = new ProcessBuild... | public int execute(Command command, StreamConsumer stdOut, StreamConsumer stdErr, long timeoutMilliseconds) {
ExecutorService executorService = null;
Process process = null;
StreamGobbler outputGobbler = null;
StreamGobbler errorGobbler = null;
try {
ProcessBuilder builder = new ProcessBuild... |
diff --git a/src/main/java/com/github/ucchyocean/lc/DelayedJapanizeConvertTask.java b/src/main/java/com/github/ucchyocean/lc/DelayedJapanizeConvertTask.java
index 2a03afc..e05581d 100644
--- a/src/main/java/com/github/ucchyocean/lc/DelayedJapanizeConvertTask.java
+++ b/src/main/java/com/github/ucchyocean/lc/DelayedJapa... | true | true | public boolean runSync() {
// URL削除
String deletedURL = org.replaceAll(REGEX_URL, "URL");
// カナ変換
String japanized = KanaConverter.conv(deletedURL);
// IME変換
if ( type == JapanizeType.GOOGLE_IME ) {
japanized = IMEConverter.convByGoogleIME(japan... | public boolean runSync() {
// URL削除
String deletedURL = org.replaceAll(REGEX_URL, " ");
// カナ変換
String japanized = KanaConverter.conv(deletedURL);
// IME変換
if ( type == JapanizeType.GOOGLE_IME ) {
japanized = IMEConverter.convByGoogleIME(japaniz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.