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/cheloniidae/CartesianTriangle.java b/src/cheloniidae/CartesianTriangle.java
index 630f080..4c48d4c 100644
--- a/src/cheloniidae/CartesianTriangle.java
+++ b/src/cheloniidae/CartesianTriangle.java
@@ -1,74 +1,73 @@
// Cheloniidae Turtle Graphics
// Created by Spencer Tipping and licensed under the ter... | false | true | public void render (final Viewport v) {
final Vector tv1 = v.transformPoint (v1);
final Vector tv2 = v.transformPoint (v2);
final Vector tv3 = v.transformPoint (v3);
v.representativePoint (midpoint).representativePoint (v1).representativePoint (v2).representativePoint (v3);
// Render the triangl... | public void render (final Viewport v) {
final Vector tv1 = v.transformPoint (v1);
final Vector tv2 = v.transformPoint (v2);
final Vector tv3 = v.transformPoint (v3);
v.representativePoint (midpoint).representativePoint (v1).representativePoint (v2).representativePoint (v3);
// Render the triangl... |
diff --git a/src/bots/BotRepository.java b/src/bots/BotRepository.java
index 231c6cd..dfb6cdd 100644
--- a/src/bots/BotRepository.java
+++ b/src/bots/BotRepository.java
@@ -1,106 +1,106 @@
package bots;
import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import jav... | true | true | private void readBotFromMeerkatFile(File meerkatPDFile) {
Preferences prefs = new Preferences(meerkatPDFile);
String botClassName = prefs.getPreference("PLAYER_CLASS");
if (botClassName.endsWith("PlugInOpponent")) {
// PlugInOpponent is just a Decorator used in PA to allow for
// special classLoading.
/... | private void readBotFromMeerkatFile(File meerkatPDFile) {
Preferences prefs = new Preferences(meerkatPDFile);
String botClassName = prefs.getPreference("PLAYER_CLASS");
if (botClassName.endsWith("PlugInOpponent")) {
// PlugInOpponent is just a Decorator used in PA to allow for
// special classLoading.
/... |
diff --git a/jsf-ri/systest/src/com/sun/faces/systest/composite/CompositeAttributeTestCase.java b/jsf-ri/systest/src/com/sun/faces/systest/composite/CompositeAttributeTestCase.java
index 394e51834..f847f4353 100644
--- a/jsf-ri/systest/src/com/sun/faces/systest/composite/CompositeAttributeTestCase.java
+++ b/jsf-ri/sys... | false | true | public void testCompositeAttributeDefaults() throws Exception {
HtmlPage page = getPage("/faces/composite/defaultAttributeValueExpression_1966.xhtml");
// Test with empty list as items
HtmlElement dataTable = page.getElementById("WithValueEmptyList:DataTable");
List<DomText> content... | public void testCompositeAttributeDefaults() throws Exception {
HtmlPage page = getPage("/faces/composite/defaultAttributeValueExpression_1966.xhtml");
// Test with empty list as items
HtmlElement dataTable = page.getElementById("WithValueEmptyList:DataTable");
List<DomText> content... |
diff --git a/aura-impl/src/test/java/org/auraframework/impl/system/CachingDefRegistryImplTest.java b/aura-impl/src/test/java/org/auraframework/impl/system/CachingDefRegistryImplTest.java
index d8e5e74885..642e8ea39d 100644
--- a/aura-impl/src/test/java/org/auraframework/impl/system/CachingDefRegistryImplTest.java
+++ b... | false | true | public void testDefinitionsFetchingInTestMode() throws Exception {
// Obtain the definition of an application without layout and make sure
// the
// layoutsDefDescriptor is null
ApplicationDef appWithNoLayout = auraTestingUtil.addSourceAutoCleanup(ApplicationDef.class,
"<aura... | public void testDefinitionsFetchingInTestMode() throws Exception {
// Obtain the definition of an application without layout and make sure
// the
// layoutsDefDescriptor is null
ApplicationDef appWithNoLayout = auraTestingUtil.addSourceAutoCleanup(ApplicationDef.class,
"<aura... |
diff --git a/src/main/java/water/api/SummaryPage.java b/src/main/java/water/api/SummaryPage.java
index e24810b9b..2e78b75b3 100644
--- a/src/main/java/water/api/SummaryPage.java
+++ b/src/main/java/water/api/SummaryPage.java
@@ -1,176 +1,176 @@
package water.api;
import hex.ColSummaryTask;
import java.util.Itera... | true | true | @Override protected Response serve() {
int [] cols = _columns.value();
ValueArray ary = _key.value();
final boolean did_trim_columns;
final int max_columns_to_display;
if (_max_column.value() >= 0)
max_columns_to_display = Math.min(_max_column.value(), cols.length == 0 ? ary._cols.length : ... | @Override protected Response serve() {
int [] cols = _columns.value();
ValueArray ary = _key.value();
final boolean did_trim_columns;
final int max_columns_to_display;
if (_max_column.value() >= 0)
max_columns_to_display = Math.min(_max_column.value(), cols.length == 0 ? ary._cols.length : ... |
diff --git a/edu/wisc/ssec/mcidasv/control/RGBCompositeControl.java b/edu/wisc/ssec/mcidasv/control/RGBCompositeControl.java
index 9c01db95f..67f0a6be9 100644
--- a/edu/wisc/ssec/mcidasv/control/RGBCompositeControl.java
+++ b/edu/wisc/ssec/mcidasv/control/RGBCompositeControl.java
@@ -1,689 +1,695 @@
/*
* $Id$
*
... | false | true | public Container doMakeContents() {
JPanel bigPanel = new JPanel(new BorderLayout());
JPanel subPanel = new JPanel(new GridLayout(4,1));
JPanel gammaPanel = new JPanel(new FlowLayout());
final JLabel nameLabel = new JLabel("Gamma: ");
gammaTxtFld.addActionListener(new ActionList... | public Container doMakeContents() {
JPanel bigPanel = new JPanel(new BorderLayout());
JPanel subPanel = new JPanel(new GridLayout(4,1));
JPanel gammaPanel = new JPanel(new FlowLayout());
final JLabel nameLabel = new JLabel("Gamma: ");
gammaTxtFld.addActionListener(new ActionList... |
diff --git a/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/PreCompilerBuilder.java b/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/PreCompilerBuilder.java
index 2f733fa9..ae5583d7 100644
--- a/tools/eclipse/plugins/com... | false | true | protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
throws CoreException {
try {
mDerivedProgressMonitor.reset();
// First thing we do is go through the resource delta to not
// lose it if we have to abort the build for any reason.
... | protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
throws CoreException {
try {
mDerivedProgressMonitor.reset();
// First thing we do is go through the resource delta to not
// lose it if we have to abort the build for any reason.
... |
diff --git a/src/me/libraryaddict/disguise/utilities/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java
index 6dd8f45..15be1fc 100644
--- a/src/me/libraryaddict/disguise/utilities/PacketsManager.java
+++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java
@@ -1,1195 +1,1195 @@
... | true | true | public static void init(LibsDisguises plugin) {
libsDisguises = plugin;
soundsListener = new PacketAdapter(libsDisguises, ListenerPriority.NORMAL, PacketType.Play.Server.NAMED_SOUND_EFFECT,
PacketType.Play.Server.ENTITY_STATUS) {
@Override
public void onPacket... | public static void init(LibsDisguises plugin) {
libsDisguises = plugin;
soundsListener = new PacketAdapter(libsDisguises, ListenerPriority.NORMAL, PacketType.Play.Server.NAMED_SOUND_EFFECT,
PacketType.Play.Server.ENTITY_STATUS) {
@Override
public void onPacket... |
diff --git a/main/src/main/java/com/bloatit/framework/webprocessor/url/GenericMessageFormater.java b/main/src/main/java/com/bloatit/framework/webprocessor/url/GenericMessageFormater.java
index f9526537b..b523baa5d 100644
--- a/main/src/main/java/com/bloatit/framework/webprocessor/url/GenericMessageFormater.java
+++ b/m... | true | true | GenericMessageFormater(String paramName, String value) {
put("%paramName%%", paramName);
put("%value%%", value);
}
| GenericMessageFormater(String paramName, String value) {
put("%paramName%", paramName);
put("%value%", value);
}
|
diff --git a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java b/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
index c54659016..83f54b030 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/Accumulo.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/Accum... | true | true | public static void init(VolumeManager fs, ServerConfiguration config, String application) throws UnknownHostException {
System.setProperty("org.apache.accumulo.core.application", application);
if (System.getenv("ACCUMULO_LOG_DIR") != null)
System.setProperty("org.apache.accumulo.core.dir.log",... | public static void init(VolumeManager fs, ServerConfiguration config, String application) throws UnknownHostException {
System.setProperty("org.apache.accumulo.core.application", application);
if (System.getenv("ACCUMULO_LOG_DIR") != null)
System.setProperty("org.apache.accumulo.core.dir.log",... |
diff --git a/impl-projects/src/main/java/org/jboss/forge/addon/gradle/projects/facets/GradleMetadataFacet.java b/impl-projects/src/main/java/org/jboss/forge/addon/gradle/projects/facets/GradleMetadataFacet.java
index ac5f7a5..7faf311 100644
--- a/impl-projects/src/main/java/org/jboss/forge/addon/gradle/projects/facets/... | true | true | public String removeDirectProperty(String name)
{
String property = null;
try
{
GradleModel model = getGradleFacet().getModel();
property = model.getProperties().get(name);
getGradleFacet().getModel().removeProperty(name);
getGradleFacet().setModel(model);
... | public String removeDirectProperty(String name)
{
String property = null;
try
{
GradleModel model = getGradleFacet().getModel();
property = model.getProperties().get(name);
model.removeProperty(name);
getGradleFacet().setModel(model);
}
catch (Unre... |
diff --git a/Java_CCN/test/ccn/data/content/CollectionObjectTest.java b/Java_CCN/test/ccn/data/content/CollectionObjectTest.java
index f0e6efbde..5143adec8 100644
--- a/Java_CCN/test/ccn/data/content/CollectionObjectTest.java
+++ b/Java_CCN/test/ccn/data/content/CollectionObjectTest.java
@@ -1,258 +1,259 @@
package te... | true | true | public void testSaveUpdate() throws ConfigurationException, IOException, XMLStreamException, MalformedContentNameStringException {
boolean caught = false;
CollectionObject emptycoll =
new CollectionObject(namespace, (CollectionData)null, library);
try {
emptycoll.save();
} catch (InvalidObjectException ... | public void testSaveUpdate() throws ConfigurationException, IOException, XMLStreamException, MalformedContentNameStringException {
boolean caught = false;
CollectionObject emptycoll =
new CollectionObject(namespace, (CollectionData)null, library);
try {
emptycoll.save();
} catch (InvalidObjectException ... |
diff --git a/servers/xtreemos/org/xtreemos/XtreemOSAuthProvider.java b/servers/xtreemos/org/xtreemos/XtreemOSAuthProvider.java
index 0852b74f..d8d5f1a6 100644
--- a/servers/xtreemos/org/xtreemos/XtreemOSAuthProvider.java
+++ b/servers/xtreemos/org/xtreemos/XtreemOSAuthProvider.java
@@ -1,108 +1,108 @@
/* Copyright (c... | false | true | public UserCredentials getEffectiveCredentials(String authHeader, ChannelIO channel) throws AuthenticationException {
//use cached info!
assert(nullAuth != null);
if (channel.getAttachment() != null) {
Logging.logMessage(Logging.LEVEL_DEBUG,this,"using attachment...");
... | public UserCredentials getEffectiveCredentials(org.xtreemfs.interfaces.UserCredentials ctx, ChannelIO channel) throws AuthenticationException {
//use cached info!
assert(nullAuth != null);
if (channel.getAttachment() != null) {
Logging.logMessage(Logging.LEVEL_DEBUG,this,"using a... |
diff --git a/src/main/java/eu/neq/mais/request/LabTestHandler.java b/src/main/java/eu/neq/mais/request/LabTestHandler.java
index c584f0f..256ee2a 100644
--- a/src/main/java/eu/neq/mais/request/LabTestHandler.java
+++ b/src/main/java/eu/neq/mais/request/LabTestHandler.java
@@ -1,333 +1,333 @@
package eu.neq.mais.reques... | true | true | public String createLabTestRequest(
@Context HttpServletResponse servlerResponse,
@QueryParam("session") String session,
@QueryParam("date") String date,
@QueryParam("doctor_id") String doctor_id,
@QueryParam("request_type_id") String request_type_id,
... | public String createLabTestRequest(
@Context HttpServletResponse servlerResponse,
@QueryParam("session") String session,
@QueryParam("date") String date,
@QueryParam("doctor_id") String doctor_id,
@QueryParam("request_type_id") String request_type_id,
... |
diff --git a/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java b/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java
index 4c8eb2c..f629726 100644
--- a/src/com/bekvon/bukkit/residence/listeners/ResidencePlayerListener.java
+++ b/src/com/bekvon/bukkit/residence/listeners/Residenc... | false | true | public void onPlayerInteract(PlayerInteractEvent event) {
if(event.isCancelled()) {
return;
}
Player player = event.getPlayer();
Material heldItem = player.getItemInHand().getType();
Block block = event.getClickedBlock();
Material mat = block.getType();
ILog.sendToPlayer(player, mat.toString());
if... | public void onPlayerInteract(PlayerInteractEvent event) {
if(event.isCancelled()) {
return;
}
Player player = event.getPlayer();
Material heldItem = player.getItemInHand().getType();
Block block = event.getClickedBlock();
Material mat = block.getType();
ILog.sendToPlayer(player, mat.toString());
if... |
diff --git a/src/main/java/cz/startnet/utils/pgdiff/schema/PgView.java b/src/main/java/cz/startnet/utils/pgdiff/schema/PgView.java
index b0b6c87..5b62d7e 100644
--- a/src/main/java/cz/startnet/utils/pgdiff/schema/PgView.java
+++ b/src/main/java/cz/startnet/utils/pgdiff/schema/PgView.java
@@ -1,217 +1,217 @@
package cz... | false | true | public String getCreationSQL() {
final StringBuilder sbSQL = new StringBuilder(query.length() * 2);
sbSQL.append("CREATE VIEW ");
sbSQL.append(PgDiffUtils.getQuotedName(name));
if (columnNames != null && !columnNames.isEmpty()) {
sbSQL.append(" (");
for (int... | public String getCreationSQL() {
final StringBuilder sbSQL = new StringBuilder(query.length() * 2);
sbSQL.append("CREATE VIEW ");
sbSQL.append(PgDiffUtils.getQuotedName(name));
if (columnNames != null && !columnNames.isEmpty()) {
sbSQL.append(" (");
for (int... |
diff --git a/public/src/main/java/com/gumvision/web/controller/GumVisionController.java b/public/src/main/java/com/gumvision/web/controller/GumVisionController.java
index aa36df3..99efeae 100644
--- a/public/src/main/java/com/gumvision/web/controller/GumVisionController.java
+++ b/public/src/main/java/com/gumvision/web... | true | true | public ModelAndView displayGumVision(HttpServletRequest request, HttpServletResponse response) {
LOGGER.info("In the Gumvision Main Controller");
Map<String, Object> model = new HashMap<String, Object>();
return new ModelAndView("gumvision",model);
}
| public ModelAndView displayGumVision(HttpServletRequest request, HttpServletResponse response) throws RuntimeException{
LOGGER.info("In the Gumvision Main Controller");
Map<String, Object> model = new HashMap<String, Object>();
return new ModelAndView("gumvision",model);
}
|
diff --git a/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/InterfaceAndAbstractValidationTest.java b/tests/org.jboss.tools.cdi.seam3.bot.test/src/org/jboss/tools/cdi/seam3/bot/test/tests/InterfaceAndAbstractValidationTest.java
index 679af022d..d877e20f3 100644
--- a/tests/org.jbo... | true | true | public void testInterfaceValidation() {
/* import test project */
String projectName = "interface1";
importSeam3ProjectWithLibrary(projectName, SeamLibrary.SOLDER_3_1);
bot.sleep(Timing.time3S()); // necessary to CDI Validation computation
/* get markers for beans.xml */
IMarker[] markers = getMarker... | public void testInterfaceValidation() {
/* import test project */
String projectName = "interface1";
importSeam3ProjectWithLibrary(projectName, SeamLibrary.SOLDER_3_1);
bot.sleep(Timing.time3S()); // necessary to CDI Validation computation
/* get markers for beans.xml */
IMarker[] markers = getMarker... |
diff --git a/src/main/java/org/sql2o/Sql2o.java b/src/main/java/org/sql2o/Sql2o.java
index 60d286c..3c0ade4 100644
--- a/src/main/java/org/sql2o/Sql2o.java
+++ b/src/main/java/org/sql2o/Sql2o.java
@@ -1,369 +1,369 @@
package org.sql2o;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.... | true | true | private static DataSource _getJndiDatasource(String jndiLookup) {
Context ctx = null;
DataSource datasource = null;
try {
InitialContext context = new InitialContext();
datasource = (DataSource) context.lookup(jndiLookup);
}
catch (NamingException e) ... | private static DataSource _getJndiDatasource(String jndiLookup) {
Context ctx = null;
DataSource datasource = null;
try {
ctx = new InitialContext();
datasource = (DataSource) ctx.lookup(jndiLookup);
}
catch (NamingException e) {
throw new... |
diff --git a/src/nl/giantit/minecraft/GiantShop/core/Commands/check.java b/src/nl/giantit/minecraft/GiantShop/core/Commands/check.java
index d6701bf..c485e26 100644
--- a/src/nl/giantit/minecraft/GiantShop/core/Commands/check.java
+++ b/src/nl/giantit/minecraft/GiantShop/core/Commands/check.java
@@ -1,276 +1,276 @@
pa... | false | true | public static void check(Player player, String[] args) {
Messages msgs = GiantShop.getPlugin().getMsgHandler();
Items iH = GiantShop.getPlugin().getItemHandler();
perm perms = perm.Obtain();
config conf = config.Obtain();
if(perms.has(player, "giantshop.shop.check")) {
db DB = db.Obtain();
int itemID;
... | public static void check(Player player, String[] args) {
Messages msgs = GiantShop.getPlugin().getMsgHandler();
Items iH = GiantShop.getPlugin().getItemHandler();
perm perms = perm.Obtain();
config conf = config.Obtain();
if(perms.has(player, "giantshop.shop.check")) {
db DB = db.Obtain();
int itemID;
... |
diff --git a/src/java/org/xhtmlrenderer/css/style/derived/DerivedValueFactory.java b/src/java/org/xhtmlrenderer/css/style/derived/DerivedValueFactory.java
index a7d08920..4dbe85fa 100644
--- a/src/java/org/xhtmlrenderer/css/style/derived/DerivedValueFactory.java
+++ b/src/java/org/xhtmlrenderer/css/style/derived/Derive... | false | true | public static FSDerivedValue newDerivedValue(CalculatedStyle style,
CSSName cssName,
short cssSACUnitType,
String cssText,
... | public static FSDerivedValue newDerivedValue(CalculatedStyle style,
CSSName cssName,
short cssSACUnitType,
String cssText,
... |
diff --git a/org.oobium.build/src/org/oobium/build/esp/parts/JavaSourcePart.java b/org.oobium.build/src/org/oobium/build/esp/parts/JavaSourcePart.java
index 1013193c..723bf87a 100644
--- a/org.oobium.build/src/org/oobium/build/esp/parts/JavaSourcePart.java
+++ b/org.oobium.build/src/org/oobium/build/esp/parts/JavaSourc... | false | true | private int parseString(int start) {
int s1 = start;
while(s1 < end) {
switch(ca[s1]) {
case '"':
if(ca[s1-1] != '/') {
return s1 + 1;
}
break;
case '$':
if(ca[s1-1] != '/') {
EspPart part = new JavaSourceStringPart(this, s1, end);
s1 = part.getEnd() - 1;
}
break;
... | private int parseString(int start) {
int s1 = start;
while(s1 < end) {
switch(ca[s1]) {
case '"':
if(ca[s1-1] != '\\' || ca[s1-2] == '\\') {
return s1 + 1;
}
break;
case '$':
if(ca[s1-1] != '\\' || ca[s1-2] == '\\') {
EspPart part = new JavaSourceStringPart(this, s1, end);
s... |
diff --git a/main/src/main/java/uk/co/blackpepper/penguin/android/QueueAdapter.java b/main/src/main/java/uk/co/blackpepper/penguin/android/QueueAdapter.java
index e1c3a95..0191561 100644
--- a/main/src/main/java/uk/co/blackpepper/penguin/android/QueueAdapter.java
+++ b/main/src/main/java/uk/co/blackpepper/penguin/andro... | true | true | public View getView(int position, View convertView, ViewGroup parent)
{
View view = super.getView(position, convertView, parent);
TextView textView = (TextView) view;
Story story = getItem(position);
String text = String.format("%s - %s", story.getReference(), story.getAuthor());
textView.setText(text);
... | public View getView(int position, View convertView, ViewGroup parent)
{
View view = super.getView(position, convertView, parent);
TextView textView = (TextView) view;
Story story = getItem(position);
String text = String.format("%s - %s", story.getReference(), story.getAuthor());
textView.setText(text);
... |
diff --git a/modules/activiti-engine/src/test/java/org/activiti/examples/bpmn/authorization/StartAuthorizationTest.java b/modules/activiti-engine/src/test/java/org/activiti/examples/bpmn/authorization/StartAuthorizationTest.java
index da9790c..00a4d15 100644
--- a/modules/activiti-engine/src/test/java/org/activiti/exam... | false | true | public void testProcessDefinitionList() throws Exception {
setUpUsersAndGroups();
try {
// Process 1 has no potential starters
ProcessDefinition latestProcessDef = repositoryService
.createProcessDefinitionQuery().processDefinitionKey("process1")
.singleResult... | public void testProcessDefinitionList() throws Exception {
setUpUsersAndGroups();
try {
// Process 1 has no potential starters
ProcessDefinition latestProcessDef = repositoryService
.createProcessDefinitionQuery().processDefinitionKey("process1")
.singleResult... |
diff --git a/max-prob-segment-web/src/main/java/db/migration/WordItemCreator.java b/max-prob-segment-web/src/main/java/db/migration/WordItemCreator.java
index 2904458..87cffce 100644
--- a/max-prob-segment-web/src/main/java/db/migration/WordItemCreator.java
+++ b/max-prob-segment-web/src/main/java/db/migration/WordItem... | false | true | private void createWordPinyinRelation(JdbcTemplate jdbcTemplate, int wordId, String wordName) {
if (wordName.length() == 1) {
NodeRepository observeBank = WordToPinyinClassfierFactory.apply().getClassifier().getModel().getObserveBank();
Node o = observeBank.get(wordName);
... | private void createWordPinyinRelation(JdbcTemplate jdbcTemplate, int wordId, String wordName) {
if (wordName.length() == 1) {
NodeRepository observeBank = WordToPinyinClassfierFactory.apply().getClassifier().model().getObserveBank();
Node o = observeBank.get(wordName);
if... |
diff --git a/astCreator/src/main/java/com/lausdahl/ast/creator/env/Environment.java b/astCreator/src/main/java/com/lausdahl/ast/creator/env/Environment.java
index 8962b55..7164952 100644
--- a/astCreator/src/main/java/com/lausdahl/ast/creator/env/Environment.java
+++ b/astCreator/src/main/java/com/lausdahl/ast/creator/... | true | true | public IInterfaceDefinition lookupTagPath(String path, boolean generalize)
throws AstCreatorException {
if (path == null)
return null;
List<IClassDefinition> possibleResult = null;
String[] parts = path.split("\\.");
// okay we have a path a.b.c and so on.
// Lookup all interface and classes for each... | public IInterfaceDefinition lookupTagPath(String path, boolean generalize)
throws AstCreatorException {
if (path == null)
return null;
List<IClassDefinition> possibleResult = null;
String[] parts = path.split("\\.");
// okay we have a path a.b.c and so on.
// Lookup all interface and classes for each... |
diff --git a/CommandsEX/src/com/github/zathrus_writer/commandsex/api/FreezeAPI.java b/CommandsEX/src/com/github/zathrus_writer/commandsex/api/FreezeAPI.java
index 1ba3da9..5545afe 100644
--- a/CommandsEX/src/com/github/zathrus_writer/commandsex/api/FreezeAPI.java
+++ b/CommandsEX/src/com/github/zathrus_writer/commandse... | true | true | public static void toggleFrozen(Player player){
// initialize event listeners if they have not been enabled already
if (Common.plugin == null){
new Common();
}
Common.frozenPlayers.add(player.getName());
}
| public static void toggleFrozen(Player player){
// initialize event listeners if they have not been enabled already
if (Common.plugin == null){
new Common();
}
if (isPlayerFrozen(player)){
Common.frozenPlayers.remove(player.getName());
} else {
Common.frozenPlayers.add(player.getName());
}
}
|
diff --git a/waterken/genkey/src/org/waterken/genkey/GenKey.java b/waterken/genkey/src/org/waterken/genkey/GenKey.java
index 33799dac..f5256a87 100644
--- a/waterken/genkey/src/org/waterken/genkey/GenKey.java
+++ b/waterken/genkey/src/org/waterken/genkey/GenKey.java
@@ -1,304 +1,304 @@
// Copyright 2007 Waterken Inc. ... | true | true | static public void
main(final String[] args) throws Exception {
final int strength = 0 < args.length ? Integer.parseInt(args[0]) : 80;
final String suffix = 1 < args.length ? args[1] : ".yurl.net";
final int keysize =
80 >= strength
? 1024
: 112 >=... | static public void
main(final String[] args) throws Exception {
final int strength = 0 < args.length ? Integer.parseInt(args[0]) : 80;
final String suffix = 1 < args.length ? args[1] : ".yurl.net";
final int keysize =
80 >= strength
? 1024
: 112 >=... |
diff --git a/maven-project/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java b/maven-project/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
index f7a61839d..a4b9818fa 100644
--- a/maven-project/src/test/java/org/apache/maven/project/inheritance/t02/Pr... | false | true | public void testProjectInheritance()
throws Exception
{
File localRepo = getLocalRepositoryPath();
System.out.println( "Local repository is at: " + localRepo.getAbsolutePath() );
File pom0 = new File( localRepo, "p0/pom.xml" );
File pom1 = new File( pom0... | public void testProjectInheritance()
throws Exception
{
File localRepo = getLocalRepositoryPath();
System.out.println( "Local repository is at: " + localRepo.getAbsolutePath() );
File pom0 = new File( localRepo, "p0/pom.xml" );
File pom1 = new File( pom0... |
diff --git a/atlas-web/src/main/java/ae3/service/structuredquery/AtlasGenePropertyService.java b/atlas-web/src/main/java/ae3/service/structuredquery/AtlasGenePropertyService.java
index 4b3bec6fb..4607c8dee 100644
--- a/atlas-web/src/main/java/ae3/service/structuredquery/AtlasGenePropertyService.java
+++ b/atlas-web/src... | true | true | private void findAutoCompleteGenes(final String query, final String prefix, List<AutoCompleteItem> res, Set<String> ids) {
SolrQuery q = new SolrQuery(query);
q.setStart(0);
q.setRows(50);
for(String field : nameFields)
q.addField(field);
q.addField("species");
... | private void findAutoCompleteGenes(final String query, final String prefix, List<AutoCompleteItem> res, Set<String> ids) {
SolrQuery q = new SolrQuery(query);
q.setStart(0);
q.setRows(50);
for(String field : nameProperties)
q.addField("property_" + field);
q.addFi... |
diff --git a/java/ASAP2WAV.java b/java/ASAP2WAV.java
index c2bc9c6..e9b243e 100644
--- a/java/ASAP2WAV.java
+++ b/java/ASAP2WAV.java
@@ -1,206 +1,206 @@
/*
* ASAP2WAV.java - converter of ASAP-supported formats to WAV files
*
* Copyright (C) 2007-2008 Piotr Fusik
*
* This file is part of ASAP (Another Slight... | true | true | private static void processFile(String inputFilename) throws IOException
{
InputStream is = new FileInputStream(inputFilename);
byte[] module = new byte[ASAP.MODULE_MAX];
int module_len = is.read(module);
is.close();
ASAP asap = new ASAP();
asap.load(inputFilename, module, module_len);
ASAP_ModuleInfo m... | private static void processFile(String inputFilename) throws IOException
{
InputStream is = new FileInputStream(inputFilename);
byte[] module = new byte[ASAP.MODULE_MAX];
int module_len = is.read(module);
is.close();
ASAP asap = new ASAP();
asap.load(inputFilename, module, module_len);
ASAP_ModuleInfo m... |
diff --git a/src/main/org/codehaus/groovy/control/ErrorCollector.java b/src/main/org/codehaus/groovy/control/ErrorCollector.java
index 9ed6181ed..716ab78a1 100644
--- a/src/main/org/codehaus/groovy/control/ErrorCollector.java
+++ b/src/main/org/codehaus/groovy/control/ErrorCollector.java
@@ -1,373 +1,373 @@
/*
$Id$
... | false | true | public void write(PrintWriter writer, Janitor janitor) {
if (this.warnings != null) {
Iterator iterator = this.warnings.iterator();
while (iterator.hasNext()) {
WarningMessage warning = (WarningMessage) iterator.next();
warning.write(writer, janitor);
... | public void write(PrintWriter writer, Janitor janitor) {
if (this.warnings != null) {
Iterator iterator = this.warnings.iterator();
while (iterator.hasNext()) {
WarningMessage warning = (WarningMessage) iterator.next();
warning.write(writer, janitor);
... |
diff --git a/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.java b/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.java
index b969693d3..ec013a768 100644
--- a/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.java
+++ b/src/main/java/me/eccentric_nz/TARDIS/commands/TARDISCommands.... | false | true | public boolean onCommand(final CommandSender sender, Command cmd, String label, String[] args) {
// If the player typed /tardis then do the following...
// check there is the right number of arguments
if (cmd.getName().equalsIgnoreCase("tardis")) {
Player player = null;
... | public boolean onCommand(final CommandSender sender, Command cmd, String label, String[] args) {
// If the player typed /tardis then do the following...
// check there is the right number of arguments
if (cmd.getName().equalsIgnoreCase("tardis")) {
Player player = null;
... |
diff --git a/servicemix-wsn2005/src/main/java/org/apache/servicemix/wsn/component/WSNEndpoint.java b/servicemix-wsn2005/src/main/java/org/apache/servicemix/wsn/component/WSNEndpoint.java
index 6f790cd93..798be93bb 100644
--- a/servicemix-wsn2005/src/main/java/org/apache/servicemix/wsn/component/WSNEndpoint.java
+++ b/s... | true | true | public void process(MessageExchange exchange) throws Exception {
if (exchange.getStatus() == ExchangeStatus.DONE) {
return;
} else if (exchange.getStatus() == ExchangeStatus.ERROR) {
exchange.setStatus(ExchangeStatus.DONE);
channel.send(exchange);
return;
}
Object input = jaxbContext.createUnmarsha... | public void process(MessageExchange exchange) throws Exception {
if (exchange.getStatus() == ExchangeStatus.DONE) {
return;
} else if (exchange.getStatus() == ExchangeStatus.ERROR) {
return;
}
Object input = jaxbContext.createUnmarshaller().unmarshal(exchange.getMessage("in").getContent());
Method webM... |
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/Policy.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/Policy.java
index bf32ba819..1e69d5b76 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/Policy.java
+++ b/b... | true | true | public static void printProtocol(String string, boolean newLine) {
System.out.print(string);
if (newLine) {
System.out.println();
}
if (recorder != null) {
recorder.print(string);
if (newLine) {
recorder.println();
}
... | public static void printProtocol(String string, boolean newLine) {
if (DEBUG_CVS_PROTOCOL) {
System.out.print(string);
if (newLine) {
System.out.println();
}
}
if (recorder != null) {
recorder.print(string);
if (newLine) {
... |
diff --git a/modules/dCache/org/dcache/pool/p2p/Companion.java b/modules/dCache/org/dcache/pool/p2p/Companion.java
index dfd562f8a3..24d7974ef6 100644
--- a/modules/dCache/org/dcache/pool/p2p/Companion.java
+++ b/modules/dCache/org/dcache/pool/p2p/Companion.java
@@ -1,652 +1,654 @@
package org.dcache.pool.p2p;
impo... | true | true | private void runIO(DataInputStream in, DataOutputStream out,
File file, long filesize)
throws IOException, CacheException, InterruptedException,
UnknownHostException, NoSuchAlgorithmException,
NoRouteToCellException
{
MessageDigest digest =
... | private void runIO(DataInputStream in, DataOutputStream out,
File file, long filesize)
throws IOException, CacheException, InterruptedException,
UnknownHostException, NoSuchAlgorithmException,
NoRouteToCellException
{
MessageDigest digest =
... |
diff --git a/src/no/runsafe/framework/hook/HookEngine.java b/src/no/runsafe/framework/hook/HookEngine.java
index 73945a26..1ba2c17e 100644
--- a/src/no/runsafe/framework/hook/HookEngine.java
+++ b/src/no/runsafe/framework/hook/HookEngine.java
@@ -1,34 +1,32 @@
package no.runsafe.framework.hook;
import org.picoconta... | true | true | public HookEngine(FrameworkHook[] hooks)
{
for (FrameworkHook hook : hooks)
{
// Do this to avoid exceptions..
hookContainer.removeComponent(hook);
hookContainer.addComponent(hook);
}
}
| public HookEngine(FrameworkHook[] hooks)
{
for (FrameworkHook hook : hooks)
{
hookContainer.addComponent(hook);
}
}
|
diff --git a/src/org/apxeolog/salem/SToolbar.java b/src/org/apxeolog/salem/SToolbar.java
index 7eeb3d5..026f9c3 100644
--- a/src/org/apxeolog/salem/SToolbar.java
+++ b/src/org/apxeolog/salem/SToolbar.java
@@ -1,335 +1,337 @@
package org.apxeolog.salem;
import java.awt.Color;
import java.awt.event.KeyEvent;
import... | true | true | public void draw(GOut initGL){
super.draw(initGL);
if(isMinimized) return;
Coord backDraw;
int limit;
if(isVert)
limit = barSize.y;
else
limit = barSize.x;
for(int i = 0; i < limit; i++) {
if(isVert) backDraw = new Coord(0, bGSize.y*i);
else backDraw = new Coord(bGSize.x*i, 0);
backDraw = ... | public void draw(GOut initGL){
super.draw(initGL);
if(isMinimized) return;
Coord backDraw;
int limit;
if(isVert)
limit = barSize.y;
else
limit = barSize.x;
for(int i = 0; i < limit; i++) {
if(isVert) backDraw = new Coord(0, bGSize.y*i);
else backDraw = new Coord(bGSize.x*i, 0);
backDraw = ... |
diff --git a/net/sf/mpxj/utility/DateUtility.java b/net/sf/mpxj/utility/DateUtility.java
index 4ac4fae..dcf0bf1 100644
--- a/net/sf/mpxj/utility/DateUtility.java
+++ b/net/sf/mpxj/utility/DateUtility.java
@@ -1,304 +1,304 @@
/*
* file: DateUtility.java
* author: Jon Iles
* copyright: (c) Packwood Soft... | true | true | public static Duration getVariance (Task task, Date date1, Date date2, TimeUnit format)
{
Duration variance = null;
if (date1 != null & date2 != null)
{
ProjectCalendar calendar = task.getCalendar();
if (calendar == null)
{
ProjectFile file = task.ge... | public static Duration getVariance (Task task, Date date1, Date date2, TimeUnit format)
{
Duration variance = null;
if (date1 != null && date2 != null)
{
ProjectCalendar calendar = task.getCalendar();
if (calendar == null)
{
ProjectFile file = task.g... |
diff --git a/src/com/sun/gi/apps/swordworld/SwordWorldBoot.java b/src/com/sun/gi/apps/swordworld/SwordWorldBoot.java
index 79f5514f5..712839b24 100644
--- a/src/com/sun/gi/apps/swordworld/SwordWorldBoot.java
+++ b/src/com/sun/gi/apps/swordworld/SwordWorldBoot.java
@@ -1,403 +1,403 @@
/*
Copyright (c) 2006 Sun Micros... | true | true | public void userJoined(UserID uid, Subject subject) {
/*
* first we get the first principal
*/
Set<Principal> principles = subject.getPrincipals();
Principal principal = principles.iterator().next();
/*
* next we create a name for a named GLO by combining the
* prefix "player_" with the player's login... | public void userJoined(UserID uid, Subject subject) {
/*
* first we get the first principal
*/
Set<Principal> principles = subject.getPrincipals();
Principal principal = principles.iterator().next();
/*
* next we create a name for a named GLO by combining the
* prefix "player_" with the player's login... |
diff --git a/src/com/dmdirc/ui/swing/dialogs/about/AboutPanel.java b/src/com/dmdirc/ui/swing/dialogs/about/AboutPanel.java
index 655136225..9963489da 100644
--- a/src/com/dmdirc/ui/swing/dialogs/about/AboutPanel.java
+++ b/src/com/dmdirc/ui/swing/dialogs/about/AboutPanel.java
@@ -1,82 +1,83 @@
/*
* Copyright (c) 200... | true | true | private void initComponents() {
final HTMLLabel about = new HTMLLabel("<html>"
+ "<center style='font-family: "
+ UIManager.getFont("TextField.font").getFamily() + "; font-size:"
+ UIManager.getFont("TextField.font").getSize() + "pt;'>"
+ "<h1>... | private void initComponents() {
final HTMLLabel about = new HTMLLabel("<html>"
+ "<center style='font-family: "
+ UIManager.getFont("TextField.font").getFamily() + "; font-size:"
+ UIManager.getFont("TextField.font").getSize() + "pt;'>"
+ "<h1 ... |
diff --git a/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java b/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java
index 600ffcca0..5ed4c14d7 100644
--- a/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSelect.java
+++ b/ace/component/src/org/icefaces/ace/co... | false | true | public Collection<String> getThemeList(FacesContext context) throws IOException {
Map<String, Object> appMap = context.getExternalContext().getApplicationMap();
String THEME_LIST = Constants.THEME_PARAM + ".list";
Collection<String> themeList = (Collection<String>) appMap.get(THEME_LIST);
... | public Collection<String> getThemeList(FacesContext context) throws IOException {
Map<String, Object> appMap = context.getExternalContext().getApplicationMap();
String THEME_LIST = Constants.THEME_PARAM + ".list";
Collection<String> themeList = (Collection<String>) appMap.get(THEME_LIST);
... |
diff --git a/src/myGame/motors/MotorControl.java b/src/myGame/motors/MotorControl.java
index 98744dd..d6477ce 100644
--- a/src/myGame/motors/MotorControl.java
+++ b/src/myGame/motors/MotorControl.java
@@ -1,57 +1,57 @@
package myGame.motors;
import com.jme3.bullet.control.RigidBodyControl;
import com.jme3.math.Fas... | true | true | protected void controlUpdate(float tpf) {
float force = 0;
for (int i = 0; i < 4; i++) {
motors[i].update();
force = motors[i].getCurrentForce();
Vector2f angle = new Vector2f(FastMath.cos(i * FastMath.PI),
FastMath.sin(i * FastMath.PI));
Vector3f tAngle = new Vector3f(angle.x, 0, angle.y).mult(13... | protected void controlUpdate(float tpf) {
float force = 0;
for (int i = 0; i < 4; i++) {
motors[i].update();
force = motors[i].getCurrentForce();
Vector2f angle = new Vector2f(FastMath.cos(i * (FastMath.PI / 2f)),
FastMath.sin(i * (FastMath.PI / 2f)));
Vector3f tAngle = new Vector3f(angle.x, 0, an... |
diff --git a/src/com/philiptorchinsky/TimeAppe/MainActivity.java b/src/com/philiptorchinsky/TimeAppe/MainActivity.java
index 6d7a39d..fc465c5 100644
--- a/src/com/philiptorchinsky/TimeAppe/MainActivity.java
+++ b/src/com/philiptorchinsky/TimeAppe/MainActivity.java
@@ -1,95 +1,95 @@
package com.philiptorchinsky.TimeApp... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
dh = new DBAdapter (this);
dh.open();
// dh.destroy();
// dh.close();
//
// dh = new DBAdapter (this);
dh.insert("TeamCity training", "inactive", 0,0);
dh.insert("Androi... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
dh = new DBAdapter (this);
dh.open();
// dh.destroy();
// dh.close();
//
// dh = new DBAdapter (this);
dh.insert("TeamCity training", "inactive", 0,0);
dh.insert("Androi... |
diff --git a/topcat/src/main/uk/ac/starlink/topcat/MethodWindow.java b/topcat/src/main/uk/ac/starlink/topcat/MethodWindow.java
index 92c43cb34..da8ccc2c4 100644
--- a/topcat/src/main/uk/ac/starlink/topcat/MethodWindow.java
+++ b/topcat/src/main/uk/ac/starlink/topcat/MethodWindow.java
@@ -1,228 +1,228 @@
package uk.ac.... | true | true | public MethodWindow( Component parent ) {
super( "Available Methods", null );
/* Put class information into the tree. */
for ( Iterator it = staticClasses.iterator(); it.hasNext(); ) {
Class clazz = (Class) it.next();
if ( ! clazz.equals( JELUtils.class ) ) {
... | public MethodWindow( Component parent ) {
super( "Available Methods", parent );
/* Put class information into the tree. */
for ( Iterator it = staticClasses.iterator(); it.hasNext(); ) {
Class clazz = (Class) it.next();
if ( ! clazz.equals( JELUtils.class ) ) {
... |
diff --git a/source/RMG/InchifyCHEMKINusingDictionary.java b/source/RMG/InchifyCHEMKINusingDictionary.java
index ea70bf9e..e5faf77e 100644
--- a/source/RMG/InchifyCHEMKINusingDictionary.java
+++ b/source/RMG/InchifyCHEMKINusingDictionary.java
@@ -1,92 +1,91 @@
//this utility adds (modified) inchis as comments to Chemk... | true | true | public static void main(String[] args) {
String workingDir = System.getenv("RMG");
System.setProperty("RMG.workingDirectory", workingDir);
//1. read the Dictionary file, converting to modified inchis along the way and adding them into inchiDict HashMap
HashMap inchiDict = new HashMap();
t... | public static void main(String[] args) {
RMG.globalInitializeSystemProperties();
//1. read the Dictionary file, converting to modified inchis along the way and adding them into inchiDict HashMap
HashMap inchiDict = new HashMap();
try {
FileReader in = new FileReader(args[0]);
... |
diff --git a/src/com/contoso/services/TodoServices.java b/src/com/contoso/services/TodoServices.java
index 91d964b..524647e 100644
--- a/src/com/contoso/services/TodoServices.java
+++ b/src/com/contoso/services/TodoServices.java
@@ -1,69 +1,70 @@
package com.contoso.services;
import java.io.IOException;
import jav... | true | true | private TodoItem[] getTestItems() {
List items = new ArrayList();
items.add(new TodoItem("Deliver paper"));
items.add(new TodoItem("Pick up milk"));
items.add(new TodoItem("Mow the lawn"));
return (TodoItem[])items.toArray(new TodoItem[items.size()]);
}
| private TodoItem[] getTestItems() {
List items = new ArrayList();
items.add(new TodoItem("Get AWS deployment to work"));
items.add(new TodoItem("Deliver paper"));
items.add(new TodoItem("Pick up milk"));
items.add(new TodoItem("Mow the lawn"));
return (TodoItem[])items.toArray(new TodoItem[items.size... |
diff --git a/src/main/java/com/onarandombox/MultiverseNetherPortals/listeners/MVNPConfigReloadListener.java b/src/main/java/com/onarandombox/MultiverseNetherPortals/listeners/MVNPConfigReloadListener.java
index 81264db..a868fd7 100644
--- a/src/main/java/com/onarandombox/MultiverseNetherPortals/listeners/MVNPConfigRelo... | false | true | public void onCustomEvent(Event event) {
if(event instanceof MVConfigReloadEvent) {
plugin.loadConfig();
((MVConfigReloadEvent)event).addConfig("Multiverse-NetherPortals - config.yml");
} else if(event instanceof MVVersionRequestEvent) {
((MVVersionRequestEvent)ev... | public void onCustomEvent(Event event) {
if(event.getEventName().equals("MVConfigReload") && event instanceof MVConfigReloadEvent) {
plugin.loadConfig();
((MVConfigReloadEvent)event).addConfig("Multiverse-NetherPortals - config.yml");
} else if(event.getEventName().equals("MV... |
diff --git a/src/org/kohsuke/stapler/idea/I18nRefactorAction.java b/src/org/kohsuke/stapler/idea/I18nRefactorAction.java
index e69f53a..f48e78c 100644
--- a/src/org/kohsuke/stapler/idea/I18nRefactorAction.java
+++ b/src/org/kohsuke/stapler/idea/I18nRefactorAction.java
@@ -1,239 +1,239 @@
package org.kohsuke.stapler.id... | true | true | public I18nRefactorAction() {
super(new EditorActionHandler() {
public void execute(final Editor editor, DataContext dataContext) {
if (editor == null) // be defensive
return;
SelectionModel selectionModel = editor.getSelectionModel();
// ... | public I18nRefactorAction() {
super(new EditorActionHandler() {
public void execute(final Editor editor, DataContext dataContext) {
if (editor == null) // be defensive
return;
SelectionModel selectionModel = editor.getSelectionModel();
// ... |
diff --git a/drools-compiler/src/test/java/org/drools/integrationtests/StreamsTest.java b/drools-compiler/src/test/java/org/drools/integrationtests/StreamsTest.java
index 0b13f3383b..1197b5eaf3 100644
--- a/drools-compiler/src/test/java/org/drools/integrationtests/StreamsTest.java
+++ b/drools-compiler/src/test/java/or... | true | true | public void testEventAssertion() throws Exception {
// read in the source
KnowledgeBase kbase = loadKnowledgeBase( "test_EntryPoint.drl" );
//final RuleBase ruleBase = loadRuleBase( reader );
KnowledgeSessionConfiguration conf = new SessionConfiguration();
((SessionConfigura... | public void testEventAssertion() throws Exception {
// read in the source
KnowledgeBase kbase = loadKnowledgeBase( "test_EntryPoint.drl" );
//final RuleBase ruleBase = loadRuleBase( reader );
KnowledgeSessionConfiguration conf = new SessionConfiguration();
((SessionConfigura... |
diff --git a/src/cz/krtinec/birthday/data/BirthdayProvider.java b/src/cz/krtinec/birthday/data/BirthdayProvider.java
index fb5c707..fad7aac 100644
--- a/src/cz/krtinec/birthday/data/BirthdayProvider.java
+++ b/src/cz/krtinec/birthday/data/BirthdayProvider.java
@@ -1,129 +1,127 @@
package cz.krtinec.birthday.data;
i... | false | true | public static List<BContact> upcomingBirthday(Context ctx, String fromDate, String toDate, boolean nextYear) {
Uri dataUri = ContactsContract.Data.CONTENT_URI;
String[] projection = new String[] { ContactsContract.Contacts.DISPLAY_NAME,
ContactsContract.CommonDataKinds.Event.CON... | public static List<BContact> upcomingBirthday(Context ctx, String fromDate, String toDate, boolean nextYear) {
Uri dataUri = ContactsContract.Data.CONTENT_URI;
String[] projection = new String[] { ContactsContract.Contacts.DISPLAY_NAME,
ContactsContract.CommonDataKinds.Event.CON... |
diff --git a/src/ibis/satin/impl/sharedObjects/SOCommunication.java b/src/ibis/satin/impl/sharedObjects/SOCommunication.java
index 60cfc502..29cbb725 100644
--- a/src/ibis/satin/impl/sharedObjects/SOCommunication.java
+++ b/src/ibis/satin/impl/sharedObjects/SOCommunication.java
@@ -1,699 +1,699 @@
// @@@ msg combining... | false | true | protected void handleSORequests() {
s.so.gotSORequests = false;
WriteMessage wm;
long size;
IbisIdentifier origin;
String objid;
boolean demand;
while (true) {
Victim v;
synchronized (s) {
if (s.so.SORequestList... | protected void handleSORequests() {
s.so.gotSORequests = false;
WriteMessage wm;
long size;
IbisIdentifier origin;
String objid;
boolean demand;
while (true) {
Victim v;
synchronized (s) {
if (s.so.SORequestList... |
diff --git a/src/main/java/org/spoutcraft/launcher/skin/MetroLoginFrame.java b/src/main/java/org/spoutcraft/launcher/skin/MetroLoginFrame.java
index e4888b6..8dcbd95 100644
--- a/src/main/java/org/spoutcraft/launcher/skin/MetroLoginFrame.java
+++ b/src/main/java/org/spoutcraft/launcher/skin/MetroLoginFrame.java
@@ -1,6... | false | true | private void initComponents() {
Font minecraft = getMinecraftFont(12);
// Login background box
RoundedBox loginArea = new RoundedBox(TRANSPARENT);
loginArea.setBounds(605, 377, 265, 83);
// Setup username box
name = new LiteTextBox(this, "Username...");
name.setBounds(loginArea.getX() + 15, loginArea.g... | private void initComponents() {
Font minecraft = getMinecraftFont(12);
// Login background box
RoundedBox loginArea = new RoundedBox(TRANSPARENT);
loginArea.setBounds(605, 377, 265, 83);
// Setup username box
name = new LiteTextBox(this, "Username...");
name.setBounds(loginArea.getX() + 15, loginArea.g... |
diff --git a/src/uk/me/parabola/mkgmap/build/MapSplitter.java b/src/uk/me/parabola/mkgmap/build/MapSplitter.java
index b9341b5a..a9e0ebd1 100644
--- a/src/uk/me/parabola/mkgmap/build/MapSplitter.java
+++ b/src/uk/me/parabola/mkgmap/build/MapSplitter.java
@@ -1,212 +1,211 @@
/*
* Copyright (C) 2007 Steve Ratcliffe
... | false | true | private void addAreasToList(MapArea[] areas, List<MapArea> alist, int depth) {
int res = zoom.getResolution();
for (MapArea area : areas) {
Area bounds = area.getBounds();
int[] sizes = area.getEstimatedSizes();
if(log.isInfoEnabled()) {
String padding = depth + " ... | private void addAreasToList(MapArea[] areas, List<MapArea> alist, int depth) {
int res = zoom.getResolution();
for (MapArea area : areas) {
Area bounds = area.getBounds();
int[] sizes = area.getEstimatedSizes();
if(log.isInfoEnabled()) {
String padding = depth + " ... |
diff --git a/src/net/happygiraffe/jslint/JSLint.java b/src/net/happygiraffe/jslint/JSLint.java
index 819eed6..51d93c5 100644
--- a/src/net/happygiraffe/jslint/JSLint.java
+++ b/src/net/happygiraffe/jslint/JSLint.java
@@ -1,124 +1,124 @@
package net.happygiraffe.jslint;
import java.io.BufferedReader;
import java.io... | false | true | public List<Issue> lint(String systemId, String javaScript) {
String src = javaScript == null ? "" : javaScript;
Object[] args = new Object[] { src, optionsAsJavaScriptObject() };
Function lintFunc = (Function) scope.get("JSLINT", scope);
Boolean ok = (Boolean) lintFunc.call(ctx, sco... | public List<Issue> lint(String systemId, String javaScript) {
String src = javaScript == null ? "" : javaScript;
Object[] args = new Object[] { src, optionsAsJavaScriptObject() };
Function lintFunc = (Function) scope.get("JSLINT", scope);
// JSLINT actually returns a boolean, but we ... |
diff --git a/jamwiki-web/src/main/java/org/jamwiki/search/LuceneSearchEngine.java b/jamwiki-web/src/main/java/org/jamwiki/search/LuceneSearchEngine.java
index c6b12cbb..d3700263 100644
--- a/jamwiki-web/src/main/java/org/jamwiki/search/LuceneSearchEngine.java
+++ b/jamwiki-web/src/main/java/org/jamwiki/search/LuceneSea... | true | true | public synchronized void refreshIndex() throws Exception {
List<VirtualWiki> allWikis = WikiBase.getDataHandler().getVirtualWikiList();
Topic topic;
for (VirtualWiki virtualWiki : allWikis) {
long start = System.currentTimeMillis();
int count = 0;
FSDirectory directory = FSDirectory.open(this.getSearchI... | public synchronized void refreshIndex() throws Exception {
List<VirtualWiki> allWikis = WikiBase.getDataHandler().getVirtualWikiList();
Topic topic;
for (VirtualWiki virtualWiki : allWikis) {
long start = System.currentTimeMillis();
int count = 0;
FSDirectory directory = FSDirectory.open(this.getSearchI... |
diff --git a/webscrambles/src_tnoodle_resources/tnoodleServerHandler/webscrambles/ScrambleRequest.java b/webscrambles/src_tnoodle_resources/tnoodleServerHandler/webscrambles/ScrambleRequest.java
index 7c0b23c3..7432baca 100644
--- a/webscrambles/src_tnoodle_resources/tnoodleServerHandler/webscrambles/ScrambleRequest.ja... | false | true | private static void addScrambles(PdfWriter docWriter, Document doc, ScrambleRequest scrambleRequest, String globalTitle) throws DocumentException, IOException {
azzert(scrambleRequest.count == scrambleRequest.scrambles.length);
HashMap<String, Color> colorScheme = scrambleRequest.colorScheme;
Rectangle pageSi... | private static void addScrambles(PdfWriter docWriter, Document doc, ScrambleRequest scrambleRequest, String globalTitle) throws DocumentException, IOException {
azzert(scrambleRequest.count == scrambleRequest.scrambles.length);
HashMap<String, Color> colorScheme = scrambleRequest.colorScheme;
Rectangle pageSi... |
diff --git a/src/fr/utbm/vi51/gui/Panel.java b/src/fr/utbm/vi51/gui/Panel.java
index f6d5f58..9dc1a29 100644
--- a/src/fr/utbm/vi51/gui/Panel.java
+++ b/src/fr/utbm/vi51/gui/Panel.java
@@ -1,97 +1,97 @@
package fr.utbm.vi51.gui;
import java.awt.Graphics;
import java.awt.event.KeyAdapter;
import java.awt.event.Key... | false | true | public Panel() {
this.setFocusable(true);
this.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent ke) {
if (ke.getKeyCode() == KeyEvent.VK_UP) {
originY--;
originY = Math.max(0, originY);
}
... | public Panel() {
this.setFocusable(true);
this.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent ke) {
if (ke.getKeyCode() == KeyEvent.VK_UP) {
originY--;
originY = Math.max(0, originY);
}
... |
diff --git a/src/org/meta_environment/rascal/interpreter/staticErrors/ModuleLoadError.java b/src/org/meta_environment/rascal/interpreter/staticErrors/ModuleLoadError.java
index 297f22dbfe..a266e76f29 100644
--- a/src/org/meta_environment/rascal/interpreter/staticErrors/ModuleLoadError.java
+++ b/src/org/meta_environmen... | true | true | public ModuleLoadError(String name, String cause, AbstractAST ast) {
super("Could not load module " + name + ": " + cause, ast);
}
| public ModuleLoadError(String name, String cause, AbstractAST ast) {
super("Could not load module " + name + (cause != null ? (": " + cause) : ""), ast);
}
|
diff --git a/src/com/t2/mtbi/activity/qa/SimpleQAManagerActivity.java b/src/com/t2/mtbi/activity/qa/SimpleQAManagerActivity.java
index 413bd43..eda2210 100644
--- a/src/com/t2/mtbi/activity/qa/SimpleQAManagerActivity.java
+++ b/src/com/t2/mtbi/activity/qa/SimpleQAManagerActivity.java
@@ -1,160 +1,162 @@
package com.t2... | true | true | private void sendResults() {
try {
File outputFile = new File(Environment.getExternalStorageDirectory(), "results.csv");
outputFile.deleteOnExit();
if(!(outputFile.exists() && outputFile.delete())) {
return;
}
BufferedWriter fw = new BufferedWriter(new FileWriter(outputFile));
if(this.showTot... | private void sendResults() {
try {
File outputFile = new File(Environment.getExternalStorageDirectory(), "results.csv");
outputFile.deleteOnExit();
if(outputFile.exists()) {
if(!outputFile.delete()) {
return;
}
}
BufferedWriter fw = new BufferedWriter(new FileWriter(outputFile));
if(... |
diff --git a/org.emftext.sdk.concretesyntax.resource.cs/src/org/emftext/sdk/concretesyntax/resource/cs/postprocessing/syntax_annotations/ImportWarnings.java b/org.emftext.sdk.concretesyntax.resource.cs/src/org/emftext/sdk/concretesyntax/resource/cs/postprocessing/syntax_annotations/ImportWarnings.java
index 0b6b87994..... | true | true | private void movedWarningsFromImportsToMainSyntax(Import mainImport, Import currentImport, Set<Import> handledImports) {
handledImports.add(currentImport);
ConcreteSyntax importedSyntax = currentImport.getConcreteSyntax();
for (IProblemWrapper warning : getContext().getWarnings()) {
EObject cause = warning.ge... | private void movedWarningsFromImportsToMainSyntax(Import mainImport, Import currentImport, Set<Import> handledImports) {
handledImports.add(currentImport);
ConcreteSyntax importedSyntax = currentImport.getConcreteSyntax();
if (importedSyntax == null) {
return;
}
for (IProblemWrapper warning : getContext()... |
diff --git a/apps/Locals/src/com/overlakehome/locals/PlacesActivity.java b/apps/Locals/src/com/overlakehome/locals/PlacesActivity.java
index 65636e7..0a3a7a3 100644
--- a/apps/Locals/src/com/overlakehome/locals/PlacesActivity.java
+++ b/apps/Locals/src/com/overlakehome/locals/PlacesActivity.java
@@ -1,94 +1,96 @@
pack... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.places);
TextView tv = (TextView)findViewById(R.id.placesTextView1);
tv.setText("Nearby 14008 NE 63RD CT, Redmond, WA\n(42.333, -122.303)");
ListView lv = (ListV... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.places);
TextView tv = (TextView)findViewById(R.id.placesNearby);
tv.setText("Nearby ");
TextView tv2 = (TextView)findViewById(R.id.placesNearbyAddress);
... |
diff --git a/ddms/libs/ddmlib/src/com/android/ddmlib/MultiLineReceiver.java b/ddms/libs/ddmlib/src/com/android/ddmlib/MultiLineReceiver.java
index 24dbb0544..f3d941228 100644
--- a/ddms/libs/ddmlib/src/com/android/ddmlib/MultiLineReceiver.java
+++ b/ddms/libs/ddmlib/src/com/android/ddmlib/MultiLineReceiver.java
@@ -1,1... | true | true | public final void addOutput(byte[] data, int offset, int length) {
if (isCancelled() == false) {
String s = null;
try {
s = new String(data, offset, length, "ISO-8859-1"); //$NON-NLS-1$
} catch (UnsupportedEncodingException e) {
// normal e... | public final void addOutput(byte[] data, int offset, int length) {
if (isCancelled() == false) {
String s = null;
try {
s = new String(data, offset, length, "UTF-8"); //$NON-NLS-1$
} catch (UnsupportedEncodingException e) {
// normal encodi... |
diff --git a/src/org/pentaho/pac/client/scheduler/SolutionRepositoryItemPickerValidator.java b/src/org/pentaho/pac/client/scheduler/SolutionRepositoryItemPickerValidator.java
index aa3a909..780f323 100644
--- a/src/org/pentaho/pac/client/scheduler/SolutionRepositoryItemPickerValidator.java
+++ b/src/org/pentaho/pac/cli... | false | true | public boolean isValid() {
boolean isValid = true;
String solution = solRepPicker.getSolution();
if ( StringUtils.isEmpty( solution ) ) {
isValid = false;
solRepPicker.setActionError( "Solution name cannot be empty." );
}
String path = solRepPicker.getPath();
if ( StringU... | public boolean isValid() {
boolean isValid = true;
String solution = solRepPicker.getSolution();
if ( StringUtils.isEmpty( solution ) ) {
isValid = false;
solRepPicker.setSolutionError( "Solution name cannot be empty." );
}
String path = solRepPicker.getPath();
if ( Strin... |
diff --git a/uk.ac.gda.epics/src/gda/device/detector/areadetector/v17/impl/ADDriverPilatusImpl.java b/uk.ac.gda.epics/src/gda/device/detector/areadetector/v17/impl/ADDriverPilatusImpl.java
index 6a758cfe..f193429a 100644
--- a/uk.ac.gda.epics/src/gda/device/detector/areadetector/v17/impl/ADDriverPilatusImpl.java
+++ b/... | true | true | private void createLazyPvs() throws Exception {
pvArmed = LazyPVFactory.newReadOnlyBooleanFromIntegerPV((config == null) ?
fullname("Armed") : getPvName(config.getArmed()));
pvDelayTime = LazyPVFactory.newFloatPV((config == null) ?
fullname("DelayTime") : getPvName(config.getDelayTime()));
pvDelayTi... | private void createLazyPvs() throws Exception {
pvArmed = LazyPVFactory.newReadOnlyBooleanFromIntegerPV((config == null) ?
fullname("Armed") : getPvName(config.getArmed()));
pvDelayTime = LazyPVFactory.newFloatPV((config == null) ?
fullname("DelayTime") : getPvName(config.getDelayTime()));
pvDelayTi... |
diff --git a/sphinx4/src/research/com/sun/speech/engine/recognition/RuleParser.java b/sphinx4/src/research/com/sun/speech/engine/recognition/RuleParser.java
index 9990eb93b..d91fb682a 100644
--- a/sphinx4/src/research/com/sun/speech/engine/recognition/RuleParser.java
+++ b/sphinx4/src/research/com/sun/speech/engine/rec... | false | true | private List<tokenPos> parse(RuleGrammar grammar, RuleSequence rs, String[] input, int pos) {
Rule[] rarry = rs.getRules();
if (rarry == null || rarry.length == 0) {
return null;
}
List<tokenPos> p = parse(grammar, rarry[0], input, pos);
if (p == null) {
... | private List<tokenPos> parse(RuleGrammar grammar, RuleSequence rs, String[] input, int pos) {
Rule[] rarry = rs.getRules();
if (rarry == null || rarry.length == 0) {
return null;
}
List<tokenPos> p = parse(grammar, rarry[0], input, pos);
if (p == null) {
... |
diff --git a/src/org/linphone/LinphoneService.java b/src/org/linphone/LinphoneService.java
index df5d91f..68f4f8e 100644
--- a/src/org/linphone/LinphoneService.java
+++ b/src/org/linphone/LinphoneService.java
@@ -1,576 +1,576 @@
/*
LinphoneService.java
Copyright (C) 2010 Belledonne Communications, Grenoble, France
... | true | true | public void onCreate() {
super.onCreate();
// In case restart after a crash. Main in LinphoneActivity
LinphonePreferenceManager.getInstance(this);
// Set default preferences
PreferenceManager.setDefaultValues(this, R.xml.preferences, true);
mNotificationTitle = getString(R.string.app_name);
// Dum... | public void onCreate() {
super.onCreate();
// In case restart after a crash. Main in LinphoneActivity
LinphonePreferenceManager.getInstance(this);
// Set default preferences
PreferenceManager.setDefaultValues(this, R.xml.preferences, true);
mNotificationTitle = getString(R.string.app_name);
// Dum... |
diff --git a/src/com/androzic/route/RouteDetails.java b/src/com/androzic/route/RouteDetails.java
index 1e5555d..7ade635 100644
--- a/src/com/androzic/route/RouteDetails.java
+++ b/src/com/androzic/route/RouteDetails.java
@@ -1,390 +1,396 @@
/*
* Androzic - android navigation client that uses OziExplorer maps (ozf2, ... | true | true | public View getView(int position, View convertView, ViewGroup parent)
{
View v;
if (convertView == null)
{
v = mInflater.inflate(mItemLayout, parent, false);
}
else
{
v = convertView;
v = mInflater.inflate(mItemLayout, parent, false);
}
Waypoint wpt = (Waypoint) getItem(position)... | public View getView(int position, View convertView, ViewGroup parent)
{
View v;
if (convertView == null)
{
v = mInflater.inflate(mItemLayout, parent, false);
}
else
{
v = convertView;
v = mInflater.inflate(mItemLayout, parent, false);
}
Waypoint wpt = (Waypoint) getItem(position)... |
diff --git a/src/test/java/taskqueue/TaskStorageTest.java b/src/test/java/taskqueue/TaskStorageTest.java
index e6ac32b..5906cee 100644
--- a/src/test/java/taskqueue/TaskStorageTest.java
+++ b/src/test/java/taskqueue/TaskStorageTest.java
@@ -1,121 +1,122 @@
package taskqueue;
import org.junit.After;
import org.juni... | true | true | public void setup() throws Exception {
taskStorage = new TaskStorage(getProperty(JAVA_IO_TMPDIR) + "/taskqueue.db");
aTask = HttpTaskFactory.create("POST", "http://xxx.com", true)
.withParameters((new HttpParams().add("p1", "v1")).add("p2", "v2"))
.withIdentity("tes... | public void setup() throws Exception {
taskStorage = new TaskStorage(getProperty(JAVA_IO_TMPDIR) + "/taskqueue.db");
taskStorage.purge();
aTask = HttpTaskFactory.create("POST", "http://xxx.com", true)
.withParameters((new HttpParams().add("p1", "v1")).add("p2", "v2"))
... |
diff --git a/src/share/classes/com/sun/javafx/runtime/sequence/NumberRangeSequence.java b/src/share/classes/com/sun/javafx/runtime/sequence/NumberRangeSequence.java
index 2443ae824..f33315de8 100644
--- a/src/share/classes/com/sun/javafx/runtime/sequence/NumberRangeSequence.java
+++ b/src/share/classes/com/sun/javafx/r... | false | true | public NumberRangeSequence(double start, double bound, double step, boolean exclusive) {
super(Double.class);
this.start = start;
this.step = step;
long size;
if (bound == start) {
size = exclusive ? 0 : 1;
}
else if (bound > start) {
s... | public NumberRangeSequence(double start, double bound, double step, boolean exclusive) {
super(Double.class);
this.start = start;
this.step = step;
long size;
if (bound == start) {
size = exclusive ? 0 : 1;
}
else if (bound > start) {
s... |
diff --git a/htroot/Blacklist_p.java b/htroot/Blacklist_p.java
index d04d17f59..b94299776 100644
--- a/htroot/Blacklist_p.java
+++ b/htroot/Blacklist_p.java
@@ -1,601 +1,601 @@
// Blacklist_p.java
// -----------------------
// part of YaCy
// (C) by Michael Peter Christen; mc@yacy.net
// first published on http:/... | true | true | public static serverObjects respond(final httpRequestHeader header, final serverObjects post, final serverSwitch<?> env) {
// initialize the list manager
listManager.switchboard = (plasmaSwitchboard) env;
listManager.listsPath = new File(listManager.switchboard.getRootPath(),listMan... | public static serverObjects respond(final httpRequestHeader header, final serverObjects post, final serverSwitch<?> env) {
// initialize the list manager
listManager.switchboard = (plasmaSwitchboard) env;
listManager.listsPath = new File(listManager.switchboard.getRootPath(),listMan... |
diff --git a/org.eclipselab.emf.ecore.protobuf/src/org/eclipselab/emf/ecore/protobuf/internal/mapping/EClassMapperImpl.java b/org.eclipselab.emf.ecore.protobuf/src/org/eclipselab/emf/ecore/protobuf/internal/mapping/EClassMapperImpl.java
index a9f405c..cdcb4fe 100644
--- a/org.eclipselab.emf.ecore.protobuf/src/org/eclip... | true | true | private void createFields(EClass eClass, DescriptorProto.Builder pbMessage)
{
for(EStructuralFeature eFeature : eClass.getEStructuralFeatures())
{
if(shouldIgnoreFeature(eFeature)) continue;
FieldDescriptorProto.Builder pbField = pbMessage.addFieldBuilder()
.setLabel(getFieldLabel... | private void createFields(EClass eClass, DescriptorProto.Builder pbMessage)
{
for(EStructuralFeature eFeature : eClass.getEAllStructuralFeatures())
{
if(shouldIgnoreFeature(eFeature)) continue;
FieldDescriptorProto.Builder pbField = pbMessage.addFieldBuilder()
.setLabel(getFieldLa... |
diff --git a/src/org/drftpd/ActiveConnection.java b/src/org/drftpd/ActiveConnection.java
index 7da6291d..93d41dda 100644
--- a/src/org/drftpd/ActiveConnection.java
+++ b/src/org/drftpd/ActiveConnection.java
@@ -1,90 +1,90 @@
/*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD is free software; y... | true | true | public Socket connect(String[] cipherSuites) throws IOException {
logger.debug("Connecting to " + _addr.getHostName() + ":"
+ _addr.getPort());
if (_ctx != null) {
SSLSocket sslsock;
sslsock = (SSLSocket) _ctx.getSocketFactory().createSocket();
sslsock.connect(_addr, TIMEOUT);
setSockOpts(sslsock)... | public Socket connect(String[] cipherSuites) throws IOException {
logger.debug("Connecting to " + _addr.getAddress().getHostAddress() + ":" +
+ _addr.getPort());
if (_ctx != null) {
SSLSocket sslsock;
sslsock = (SSLSocket) _ctx.getSocketFactory().createSocket();
sslsock.connect(_addr, TIMEOUT);
se... |
diff --git a/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/FindByPersistentMethod.java b/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/FindByPersistentMethod.java
index c3a73915f..26c8d9897 100644
--- a/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/FindByPe... | true | true | protected Object doInvokeInternalWithExpressions(final Class clazz, String methodName, final Object[] arguments, final List expressions, String operatorInUse) {
final String operator = OPERATOR_OR.equals(operatorInUse) ? OPERATOR_OR : OPERATOR_AND;
return super.getHibernateTemplate().execute( new Hibe... | protected Object doInvokeInternalWithExpressions(final Class clazz, String methodName, final Object[] arguments, final List expressions, String operatorInUse) {
final String operator = OPERATOR_OR.equals(operatorInUse) ? OPERATOR_OR : OPERATOR_AND;
return super.getHibernateTemplate().execute( new Hibe... |
diff --git a/teachus-frontend/src/test/java/dk/teachus/frontend/TestTeachUsApplication.java b/teachus-frontend/src/test/java/dk/teachus/frontend/TestTeachUsApplication.java
index 355f407..07fc919 100644
--- a/teachus-frontend/src/test/java/dk/teachus/frontend/TestTeachUsApplication.java
+++ b/teachus-frontend/src/test/... | true | true | public void testConfiguration() throws Exception {
Server server = new Server(18081);
WebAppContext webAppContext = new WebAppContext("src/main/webapp", "/");
server.addHandler(webAppContext);
server.start();
GetMethod getWsdl = new GetMethod("http://localhost:18081/");
int status = new HttpClient().... | public void testConfiguration() throws Exception {
Server server = new Server(18081);
WebAppContext webAppContext = new WebAppContext("src/main/webapp", "/");
server.addHandler(webAppContext);
server.start();
GetMethod getWsdl = new GetMethod("http://localhost:18081/");
int status = new HttpClient().... |
diff --git a/src/main/java/com/lyndir/lhunath/snaplog/data/object/media/Media.java b/src/main/java/com/lyndir/lhunath/snaplog/data/object/media/Media.java
index 5af4b1b..3cfe328 100644
--- a/src/main/java/com/lyndir/lhunath/snaplog/data/object/media/Media.java
+++ b/src/main/java/com/lyndir/lhunath/snaplog/data/object/... | false | true | public long shotTime() {
StringBuffer shotTimeString = new StringBuffer( getName() );
// Trim the extension off the filename.
shotTimeString.delete( shotTimeString.lastIndexOf( "." ), shotTimeString.length() );
// Trim the "hidden file prefix" off the filename.
while (shot... | public long shotTime() {
StringBuffer shotTimeString = new StringBuffer( getName() );
// Trim the extension off the filename.
int extensionIndex = shotTimeString.lastIndexOf( "." );
if (extensionIndex > 0)
shotTimeString.delete( extensionIndex, shotTimeString.length() )... |
diff --git a/framework/src/main/java/org/richfaces/ui/ajax/status/AjaxStatusRenderer.java b/framework/src/main/java/org/richfaces/ui/ajax/status/AjaxStatusRenderer.java
index 0bf93235e..7553531a7 100644
--- a/framework/src/main/java/org/richfaces/ui/ajax/status/AjaxStatusRenderer.java
+++ b/framework/src/main/java/org/... | true | true | public void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
super.encodeEnd(context, component);
AbstractAjaxStatus ajaxStatus = (AbstractAjaxStatus) component;
writer.startElement(HtmlConstants.SPAN_ELEM, component);
String clien... | public void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
super.doEncodeEnd(writer, context, component);
AbstractAjaxStatus ajaxStatus = (AbstractAjaxStatus) component;
writer.startElement(HtmlConstants.SPAN_ELEM, component);
St... |
diff --git a/src/org/apache/xalan/trace/PrintTraceListener.java b/src/org/apache/xalan/trace/PrintTraceListener.java
index 104e07d5..52d11c91 100644
--- a/src/org/apache/xalan/trace/PrintTraceListener.java
+++ b/src/org/apache/xalan/trace/PrintTraceListener.java
@@ -1,379 +1,384 @@
/*
* The Apache Software License, ... | false | true | public void selected(SelectionEvent ev) throws javax.xml.transform.TransformerException
{
if (m_traceSelection)
{
ElemTemplateElement ete = (ElemTemplateElement) ev.m_styleNode;
Node sourceNode = ev.m_sourceNode;
int nodeHandler = ((DTMNodeProxy)sourceNode).getDTMNodeNumber();
... | public void selected(SelectionEvent ev) throws javax.xml.transform.TransformerException
{
if (m_traceSelection)
{
ElemTemplateElement ete = (ElemTemplateElement) ev.m_styleNode;
Node sourceNode = ev.m_sourceNode;
SourceLocator locator = null;
if (sourceNode instanceof DTMNode... |
diff --git a/source/com/mucommander/ui/combobox/SaneComboBox.java b/source/com/mucommander/ui/combobox/SaneComboBox.java
index a4136405..ca943a97 100644
--- a/source/com/mucommander/ui/combobox/SaneComboBox.java
+++ b/source/com/mucommander/ui/combobox/SaneComboBox.java
@@ -1,159 +1,160 @@
/*
* This file is part of ... | true | true | private void init() {
// Prevent up/down keys from firing ActionEvents
// for Java 1.3
putClientProperty("JComboBox.lightweightKeyboardNavigation","Lightweight");
// for Java 1.4 and up
putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);
// Listen to comb... | private void init() {
// Prevent up/down keys from firing ActionEvents
// for Java 1.3
putClientProperty("JComboBox.lightweightKeyboardNavigation","Lightweight");
// Commented as it causes rendering issues under Mac OS X Leopard (does not render like a native combo box)
// // for Java... |
diff --git a/hot-deploy/opentaps-common/src/common/org/opentaps/domain/crmsfa/returns/ReturnService.java b/hot-deploy/opentaps-common/src/common/org/opentaps/domain/crmsfa/returns/ReturnService.java
index 8e159b2e3..14d0a6266 100644
--- a/hot-deploy/opentaps-common/src/common/org/opentaps/domain/crmsfa/returns/ReturnSe... | false | true | public void updatePaymentApplicationAccountTagsByReturnOrder() throws ServiceException {
try {
PaymentRepositoryInterface paymentRepository = getDomainsDirectory().getBillingDomain().getPaymentRepository();
OrderRepositoryInterface orderRepository = getDomainsDirectory().getOrderDoma... | public void updatePaymentApplicationAccountTagsByReturnOrder() throws ServiceException {
try {
PaymentRepositoryInterface paymentRepository = getDomainsDirectory().getBillingDomain().getPaymentRepository();
OrderRepositoryInterface orderRepository = getDomainsDirectory().getOrderDoma... |
diff --git a/bundles/org.eclipse.rap.design.example/src/org/eclipse/rap/internal/design/example/managers/MenuBarManager.java b/bundles/org.eclipse.rap.design.example/src/org/eclipse/rap/internal/design/example/managers/MenuBarManager.java
index 60341bffd..0e4d426aa 100644
--- a/bundles/org.eclipse.rap.design.example/sr... | true | true | private void makeEntry( final IContributionItem item ) {
IContributionItem tempItem = null;
if( item instanceof SubContributionItem ) {
SubContributionItem subItem = ( SubContributionItem ) item;
tempItem = subItem.getInnerItem();
} else if( item instanceof MenuManager ) {
tempItem = ite... | private void makeEntry( final IContributionItem item ) {
IContributionItem tempItem = null;
if( item instanceof SubContributionItem ) {
SubContributionItem subItem = ( SubContributionItem ) item;
tempItem = subItem.getInnerItem();
} else if( item instanceof MenuManager ) {
tempItem = ite... |
diff --git a/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java b/perf/org.eclipse.linuxtools.perf.tests/src/org/eclipse/linuxtools/internal/perf/tests/StatsComparisonTest.java
index aca25491c..ad52b03e9 100644
--- a/perf/org.eclipse.linuxtools.perf.tests/src/... | false | true | public void testStatComparisonResult() throws IOException {
File oldStatData = new File(STAT_RES + "perf_old.stat");
File newStatData = new File(STAT_RES + "perf_new.stat");
File diffStatData = new File(STAT_RES + "perf_diff.stat");
BufferedReader diffDataReader = new BufferedReader(new FileReader(
diffSt... | public void testStatComparisonResult() throws IOException {
File oldStatData = new File(STAT_RES + "perf_old.stat");
File newStatData = new File(STAT_RES + "perf_new.stat");
File diffStatData = new File(STAT_RES + "perf_diff.stat");
BufferedReader diffDataReader = new BufferedReader(new FileReader(
diffSt... |
diff --git a/impl/extension/servlet/src/test/java/security/SecurityTest.java b/impl/extension/servlet/src/test/java/security/SecurityTest.java
index 0672bad6..3bdbd815 100644
--- a/impl/extension/servlet/src/test/java/security/SecurityTest.java
+++ b/impl/extension/servlet/src/test/java/security/SecurityTest.java
@@ -1... | false | true | public void loginSucessfull() throws ClientProtocolException, IOException, URISyntaxException {
URIBuilder uriBuilder = new URIBuilder(deploymentUrl + "/login");
uriBuilder.setParameter("username", "demoiselle");
uriBuilder.setParameter("password", "changeit");
HttpGet httpGet = new HttpGet(uriBuilder.build()... | public void loginSucessfull() throws ClientProtocolException, IOException, URISyntaxException {
URIBuilder uriBuilder = new URIBuilder(deploymentUrl + "/login");
uriBuilder.setParameter("username", "demoiselle");
uriBuilder.setParameter("password", "changeit");
HttpGet httpGet = new HttpGet(uriBuilder.build()... |
diff --git a/presentation-api/src/main/java/org/cytoscape/view/presentation/property/BasicVisualLexicon.java b/presentation-api/src/main/java/org/cytoscape/view/presentation/property/BasicVisualLexicon.java
index 75607f3c..9feb78b7 100644
--- a/presentation-api/src/main/java/org/cytoscape/view/presentation/property/Bas... | true | true | private void addVisualProperties(final VisualProperty<NullDataType> root) {
addVisualProperty(NETWORK, root);
// Level 1: Direct children of network VP
addVisualProperty(NODE, NETWORK);
addVisualProperty(EDGE, NETWORK);
addVisualProperty(NETWORK_SIZE, NETWORK);
addVisualProperty(NETWORK_SCALE_FACTOR, NETW... | private void addVisualProperties(final VisualProperty<NullDataType> root) {
addVisualProperty(NETWORK, root);
// Level 1: Direct children of network VP
addVisualProperty(NODE, NETWORK);
addVisualProperty(EDGE, NETWORK);
addVisualProperty(NETWORK_SIZE, NETWORK);
addVisualProperty(NETWORK_SCALE_FACTOR, NETW... |
diff --git a/src/main/java/hudson/plugins/xvnc/Xvnc.java b/src/main/java/hudson/plugins/xvnc/Xvnc.java
index 9efa1bc..48f3961 100644
--- a/src/main/java/hudson/plugins/xvnc/Xvnc.java
+++ b/src/main/java/hudson/plugins/xvnc/Xvnc.java
@@ -1,192 +1,192 @@
package hudson.plugins.xvnc;
import hudson.Extension;
import h... | true | true | private Environment doSetUp(AbstractBuild build, final Launcher launcher, final PrintStream logger,
String cmd, int baseDisplayNumber, int retries) throws IOException, InterruptedException {
final int displayNumber = allocator.allocate(baseDisplayNumber);
final String actualCmd = Util.r... | private Environment doSetUp(AbstractBuild build, final Launcher launcher, final PrintStream logger,
String cmd, int baseDisplayNumber, int retries) throws IOException, InterruptedException {
final int displayNumber = allocator.allocate(baseDisplayNumber);
final String actualCmd = Util.r... |
diff --git a/src/main/java/org/orioai/esupecm/relations/CustomRelationActions.java b/src/main/java/org/orioai/esupecm/relations/CustomRelationActions.java
index ed36232..af7b85e 100755
--- a/src/main/java/org/orioai/esupecm/relations/CustomRelationActions.java
+++ b/src/main/java/org/orioai/esupecm/relations/CustomRela... | true | true | public String addStatement(DocumentModel currentDoc) throws ClientException {
Resource documentResource = getDocumentResource(currentDoc);
if (documentResource == null) {
throw new ClientException(
"Document resource could not be retrieved");
}
Resour... | public String addStatement(DocumentModel currentDoc) throws ClientException {
Resource documentResource = getDocumentResource(currentDoc);
if (documentResource == null) {
throw new ClientException(
"Document resource could not be retrieved");
}
Resour... |
diff --git a/nexus/nexus-core-plugins/nexus-ldap-plugin-parent/ldap-common/src/test/java/org/sonatype/security/ldap/dao/password/SSHAPasswordEncoderTest.java b/nexus/nexus-core-plugins/nexus-ldap-plugin-parent/ldap-common/src/test/java/org/sonatype/security/ldap/dao/password/SSHAPasswordEncoderTest.java
index 991a865c5... | true | true | public void testEncode()
throws Exception
{
SSHAPasswordEncoder encoder = new SSHAPasswordEncoder();
byte[] salt = new byte[] { 58, -83, -31, -81 };
Assert.assertEquals( "{SSHA}FBProvj7X/SW+7nYtd83uX/noSQ6reGv", encoder.encodePassword( "password", salt ) );
try
... | public void testEncode()
throws Exception
{
SSHAPasswordEncoder encoder = new SSHAPasswordEncoder();
byte[] salt = new byte[] { 58, -83, -31, -81 };
Assert.assertEquals( "{SSHA}FBProvj7X/SW+7nYtd83uX/noSQ6reGv", encoder.encodePassword( "password", salt ) );
try
... |
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaAttachmentHandlerTest.java
index 4f624e066..2c3061b46 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/... | true | true | public void testAttachToExistingReport() throws Exception {
TaskData taskData = BugzillaFixture.current().createTask(PrivilegeLevel.USER, null, null);
assertNotNull(taskData);
int numAttached = taskData.getAttributeMapper()
.getAttributesByType(taskData, TaskAttribute.TYPE_ATTACHMENT)
.size();
assertN... | public void testAttachToExistingReport() throws Exception {
TaskData taskData = BugzillaFixture.current().createTask(PrivilegeLevel.USER, null, null);
assertNotNull(taskData);
int numAttached = taskData.getAttributeMapper()
.getAttributesByType(taskData, TaskAttribute.TYPE_ATTACHMENT)
.size();
assertN... |
diff --git a/source/de/tuclausthal/submissioninterface/servlets/view/ShowSubmissionView.java b/source/de/tuclausthal/submissioninterface/servlets/view/ShowSubmissionView.java
index 2ed32d1..1e4cbc3 100644
--- a/source/de/tuclausthal/submissioninterface/servlets/view/ShowSubmissionView.java
+++ b/source/de/tuclausthal/s... | true | true | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
Template template = TemplateFactory.getTemplate(request, response);
template.addJQuery();
template.addKeepAlive();
template.addHead("<script type=\"text/javascript\">function hideCodePreview(id) ... | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
Template template = TemplateFactory.getTemplate(request, response);
template.addJQuery();
template.addKeepAlive();
template.addHead("<script type=\"text/javascript\">function hideCodePreview(id) ... |
diff --git a/src/com/trendrr/nsq/lookup/NSQLookupDynMapImpl.java b/src/com/trendrr/nsq/lookup/NSQLookupDynMapImpl.java
index 9b2b032..781451a 100644
--- a/src/com/trendrr/nsq/lookup/NSQLookupDynMapImpl.java
+++ b/src/com/trendrr/nsq/lookup/NSQLookupDynMapImpl.java
@@ -1,91 +1,92 @@
/**
*
*/
package com.trendrr.n... | true | true | public String getHTML(String url) {
URL u;
HttpURLConnection conn;
BufferedReader rd = null;
String line;
String result = "";
try {
u = new URL(url);
conn = (HttpURLConnection) u.openConnection();
conn.setRequestMethod("GET");
rd = new BufferedReader(new InputStreamReader(... | public String getHTML(String url) {
URL u;
HttpURLConnection conn;
BufferedReader rd = null;
String line;
String result = "";
try {
u = new URL(url);
conn = (HttpURLConnection) u.openConnection();
conn.setRequestMethod("GET");
rd = new BufferedReader(new InputStreamReader(... |
diff --git a/src/main/java/org/jboss/ejb3/tx/CMTTxInterceptorFactory.java b/src/main/java/org/jboss/ejb3/tx/CMTTxInterceptorFactory.java
index d6543e9..62ae74a 100644
--- a/src/main/java/org/jboss/ejb3/tx/CMTTxInterceptorFactory.java
+++ b/src/main/java/org/jboss/ejb3/tx/CMTTxInterceptorFactory.java
@@ -1,123 +1,125 @@... | false | true | public Object createPerJoinpoint(Advisor advisor, Joinpoint jp)
{
// We have to do this until AOP supports matching based on annotation attributes
TransactionManagementType type = TxUtil.getTransactionManagementType(advisor);
if (type == TransactionManagementType.BEAN)
return new NullIn... | public Object createPerJoinpoint(Advisor advisor, Joinpoint jp)
{
// We have to do this until AOP supports matching based on annotation attributes
TransactionManagementType type = TxUtil.getTransactionManagementType(advisor);
if (type == TransactionManagementType.BEAN)
return new NullIn... |
diff --git a/org.dawb.passerelle.actors/src/org/dawb/passerelle/actors/data/DataImportSource.java b/org.dawb.passerelle.actors/src/org/dawb/passerelle/actors/data/DataImportSource.java
index a43bb8c..3708faf 100644
--- a/org.dawb.passerelle.actors/src/org/dawb/passerelle/actors/data/DataImportSource.java
+++ b/org.dawb... | true | true | protected DataImportSource(CompositeEntity container, String name, boolean isFolder) throws IllegalActionException, NameDuplicationException {
super(container, ModelUtils.findUniqueActorName(container, ModelUtils.getLegalName(name)));
relativePathParam = new Parameter(this, "Relative Path", new BooleanToken(... | protected DataImportSource(CompositeEntity container, String name, boolean isFolder) throws IllegalActionException, NameDuplicationException {
super(container, ModelUtils.findUniqueActorName(container, ModelUtils.getLegalName(name)));
relativePathParam = new Parameter(this, "Relative Path", new BooleanToken(... |
diff --git a/openjdk/java/util/zip/InflaterHuffmanTree.java b/openjdk/java/util/zip/InflaterHuffmanTree.java
index cf5808ee..9856aa36 100644
--- a/openjdk/java/util/zip/InflaterHuffmanTree.java
+++ b/openjdk/java/util/zip/InflaterHuffmanTree.java
@@ -1,217 +1,215 @@
/* InflaterHuffmanTree.java --
Copyright (C) 200... | true | true | private void buildTree(byte[] codeLengths) throws DataFormatException
{
int[] blCount = new int[MAX_BITLEN+1];
int[] nextCode = new int[MAX_BITLEN+1];
for (int i = 0; i < codeLengths.length; i++)
{
int bits = codeLengths[i];
if (bits > 0)
blCount[bits]++;
}
int... | private void buildTree(byte[] codeLengths) throws DataFormatException
{
int[] blCount = new int[MAX_BITLEN+1];
int[] nextCode = new int[MAX_BITLEN+1];
for (int i = 0; i < codeLengths.length; i++)
{
int bits = codeLengths[i];
if (bits > 0)
blCount[bits]++;
}
int... |
diff --git a/core/src/main/java/org/javnce/vnc/common/MessageDispatcher.java b/core/src/main/java/org/javnce/vnc/common/MessageDispatcher.java
index 00ea984..99f9c93 100644
--- a/core/src/main/java/org/javnce/vnc/common/MessageDispatcher.java
+++ b/core/src/main/java/org/javnce/vnc/common/MessageDispatcher.java
@@ -1,1... | true | true | private void updateSocketState() {
if (channel.isConnected() && channel.isOpen()) {
int newOps = SelectionKey.OP_READ | SelectionKey.OP_CONNECT;
if (!writer.isEmpty()) {
newOps |= SelectionKey.OP_WRITE;
}
if (newOps != socketOps) {
... | private void updateSocketState() {
if (channel.isConnected() && channel.isOpen()) {
int newOps = SelectionKey.OP_READ;
if (!writer.isEmpty()) {
newOps |= SelectionKey.OP_WRITE;
}
if (newOps != socketOps) {
socketOps = newOps;... |
diff --git a/szoftlab4/src/hu/miracleworkers/controller/Main.java b/szoftlab4/src/hu/miracleworkers/controller/Main.java
index 983ba4a..fa30e65 100644
--- a/szoftlab4/src/hu/miracleworkers/controller/Main.java
+++ b/szoftlab4/src/hu/miracleworkers/controller/Main.java
@@ -1,57 +1,57 @@
/*
* Szoftver labor 4 - Hangya... | true | true | public static void main(String[] args) {
// Inicializálás
// TODO az inicializálást kirakni egy függvénybe, hogy a guiból legyen hívható
// ha új játékot akarnánk indítani
XMLBuilder builder = new XMLBuilder();
Scene scene = new Scene();
try {
scene = builder.readXML("test/test_graphics.xml");
} c... | public static void main(String[] args) {
// Inicializálás
// TODO az inicializálást kirakni egy függvénybe, hogy a guiból legyen hívható
// ha új játékot akarnánk indítani
XMLBuilder builder = new XMLBuilder();
Scene scene = new Scene();
try {
scene = builder.readXML("test/test_graphics3.xml");
} ... |
diff --git a/src/org/apache/xerces/impl/dtd/XMLDTDLoader.java b/src/org/apache/xerces/impl/dtd/XMLDTDLoader.java
index 07918c0a..0e3f24c1 100644
--- a/src/org/apache/xerces/impl/dtd/XMLDTDLoader.java
+++ b/src/org/apache/xerces/impl/dtd/XMLDTDLoader.java
@@ -1,483 +1,483 @@
/*
* Copyright 1999-2005 The Apache Softwa... | true | true | public void loadGrammarWithContext(XMLDTDValidator validator, String rootName,
String publicId, String systemId, String baseSystemId, String internalSubset)
throws IOException, XNIException {
final DTDGrammarBucket grammarBucket = validator.getGrammarBucket();
final DTDGrammar a... | public void loadGrammarWithContext(XMLDTDValidator validator, String rootName,
String publicId, String systemId, String baseSystemId, String internalSubset)
throws IOException, XNIException {
final DTDGrammarBucket grammarBucket = validator.getGrammarBucket();
final DTDGrammar a... |
diff --git a/core/is/SYSCALL.java b/core/is/SYSCALL.java
index 2bd62e8..546f46c 100755
--- a/core/is/SYSCALL.java
+++ b/core/is/SYSCALL.java
@@ -1,309 +1,310 @@
/*
* SYSCALL.java
*
* (c) 2006 EduMips64 project - Andrea Spadaccini
*
* This program is free software; you can redistribute it and/or modify
* it... | false | true | public void MEM() throws IrregularStringOfBitsException, MemoryElementNotFoundException {
edumips64.Main.logger.log("SYSCALL (" + this.hashCode() + ") -> MEM");
if(syscall_n == 1) {
// int open(const char* filename, int flags)
String filename = fetchString(address);
int flags_address = (int)address + f... | public void MEM() throws IrregularStringOfBitsException, MemoryElementNotFoundException {
edumips64.Main.logger.log("SYSCALL (" + this.hashCode() + ") -> MEM");
if(syscall_n == 1) {
// int open(const char* filename, int flags)
String filename = fetchString(address);
int flags_address = (int)address + f... |
diff --git a/de.walware.statet.r.console.core/src/de/walware/statet/r/console/core/RProcess.java b/de.walware.statet.r.console.core/src/de/walware/statet/r/console/core/RProcess.java
index a031a1c5..8270028f 100644
--- a/de.walware.statet.r.console.core/src/de/walware/statet/r/console/core/RProcess.java
+++ b/de.walwar... | true | true | public Object getAdapter(final Class required) {
if (required.equals(IREnv.class)) {
return fREnvConfig.getReference();
}
if (required.equals(IREnvConfiguration.class)) {
return fREnvConfig;
}
return super.getAdapter(required);
}
| public Object getAdapter(final Class required) {
if (required.equals(IREnv.class)) {
return (fREnvConfig != null) ? fREnvConfig.getReference() : null;
}
if (required.equals(IREnvConfiguration.class)) {
return fREnvConfig;
}
return super.getAdapter(required);
}
|
diff --git a/cdm/src/main/java/thredds/wcs/v1_0_0_Plus/GetCoverage.java b/cdm/src/main/java/thredds/wcs/v1_0_0_Plus/GetCoverage.java
index 0162e9bd4..647a99d9a 100644
--- a/cdm/src/main/java/thredds/wcs/v1_0_0_Plus/GetCoverage.java
+++ b/cdm/src/main/java/thredds/wcs/v1_0_0_Plus/GetCoverage.java
@@ -1,277 +1,276 @@
pa... | true | true | public GetCoverage( Operation operation, String version, WcsDataset dataset,
String coverageId, String crs, String responseCRS,
String bbox, String time, String rangeSubset, String format )
throws WcsException
{
super( operation, version, dataset);
// V... | public GetCoverage( Operation operation, String version, WcsDataset dataset,
String coverageId, String crs, String responseCRS,
String bbox, String time, String rangeSubset, String format )
throws WcsException
{
super( operation, version, dataset);
// V... |
diff --git a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java
index 7e7a5452..d4d14257 100644
--- a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java
+++ b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java
@@ -1,1152 +1,1152 @@
package net.osmand.plu... | true | true | public Bitmap generateNewBitmap(RenderingContext rc, List<BinaryMapDataObject> objects, Bitmap bmp, boolean useEnglishNames,
BaseOsmandRender renderer, List<IMapDownloaderCallback> notifyList) {
long now = System.currentTimeMillis();
// fill area
Canvas cv = new Canvas(bmp);
if(renderer != null){
int dc... | public Bitmap generateNewBitmap(RenderingContext rc, List<BinaryMapDataObject> objects, Bitmap bmp, boolean useEnglishNames,
BaseOsmandRender renderer, List<IMapDownloaderCallback> notifyList) {
long now = System.currentTimeMillis();
// fill area
Canvas cv = new Canvas(bmp);
if(renderer != null){
int dc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.