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/main/java/com/fatwire/cs/profiling/ss/reporting/reporters/NestingTracker.java b/src/main/java/com/fatwire/cs/profiling/ss/reporting/reporters/NestingTracker.java
index fbbfc77..d33554f 100644
--- a/src/main/java/com/fatwire/cs/profiling/ss/reporting/reporters/NestingTracker.java
+++ b/src/main/java/com... | true | true | public int getNestingLevel(QueryString qs) {
int level = 0;
if (qs == null)
return 0;
if (pages.containsKey(qs)) {
for (QueryString inner : pages.get(qs)) {
level = level + getNestingLevel(inner);
}
}
return level;
}
| public int getNestingLevel(QueryString qs) {
int level = 0;
if (qs == null)
return 0;
if (pages.containsKey(qs)) {
for (QueryString inner : pages.get(qs)) {
level++;
level = level + getNestingLevel(inner);
}
}
... |
diff --git a/Compiler/java/AppleCoreCompiler/CodeGen/SourceFileWriter.java b/Compiler/java/AppleCoreCompiler/CodeGen/SourceFileWriter.java
index 326d249..861b98b 100644
--- a/Compiler/java/AppleCoreCompiler/CodeGen/SourceFileWriter.java
+++ b/Compiler/java/AppleCoreCompiler/CodeGen/SourceFileWriter.java
@@ -1,167 +1,17... | false | true | public void visitSourceFile(SourceFile node)
throws ACCError
{
emitter.emitPreamble(node);
emitter.emitSeparatorComment();
emitter.emitComment("Assembly file generated by");
emitter.emitComment("the AppleCore Compiler, v1.0");
emitter.emitSeparatorComment();
if (!node.includeMode) {
emitter.emitInc... | public void visitSourceFile(SourceFile node)
throws ACCError
{
emitter.emitPreamble(node);
emitter.emitSeparatorComment();
emitter.emitComment("Assembly file generated by");
emitter.emitComment("the AppleCore Compiler, v1.0");
emitter.emitSeparatorComment();
if (!node.includeMode) {
emitter.emitInc... |
diff --git a/src/org/adblockplus/brazil/RequestHandler.java b/src/org/adblockplus/brazil/RequestHandler.java
index 13e24ea..f1e56c5 100644
--- a/src/org/adblockplus/brazil/RequestHandler.java
+++ b/src/org/adblockplus/brazil/RequestHandler.java
@@ -1,409 +1,411 @@
package org.adblockplus.brazil;
import java.io.Buff... | false | true | public boolean respond(Request request) throws IOException
{
boolean block = false;
String reqHost = null;
String refHost = null;
try
{
reqHost = (new URL(request.url)).getHost();
refHost = (new URL(request.getRequestHeader("referer"))).getHost();
}
catch (MalformedURLException e)
{
}
try
... | public boolean respond(Request request) throws IOException
{
boolean block = false;
String reqHost = null;
String refHost = null;
try
{
reqHost = (new URL(request.url)).getHost();
refHost = (new URL(request.getRequestHeader("referer"))).getHost();
}
catch (MalformedURLException e)
{
}
try
... |
diff --git a/src/main/java/com/tp/action/ViewSourceAction.java b/src/main/java/com/tp/action/ViewSourceAction.java
index f1e991f..a7e0d82 100644
--- a/src/main/java/com/tp/action/ViewSourceAction.java
+++ b/src/main/java/com/tp/action/ViewSourceAction.java
@@ -1,84 +1,84 @@
package com.tp.action;
import java.io.Fil... | true | true | public String view() throws Exception {
try {
HttpServletResponse response = Struts2Utils.getResponse();
HttpServletRequest request = Struts2Utils.getRequest();
String userDir = System.getProperty("user.dir");
String download = request.getParameter("download");
String fname = request.getParameter("fna... | public String view() throws Exception {
try {
HttpServletResponse response = Struts2Utils.getResponse();
HttpServletRequest request = Struts2Utils.getRequest();
String userDir = System.getProperty("user.dir");
String download = request.getParameter("download");
String fname = request.getParameter("fna... |
diff --git a/asm/test/conform/org/objectweb/asm/ClassWriterComputeFramesTest.java b/asm/test/conform/org/objectweb/asm/ClassWriterComputeFramesTest.java
index cba27b28..573aa1aa 100644
--- a/asm/test/conform/org/objectweb/asm/ClassWriterComputeFramesTest.java
+++ b/asm/test/conform/org/objectweb/asm/ClassWriterComputeF... | false | true | protected String getCommonSuperClass(final String type1, final String type2) {
try {
ClassReader info1 = typeInfo(type1);
ClassReader info2 = typeInfo(type2);
if ((info1.getAccess() & Opcodes.ACC_INTERFACE) != 0) {
if (typeImplements(type2, info2, type1)) ... | protected String getCommonSuperClass(final String type1, final String type2) {
try {
ClassReader info1 = typeInfo(type1);
ClassReader info2 = typeInfo(type2);
if ((info1.getAccess() & Opcodes.ACC_INTERFACE) != 0) {
if (typeImplements(type2, info2, type1)) ... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/container/JettyWebSocketUtil.java b/modules/cpr/src/main/java/org/atmosphere/container/JettyWebSocketUtil.java
index 51fdf9921..6a83630bf 100644
--- a/modules/cpr/src/main/java/org/atmosphere/container/JettyWebSocketUtil.java
+++ b/modules/cpr/src/main/java/org/atmo... | true | true | public final static AtmosphereServlet.Action doService(AsynchronousProcessor cometSupport,
HttpServletRequest req,
HttpServletResponse res,
... | public final static AtmosphereServlet.Action doService(AsynchronousProcessor cometSupport,
HttpServletRequest req,
HttpServletResponse res,
... |
diff --git a/src/mediafire/cz/vity/freerapid/plugins/services/mediafire/MediafireRunner.java b/src/mediafire/cz/vity/freerapid/plugins/services/mediafire/MediafireRunner.java
index 6341921d..35898b28 100644
--- a/src/mediafire/cz/vity/freerapid/plugins/services/mediafire/MediafireRunner.java
+++ b/src/mediafire/cz/vity... | true | true | private HttpMethod findFirstUrl(final Context context, final Scriptable scope) throws ErrorDuringDownloadingException {
Matcher matcher = getMatcherAgainstContent("(?s)value=\"download\">\\s*?<script[^<>]*?>(?:<!\\-\\-)?(.+?)</script>");
if (!matcher.find()) {
throw new PluginImplementat... | private HttpMethod findFirstUrl(final Context context, final Scriptable scope) throws ErrorDuringDownloadingException {
Matcher matcher = getMatcherAgainstContent("(?s)value=\"download\">\\s*?<script[^<>]*?>(?:<!\\-\\-)?(.+?)</script>");
if (!matcher.find()) {
throw new PluginImplementat... |
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/FramesetFilter.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/FramesetFilter.java
index 831ab3cf7..b55ea9e1a 100644
--- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/servlet/FramesetFilter.jav... | true | true | public OutputStream filter(HttpServletRequest req, OutputStream out) {
String uri = req.getRequestURI();
if (uri == null || !uri.endsWith("html") && !uri.endsWith("htm")) { //$NON-NLS-1$ //$NON-NLS-2$
return out;
}
if ("/nftopic".equals(req.getServletPath()) || //$NON-NLS-1$
"/ntopic".equals(req.getSer... | public OutputStream filter(HttpServletRequest req, OutputStream out) {
String uri = req.getRequestURI();
if (uri == null || !uri.endsWith("html") && !uri.endsWith("htm")) { //$NON-NLS-1$ //$NON-NLS-2$
return out;
}
if ("/nftopic".equals(req.getServletPath()) || //$NON-NLS-1$
"/ntopic".equals(req.getSer... |
diff --git a/src/server/Server.java b/src/server/Server.java
index 15902b8..f146e47 100644
--- a/src/server/Server.java
+++ b/src/server/Server.java
@@ -1,263 +1,263 @@
package server;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IO... | false | true | private String handleRequest(String input) {
/*
* Input: "GET_UPDATE userID timestamp" -> return new updates, if any
*
* Input: "NEWUSER" -> return a unique 8 digit ID
*
* Input: "GET_PUBLIC upc" -> might return null
*
* Input: "SEND_LOG " -> return nothing.
*
* Update String Represent... | private String handleRequest(String input) {
/*
* Input: "GET_UPDATE userID timestamp" -> return new updates, if any
*
* Input: "NEWUSER" -> return a unique 8 digit ID
*
* Input: "GET_PUBLIC upc" -> might return null
*
* Input: "SEND_LOG " -> return nothing.
*
* Update String Represent... |
diff --git a/src/main/java/com/develogical/QueryProcessor.java b/src/main/java/com/develogical/QueryProcessor.java
index e2936b9..164c0f1 100644
--- a/src/main/java/com/develogical/QueryProcessor.java
+++ b/src/main/java/com/develogical/QueryProcessor.java
@@ -1,14 +1,14 @@
package com.develogical;
public class Que... | false | true | public String process(String query) {
if (query.contains("SPA2012")) {
return "SPA is a conference";
}
if (query.contains("Dragos") || query.contains("Ovidiu")) {
return "Drop flop:" + query;
}
return "I don't know this one, I'm just a drop flop!";
}
| public String process(String query) {
if (query.contains("SPA2012")) {
return "SPA is a conference";
}
if (query.contains("Dragos") || query.contains("Ovidiu")) {
return "I'm just a drop flop:" + query;
}
return "";
}
|
diff --git a/AE-go_GameServer/src/com/aionemu/gameserver/network/aion/clientpackets/CM_DELETE_ITEM.java b/AE-go_GameServer/src/com/aionemu/gameserver/network/aion/clientpackets/CM_DELETE_ITEM.java
index 7d8a78c8..a017c1d6 100644
--- a/AE-go_GameServer/src/com/aionemu/gameserver/network/aion/clientpackets/CM_DELETE_ITEM... | true | true | protected void runImpl()
{
Player player = getConnection().getActivePlayer();
Inventory bag = player.getInventory();
Item resultItem = bag.getItem(objId);
if (resultItem != null)
bag.removeFromBag(resultItem);
sendPacket(new SM_DELETE_ITEM(objId));
}
| protected void runImpl()
{
Player player = getConnection().getActivePlayer();
Inventory bag = player.getInventory();
Item resultItem = bag.getItemByObjId(objId);
if (resultItem != null)
bag.removeFromBag(resultItem);
sendPacket(new SM_DELETE_ITEM(objId));
}
|
diff --git a/elevator/Elevator.java b/elevator/Elevator.java
index ff8e4e4..49ab23c 100755
--- a/elevator/Elevator.java
+++ b/elevator/Elevator.java
@@ -1,301 +1,301 @@
import java.util.HashMap;
import java.util.LinkedList;
import java.util.PriorityQueue;
public class Elevator implements Comparable<Elevator> {
... | true | true | public LinkedList<Person> update() {
// TODO Check what floors the elevator can move to
if (!goals.isEmpty()) {
move ();
int destination = goals.peek();
int localGoal = goals.peek();
// We have found a goal set
if (localGoal == floor) {
// int key ... | public LinkedList<Person> update() {
// TODO Check what floors the elevator can move to
if (!goals.isEmpty()) {
move ();
int destination = goals.peek();
int localGoal = goals.peek();
// We have found a goal set
if (localGoal == floor) {
// int key ... |
diff --git a/app/controllers/Application.java b/app/controllers/Application.java
index b409689..5813287 100644
--- a/app/controllers/Application.java
+++ b/app/controllers/Application.java
@@ -1,40 +1,39 @@
package controllers;
import org.joda.time.DateTime;
import play.*;
import play.mvc.*;
import views.htm... | true | true | public static Result oAuth(final String provider) {
Http.Request req = play.mvc.Http.Context.current().request();
System.out.println(req.queryString());
if (req.queryString().containsKey("denied")) {
return oAuthDenied(provider);
}
return com.feth.play.module.pa.controllers.Authenticate.au... | public static Result oAuth(final String provider) {
Http.Request req = play.mvc.Http.Context.current().request();
if (req.queryString().containsKey("denied")) {
return oAuthDenied(provider);
}
return com.feth.play.module.pa.controllers.Authenticate.authenticate(provider);
}
|
diff --git a/content/src/org/riotfamily/pages/mapping/PageResolver.java b/content/src/org/riotfamily/pages/mapping/PageResolver.java
index a73e53cc4..d2cab2202 100644
--- a/content/src/org/riotfamily/pages/mapping/PageResolver.java
+++ b/content/src/org/riotfamily/pages/mapping/PageResolver.java
@@ -1,172 +1,172 @@
/*... | true | true | private static Page resolvePage(HttpServletRequest request) {
Site site = getSite(request);
if (site == null) {
return null;
}
String path = FormatUtils.stripTrailingSlash(ServletUtils.getPathWithinApplication(request));
String lookupPath = getLookupPath(path);
Page page = ContentPage.loadBySiteAndPath(... | private static Page resolvePage(HttpServletRequest request) {
Site site = getSite(request);
if (site == null) {
return null;
}
String path = ServletUtils.getPathWithinApplication(request);
String lookupPath = getLookupPath(FormatUtils.stripTrailingSlash(path));
Page page = ContentPage.loadBySiteAndPath(... |
diff --git a/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java b/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java
index 67f82c6..5cb2396 100644
--- a/console/src/main/java/org/apache/kalumet/console/configuration/model/KalumetConsole.java
++... | true | true | public static KalumetConsole digeste(String path) throws Exception {
KalumetConsole kalumetConsole = null;
try {
Digester digester = new Digester();
digester.setValidating(false);
digester.addObjectCreate("kalumet-console", "org.apache.kalumet.console.configuration.model.Kalume... | public static KalumetConsole digeste(String path) throws Exception {
KalumetConsole kalumetConsole = null;
try {
Digester digester = new Digester();
digester.setValidating(false);
digester.addObjectCreate("kalumet-console", "org.apache.kalumet.console.configuration.model.Kalume... |
diff --git a/core/src/main/java/net/kamhon/ieagle/util/CollectionUtil.java b/core/src/main/java/net/kamhon/ieagle/util/CollectionUtil.java
index e51236f..fae7c52 100644
--- a/core/src/main/java/net/kamhon/ieagle/util/CollectionUtil.java
+++ b/core/src/main/java/net/kamhon/ieagle/util/CollectionUtil.java
@@ -1,368 +1,36... | true | true | public static Object[][] to2DArrayForStruts(Locale locale, List<?> objects, String[] propertiesNames, boolean isSetNullToEmptyString) {
String dateTimeFormat = "";
if (isEmpty(objects)) {
return new Object[0][0];
}
List<Object[]> result = new ArrayList<Object[]>();
... | public static Object[][] to2DArrayForStruts(Locale locale, List<?> objects, String[] propertiesNames, boolean isSetNullToEmptyString) {
String dateTimeFormat = "";
if (isEmpty(objects)) {
return new Object[0][0];
}
List<Object[]> result = new ArrayList<Object[]>();
... |
diff --git a/osmosis-core/src/main/java/org/openstreetmap/osmosis/core/CorePluginLoader.java b/osmosis-core/src/main/java/org/openstreetmap/osmosis/core/CorePluginLoader.java
index 35eb37c4..22ed1970 100644
--- a/osmosis-core/src/main/java/org/openstreetmap/osmosis/core/CorePluginLoader.java
+++ b/osmosis-core/src/main... | false | true | public Map<String, TaskManagerFactory> loadTaskFactories() {
Map<String, TaskManagerFactory> factoryMap;
EntitySorterFactory entitySorterFactory06;
ChangeSorterFactory changeSorterFactory06;
factoryMap = new HashMap<String, TaskManagerFactory>();
// Configure factories that require additional information.
... | public Map<String, TaskManagerFactory> loadTaskFactories() {
Map<String, TaskManagerFactory> factoryMap;
EntitySorterFactory entitySorterFactory06;
ChangeSorterFactory changeSorterFactory06;
factoryMap = new HashMap<String, TaskManagerFactory>();
// Configure factories that require additional information.
... |
diff --git a/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java b/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java
index d0c4c1e69..8b0b84fb4 100644
--- a/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java
+++ b/modules/rampart-integrati... | true | true | public void testWithPolicy() {
try {
String repo = Constants.TESTING_PATH + "rampart_client_repo";
ConfigurationContext configContext = ConfigurationContextFactory.
createConfigurationContextFromFileSystem(repo, null);
ServiceClient serviceCl... | public void testWithPolicy() {
try {
String repo = Constants.TESTING_PATH + "rampart_client_repo";
ConfigurationContext configContext = ConfigurationContextFactory.
createConfigurationContextFromFileSystem(repo, null);
ServiceClient serviceCl... |
diff --git a/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/SimpleScriptableTest.java b/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/SimpleScriptableTest.java
index 6f1db8c58..31cd02310 100644
--- a/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/SimpleScriptableTest.... | true | true | public void testHtmlJavaScriptMapping_AllJavaScriptClassesArePresent() {
final Map map = JavaScriptConfiguration.getHtmlJavaScriptMapping();
final String directoryName = "../../../src/main/java/com/gargoylesoftware/htmlunit/javascript/host";
final Set names = getFileNames(directoryName.repla... | public void testHtmlJavaScriptMapping_AllJavaScriptClassesArePresent() {
final Map map = JavaScriptConfiguration.getHtmlJavaScriptMapping();
final String directoryName = "../../../src/main/java/com/gargoylesoftware/htmlunit/javascript/host";
final Set names = getFileNames(directoryName.repla... |
diff --git a/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java b/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java
index c274e4265..a2759b890 100644
--- a/drools-core/src/main/java/org/drools/audit/WorkingMemoryLogger.java
+++ b/drools-core/src/main/java/org/drools/audit/WorkingMemor... | true | true | private String extractDeclarations(final Activation activation, final WorkingMemory workingMemory) {
final StringBuffer result = new StringBuffer();
final Tuple tuple = activation.getTuple();
final Map declarations = activation.getSubRule().getOuterDeclarations();
for ( Iterator it ... | private String extractDeclarations(final Activation activation, final WorkingMemory workingMemory) {
final StringBuffer result = new StringBuffer();
final Tuple tuple = activation.getTuple();
final Map declarations = activation.getSubRule().getOuterDeclarations();
for ( Iterator it ... |
diff --git a/pax-url-dir/src/main/java/org/ops4j/pax/url/dir/internal/bundle/ResourceLocatorImpl.java b/pax-url-dir/src/main/java/org/ops4j/pax/url/dir/internal/bundle/ResourceLocatorImpl.java
index 9dd62723..8cb94caa 100644
--- a/pax-url-dir/src/main/java/org/ops4j/pax/url/dir/internal/bundle/ResourceLocatorImpl.java
... | false | true | protected File findRoot( File dir, String targetClassName )
throws IOException
{
if( m_anchor == null )
{
return dir;
}
for( File f : dir.listFiles() )
{
if( !f.isHidden() && f.isDirectory() )
{
File r = findRoo... | protected File findRoot( File dir, String targetClassName )
throws IOException
{
if( m_anchor == null )
{
return dir;
}
for( File f : dir.listFiles() )
{
if( !f.isHidden() && f.isDirectory() )
{
File r = findRoo... |
diff --git a/BlueMesh/src/blue/mesh/ClientThread.java b/BlueMesh/src/blue/mesh/ClientThread.java
index 3cb2c02..4c28af8 100644
--- a/BlueMesh/src/blue/mesh/ClientThread.java
+++ b/BlueMesh/src/blue/mesh/ClientThread.java
@@ -1,89 +1,92 @@
package blue.mesh;
import java.io.IOException;
import java.util.Set;
import... | true | true | public void run() {
while (!this.isInterrupted()) {
// get list of all paired devices
Set<BluetoothDevice> pairedDevices = adapter.getBondedDevices();
Log.d(TAG, "isInterrupted() == " + this.isInterrupted());
// Loop through paired devices and a... | public void run() {
while (!this.isInterrupted()) {
// get list of all paired devices
Set<BluetoothDevice> pairedDevices = adapter.getBondedDevices();
Log.d(TAG, "isInterrupted() == " + this.isInterrupted());
// Loop through paired devices and a... |
diff --git a/NotePad/src/org/openintents/notepad/noteslist/NotesListCursor.java b/NotePad/src/org/openintents/notepad/noteslist/NotesListCursor.java
index 470cad4a..ad3b4833 100644
--- a/NotePad/src/org/openintents/notepad/noteslist/NotesListCursor.java
+++ b/NotePad/src/org/openintents/notepad/noteslist/NotesListCurso... | true | true | private void runQuery(CharSequence constraint) {
// We have to query all items and return a new object, because notes may be encrypted.
if (constraint != null) {
mCurrentFilter = constraint.toString();
} else {
mCurrentFilter = null;
}
if (mDbCursor != null) {
mDbCursor.unregisterContentObserve... | private void runQuery(CharSequence constraint) {
// We have to query all items and return a new object, because notes may be encrypted.
if (constraint != null) {
mCurrentFilter = constraint.toString();
} else {
mCurrentFilter = null;
}
if (mDbCursor != null) {
mDbCursor.unregisterContentObserve... |
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java
index 0b218e796..0e4f0aaa2 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/ICustomLayout.java... | false | true | private void initializeHTML(UIDL uidl, ApplicationConnection client) {
final String newTemplateContents = uidl
.getStringAttribute("templateContents");
final String newTemplate = uidl.getStringAttribute("template");
currentTemplateName = null;
hasTemplateContents = ... | private void initializeHTML(UIDL uidl, ApplicationConnection client) {
final String newTemplateContents = uidl
.getStringAttribute("templateContents");
final String newTemplate = uidl.getStringAttribute("template");
currentTemplateName = null;
hasTemplateContents = ... |
diff --git a/eclipse_files/src/DeviceGraphics/KitGraphics.java b/eclipse_files/src/DeviceGraphics/KitGraphics.java
index ba981f24..58c14090 100644
--- a/eclipse_files/src/DeviceGraphics/KitGraphics.java
+++ b/eclipse_files/src/DeviceGraphics/KitGraphics.java
@@ -1,83 +1,83 @@
package DeviceGraphics;
import java.uti... | true | true | public void addPart (PartGraphics newPart) {
parts.add(newPart);
if ((parts.size() % 2) == 1) {
newPart.setLocation(new Location(kitLocation.getX() + 5, kitLocation.getY() + (20 * (parts.size() -1) / 2)));
}
else {
newPart.setLocation(new Location(kitLocation.getX() + 34, kitLocation.getY() + (20 * pa... | public void addPart (PartGraphics newPart) {
parts.add(newPart);
if ((parts.size() % 2) == 1) {
newPart.setLocation(new Location(kitLocation.getX() + 5, kitLocation.getY() + (20 * (parts.size() -1) / 2)));
}
else {
newPart.setLocation(new Location(kitLocation.getX() + 34, kitLocation.getY() + (20 * (p... |
diff --git a/facestester/src/main/java/com/steeplesoft/jsf/facestester/context/mojarra/MojarraFacesContextBuilder.java b/facestester/src/main/java/com/steeplesoft/jsf/facestester/context/mojarra/MojarraFacesContextBuilder.java
index 548814b..55966be 100644
--- a/facestester/src/main/java/com/steeplesoft/jsf/facestester... | true | true | public MojarraFacesContextBuilder(FacesTesterServletContext servletContext, HttpSession session, WebDeploymentDescriptor webDescriptor) {
// System.setProperty("com.sun.faces.InjectionProvider", "com.steeplesoft.jsf.facestester.injection.FacesTesterInjectionProvider");
try {
Class.forName... | public MojarraFacesContextBuilder(FacesTesterServletContext servletContext, HttpSession session, WebDeploymentDescriptor webDescriptor) {
// TODO: Should not have to do this :(
System.setProperty("com.sun.faces.InjectionProvider", "com.steeplesoft.jsf.facestester.injection.FacesTesterInjectionProvid... |
diff --git a/src/lang/psi/impl/expressions/LuaStringLiteralExpressionImpl.java b/src/lang/psi/impl/expressions/LuaStringLiteralExpressionImpl.java
index 256583b1..67bf8e4b 100644
--- a/src/lang/psi/impl/expressions/LuaStringLiteralExpressionImpl.java
+++ b/src/lang/psi/impl/expressions/LuaStringLiteralExpressionImpl.ja... | false | true | public static String stripQuotes(String text) {
switch (text.charAt(0)) {
case '\'':
case '\"':
return text.substring(1, text.length()-1);
case '[':
int quoteLen = text.indexOf('[', 1);
assert quoteLen > 1;
... | public static String stripQuotes(String text) {
switch (text.charAt(0)) {
case '\'':
case '\"':
return text.substring(1, text.length() - 1);
case '[':
int quoteLen = text.indexOf('[', 1);
assert quoteLen > 1;
... |
diff --git a/JavaSource/org/unitime/timetable/solver/WebSolver.java b/JavaSource/org/unitime/timetable/solver/WebSolver.java
index 5eeca51d..375632b5 100644
--- a/JavaSource/org/unitime/timetable/solver/WebSolver.java
+++ b/JavaSource/org/unitime/timetable/solver/WebSolver.java
@@ -1,822 +1,823 @@
/*
* UniTime 3.1 (... | true | true | public static DataProperties createProperties(Long settingsId, Hashtable extraParams, int type) {
DataProperties properties = new DataProperties();
Transaction tx = null;
try {
SolverPredefinedSettingDAO dao = new SolverPredefinedSettingDAO();
org.hibernate.Session hibSession = dao.getSession();
if (hib... | public static DataProperties createProperties(Long settingsId, Hashtable extraParams, int type) {
DataProperties properties = new DataProperties();
Transaction tx = null;
try {
SolverPredefinedSettingDAO dao = new SolverPredefinedSettingDAO();
org.hibernate.Session hibSession = dao.getSession();
if (hib... |
diff --git a/src/com/dotcms/solr/business/SolrQueueJob.java b/src/com/dotcms/solr/business/SolrQueueJob.java
index 95ec991..c8f4ae7 100644
--- a/src/com/dotcms/solr/business/SolrQueueJob.java
+++ b/src/com/dotcms/solr/business/SolrQueueJob.java
@@ -1,455 +1,455 @@
package com.dotcms.solr.business;
import java.util.... | true | true | public void execute(JobExecutionContext arg0) throws JobExecutionException {
int serversNumber = 0;
int documentsPerRequest = 1;
try {
Logger.info(SolrQueueJob.class, "Running Solr Queue Job");
User user = userAPI.getSystemUser();
serversNumber = Integer.parseInt(pluginAPI.loadProperty(pluginId, "com.... | public void execute(JobExecutionContext arg0) throws JobExecutionException {
int serversNumber = 0;
int documentsPerRequest = 1;
try {
Logger.info(SolrQueueJob.class, "Running Solr Queue Job");
User user = userAPI.getSystemUser();
serversNumber = Integer.parseInt(pluginAPI.loadProperty(pluginId, "com.... |
diff --git a/src/com/stromberglabs/jopensurf/IntegralImage.java b/src/com/stromberglabs/jopensurf/IntegralImage.java
index ae936c6..98ae9a7 100644
--- a/src/com/stromberglabs/jopensurf/IntegralImage.java
+++ b/src/com/stromberglabs/jopensurf/IntegralImage.java
@@ -1,117 +1,117 @@
/*
This work was derived from Chris E... | true | true | public IntegralImage(BufferedImage input){
mIntImage = new float[input.getWidth()][input.getHeight()];
mWidth = mIntImage.length;
mHeight = mIntImage[0].length;
int width = input.getWidth();
int height = input.getHeight();
WritableRaster raster = input.getRaster();
int[] pixel = new int[3];
float... | public IntegralImage(BufferedImage input){
mIntImage = new float[input.getWidth()][input.getHeight()];
mWidth = mIntImage.length;
mHeight = mIntImage[0].length;
int width = input.getWidth();
int height = input.getHeight();
WritableRaster raster = input.getRaster();
int[] pixel = new int[4];
float... |
diff --git a/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPTypeList.java b/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPTypeList.java
index c29a426af..460dcf6dd 100644
--- a/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPTypeList.java
+++ b/parser/org/eclipse/cdt/internal/core/pdom/dom/... | false | true | public static int putTypes(PDOMNode parent, IType[] types) throws CoreException {
if (types == null)
return 0;
final PDOMLinkage linkage= parent.getLinkage();
final Database db= linkage.getDB();
final short len = (short)Math.min(types.length, (Database.MAX_MALLOC_SIZE-2)/NODE_SIZE);
final int block = ... | public static int putTypes(PDOMNode parent, IType[] types) throws CoreException {
if (types == null)
return 0;
final PDOMLinkage linkage= parent.getLinkage();
final Database db= linkage.getDB();
final short len = (short)Math.min(types.length, (Database.MAX_MALLOC_SIZE-2)/NODE_SIZE);
final int block = ... |
diff --git a/LunchList/src/edu/mines/csci498/ybakos/lunchlist/HelpActivity.java b/LunchList/src/edu/mines/csci498/ybakos/lunchlist/HelpActivity.java
index 957d306..0a0a678 100644
--- a/LunchList/src/edu/mines/csci498/ybakos/lunchlist/HelpActivity.java
+++ b/LunchList/src/edu/mines/csci498/ybakos/lunchlist/HelpActivity.... | true | true | public void onCreate(Bundle state) {
super.onCreate(state);
setContentView(R.layout.help);
browser = (WebView) findViewById(R.id.webkit);
browser.loadUrl("file://android_asset/help.html");
}
| public void onCreate(Bundle state) {
super.onCreate(state);
setContentView(R.layout.help);
browser = (WebView) findViewById(R.id.webkit);
browser.loadUrl("file:///android_asset/help.html");
}
|
diff --git a/src/org/mozilla/javascript/DefaultErrorReporter.java b/src/org/mozilla/javascript/DefaultErrorReporter.java
index 17ad79ac..c7d93d48 100644
--- a/src/org/mozilla/javascript/DefaultErrorReporter.java
+++ b/src/org/mozilla/javascript/DefaultErrorReporter.java
@@ -1,102 +1,113 @@
/* -*- Mode: java; tab-width... | true | true | public void error(String message, String sourceURI, int line,
String lineText, int lineOffset)
{
if (forEval) {
throw ScriptRuntime.constructError(
"SyntaxError", message, sourceURI, line, lineText, lineOffset);
}
if (chainedReporter != n... | public void error(String message, String sourceURI, int line,
String lineText, int lineOffset)
{
if (forEval) {
// Assume error message strings that start with "TypeError: "
// should become TypeError exceptions. A bit of a hack, but we
// don't ... |
diff --git a/opentripplanner-api-thrift/src/test/java/org/opentripplanner/api/thrift/impl/OTPServiceImplTest.java b/opentripplanner-api-thrift/src/test/java/org/opentripplanner/api/thrift/impl/OTPServiceImplTest.java
index 28b790234..807c52f65 100644
--- a/opentripplanner-api-thrift/src/test/java/org/opentripplanner/ap... | true | true | public void testFindPaths() throws TException {
PathOptions opts = new PathOptions();
opts.setNum_paths(1);
opts.setReturn_detailed_path(true);
TripParameters trip = new TripParameters();
trip.addToAllowed_modes(TravelMode.CAR);
P2<Location> pair = pickOriginAndDest... | public void testFindPaths() throws TException {
PathOptions opts = new PathOptions();
opts.setNum_paths(1);
opts.setReturn_detailed_path(true);
TripParameters trip = new TripParameters();
trip.addToAllowed_modes(TravelMode.CAR);
P2<Location> pair = pickOriginAndDest... |
diff --git a/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/PositionSearcher.java b/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/PositionSearcher.java
index 1d2030447..99a7a7958 100644
--- a/common/plugins/org.jboss.tools.common.model/src/org/jboss... | true | true | private void selectAttribute() {
if(attribute == null || attribute.length() == 0) return;
XAttribute a = object.getModelEntity().getAttribute(attribute);
if(isESB(a)) {
findESBAttrPosition(a);
}
String xml = (a == null) ? null : a.getXMLName();
if(xml == null || xml.length() == 0) return;
if(xml.inde... | private void selectAttribute() {
if(attribute == null || attribute.length() == 0) return;
XAttribute a = object.getModelEntity().getAttribute(attribute);
if(isESB(a)) {
findESBAttrPosition(a);
}
String xml = (a == null) ? null : a.getXMLName();
if(xml == null || xml.length() == 0) return;
if(xml.inde... |
diff --git a/org.emftext.sdk.ant/src/org/emftext/sdk/ant/GenerateTextResourceTask.java b/org.emftext.sdk.ant/src/org/emftext/sdk/ant/GenerateTextResourceTask.java
index fe7795d93..ea8123346 100644
--- a/org.emftext.sdk.ant/src/org/emftext/sdk/ant/GenerateTextResourceTask.java
+++ b/org.emftext.sdk.ant/src/org/emftext/s... | true | true | public void registerResourceFactories() {
registerFactory("ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl());
registerFactory("genmodel", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl());
registerFactory("cs", new org.emftext.sdk.concretesyntax.resource.cs.CsResourceFactory());... | public void registerResourceFactories() {
registerFactory("ecore", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl());
registerFactory("genmodel", new org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl());
registerFactory("cs", new org.emftext.sdk.concretesyntax.resource.cs.CsResourceFactory());... |
diff --git a/src/com/bingo/eatime/EaTimeServlet.java b/src/com/bingo/eatime/EaTimeServlet.java
index 616a8fa..229de47 100644
--- a/src/com/bingo/eatime/EaTimeServlet.java
+++ b/src/com/bingo/eatime/EaTimeServlet.java
@@ -1,31 +1,31 @@
package com.bingo.eatime;
import java.io.IOException;
import javax.servlet.Req... | true | true | public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
String isLogin=(String) req.getSession().getAttribute("loginStatus");
if(isLogin==null)
resp.sendRedirect("login");
if(isLogin.equals("false"))
resp.sendRedirect("login");
RequestDispatcher rd = req.getRequestDisp... | public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
String isLogin=(String) req.getSession().getAttribute("loginStatus");
if(isLogin==null)
resp.sendRedirect("login.jsp");
else if(isLogin.equals("false"))
resp.sendRedirect("login.jsp");
RequestDispatcher rd = req.g... |
diff --git a/src/main/java/com/brotherlogic/booser/servlets/APIEndpoint.java b/src/main/java/com/brotherlogic/booser/servlets/APIEndpoint.java
index 9ca31df..a064633 100644
--- a/src/main/java/com/brotherlogic/booser/servlets/APIEndpoint.java
+++ b/src/main/java/com/brotherlogic/booser/servlets/APIEndpoint.java
@@ -1,3... | true | true | protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
IOException
{
if (req.getParameter("action") != null && req.getParameter("action").equals("version"))
{
write(resp, "0.4");
return;
}
String token = null;
if (... | protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
IOException
{
if (req.getParameter("action") != null && req.getParameter("action").equals("version"))
{
write(resp, "0.4");
return;
}
String token = null;
if (... |
diff --git a/api/src/java/com/robonobo/mina/external/node/EonEndPoint.java b/api/src/java/com/robonobo/mina/external/node/EonEndPoint.java
index ed43c8b..34d8410 100755
--- a/api/src/java/com/robonobo/mina/external/node/EonEndPoint.java
+++ b/api/src/java/com/robonobo/mina/external/node/EonEndPoint.java
@@ -1,87 +1,89 ... | true | true | public static EonEndPoint parse(String url) {
Matcher m = EP_PATTERN.matcher(url);
if (!m.matches())
throw new RuntimeException("Error in url " + url);
String protocol = m.group(1);
try {
InetAddress addr = InetAddress.getByName(m.group(2));
int udpPort = Integer.parseInt(m.group(3));
int eonPort =... | public static EonEndPoint parse(String url) {
Matcher m = EP_PATTERN.matcher(url);
if (!m.matches())
throw new RuntimeException("Error in url " + url);
String protocol = m.group(1);
try {
InetAddress addr = InetAddress.getByName(m.group(2));
int udpPort = Integer.parseInt(m.group(3));
int eonPort =... |
diff --git a/src/com/norcode/bukkit/enhancedfishing/LootTable.java b/src/com/norcode/bukkit/enhancedfishing/LootTable.java
index 548f709..9e96782 100644
--- a/src/com/norcode/bukkit/enhancedfishing/LootTable.java
+++ b/src/com/norcode/bukkit/enhancedfishing/LootTable.java
@@ -1,94 +1,94 @@
package com.norcode.bukkit.e... | true | true | public Loot get(int lootingLevel) {
double max = 0;
double score = 0;
for (int i=0;i<random.nextInt(lootingLevel/2)+1;i++) {
score = random.nextDouble() * total;
if (score > max) max = score;
}
if (max >= total) {
max = total-1;
}
... | public Loot get(int lootingLevel) {
double max = 0;
double score = 0;
for (int i=0;i<random.nextInt((lootingLevel/2)+1);i++) {
score = random.nextDouble() * total;
if (score > max) max = score;
}
if (max >= total) {
max = total-1;
... |
diff --git a/plugins/org.obeonetwork.dsl.uml2.design/src/org/obeonetwork/dsl/uml2/design/services/SequenceServices.java b/plugins/org.obeonetwork.dsl.uml2.design/src/org/obeonetwork/dsl/uml2/design/services/SequenceServices.java
index 7fc91bbc..7eba49e4 100644
--- a/plugins/org.obeonetwork.dsl.uml2.design/src/org/obeon... | true | true | public void createSynchronousMessage(Interaction interaction, NamedElement sourceFragment,
NamedElement targetFragment, Operation operation, NamedElement startingEndPredecessor,
NamedElement finishingEndPredecessor) {
Lifeline source = getLifeline(sourceFragment);
Lifeline target = getLifeline(targetFragment... | public void createSynchronousMessage(Interaction interaction, NamedElement sourceFragment,
NamedElement targetFragment, Operation operation, NamedElement startingEndPredecessor,
NamedElement finishingEndPredecessor) {
Lifeline source = getLifeline(sourceFragment);
Lifeline target = getLifeline(targetFragment... |
diff --git a/src/com/redhat/ceylon/compiler/loader/model/LazyPackage.java b/src/com/redhat/ceylon/compiler/loader/model/LazyPackage.java
index 6fb3b7bea..d072ed5f5 100644
--- a/src/com/redhat/ceylon/compiler/loader/model/LazyPackage.java
+++ b/src/com/redhat/ceylon/compiler/loader/model/LazyPackage.java
@@ -1,180 +1,18... | false | true | public Declaration getDirectMember(String name, List<ProducedType> signature, boolean ellipsis) {
synchronized(modelLoader){
String pkgName = getQualifiedNameString();
// we need its package ready first
modelLoader.loadPackage(pkgName, false);
// make sure ... | public Declaration getDirectMember(String name, List<ProducedType> signature, boolean ellipsis) {
synchronized(modelLoader){
String pkgName = getQualifiedNameString();
// we need its package ready first
modelLoader.loadPackage(pkgName, false);
// make sure ... |
diff --git a/src/RDFaAnnotator/main/TemplateGenerater.java b/src/RDFaAnnotator/main/TemplateGenerater.java
index f794e48..65555a8 100644
--- a/src/RDFaAnnotator/main/TemplateGenerater.java
+++ b/src/RDFaAnnotator/main/TemplateGenerater.java
@@ -1,240 +1,240 @@
package RDFaAnnotator.main;
import java.io.FileNotFound... | true | true | public String createTemplate(String template_name){
String topic_local_name = this.model.getResource(this.topic_uri).getLocalName();
if(topic_local_name != null && !topic_local_name.equals(""))
template_str += "<div about=\"${topic.topicuri}\">about: <a href=\"${topic.topicuri}\">"+topic_local_name+"</a><br/>\r... | public String createTemplate(String template_name){
// String topic_local_name = this.model.getResource(this.topic_uri).getLocalName();
// if(topic_local_name != null && !topic_local_name.equals(""))
// template_str += "<div about=\"${topic.topicuri}\">about: <a href=\"${topic.topicuri}\">"+topic_local_name+"</a><... |
diff --git a/tests/org.bonitasoft.studio.engine.test/src/org/bonitasoft/studio/engine/test/bar/BarExporterTest.java b/tests/org.bonitasoft.studio.engine.test/src/org/bonitasoft/studio/engine/test/bar/BarExporterTest.java
index 957ab07ec0..d3b6931458 100644
--- a/tests/org.bonitasoft.studio.engine.test/src/org/bonitasof... | false | true | public void testServerBuild() {
SWTBotTestUtil.createNewDiagram(bot);
SWTBotEditor activeEditor = bot.activeEditor();
String editorTitle = activeEditor.getTitle();
//System.out.println("editorTitle1 = "+editorTitle1);
Assert.assertFalse("Error: first diagram name is empty.",... | public void testServerBuild() {
SWTBotTestUtil.createNewDiagram(bot);
SWTBotEditor activeEditor = bot.activeEditor();
String editorTitle = activeEditor.getTitle();
//System.out.println("editorTitle1 = "+editorTitle1);
Assert.assertFalse("Error: first diagram name is empty.",... |
diff --git a/src/edu/upenn/cis/cis350/algorithmvisualization/BinPackingProblemFactory.java b/src/edu/upenn/cis/cis350/algorithmvisualization/BinPackingProblemFactory.java
index 22856d3..755bdcb 100644
--- a/src/edu/upenn/cis/cis350/algorithmvisualization/BinPackingProblemFactory.java
+++ b/src/edu/upenn/cis/cis350/algo... | false | true | public BinPackingProblemFactory(Context context) {
//Initialize instance variables
easyBins = new ArrayList<Bin>();
mediumBins = new ArrayList<Bin>();
hardBins = new ArrayList<Bin>();
easyObjects = new ArrayList<BinObject>();
mediumObjects = new ArrayList<BinObject>();
hardObjects = new ArrayList<BinObje... | public BinPackingProblemFactory(Context context) {
//Initialize instance variables
easyBins = new ArrayList<Bin>();
mediumBins = new ArrayList<Bin>();
hardBins = new ArrayList<Bin>();
easyObjects = new ArrayList<BinObject>();
mediumObjects = new ArrayList<BinObject>();
hardObjects = new ArrayList<BinObje... |
diff --git a/src/main/java/net/craftminecraft/bungee/bungeeyaml/BungeeYAML.java b/src/main/java/net/craftminecraft/bungee/bungeeyaml/BungeeYAML.java
index b030c3e..57c13aa 100644
--- a/src/main/java/net/craftminecraft/bungee/bungeeyaml/BungeeYAML.java
+++ b/src/main/java/net/craftminecraft/bungee/bungeeyaml/BungeeYAML.... | true | true | public void onLoading() {
// Set version
String[] version = this.getDescription().getVersion().split("-");
buildnumber = version[version.length-1];
// Save a copy of the default config.yml if one is not there
this.saveDefaultConfig();
// If we don't autoupda... | public void onLoading() {
// Set version
String[] version = this.getDescription().getVersion().split("-");
buildnumber = version[version.length-1];
// Save a copy of the default config.yml if one is not there
this.saveDefaultConfig();
// If we don't autoupda... |
diff --git a/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitAdd.java b/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitAdd.java
index 8a49a09..4671feb 100644
--- a/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitAdd.java
+++ b/src/main/groovy/org/ajoberstar/gradle/git/tasks/GitAdd.java
@@ -1,78 +1,78 @@
/*
... | true | true | void add() {
final AddCommand cmd = getGit().add();
cmd.setUpdate(isIgnoreUntracked());
getSource().visit(new FileVisitor() {
public void visitDir(FileVisitDetails arg0) {
visitFile(arg0);
}
public void visitFile(FileVisitDetails arg0) {
cmd.addFilepattern(arg0.getPath());
}
});
tr... | void add() {
final AddCommand cmd = getGit().add();
cmd.setUpdate(isIgnoreUntracked());
getSource().visit(new FileVisitor() {
public void visitDir(FileVisitDetails arg0) {
// visitFile(arg0);
}
public void visitFile(FileVisitDetails arg0) {
cmd.addFilepattern(arg0.getPath());
}
});
... |
diff --git a/src/com/paypal/core/ReflectionUtil.java b/src/com/paypal/core/ReflectionUtil.java
index 0c080b4..f072cd4 100644
--- a/src/com/paypal/core/ReflectionUtil.java
+++ b/src/com/paypal/core/ReflectionUtil.java
@@ -1,125 +1,130 @@
package com.paypal.core;
import java.lang.reflect.AccessibleObject;
import jav... | true | true | public static Map<String, Object> generateMapFromResponse(Object responseType,
String prefix) {
if (responseType == null) {
return null;
}
Map<String, Object> responseMap = new HashMap<String, Object>();
// To check return types
Map<String, Object> returnMap;
Object returnObject;
try {
Class... | public static Map<String, Object> generateMapFromResponse(Object responseType,
String prefix) {
if (responseType == null) {
return null;
}
Map<String, Object> responseMap = new HashMap<String, Object>();
// To check return types
Map<String, Object> returnMap;
Object returnObject;
try {
Class... |
diff --git a/nfctools-ndef/src/main/java/org/nfctools/ndef/unknown/UnknownRecordDecoder.java b/nfctools-ndef/src/main/java/org/nfctools/ndef/unknown/UnknownRecordDecoder.java
index a2e4c98..b79d364 100644
--- a/nfctools-ndef/src/main/java/org/nfctools/ndef/unknown/UnknownRecordDecoder.java
+++ b/nfctools-ndef/src/main/... | true | true | protected UnknownRecord createRecord(NdefRecord ndefRecord, NdefMessageDecoder messageDecoder) {
/**
The value 0x05 (Unknown) SHOULD be used to indicate that the type of the payload is
unknown. This is similar to the �application/octet-stream� media type defined by MIME [RFC
2046]. When used, the TYPE_LENG... | protected UnknownRecord createRecord(NdefRecord ndefRecord, NdefMessageDecoder messageDecoder) {
/**
The value 0x05 (Unknown) SHOULD be used to indicate that the type of the payload is
unknown. This is similar to the �application/octet-stream� media type defined by MIME [RFC
2046]. When used, the TYPE_LENG... |
diff --git a/PlayerSDK/src/com/kaltura/playersdk/PlayerViewController.java b/PlayerSDK/src/com/kaltura/playersdk/PlayerViewController.java
index 2a790868..a40de755 100644
--- a/PlayerSDK/src/com/kaltura/playersdk/PlayerViewController.java
+++ b/PlayerSDK/src/com/kaltura/playersdk/PlayerViewController.java
@@ -1,670 +1,... | true | true | public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (url != null) {
Log.d(TAG, "--------------------url to load: " + url);
if ( url.startsWith("js-frame:") ) {
String[] arr = url.split(":");
if (arr ... | public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (url != null) {
Log.d(TAG, "shouldOverrideUrlLoading::url to load: " + url);
if ( url.startsWith("js-frame:") ) {
String[] arr = url.split(":");
if... |
diff --git a/src/play/modules/gtengineplugin/gt_integration/GTJavaBase1xImpl.java b/src/play/modules/gtengineplugin/gt_integration/GTJavaBase1xImpl.java
index cd99c2d..beec33c 100644
--- a/src/play/modules/gtengineplugin/gt_integration/GTJavaBase1xImpl.java
+++ b/src/play/modules/gtengineplugin/gt_integration/GTJavaBas... | false | true | public void internalRenderTemplate(Map<String, Object> args, boolean startingNewRendering) throws GTTemplateNotFoundWithSourceInfo, GTRuntimeException {
// make sure the old layoutData referees to the same in map-instance as what the new impl uses
BaseTemplate.layoutData.set( GTJavaBase.layoutData.g... | public void internalRenderTemplate(Map<String, Object> args, GTJavaBase callingTemplate) throws GTTemplateNotFoundWithSourceInfo, GTRuntimeException {
// make sure the old layoutData referees to the same in map-instance as what the new impl uses
BaseTemplate.layoutData.set( GTJavaBase.layoutData.get... |
diff --git a/src/org/jetbrains/idea/plugin/gitbar/action/BasicProxyAction.java b/src/org/jetbrains/idea/plugin/gitbar/action/BasicProxyAction.java
index c8090cf..fb16d47 100644
--- a/src/org/jetbrains/idea/plugin/gitbar/action/BasicProxyAction.java
+++ b/src/org/jetbrains/idea/plugin/gitbar/action/BasicProxyAction.java... | true | true | public void update(AnActionEvent actionEvent) {
try {
AnAction anaction = ActionManager.getInstance().getAction(getActionId());
if (anaction != null)
anaction.beforeActionPerformedUpdate(actionEvent);
else {
Project project = actionEvent.ge... | public void update(AnActionEvent actionEvent) {
try {
AnAction anaction = ActionManager.getInstance().getAction(getActionId());
if (anaction != null)
anaction.beforeActionPerformedUpdate(actionEvent);
else {
Project project = actionEvent.ge... |
diff --git a/src/main/java/org/unigram/docvalidator/validator/SentenceIterator.java b/src/main/java/org/unigram/docvalidator/validator/SentenceIterator.java
index 4663e6a3..5aab021d 100644
--- a/src/main/java/org/unigram/docvalidator/validator/SentenceIterator.java
+++ b/src/main/java/org/unigram/docvalidator/validator... | true | true | public boolean loadConfiguration(Configuration conf,
CharacterTable charTable) throws DocumentValidatorException {
for (Iterator<Configuration> confIterator = conf.getChildren();
confIterator.hasNext();) {
Configuration currentConfiguration = confIterator.next();
String confName = curre... | public boolean loadConfiguration(Configuration conf,
CharacterTable charTable) throws DocumentValidatorException {
for (Iterator<Configuration> confIterator = conf.getChildren();
confIterator.hasNext();) {
Configuration currentConfiguration = confIterator.next();
String confName = curre... |
diff --git a/src/labo_json/User.java b/src/labo_json/User.java
index 63f4dbc..6d5882e 100644
--- a/src/labo_json/User.java
+++ b/src/labo_json/User.java
@@ -1,68 +1,68 @@
package labo_json;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java... | true | true | public static ArrayList<User> ordonnerListe(){
ArrayList<User> liste = list;
Collections.sort(liste, new Comparator<User>(){
@Override
public int compare(User user1, User user2){
return user1.score() - user2.score();
}
});
return l... | public static ArrayList<User> ordonnerListe(){
ArrayList<User> liste = list;
Collections.sort(liste, new Comparator<User>(){
@Override
public int compare(User user1, User user2){
return user2.score() - user1.score();
}
});
return l... |
diff --git a/jxr/maven-jxr/maven-jxr-js/src/main/java/org/apache/maven/jxr/js/doc/GenerateHTMLDoc.java b/jxr/maven-jxr/maven-jxr-js/src/main/java/org/apache/maven/jxr/js/doc/GenerateHTMLDoc.java
index 03a3cee9d..16704b598 100644
--- a/jxr/maven-jxr/maven-jxr-js/src/main/java/org/apache/maven/jxr/js/doc/GenerateHTMLDoc.... | false | true | public GenerateHTMLDoc( File fis, String destDir )
{
String nomeArquivo = fis.getName();
try
{
fos = new FileOutputStream( destDir + nomeArquivo.substring( 0, nomeArquivo.indexOf( "." ) ) + ".htm" );
br = new BufferedReader( new FileReader( fis ) );
}
... | public GenerateHTMLDoc( File fis, String destDir )
{
String nomeArquivo = fis.getName();
try
{
fos = new FileOutputStream( destDir + nomeArquivo.substring( 0, nomeArquivo.indexOf( "." ) ) + ".htm" );
br = new BufferedReader( new FileReader( fis ) );
}
... |
diff --git a/src/Client/ConfigForm.java b/src/Client/ConfigForm.java
index de123748..4c71373b 100644
--- a/src/Client/ConfigForm.java
+++ b/src/Client/ConfigForm.java
@@ -1,485 +1,485 @@
/*
* ConfigForm.java
*
* Created on 20.05.2008, 22:47
* Copyright (c) 2006-2008, Daniel Apatin (ad), http://apatin.net.ru
... | true | true | public ConfigForm() {
super(SR.MS_OPTIONS);
cf=Config.getInstance();
itemsList.addElement(new SimpleString(SR.MS_ROSTER_ELEMENTS, true));
showOfflineContacts = new CheckBox(SR.MS_OFFLINE_CONTACTS, cf.showOfflineContacts); itemsList.addElement(showOfflineContacts);
s... | public ConfigForm() {
super(SR.MS_OPTIONS);
cf=Config.getInstance();
itemsList.addElement(new SimpleString(SR.MS_ROSTER_ELEMENTS, true));
showOfflineContacts = new CheckBox(SR.MS_OFFLINE_CONTACTS, cf.showOfflineContacts); itemsList.addElement(showOfflineContacts);
s... |
diff --git a/modules/cpr/src/main/java/org/atmosphere/websocket/DefaultWebSocketProcessor.java b/modules/cpr/src/main/java/org/atmosphere/websocket/DefaultWebSocketProcessor.java
index dedddba79..0c970ad5f 100644
--- a/modules/cpr/src/main/java/org/atmosphere/websocket/DefaultWebSocketProcessor.java
+++ b/modules/cpr/s... | true | true | public void close(WebSocket webSocket, int closeCode) {
logger.trace("WebSocket closed with {}", closeCode);
WebSocketHandler webSocketHandler = webSocket.webSocketHandler();
// A message might be in the process of being processed and the websocket gets closed. In that corner
// cas... | public void close(WebSocket webSocket, int closeCode) {
logger.trace("WebSocket closed with {}", closeCode);
WebSocketHandler webSocketHandler = webSocket.webSocketHandler();
// A message might be in the process of being processed and the websocket gets closed. In that corner
// cas... |
diff --git a/blocks/sublima-app/src/main/java/com/computas/sublima/app/service/AdminService.java b/blocks/sublima-app/src/main/java/com/computas/sublima/app/service/AdminService.java
index 9e417535..1239da4c 100644
--- a/blocks/sublima-app/src/main/java/com/computas/sublima/app/service/AdminService.java
+++ b/blocks/su... | true | true | public String getNavigationDetailsForTopicPage(String subject) {
// This query, relies on that all relations are explicitly stated.
// I.e. a triple for both skos:broader and skos:narrower must exist.
// Small fix added allowing concepts to not have relations at all.
String sparqlConstructQuery =
... | public String getNavigationDetailsForTopicPage(String subject) {
// This query, relies on that all relations are explicitly stated.
// I.e. a triple for both skos:broader and skos:narrower must exist.
// Small fix added allowing concepts to not have relations at all.
String sparqlConstructQuery =
... |
diff --git a/TekkitRestrict/src/com/github/dreadslicer/tekkitrestrict/TRNoDupe.java b/TekkitRestrict/src/com/github/dreadslicer/tekkitrestrict/TRNoDupe.java
index 0f55423..d49efdc 100644
--- a/TekkitRestrict/src/com/github/dreadslicer/tekkitrestrict/TRNoDupe.java
+++ b/TekkitRestrict/src/com/github/dreadslicer/tekkitre... | true | true | public static void handleDupes(InventoryClickEvent event) {
// event.getInventory();
Player player = tekkitrestrict.getInstance().getServer()
.getPlayer(event.getWhoClicked().getName());
int slot = event.getSlot();
String title = event.getView().getTopInventory().getTitle()
.toLowerCase();
tek... | public static void handleDupes(InventoryClickEvent event) {
// event.getInventory();
Player player = tekkitrestrict.getInstance().getServer()
.getPlayer(event.getWhoClicked().getName());
int slot = event.getSlot();
String title = event.getView().getTopInventory().getTitle()
.toLowerCase();
//t... |
diff --git a/src/org/accesointeligente/client/presenters/RequestStatusPresenter.java b/src/org/accesointeligente/client/presenters/RequestStatusPresenter.java
index 1e35cc1..96e34a2 100644
--- a/src/org/accesointeligente/client/presenters/RequestStatusPresenter.java
+++ b/src/org/accesointeligente/client/presenters/Req... | true | true | public void showRequest(Integer requestId) {
requestService.getRequest(requestId, new AsyncCallback<Request>() {
@Override
public void onFailure(Throwable caught) {
showNotification("No es posible recuperar la solicitud", NotificationEventType.ERROR);
}
@Override
public void onSuccess(Request re... | public void showRequest(Integer requestId) {
requestService.getRequest(requestId, new AsyncCallback<Request>() {
@Override
public void onFailure(Throwable caught) {
showNotification("No es posible recuperar la solicitud", NotificationEventType.ERROR);
}
@Override
public void onSuccess(Request re... |
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/cubecomps/src/net/gnehzr/tnoodle/cubecomps/InitializeCubecompsDbServlet.java b/cubecomps/src/net/gnehzr/tnoodle/cubecomps/InitializeCubecompsDbServlet.java
index 339f9a5f..23665f1f 100644
--- a/cubecomps/src/net/gnehzr/tnoodle/cubecomps/InitializeCubecompsDbServlet.java
+++ b/cubecomps/src/net/gnehzr/tnood... | true | true | private void safeInit() throws IOException, SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException, NamingException {
StringBuilder schema;
String dataStructurePath = getServletContext().getRealPath("cubecomps/DATA-STRUCTURE.md");
FileInputStream dataStructureInputStream = new FileI... | private void safeInit() throws IOException, SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException, NamingException {
StringBuilder schema;
String dataStructurePath = getServletContext().getRealPath("cubecomps/DATA-STRUCTURE.md");
FileInputStream dataStructureInputStream = new FileI... |
diff --git a/src/instructions/USI_POP.java b/src/instructions/USI_POP.java
index d802266..22a4d47 100644
--- a/src/instructions/USI_POP.java
+++ b/src/instructions/USI_POP.java
@@ -1,152 +1,152 @@
package instructions;
import static assemblernator.ErrorReporting.makeError;
import assemblernator.AbstractInstruction... | false | true | @Override public boolean check(ErrorHandler hErr, Module module) {
boolean isValid = true;
int value;
if(this.operands.size() > 2) {
hErr.reportError(makeError("extraOperandsIns", this.getOpId()), this.lineNum, -1);
isValid = false;
} else if(this.operands.size() < 1) {
hErr.reportError(makeError("to... | @Override public boolean check(ErrorHandler hErr, Module module) {
boolean isValid = true;
int value;
if(this.operands.size() > 2) {
hErr.reportError(makeError("extraOperandsIns", this.getOpId()), this.lineNum, -1);
isValid = false;
} else if(this.operands.size() < 1) {
hErr.reportError(makeError("to... |
diff --git a/ps3mediaserver/net/pms/network/UPNPHelper.java b/ps3mediaserver/net/pms/network/UPNPHelper.java
index 0c780af5..df4e36e3 100644
--- a/ps3mediaserver/net/pms/network/UPNPHelper.java
+++ b/ps3mediaserver/net/pms/network/UPNPHelper.java
@@ -1,280 +1,282 @@
/*
* PS3 Media Server, for streaming any medias to... | true | true | public static void listen() throws IOException {
Runnable rAlive = new Runnable() {
public void run() {
try {
Thread.sleep(180000); // every 180s
sendAlive();
} catch (Exception e) {
PMS.info("Error while sending periodic alive message: " + e.getMessage());
}
}
};
aliveThread = n... | public static void listen() throws IOException {
Runnable rAlive = new Runnable() {
public void run() {
while (true) {
try {
Thread.sleep(180000); // every 180s
sendAlive();
} catch (Exception e) {
PMS.info("Error while sending periodic alive message: " + e.getMessage());
}
... |
diff --git a/webapp/src/main/java/org/imirsel/nema/webapp/controller/FlowController.java b/webapp/src/main/java/org/imirsel/nema/webapp/controller/FlowController.java
index 19827ec..ed4d1ed 100644
--- a/webapp/src/main/java/org/imirsel/nema/webapp/controller/FlowController.java
+++ b/webapp/src/main/java/org/imirsel/ne... | true | true | public ModelAndView getTemplateFlows(HttpServletRequest req, HttpServletResponse res){
String type = req.getParameter("type");
if(type==null){
type="all";
}
ModelAndView mav;
String uri = req.getRequestURI();
if (uri.substring(uri.length() - 4).equalsIgnoreCase("json")) {
mav = new ModelAndView("j... | public ModelAndView getTemplateFlows(HttpServletRequest req, HttpServletResponse res){
String type = req.getParameter("type");
if(type==null){
type="all";
}
ModelAndView mav;
String uri = req.getRequestURI();
if (uri.substring(uri.length() - 4).equalsIgnoreCase("json")) {
mav = new ModelAndView("j... |
diff --git a/src/main/java/org/spout/vanilla/protocol/handler/EntityInteractionMessageHandler.java b/src/main/java/org/spout/vanilla/protocol/handler/EntityInteractionMessageHandler.java
index 44edc033..9feb9e7a 100644
--- a/src/main/java/org/spout/vanilla/protocol/handler/EntityInteractionMessageHandler.java
+++ b/src... | true | true | public void handle(Session session, Player player, EntityInteractionMessage message) {
//TODO what happens if the controller is in a different region?
Entity clickedEntity = player.getEntity().getWorld().getRegion(player.getEntity().getPosition()).getEntity(message.getTarget());
if (clickedEntity == null) {
r... | public void handle(Session session, Player player, EntityInteractionMessage message) {
Entity clickedEntity = player.getEntity().getWorld().getEntity(message.getTarget());
if (clickedEntity == null) {
return;
}
if (message.isPunching()) {
if (clickedEntity.getController() instanceof VanillaPlayer && !Va... |
diff --git a/src/java/fedora/utilities/install/InstallOptions.java b/src/java/fedora/utilities/install/InstallOptions.java
index b3c699dff..016011385 100644
--- a/src/java/fedora/utilities/install/InstallOptions.java
+++ b/src/java/fedora/utilities/install/InstallOptions.java
@@ -1,420 +1,420 @@
package fedora.utiliti... | true | true | public InstallOptions(Distribution dist)
throws InstallationCancelledException {
_dist = dist;
_map = new HashMap<Object, Object>();
System.out.println();
System.out.println("**********************");
System.out.println(" Fedora Installation ");
System.out... | public InstallOptions(Distribution dist)
throws InstallationCancelledException {
_dist = dist;
_map = new HashMap<Object, Object>();
System.out.println();
System.out.println("**********************");
System.out.println(" Fedora Installation ");
System.out... |
diff --git a/src/main/java/me/ase34/citylanterns/executor/SettingsComandExecutor.java b/src/main/java/me/ase34/citylanterns/executor/SettingsComandExecutor.java
index e976851..d1ab33e 100644
--- a/src/main/java/me/ase34/citylanterns/executor/SettingsComandExecutor.java
+++ b/src/main/java/me/ase34/citylanterns/executor... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (args.length < 2) {
return false;
}
String group = "main";
if (args.length == 3) {
group = args[0];
}
String variable = args[args.le... | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (args.length < 2) {
return false;
}
String group = "main";
if (args.length == 3) {
group = args[0];
}
String variable = args[args.le... |
diff --git a/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java b/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java
index eaf27bd29..da2e0d54b 100644
--- a/portlet/exoadmin/src/main/java/org/exoplatform/organization/w... | false | true | public void execute(Event<UIMembershipTypeForm> event) throws Exception
{
UIMembershipTypeForm uiForm = event.getSource();
UIMembershipManagement uiMembershipManagement = uiForm.getParent();
OrganizationService service = uiForm.getApplicationComponent(OrganizationService.class);
... | public void execute(Event<UIMembershipTypeForm> event) throws Exception
{
UIMembershipTypeForm uiForm = event.getSource();
UIMembershipManagement uiMembershipManagement = uiForm.getParent();
OrganizationService service = uiForm.getApplicationComponent(OrganizationService.class);
... |
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java b/packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
index ea1a32df..009a6062 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/halo... | false | true | public boolean onTouchEvent(MotionEvent event) {
mGestureDetector.onTouchEvent(event);
final int action = event.getAction();
switch(action) {
case MotionEvent.ACTION_DOWN:
// Stop HALO from moving around, unschedule sleeping patterns
if (mState !=... | public boolean onTouchEvent(MotionEvent event) {
mGestureDetector.onTouchEvent(event);
final int action = event.getAction();
switch(action) {
case MotionEvent.ACTION_DOWN:
// Stop HALO from moving around, unschedule sleeping patterns
if (mState !=... |
diff --git a/org.mosaic.web/src/main/java/org/mosaic/web/impl/RequestDispatcher.java b/org.mosaic.web/src/main/java/org/mosaic/web/impl/RequestDispatcher.java
index bb6c1424..5a09a0b9 100644
--- a/org.mosaic.web/src/main/java/org/mosaic/web/impl/RequestDispatcher.java
+++ b/org.mosaic.web/src/main/java/org/mosaic/web/i... | true | true | protected void service( HttpServletRequest req, HttpServletResponse resp ) throws ServletException, IOException
{
resp.setHeader( HttpHeaders.SERVER, "Mosaic Web Server / " + this.module.getContext().getServerVersion() );
Application application = findApplication( req );
if( application... | protected void service( HttpServletRequest req, HttpServletResponse resp ) throws ServletException, IOException
{
resp.setHeader( HttpHeaders.SERVER, "Mosaic Web Server / " + this.module.getContext().getServerVersion() );
Application application = findApplication( req );
if( application... |
diff --git a/java/marytts/server/Mary.java b/java/marytts/server/Mary.java
index 43aee2b1a..8654e279e 100755
--- a/java/marytts/server/Mary.java
+++ b/java/marytts/server/Mary.java
@@ -1,392 +1,411 @@
/**
* Copyright 2000-2006 DFKI GmbH.
* All Rights Reserved. Use is subject to license terms.
*
* Permission ... | false | true | public static void startup() throws Exception
{
if (currentState != STATE_OFF) throw new IllegalStateException("Cannot start system: it is not offline");
currentState = STATE_STARTING;
addJarsToClasspath();
MaryProperties.readProperties();
// Configure Logging:
... | public static void startup() throws Exception
{
if (currentState != STATE_OFF) throw new IllegalStateException("Cannot start system: it is not offline");
currentState = STATE_STARTING;
addJarsToClasspath();
MaryProperties.readProperties();
// Configure Logging:
... |
diff --git a/src/main/java/com/bergerkiller/bukkit/common/controller/EntityNetworkController.java b/src/main/java/com/bergerkiller/bukkit/common/controller/EntityNetworkController.java
index 7bd5928..8f4c3eb 100644
--- a/src/main/java/com/bergerkiller/bukkit/common/controller/EntityNetworkController.java
+++ b/src/main... | true | true | public void syncVehicle() {
org.bukkit.entity.Entity oldVehicle = this.getVehicleSynched();
org.bukkit.entity.Entity newVehicle = entity.getVehicle();
if (oldVehicle != newVehicle) { // || (newVehicle != null && isTick(60))) { << DISABLED UNTIL IT ACTUALLY WORKS
this.syncVehicle(newVehicle);
}
}
/**
* ... | public void syncVehicle() {
org.bukkit.entity.Entity oldVehicle = this.getVehicleSynched();
org.bukkit.entity.Entity newVehicle = entity.getVehicle();
if (oldVehicle != newVehicle) { // || (newVehicle != null && isTick(60))) { << DISABLED UNTIL IT ACTUALLY WORKS
this.syncVehicle(newVehicle);
}
}
/**
* ... |
diff --git a/GAE/src/org/waterforpeople/mapping/dao/SurveyInstanceDAO.java b/GAE/src/org/waterforpeople/mapping/dao/SurveyInstanceDAO.java
index 36dc378c2..1f7c31ed2 100644
--- a/GAE/src/org/waterforpeople/mapping/dao/SurveyInstanceDAO.java
+++ b/GAE/src/org/waterforpeople/mapping/dao/SurveyInstanceDAO.java
@@ -1,434 +... | true | true | public SurveyInstance save(Date collectionDate, DeviceFiles deviceFile,
Long userID, List<String> unparsedLines) {
SurveyInstance si = new SurveyInstance();
boolean hasErrors = false;
si.setDeviceFile(deviceFile);
si.setUserID(userID);
String delimiter = "\t";
ArrayList<QuestionAnswerStore> qasList = n... | public SurveyInstance save(Date collectionDate, DeviceFiles deviceFile,
Long userID, List<String> unparsedLines) {
SurveyInstance si = new SurveyInstance();
boolean hasErrors = false;
si.setDeviceFile(deviceFile);
si.setUserID(userID);
String delimiter = "\t";
ArrayList<QuestionAnswerStore> qasList = n... |
diff --git a/src/main/java/com/github/ucchyocean/lc/command/InfoCommand.java b/src/main/java/com/github/ucchyocean/lc/command/InfoCommand.java
index 433a665..e36f8fb 100644
--- a/src/main/java/com/github/ucchyocean/lc/command/InfoCommand.java
+++ b/src/main/java/com/github/ucchyocean/lc/command/InfoCommand.java
@@ -1,1... | true | true | public boolean runCommand(
CommandSender sender, String label, String[] args) {
Player player = null;
if (sender instanceof Player) {
player = (Player) sender;
}
// 引数チェック
// このコマンドは、コンソールでも実行できるが、その場合はチャンネル名を指定する必要がある
String cname = null;
... | public boolean runCommand(
CommandSender sender, String label, String[] args) {
Player player = null;
if (sender instanceof Player) {
player = (Player) sender;
}
// 引数チェック
// このコマンドは、コンソールでも実行できるが、その場合はチャンネル名を指定する必要がある
String cname = null;
... |
diff --git a/src/de/uni_koblenz/jgralab/greql2/evaluator/vertexeval/PathExistenceEvaluator.java b/src/de/uni_koblenz/jgralab/greql2/evaluator/vertexeval/PathExistenceEvaluator.java
index ffea22309..22ced1b8b 100644
--- a/src/de/uni_koblenz/jgralab/greql2/evaluator/vertexeval/PathExistenceEvaluator.java
+++ b/src/de/uni... | false | true | public JValue evaluate() throws EvaluateException {
PathDescription p = (PathDescription) vertex.getFirstIsPathOf(
EdgeDirection.IN).getAlpha();
PathDescriptionEvaluator pathDescEval = (PathDescriptionEvaluator) greqlEvaluator
.getVertexEvaluatorGraphMarker().getMark(p);
Expression startExpression = (Exp... | public JValue evaluate() throws EvaluateException {
PathDescription p = (PathDescription) vertex.getFirstIsPathOf(
EdgeDirection.IN).getAlpha();
PathDescriptionEvaluator pathDescEval = (PathDescriptionEvaluator) greqlEvaluator
.getVertexEvaluatorGraphMarker().getMark(p);
Expression startExpression = (Exp... |
diff --git a/com.ggasoftware.indigo.knime.plugin/src/com/ggasoftware/indigo/knime/convert/molloader/IndigoMoleculeLoaderNodeModel.java b/com.ggasoftware.indigo.knime.plugin/src/com/ggasoftware/indigo/knime/convert/molloader/IndigoMoleculeLoaderNodeModel.java
index a593b38..810739d 100644
--- a/com.ggasoftware.indigo.kn... | true | true | protected BufferedDataTable[] execute (final BufferedDataTable[] inData,
final ExecutionContext exec) throws Exception
{
DataTableSpec inputTableSpec = inData[0].getDataTableSpec();
DataTableSpec[] outputSpecs = getDataTableSpecs(inputTableSpec);
BufferedDataContainer validOutputContai... | protected BufferedDataTable[] execute (final BufferedDataTable[] inData,
final ExecutionContext exec) throws Exception
{
DataTableSpec inputTableSpec = inData[0].getDataTableSpec();
DataTableSpec[] outputSpecs = getDataTableSpecs(inputTableSpec);
BufferedDataContainer validOutputContai... |
diff --git a/chunchun/src/jbossas/java/com/jboss/datagrid/chunchun/session/PostBean.java b/chunchun/src/jbossas/java/com/jboss/datagrid/chunchun/session/PostBean.java
index 4a7c7f4..d50ba96 100644
--- a/chunchun/src/jbossas/java/com/jboss/datagrid/chunchun/session/PostBean.java
+++ b/chunchun/src/jbossas/java/com/jboss... | true | true | private void reloadPosts(int limit) {
long now = System.currentTimeMillis();
List<String> following = auth.get().getUser().getWatching();
long[] ages = chooseRecentPostsStrategy(following.size());
// add initial entry (oldest possible one)
recentPosts.add(new DisplayPost());
... | private void reloadPosts(int limit) {
long now = System.currentTimeMillis();
List<String> following = auth.get().getUser().getWatching();
long[] ages = chooseRecentPostsStrategy(following.size());
//make sure we have an empty list before reloading, otherwise entries will be contained more... |
diff --git a/src/jp/tsuttsu305/onPlayerDeathEvent.java b/src/jp/tsuttsu305/onPlayerDeathEvent.java
index 8d4cd58..3d84182 100644
--- a/src/jp/tsuttsu305/onPlayerDeathEvent.java
+++ b/src/jp/tsuttsu305/onPlayerDeathEvent.java
@@ -1,169 +1,168 @@
package jp.tsuttsu305;
import org.bukkit.entity.Entity;
import org.buk... | true | true | public void onPlayerDeath(PlayerDeathEvent event){
// プレイヤーとプレイヤーが最後に受けたダメージイベントを取得
Player deader = event.getEntity();
final EntityDamageEvent cause = event.getEntity().getLastDamageCause();
// 死亡メッセージ
String deathMessage = event.getDeathMessage();
String name = deader.getName();
// ダメージイベントを受けずに死んだ... | public void onPlayerDeath(PlayerDeathEvent event){
// プレイヤーとプレイヤーが最後に受けたダメージイベントを取得
Player deader = event.getEntity();
final EntityDamageEvent cause = event.getEntity().getLastDamageCause();
// 死亡メッセージ
String deathMessage = event.getDeathMessage();
String name = deader.getName();
// ダメージイベントを受けずに死んだ... |
diff --git a/src/PrimerDesign/src/view/Splash.java b/src/PrimerDesign/src/view/Splash.java
index cffd5a1..8fc389c 100644
--- a/src/PrimerDesign/src/view/Splash.java
+++ b/src/PrimerDesign/src/view/Splash.java
@@ -1,169 +1,169 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the ... | true | true | private void initComponents() {
titleLabel = new javax.swing.JLabel();
leftLabel = new javax.swing.JLabel();
bottomLabel = new javax.swing.JLabel();
rightLabel = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
bottomTextArea = new javax.swing.... | private void initComponents() {
titleLabel = new javax.swing.JLabel();
leftLabel = new javax.swing.JLabel();
bottomLabel = new javax.swing.JLabel();
rightLabel = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
bottomTextArea = new javax.swing.... |
diff --git a/src/org/openjump/core/ui/plugin/mousemenu/SaveDatasetsPlugIn.java b/src/org/openjump/core/ui/plugin/mousemenu/SaveDatasetsPlugIn.java
index a16f0cfe..bb90a3d1 100644
--- a/src/org/openjump/core/ui/plugin/mousemenu/SaveDatasetsPlugIn.java
+++ b/src/org/openjump/core/ui/plugin/mousemenu/SaveDatasetsPlugIn.ja... | true | true | private List splitLayer(PlugInContext context, Layer layer)
{
ArrayList newLayers = new ArrayList();
if (!CompatibleFeatures(layer))
{
ArrayList emptyFeatures = new ArrayList();
ArrayList pointFeatures = new ArrayList();
ArrayList lineFeatures = new Array... | private List splitLayer(PlugInContext context, Layer layer)
{
ArrayList newLayers = new ArrayList();
if (!CompatibleFeatures(layer))
{
ArrayList emptyFeatures = new ArrayList();
ArrayList pointFeatures = new ArrayList();
ArrayList lineFeatures = new Array... |
diff --git a/parser/org/eclipse/cdt/core/dom/parser/GNUScannerExtensionConfiguration.java b/parser/org/eclipse/cdt/core/dom/parser/GNUScannerExtensionConfiguration.java
index 9a97e0da0..f1b0757f6 100644
--- a/parser/org/eclipse/cdt/core/dom/parser/GNUScannerExtensionConfiguration.java
+++ b/parser/org/eclipse/cdt/core/... | true | true | public GNUScannerExtensionConfiguration() {
addMacro("__complex__", "_Complex");
addMacro("__extension__", "");
addMacro("__imag__", "(int)");
addMacro("__real__", "(int)");
addMacro("__stdcall", "");
addMacro("__thread", "");
addMacro("__builtin_va_arg(ap,type)", "*(typeof(type) *)ap");
addMacro("_... | public GNUScannerExtensionConfiguration() {
addMacro("__complex__", "_Complex");
addMacro("__extension__", "");
addMacro("__imag__", "(int)");
addMacro("__real__", "(int)");
addMacro("__stdcall", "");
addMacro("__thread", "");
addMacro("__builtin_va_arg(ap,type)", "*(typeof(type) *)ap");
addMacro("_... |
diff --git a/htroot/ConfigBasic.java b/htroot/ConfigBasic.java
index 7f6a20492..b1d3cca1e 100644
--- a/htroot/ConfigBasic.java
+++ b/htroot/ConfigBasic.java
@@ -1,278 +1,278 @@
// ConfigBasic.java
// -----------------------
// part of YaCy
// (C) by Michael Peter Christen; mc@yacy.net
// first published on http:/... | true | true | public static serverObjects respond(final RequestHeader header, final serverObjects post, final serverSwitch env) throws FileNotFoundException, IOException {
// return variable that accumulates replacements
final Switchboard sb = (Switchboard) env;
final serverObjects prop = new ser... | public static serverObjects respond(final RequestHeader header, final serverObjects post, final serverSwitch env) throws FileNotFoundException, IOException {
// return variable that accumulates replacements
final Switchboard sb = (Switchboard) env;
final serverObjects prop = new ser... |
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
index 74300532..b9116e27 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
+++ b/packages/SystemUI/src/com/android/sy... | true | true | private void makeStatusBarView(Context context) {
Resources res = context.getResources();
mTouchDispatcher = new ItemTouchDispatcher(this);
int defValuesColor = context.getResources().getInteger(com.android.internal.R.color.color_default_cyanmobile);
int defValuesIconSize = context... | private void makeStatusBarView(Context context) {
Resources res = context.getResources();
mTouchDispatcher = new ItemTouchDispatcher(this);
int defValuesColor = context.getResources().getInteger(com.android.internal.R.color.color_default_cyanmobile);
int defValuesIconSize = context... |
diff --git a/src/jcue/ui/DeviceControlPanel.java b/src/jcue/ui/DeviceControlPanel.java
index c57351b..188f184 100644
--- a/src/jcue/ui/DeviceControlPanel.java
+++ b/src/jcue/ui/DeviceControlPanel.java
@@ -1,159 +1,160 @@
package jcue.ui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
imp... | true | true | public DeviceControlPanel(AudioCue targetCue, SoundDevice targetDevice) {
super(new MigLayout("fillx"));
super.setBorder(BorderFactory.createTitledBorder(targetDevice.getName()));
this.targetCue = targetCue;
this.targetDevice = targetDevice;
this.volumeLabel... | public DeviceControlPanel(AudioCue targetCue, SoundDevice targetDevice) {
super(new MigLayout("fillx"));
super.setBorder(BorderFactory.createTitledBorder(targetDevice.getName()));
this.targetCue = targetCue;
this.targetDevice = targetDevice;
this.volumeLabel... |
diff --git a/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/validation/XcoreJvmTypeReferencesValidator.java b/plugins/org.eclipse.emf.ecore.xcore/src/org/eclipse/emf/ecore/xcore/validation/XcoreJvmTypeReferencesValidator.java
index c1a6f900c..0b75249de 100644
--- a/plugins/org.eclipse.emf.ecore.xco... | true | true | public void checkTypeArgsAgainstTypeParameters(JvmParameterizedTypeReference typeRef)
{
if (typeRef.eContainmentFeature() != XcorePackage.Literals.XCLASSIFIER__INSTANCE_TYPE ||
((XClassifier)typeRef.eContainer()).getTypeParameters().isEmpty())
{
super.checkTypeArgsAgainstTypeParameters(typeRe... | public void checkTypeArgsAgainstTypeParameters(JvmParameterizedTypeReference typeRef)
{
if (typeRef.eContainmentFeature() != XcorePackage.Literals.XCLASSIFIER__INSTANCE_TYPE ||
((XClassifier)typeRef.eContainer()).getTypeParameters().isEmpty() && !"java.util.Map$Entry".equals(typeRef.getIdentifier()))
... |
diff --git a/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/session/SipApplicationSessionImpl.java b/servers/sip-servlets/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/session/SipApplicationSessionImpl.java
index a30699b34..c1de26709 100644
--- a/servers/sip-servlet... | false | true | public void invalidate() {
if(!isValid) {
throw new IllegalStateException("SipApplicationSession already invalidated !");
}
if(logger.isInfoEnabled()) {
logger.info("Invalidating the following sip application session " + key);
}
//JSR 289 Section 6.1.2.2.1
//When the IllegalStateException is thrown, ... | public void invalidate() {
if(!isValid) {
throw new IllegalStateException("SipApplicationSession already invalidated !");
}
if(logger.isInfoEnabled()) {
logger.info("Invalidating the following sip application session " + key);
}
//JSR 289 Section 6.1.2.2.1
//When the IllegalStateException is thrown, ... |
diff --git a/src/statemachine/year1/microwaveoven/MicroWaveOven.java b/src/statemachine/year1/microwaveoven/MicroWaveOven.java
index 3fe910b..a85c9cd 100644
--- a/src/statemachine/year1/microwaveoven/MicroWaveOven.java
+++ b/src/statemachine/year1/microwaveoven/MicroWaveOven.java
@@ -1,56 +1,56 @@
package statemachine... | true | true | public void build() {
frame("Microwve oven",Layout.VERTICAL,
panel(Layout.HORIZONTAL,
label(text("Current state: ")),
label(name("state"),text("?"))),
panel(Layout.HORIZONTAL,
label(text("Controls: ")),
... | public void build() {
frame("Microwave oven",Layout.VERTICAL,
panel(Layout.HORIZONTAL,
label(text("Current state: ")),
label(name("state"),text("?"))),
panel(Layout.HORIZONTAL,
label(text("Controls: ")),
... |
diff --git a/plugins/org.eclipse.acceleo.engine/src/org/eclipse/acceleo/engine/service/properties/BundleAcceleoPropertiesLoaderService.java b/plugins/org.eclipse.acceleo.engine/src/org/eclipse/acceleo/engine/service/properties/BundleAcceleoPropertiesLoaderService.java
index a53bcb54..1e634767 100644
--- a/plugins/org.e... | true | true | protected Properties alternatePropertiesLoading(String filepath) {
Properties properties = new Properties();
if (EMFPlugin.IS_ECLIPSE_RUNNING && bundle != null) {
try {
URL resource = bundle.getResource(filepath);
if (resource != null) {
properties.load(resource.openStream());
} else if (filepa... | protected Properties alternatePropertiesLoading(String filepath) {
Properties properties = new Properties();
if (EMFPlugin.IS_ECLIPSE_RUNNING && bundle != null) {
try {
URL resource = bundle.getResource(filepath);
if (resource != null) {
properties.load(resource.openStream());
} else if (filepa... |
diff --git a/nuget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/ui/ToolSelectorController.java b/nuget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/ui/ToolSelectorController.java
index 29ad1266..6bd12238 100644
--- a/nuget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/ui/ToolSel... | true | true | protected ModelAndView doHandle(HttpServletRequest request, HttpServletResponse response) throws Exception {
final String name = safe(request.getParameter("name"));
String value = parseValue(request, "value", name);
final Collection<ToolInfo> tools = getTools();
final ToolInfo bundledTool = ensureVers... | protected ModelAndView doHandle(HttpServletRequest request, HttpServletResponse response) throws Exception {
final String name = safe(request.getParameter("name"));
String value = parseValue(request, "value", name);
final Collection<ToolInfo> tools = getTools();
final ToolInfo bundledTool = ensureVers... |
diff --git a/plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/validator/RubyValidator.java b/plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/validator/RubyValidator.java
index 2b25b8e..a6ace8f 100644
--- a/plugins/com.aptana.editor.ruby/src/com/aptana/editor/ruby/validator/RubyValidator.java
+++ b/pl... | true | true | public List<IValidationItem> validate(String source, final URI path, final IValidationManager manager)
{
List<IValidationItem> items = new ArrayList<IValidationItem>();
// Check what the version of the current ruby interpreter is and use that to determine which parser compat
// to use!
CompatVersion version =... | public List<IValidationItem> validate(String source, final URI path, final IValidationManager manager)
{
List<IValidationItem> items = new ArrayList<IValidationItem>();
// Check what the version of the current ruby interpreter is and use that to determine which parser compat
// to use!
CompatVersion version =... |
diff --git a/conan-atlas-processes/src/main/java/uk/ac/ebi/fgpt/conan/process/atlas/PerlExperimentEligibilityCheckingProcess.java b/conan-atlas-processes/src/main/java/uk/ac/ebi/fgpt/conan/process/atlas/PerlExperimentEligibilityCheckingProcess.java
index 36c79bc..11a289a 100755
--- a/conan-atlas-processes/src/main/java... | true | true | protected String getCommand(Map<ConanParameter, String> parameters) throws IllegalArgumentException {
getLog().debug("Executing " + getName() + " with the following parameters: " + parameters.toString());
// deal with parameters
AccessionParameter accession = new AccessionParameter();
... | protected String getCommand(Map<ConanParameter, String> parameters) throws IllegalArgumentException {
getLog().debug("Executing " + getName() + " with the following parameters: " + parameters.toString());
// deal with parameters
AccessionParameter accession = new AccessionParameter();
... |
diff --git a/src/java/com/thomasdimson/wikipedia/lda/java/TopicSensitivePageRank.java b/src/java/com/thomasdimson/wikipedia/lda/java/TopicSensitivePageRank.java
index e381c14..39727d6 100644
--- a/src/java/com/thomasdimson/wikipedia/lda/java/TopicSensitivePageRank.java
+++ b/src/java/com/thomasdimson/wikipedia/lda/java... | true | true | public void run() {
double [] lastRank = new double[numNodes];
double [] thisRank = new double[numNodes];
final int numIterations = 15;
for(int iteration = 0; ; iteration++) {
double []tmp = thisRank;
thisRank = lastRank;
... | public void run() {
double [] lastRank = new double[numNodes];
double [] thisRank = new double[numNodes];
for(int iteration = 0; ; iteration++) {
double []tmp = thisRank;
thisRank = lastRank;
lastRank = tmp;
if... |
diff --git a/modello-plugins/modello-plugin-xsd/src/main/java/org/codehaus/modello/plugin/xsd/XsdGenerator.java b/modello-plugins/modello-plugin-xsd/src/main/java/org/codehaus/modello/plugin/xsd/XsdGenerator.java
index 3c90b75d..ad6c3ca0 100644
--- a/modello-plugins/modello-plugin-xsd/src/main/java/org/codehaus/modello... | false | true | private void writeComplexTypeDescriptor( XMLWriter w, Model objectModel, ModelClass modelClass, Set written )
{
written.add( modelClass );
w.startElement( "xs:complexType" );
w.addAttribute( "name", modelClass.getName() );
List fields = getFieldsForClass( modelClass );
... | private void writeComplexTypeDescriptor( XMLWriter w, Model objectModel, ModelClass modelClass, Set written )
{
written.add( modelClass );
w.startElement( "xs:complexType" );
w.addAttribute( "name", modelClass.getName() );
List fields = getFieldsForClass( modelClass );
... |
diff --git a/src/tconstruct/client/block/SearedRender.java b/src/tconstruct/client/block/SearedRender.java
index 7c71e5dd5..25025a408 100644
--- a/src/tconstruct/client/block/SearedRender.java
+++ b/src/tconstruct/client/block/SearedRender.java
@@ -1,455 +1,455 @@
package tconstruct.client.block;
import cpw.mods.fm... | false | true | public boolean renderWorldBlock (IBlockAccess world, int x, int y, int z, Block block, int modelID, RenderBlocks renderer)
{
if (modelID == searedModel)
{
int metadata = world.getBlockMetadata(x, y, z);
if (metadata == 0)
{
//Top
... | public boolean renderWorldBlock (IBlockAccess world, int x, int y, int z, Block block, int modelID, RenderBlocks renderer)
{
if (modelID == searedModel)
{
int metadata = world.getBlockMetadata(x, y, z);
if (metadata == 0)
{
//Top
... |
diff --git a/src/FE_SRC_COMMON/com/ForgeEssentials/chat/commands/CommandR.java b/src/FE_SRC_COMMON/com/ForgeEssentials/chat/commands/CommandR.java
index 2bf830169..38df8afdb 100644
--- a/src/FE_SRC_COMMON/com/ForgeEssentials/chat/commands/CommandR.java
+++ b/src/FE_SRC_COMMON/com/ForgeEssentials/chat/commands/CommandR.... | true | true | public void processCommandPlayer(EntityPlayer sender, String[] args)
{
if (args.length == 0)
{
OutputHandler.chatError(sender, Localization.get(Localization.ERROR_BADSYNTAX) + "/r <message>");
return;
}
if (args.length > 0)
{
String target = CommandMsg.getPlayerReply(sender.getCommandSenderName());... | public void processCommandPlayer(EntityPlayer sender, String[] args)
{
if (args.length == 0)
{
OutputHandler.chatError(sender, Localization.get(Localization.ERROR_BADSYNTAX) + "/r <message>");
return;
}
if (args.length > 0)
{
String target = CommandMsg.getPlayerReply(sender.getCommandSenderName());... |
diff --git a/src/team/win/WhiteBoardView.java b/src/team/win/WhiteBoardView.java
index d722fd2..6f5ec43 100644
--- a/src/team/win/WhiteBoardView.java
+++ b/src/team/win/WhiteBoardView.java
@@ -1,158 +1,158 @@
package team.win;
import java.util.LinkedList;
import java.util.List;
import android.content.Context;
... | false | true | protected void onDraw(Canvas c) {
Paint temp = new Paint();
temp.setColor(Color.WHITE);
temp.setStyle(Paint.Style.FILL);
c.drawRect(0, 0, mWidth, mHeight, temp);
for (Primitive p : mDataStore.mPrimitiveList) {
mPaint.setColor(p.mColor | 0xFF000000);
mPaint.setStrokeWidth(p.mStrokeWidth * mWidth);
P... | protected void onDraw(Canvas c) {
Paint temp = new Paint();
temp.setColor(Color.WHITE);
temp.setStyle(Paint.Style.FILL);
c.drawRect(0, 0, mWidth, mHeight, temp);
for (Primitive p : mDataStore.mPrimitiveList) {
mPaint.setColor(p.mColor | 0xFF000000);
mPaint.setStrokeWidth(p.mStrokeWidth * mWidth);
P... |
diff --git a/native/test/SalesforceSDKTest/src/com/salesforce/androidsdk/phonegap/SDKInfoPluginTest.java b/native/test/SalesforceSDKTest/src/com/salesforce/androidsdk/phonegap/SDKInfoPluginTest.java
index 9a35e3b22..9912532b0 100644
--- a/native/test/SalesforceSDKTest/src/com/salesforce/androidsdk/phonegap/SDKInfoPlugi... | true | true | public void testGetForcePluginsFromXML() {
List<String> plugins = SDKInfoPlugin.getForcePluginsFromXML(getInstrumentation().getTargetContext());
assertEquals("Wrong number of force plugins", 3, plugins.size());
assertTrue("oauth plugin should have been returned", plugins.contains("com.salesforce.oauth"));
asse... | public void testGetForcePluginsFromXML() {
List<String> plugins = SDKInfoPlugin.getForcePluginsFromXML(getInstrumentation().getTargetContext());
assertEquals("Wrong number of force plugins", 3, plugins.size());
assertTrue("oauth plugin should have been returned", plugins.contains("com.salesforce.oauth"));
asse... |
diff --git a/patientview/src/main/java/com/worthsoln/patientview/user/UserUtils.java b/patientview/src/main/java/com/worthsoln/patientview/user/UserUtils.java
index 1ec8103f..c4243d3e 100644
--- a/patientview/src/main/java/com/worthsoln/patientview/user/UserUtils.java
+++ b/patientview/src/main/java/com/worthsoln/patie... | true | true | private static boolean isNhsChecksumValid(String nhsNumber) {
/**
* Generate the checksum using modulus 11 algorithm
*/
int checksum = 0;
try {
// Multiply each of the first 9 digits by 10-character position (where the left character is in position 0)
... | private static boolean isNhsChecksumValid(String nhsNumber) {
/**
* Generate the checksum using modulus 11 algorithm
*/
int checksum = 0;
try {
// Multiply each of the first 9 digits by 10-character position (where the left character is in position 0)
... |
diff --git a/src/de/ueller/midlet/gps/Trace.java b/src/de/ueller/midlet/gps/Trace.java
index c919663d..3a5b38b0 100644
--- a/src/de/ueller/midlet/gps/Trace.java
+++ b/src/de/ueller/midlet/gps/Trace.java
@@ -1,3429 +1,3429 @@
/*
* GpsMid - Copyright (c) 2007 Harald Mueller james22 at users dot sourceforge dot net
*... | true | true | public void commandAction(Command c, Displayable d) {
updateLastUserActionTime();
try {
if((keyboardLocked) && (d != null)) {
// show alert in keypressed() that keyboard is locked
keyPressed(0);
return;
}
if ((c == CMDS[PAN_LEFT25_CMD]) || (c == CMDS[PAN_RIGHT25_CMD])
|| (c == CMDS[P... | public void commandAction(Command c, Displayable d) {
updateLastUserActionTime();
try {
if((keyboardLocked) && (d != null)) {
// show alert in keypressed() that keyboard is locked
keyPressed(0);
return;
}
if ((c == CMDS[PAN_LEFT25_CMD]) || (c == CMDS[PAN_RIGHT25_CMD])
|| (c == CMDS[P... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.