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/BetterWifiOnOff/src/com/asksven/betterwifionoff/PreferencesActivity.java b/BetterWifiOnOff/src/com/asksven/betterwifionoff/PreferencesActivity.java
index f00591c..51194ca 100644
--- a/BetterWifiOnOff/src/com/asksven/betterwifionoff/PreferencesActivity.java
+++ b/BetterWifiOnOff/src/com/asksven/betterwifion... | false | true | public void onSharedPreferenceChanged(SharedPreferences prefs, String key)
{
// handle wifi_on_when_screen_unlock and wifi_on_when_screen_on as a toggle
if (key.equals("wifi_on_when_screen_unlock"))
{
// if this value was just turned on make sure "wen_screen_off" gets unchecked
... | public void onSharedPreferenceChanged(SharedPreferences prefs, String key)
{
// handle wifi_on_when_screen_unlock and wifi_on_when_screen_on as a toggle
if (key.equals("wifi_on_when_screen_unlock"))
{
// if this value was just turned on make sure "wen_screen_off" gets unchecked
... |
diff --git a/src/DVN-web/src/edu/harvard/iq/dvn/core/web/login/AccountPage.java b/src/DVN-web/src/edu/harvard/iq/dvn/core/web/login/AccountPage.java
index 8c0d446f..6deceac7 100644
--- a/src/DVN-web/src/edu/harvard/iq/dvn/core/web/login/AccountPage.java
+++ b/src/DVN-web/src/edu/harvard/iq/dvn/core/web/login/AccountPag... | true | true | public void init() {
super.init();
statusMessage = (StatusMessage)getRequestMap().get("statusMessage");
if (userId == null && !(getRequestMap().get("userId") == null)){
userId = new Long((String) getRequestMap().get("userId"));
}
user = userService.... | public void init() {
super.init();
if (userId != null) {
user = userService.find(userId);
} else {
user = getVDCSessionBean().getUser();
}
}
|
diff --git a/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFRowLM.java b/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFRowLM.java
index af229718f..6ce41dfbe 100644
--- a/plugins/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/... | true | true | protected boolean traverseChildren( )
{
boolean childBreak = false;
// first loop
if ( children.size( ) == 0 )
{
while ( executor.hasNextChild( ) )
{
IReportItemExecutor childExecutor = executor.getNextChild( );
IContent childContent = childExecutor.execute( );
PDFAbstractLM childLM = getFac... | protected boolean traverseChildren( )
{
boolean childBreak = false;
// first loop
if ( children.size( ) == 0 )
{
while ( executor.hasNextChild( ) )
{
IReportItemExecutor childExecutor = executor.getNextChild( );
IContent childContent = childExecutor.execute( );
PDFAbstractLM childLM = getFac... |
diff --git a/hale/eu.esdihumboldt.hale.schema/src/eu/esdihumboldt/hale/schema/model/impl/DefaultTypeDefinition.java b/hale/eu.esdihumboldt.hale.schema/src/eu/esdihumboldt/hale/schema/model/impl/DefaultTypeDefinition.java
index b461f2899..d4c9b60ea 100644
--- a/hale/eu.esdihumboldt.hale.schema/src/eu/esdihumboldt/hale/s... | true | true | private void initInheritedChildren() {
if (inheritedChildren == null) {
inheritedChildren = new LinkedHashMap<QName, ChildDefinition<?>>();
// populate inherited attributes
DefaultTypeDefinition parent = getSuperType();
LinkedList<DefaultTypeDefinition> parents = new LinkedList<DefaultTypeDefinition>... | private void initInheritedChildren() {
if (inheritedChildren == null) {
inheritedChildren = new LinkedHashMap<QName, ChildDefinition<?>>();
// populate inherited attributes
DefaultTypeDefinition parent = getSuperType();
LinkedList<DefaultTypeDefinition> parents = new LinkedList<DefaultTypeDefinition>... |
diff --git a/gui/src/main/java/org/jboss/as/console/client/analytics/CustomAnalyticsImpl.java b/gui/src/main/java/org/jboss/as/console/client/analytics/CustomAnalyticsImpl.java
index a14d59cb..9eb2b4c8 100644
--- a/gui/src/main/java/org/jboss/as/console/client/analytics/CustomAnalyticsImpl.java
+++ b/gui/src/main/java/... | true | true | public void init(String userAccount) {
Element firstScript = Document.get().getElementsByTagName("script").getItem(0);
ScriptElement config = Document.get().createScriptElement(
"var _gaq = _gaq || [];_gaq.push(['_setAccount', '" + userAccount
+ "']);_gaq.push(['_trackPageview']);");
... | public void init(String userAccount) {
Element firstScript = Document.get().getElementsByTagName("script").getItem(0);
ScriptElement config = Document.get().createScriptElement(
"var _gaq = _gaq || [];_gaq.push(['_setAccount', '" + userAccount
+ "']);_gaq.push (['_gat._anonymizeIp']);_gaq... |
diff --git a/plugins/org.eclipse.m2m.atl.engine.emfvm/src/org/eclipse/m2m/atl/engine/emfvm/ASMOperation.java b/plugins/org.eclipse.m2m.atl.engine.emfvm/src/org/eclipse/m2m/atl/engine/emfvm/ASMOperation.java
index cac0cd34..ee465bfe 100644
--- a/plugins/org.eclipse.m2m.atl.engine.emfvm/src/org/eclipse/m2m/atl/engine/emf... | false | true | public Object exec(org.eclipse.m2m.atl.engine.emfvm.lib.StackFrame frame) {
// Note: debug is not initialized from a constant, and therefore has a performance impact
// TODO: measure this impact, and possibly remove the debug code
final boolean debug = frame.execEnv.step;
Object localVars[] = frame.localVars;
... | public Object exec(org.eclipse.m2m.atl.engine.emfvm.lib.StackFrame frame) {
// Note: debug is not initialized from a constant, and therefore has a performance impact
// TODO: measure this impact, and possibly remove the debug code
final boolean debug = frame.execEnv.step;
Object localVars[] = frame.localVars;
... |
diff --git a/src/main/java/net/aufdemrand/denizen/objects/dEntity.java b/src/main/java/net/aufdemrand/denizen/objects/dEntity.java
index de4cd61fe..6da149ea9 100644
--- a/src/main/java/net/aufdemrand/denizen/objects/dEntity.java
+++ b/src/main/java/net/aufdemrand/denizen/objects/dEntity.java
@@ -1,1818 +1,1818 @@
pack... | false | true | public String getAttribute(Attribute attribute) {
if (attribute == null) return null;
if (entity == null) {
dB.echoError("dEntity has returned null.");
return Element.NULL.getAttribute(attribute);
}
/////////////////////
// DEBUG ATTRIBUTES
... | public String getAttribute(Attribute attribute) {
if (attribute == null) return null;
if (entity == null) {
dB.echoError("dEntity has returned null.");
return Element.NULL.getAttribute(attribute);
}
/////////////////////
// DEBUG ATTRIBUTES
... |
diff --git a/flexodesktop/technologyadapters/emfconnector/src/main/java/org/openflexo/technologyadapter/emf/viewpoint/editionaction/SelectEMFObjectIndividual.java b/flexodesktop/technologyadapters/emfconnector/src/main/java/org/openflexo/technologyadapter/emf/viewpoint/editionaction/SelectEMFObjectIndividual.java
index... | true | true | public List<EMFObjectIndividual> performAction(EditionSchemeAction action) {
if (getModelSlotInstance(action) == null) {
logger.warning("Could not access model slot instance. Abort.");
return null;
}
System.out.println("Selecting EMFObjectIndividuals in " + getModelSlotInstance(action).getModel() + " with... | public List<EMFObjectIndividual> performAction(EditionSchemeAction action) {
if (getModelSlotInstance(action) == null) {
logger.warning("Could not access model slot instance. Abort.");
return null;
}
if (getModelSlotInstance(action).getModel() == null) {
logger.warning("Could not access model adressed b... |
diff --git a/opal-cli/src/main/java/org/obiba/opal/cli/client/command/ImportCommand.java b/opal-cli/src/main/java/org/obiba/opal/cli/client/command/ImportCommand.java
index 53ed628aa..833cf5aa4 100644
--- a/opal-cli/src/main/java/org/obiba/opal/cli/client/command/ImportCommand.java
+++ b/opal-cli/src/main/java/org/obib... | false | true | private void importFiles(List<File> filesToImport) {
String destination = options.getDatasource();
System.out.println("Importing files");
for(File file : filesToImport) {
System.out.println("\t" + file.getPath());
try {
importService.importData(destination, options.getOwner(), file)... | private void importFiles(List<File> filesToImport) {
String destination = options.getDatasource();
System.out.println("Importing files");
for(File file : filesToImport) {
System.out.println("\t" + file.getPath());
try {
importService.importData(destination, options.getOwner(), file)... |
diff --git a/raoa-client/src/main/java/ch/bergturbenthal/raoa/client/photo/PhotoOverviewActivity.java b/raoa-client/src/main/java/ch/bergturbenthal/raoa/client/photo/PhotoOverviewActivity.java
index 27ae81a..4ca4b7b 100644
--- a/raoa-client/src/main/java/ch/bergturbenthal/raoa/client/photo/PhotoOverviewActivity.java
++... | false | true | public boolean onCreateOptionsMenu(final Menu menu) {
switch (currentMode) {
case SELECTION:
getMenuInflater().inflate(R.menu.photo_overview_selection_menu, menu);
final ShareActionProvider shareActionProvider = (ShareActionProvider) menu.findItem(R.id.photo_overview_menu_share).getActionProvider();
fina... | public boolean onCreateOptionsMenu(final Menu menu) {
switch (currentMode) {
case SELECTION:
getMenuInflater().inflate(R.menu.photo_overview_selection_menu, menu);
final ShareActionProvider shareActionProvider = (ShareActionProvider) menu.findItem(R.id.photo_overview_menu_share).getActionProvider();
fina... |
diff --git a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
index cf4ccfea..28766c21 100644
--- a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
+++ b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
@@ -1,88 +1,8... | true | true | protected KeyboardId createKeyboardId(Locale locale) {
final int displayWidth = getContext().getResources().getDisplayMetrics().widthPixels;
return new KeyboardId(locale.toString() + " keyboard",
com.android.inputmethod.latin.R.xml.kbd_qwerty, KeyboardView.COLOR_SCHEME_WHITE,
... | protected KeyboardId createKeyboardId(Locale locale) {
final int displayWidth = getContext().getResources().getDisplayMetrics().widthPixels;
return new KeyboardId(locale.toString() + " keyboard",
com.android.inputmethod.latin.R.xml.kbd_qwerty, KeyboardView.COLOR_SCHEME_WHITE,
... |
diff --git a/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/RobocodeEditor.java b/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/RobocodeEditor.java
index 1194c96a2..da317b50e 100644
--- a/robocode.ui.editor/src/main/java/net/sf/robocode/ui/editor/RobocodeEditor.java
+++ b/robocode.ui.editor/src... | false | true | private void createNewRobot(final String robotType) {
String message = "Enter the name of your new robot.\nExample: MyFirst" + robotType
+ "\nNote that the name cannot contain spaces.";
String name = "";
boolean done = false;
while (!done) {
name = (String) JOptionPane.showInputDialog(this, message, "... | private void createNewRobot(final String robotType) {
String message = "Enter the name of your new robot.\nExample: MyFirst" + robotType
+ "\nNote that the name cannot contain spaces.";
String name = "";
boolean done = false;
while (!done) {
name = (String) JOptionPane.showInputDialog(this, message, "... |
diff --git a/core/src/main/java/hudson/model/ListView.java b/core/src/main/java/hudson/model/ListView.java
index 9d0d6af1a..4491d2201 100644
--- a/core/src/main/java/hudson/model/ListView.java
+++ b/core/src/main/java/hudson/model/ListView.java
@@ -1,213 +1,213 @@
package hudson.model;
import hudson.Util;
import h... | true | true | public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
checkPermission(CONFIGURE);
req.setCharacterEncoding("UTF-8");
jobNames.clear();
for (TopLevelItem item : owner.getItems()) {
if(req.getPara... | public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
checkPermission(CONFIGURE);
req.setCharacterEncoding("UTF-8");
jobNames.clear();
for (TopLevelItem item : owner.getItems()) {
if(req.getPara... |
diff --git a/src/com/jpii/navalbattle/data/WindowHandler.java b/src/com/jpii/navalbattle/data/WindowHandler.java
index 724b1066..c2b840b5 100644
--- a/src/com/jpii/navalbattle/data/WindowHandler.java
+++ b/src/com/jpii/navalbattle/data/WindowHandler.java
@@ -1,103 +1,103 @@
/*
* Copyright (C) 2012 JPII and contribut... | true | true | public void killAll() {
for(int index = 0; index<windows.size(); index+=0){
JFrame temp = windows.get(index);
if(temp instanceof SinglePlayerGame){
index++;
}
else{
((Window)temp).donewithMe();
windows.remove(index);
}
}
System.out.println("Done");
}
| public void killAll() {
for(int index = 0; index<windows.size(); index+=0){
JFrame temp = windows.get(index);
if(temp instanceof SinglePlayerGame){
index++;
}
else{
((Window)temp).donewithMe();
windows.remove(index);
}
}
System.out.println("Done!");
}
|
diff --git a/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java b/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java
index 45f8d057..3d34cf99 100644
--- a/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java
+++ b/src/main/java/org/apache/commons/digester3/ObjectCreateRule.java
@... | false | true | public void begin( String namespace, String name, Attributes attributes )
throws Exception
{
Class<?> clazz = this.clazz;
if ( clazz == null )
{
// Identify the name of the class to instantiate
String realClassName = className;
if ( attributeN... | public void begin( String namespace, String name, Attributes attributes )
throws Exception
{
Class<?> clazz = this.clazz;
if ( clazz == null )
{
// Identify the name of the class to instantiate
String realClassName = className;
if ( attributeN... |
diff --git a/common/logisticspipes/LogisticsPipes.java b/common/logisticspipes/LogisticsPipes.java
index 7f463d07..4e3a0931 100644
--- a/common/logisticspipes/LogisticsPipes.java
+++ b/common/logisticspipes/LogisticsPipes.java
@@ -1,448 +1,451 @@
/**
* Copyright (c) Krapht, 2011
*
* "LogisticsPipes" is distrib... | false | true | public void PostLoad(FMLPostInitializationEvent event) {
boolean isClient = MainProxy.isClient();
ProxyManager.load();
SpecialInventoryHandlerManager.load();
SimpleServiceLocator.specialpipeconnection.registerHandler(new TeleportPipes());
SimpleServiceLocator.specialtileconnection.registerHandler(new ... | public void PostLoad(FMLPostInitializationEvent event) {
boolean isClient = MainProxy.isClient();
ProxyManager.load();
SpecialInventoryHandlerManager.load();
SimpleServiceLocator.specialpipeconnection.registerHandler(new TeleportPipes());
SimpleServiceLocator.specialtileconnection.registerHandler(new ... |
diff --git a/src/main/java/ru/urbancamper/audiobookmarker/text/BitapSubtextFinding.java b/src/main/java/ru/urbancamper/audiobookmarker/text/BitapSubtextFinding.java
index f284d64..e634b56 100644
--- a/src/main/java/ru/urbancamper/audiobookmarker/text/BitapSubtextFinding.java
+++ b/src/main/java/ru/urbancamper/audiobook... | false | true | public List<Integer> find(Integer[] doc, Integer[] pattern, int k) {
// Range of the alphabet
// 128 is enough if we stay in the ASCII range (0-127)
int alphabetRange = 128;
int firstMatchedText = -1;
// Indexes where the pattern was found
ArrayList<Integer> indexes = new ArrayList<Integer>... | public List<Integer> find(Integer[] doc, Integer[] pattern, int k) {
// Range of the alphabet
// 128 is enough if we stay in the ASCII range (0-127)
int alphabetRange = 128;
int firstMatchedText = -1;
// Indexes where the pattern was found
ArrayList<Integer> indexes = new ArrayList<Integer>... |
diff --git a/px68k-android/src/org/libsdl/app/SDLActivity.java b/px68k-android/src/org/libsdl/app/SDLActivity.java
index ed6f4ef..d0e011f 100644
--- a/px68k-android/src/org/libsdl/app/SDLActivity.java
+++ b/px68k-android/src/org/libsdl/app/SDLActivity.java
@@ -1,906 +1,906 @@
package org.libsdl.app;
import javax.mi... | true | true | public void surfaceChanged(SurfaceHolder holder,
int format, int width, int height) {
Log.v("SDL", "surfaceChanged()");
int sdlFormat = 0x15151002; // SDL_PIXELFORMAT_RGB565 by default
switch (format) {
case PixelFormat.A_8:
Log.v("SDL", "p... | public void surfaceChanged(SurfaceHolder holder,
int format, int width, int height) {
Log.v("SDL", "surfaceChanged()");
int sdlFormat = 0x15151002; // SDL_PIXELFORMAT_RGB565 by default
switch (format) {
case PixelFormat.A_8:
Log.v("SDL", "p... |
diff --git a/src/com/login/LoginServlet.java b/src/com/login/LoginServlet.java
index 003bf52..2c90bdf 100644
--- a/src/com/login/LoginServlet.java
+++ b/src/com/login/LoginServlet.java
@@ -1,72 +1,72 @@
package com.login;
import com.login.LoginBean;
import com.login.LoginDAO;
import java.io.IOException;
import... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession(false);
if (session == null || session.getAttribute("currentSessionUser") == null) {
try {
System.out.println("I... | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession(false);
if (session == null || session.getAttribute("currentSessionUser") == null) {
try {
System.out.println("I... |
diff --git a/wayback-core/src/main/java/org/archive/wayback/accesscontrol/robotstxt/redis/UpdateRobotsRequestHandler.java b/wayback-core/src/main/java/org/archive/wayback/accesscontrol/robotstxt/redis/UpdateRobotsRequestHandler.java
index 674e91327..bccfb50a2 100644
--- a/wayback-core/src/main/java/org/archive/wayback/... | true | true | public boolean handleRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse) throws ServletException,
IOException {
String url = this.translateRequestPath(httpRequest);
PrintWriter writer = httpResponse.getWriter();
httpResponse.setContentType("text/html");
writer.println("<html>... | public boolean handleRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse) throws ServletException,
IOException {
String url = this.translateRequestPath(httpRequest);
PrintWriter writer = httpResponse.getWriter();
httpResponse.setContentType("text/html");
writer.println("<html>... |
diff --git a/war/src/main/java/no/sesat/search/view/taglib/SearchTabMainTag.java b/war/src/main/java/no/sesat/search/view/taglib/SearchTabMainTag.java
index 9ab1726b0..c5c46d38b 100644
--- a/war/src/main/java/no/sesat/search/view/taglib/SearchTabMainTag.java
+++ b/war/src/main/java/no/sesat/search/view/taglib/SearchTab... | false | true | public void doTag() throws JspException {
final PageContext cxt = (PageContext) getJspContext();
final DataModel datamodel = (DataModel) cxt.findAttribute(DataModel.KEY);
final Layout layout = findLayout(datamodel);
final String front = null != layout.getFront() && 0 < layout.getFr... | public void doTag() throws JspException {
final PageContext cxt = (PageContext) getJspContext();
final DataModel datamodel = (DataModel) cxt.findAttribute(DataModel.KEY);
final Layout layout = findLayout(datamodel);
final String front = (layout!=null && layout.getFront()!=null && l... |
diff --git a/classes/com/sapienter/jbilling/server/mediation/task/AbstractFileReader.java b/classes/com/sapienter/jbilling/server/mediation/task/AbstractFileReader.java
index 8b10a5fa..e2d1334e 100644
--- a/classes/com/sapienter/jbilling/server/mediation/task/AbstractFileReader.java
+++ b/classes/com/sapienter/jbilling... | true | true | private Record convertLineToRecord(String line) {
// get the raw fields from the line
String tokens[] = splitFields(line);
if (tokens.length != format.getFields().size() && !autoID) {
throw new SessionInternalError("Mismatch of number of fields between " +
... | private Record convertLineToRecord(String line) {
// get the raw fields from the line
String tokens[] = splitFields(line);
if (tokens.length != format.getFields().size() && !autoID) {
throw new SessionInternalError("Mismatch of number of fields between " +
... |
diff --git a/LogicMailTests/src/org/logicprobe/LogicMail/model/AccountNodeTest.java b/LogicMailTests/src/org/logicprobe/LogicMail/model/AccountNodeTest.java
index da25f97..9238b75 100644
--- a/LogicMailTests/src/org/logicprobe/LogicMail/model/AccountNodeTest.java
+++ b/LogicMailTests/src/org/logicprobe/LogicMail/model/... | true | true | public void testRefreshMailboxes() {
// Test simple building of the initial tree
instance.refreshMailboxes();
assertNotNull("accountNodeEvent", accountNodeEvent);
assertEquals(AccountNodeEvent.TYPE_MAILBOX_TREE, accountNodeEvent.getType());
MailboxNode rootMailbox = instance.getRootMa... | public void testRefreshMailboxes() {
// Test simple building of the initial tree
instance.refreshMailboxes();
assertNotNull("accountNodeEvent", accountNodeEvent);
assertEquals(AccountNodeEvent.TYPE_MAILBOX_TREE, accountNodeEvent.getType());
MailboxNode rootMailbox = instance.getRootMa... |
diff --git a/GAE/src/com/gallatinsystems/surveyal/app/web/SurveyalRestServlet.java b/GAE/src/com/gallatinsystems/surveyal/app/web/SurveyalRestServlet.java
index fe60e65b8..9f496277c 100644
--- a/GAE/src/com/gallatinsystems/surveyal/app/web/SurveyalRestServlet.java
+++ b/GAE/src/com/gallatinsystems/surveyal/app/web/Surv... | true | true | private void ingestSurveyInstance(SurveyInstance instance) {
SurveyedLocale locale = null;
if (instance != null) {
List<QuestionAnswerStore> answers = surveyInstanceDao
.listQuestionAnswerStore(instance.getKey().getId(), null);
QuestionAnswerStore geoQ = null;
SurveyDAO surveyDao = new SurveyDAO();
... | private void ingestSurveyInstance(SurveyInstance instance) {
SurveyedLocale locale = null;
if (instance != null) {
List<QuestionAnswerStore> answers = surveyInstanceDao
.listQuestionAnswerStore(instance.getKey().getId(), null);
QuestionAnswerStore geoQ = null;
SurveyDAO surveyDao = new SurveyDAO();
... |
diff --git a/src/TreeWalker.java b/src/TreeWalker.java
index 5291b5a..d942489 100644
--- a/src/TreeWalker.java
+++ b/src/TreeWalker.java
@@ -1,607 +1,607 @@
import org.antlr.runtime.ANTLRStringStream;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime... | true | true | public void walk(CommonTree t, BufferedWriter out)
{
try{
if ( t != null ) {
// every unary operator needs to be preceded by a open parenthesis and ended with a closed parenthesis
switch(t.getType())
{
case TanGParser.ADDSUB:
//if the operation is binary, read the two children and... | public void walk(CommonTree t, BufferedWriter out)
{
try{
if ( t != null ) {
// every unary operator needs to be preceded by a open parenthesis and ended with a closed parenthesis
switch(t.getType())
{
case TanGParser.ADDSUB:
//if the operation is binary, read the two children and... |
diff --git a/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/ConfirmedFriends.java b/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/ConfirmedFriends.java
index d34ba08b..b03d0dc0 100644
--- a/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/ConfirmedFriends.java
+++ b/tool/src/java/org/sak... | false | true | public ConfirmedFriends(final String id, final String userUuid) {
super(id);
log.debug("ConfirmedFriends()");
//get SakaiProxy
sakaiProxy = ProfileApplication.get().getSakaiProxy();
//get ProfileLogic
profileLogic = ProfileApplication.get().getProfileLogic();
//setup model to store the actio... | public ConfirmedFriends(final String id, final String userUuid) {
super(id);
log.debug("ConfirmedFriends()");
//get SakaiProxy
sakaiProxy = ProfileApplication.get().getSakaiProxy();
//get ProfileLogic
profileLogic = ProfileApplication.get().getProfileLogic();
//setup model to store the actio... |
diff --git a/core/src/main/java/hudson/maven/MavenProcessFactory.java b/core/src/main/java/hudson/maven/MavenProcessFactory.java
index d234d5d6b..75e09eaa1 100644
--- a/core/src/main/java/hudson/maven/MavenProcessFactory.java
+++ b/core/src/main/java/hudson/maven/MavenProcessFactory.java
@@ -1,206 +1,210 @@
package hu... | true | true | private ArgumentListBuilder buildMavenCmdLine(BuildListener listener) throws IOException, InterruptedException {
MavenInstallation mvn = getMavenInstallation();
if(mvn==null) {
listener.error("Maven version is not configured for this project. Can't determine which Maven to run");
... | private ArgumentListBuilder buildMavenCmdLine(BuildListener listener) throws IOException, InterruptedException {
MavenInstallation mvn = getMavenInstallation();
if(mvn==null) {
listener.error("Maven version is not configured for this project. Can't determine which Maven to run");
... |
diff --git a/img2unisay.java b/img2unisay.java
index d3a3546..0ed5c82 100755
--- a/img2unisay.java
+++ b/img2unisay.java
@@ -1,624 +1,623 @@
/**
* image2unisay — ponysay to unisay pony convertion tool
*
* Copyright © 2012 Mattias Andrée (maandree@kth.se)
*
* This library is free software: you can redistribu... | true | true | public static void main(final String... args) throws IOException
{
if (args.length != 1)
{
System.out.println("Image to unisay convertion tool");
System.out.println();
System.out.println("USAGE: image2unisay SOURCE > TARGET");
System.out.println();
System.out.println("Source: ... | public static void main(final String... args) throws IOException
{
if (args.length != 1)
{
System.out.println("Image to unisay convertion tool");
System.out.println();
System.out.println("USAGE: image2unisay SOURCE > TARGET");
System.out.println();
System.out.println("Source: ... |
diff --git a/tests/org.eclipse.dltk.ruby.core.tests/src/org/eclipse/dltk/ruby/tests/typeinference/TypeInferenceSuite.java b/tests/org.eclipse.dltk.ruby.core.tests/src/org/eclipse/dltk/ruby/tests/typeinference/TypeInferenceSuite.java
index a69685f9..c26e33be 100644
--- a/tests/org.eclipse.dltk.ruby.core.tests/src/org/ec... | false | true | public TypeInferenceSuite(String testsDirectory) {
super(testsDirectory);
Enumeration entryPaths = Activator.getDefault().getBundle().getEntryPaths(testsDirectory);
while (entryPaths.hasMoreElements()) {
final String path = (String) entryPaths.nextElement();
URL entry = Activator.getDefault().getBundle()... | public TypeInferenceSuite(String testsDirectory) {
super(testsDirectory);
Enumeration entryPaths = Activator.getDefault().getBundle().getEntryPaths(testsDirectory);
while (entryPaths.hasMoreElements()) {
final String path = (String) entryPaths.nextElement();
URL entry = Activator.getDefault().getBundle()... |
diff --git a/src/main/java/org/spoutcraft/client/inventory/SimpleMaterialManager.java b/src/main/java/org/spoutcraft/client/inventory/SimpleMaterialManager.java
index 582d7c56..05a60904 100644
--- a/src/main/java/org/spoutcraft/client/inventory/SimpleMaterialManager.java
+++ b/src/main/java/org/spoutcraft/client/invent... | true | true | public String getToolTip(ItemStack is) {
net.minecraft.src.ItemStack itemstack = null;
if (is instanceof CraftItemStack) {
itemstack = ((CraftItemStack)is).item;
}
else {
itemstack = new net.minecraft.src.ItemStack(is.getTypeId(), is.getAmount(), is.getDurability());
}
Item rawItem = Item.itemsList[... | public String getToolTip(ItemStack is) {
net.minecraft.src.ItemStack itemstack = null;
if (is instanceof CraftItemStack) {
itemstack = ((CraftItemStack)is).item;
}
else {
itemstack = new net.minecraft.src.ItemStack(is.getTypeId(), is.getAmount(), is.getDurability());
}
Item rawItem = Item.itemsList[... |
diff --git a/src/main/java/org/dynmap/common/DynmapChatColor.java b/src/main/java/org/dynmap/common/DynmapChatColor.java
index 220b9b8f..b9481259 100644
--- a/src/main/java/org/dynmap/common/DynmapChatColor.java
+++ b/src/main/java/org/dynmap/common/DynmapChatColor.java
@@ -1,37 +1,37 @@
package org.dynmap.common;
... | true | true | public static String stripColor(final String input) {
if (input == null) {
return null;
}
return input.replaceAll("(?i)\u00A7[0-9A-F]", "");
}
| public static String stripColor(final String input) {
if (input == null) {
return null;
}
return input.replaceAll("(?i)\u00A7[0-9A-Za-z]", "");
}
|
diff --git a/components/bio-formats/src/loci/formats/in/CellSensReader.java b/components/bio-formats/src/loci/formats/in/CellSensReader.java
index db74b0e06..8ff213b8a 100644
--- a/components/bio-formats/src/loci/formats/in/CellSensReader.java
+++ b/components/bio-formats/src/loci/formats/in/CellSensReader.java
@@ -1,4... | false | true | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
parser = new TiffParser(id);
ifds = parser.getIFDs();
RandomAccessInputStream vsi = new RandomAccessInputStream(id);
vsi.order(parser.getStream().isLittleEndian());
vsi.seek(parser.getStream().getFil... | protected void initFile(String id) throws FormatException, IOException {
super.initFile(id);
parser = new TiffParser(id);
ifds = parser.getIFDs();
RandomAccessInputStream vsi = new RandomAccessInputStream(id);
vsi.order(parser.getStream().isLittleEndian());
vsi.seek(parser.getStream().getFil... |
diff --git a/src/java/org/jamwiki/servlets/UpgradeServlet.java b/src/java/org/jamwiki/servlets/UpgradeServlet.java
index 78142687..16f2f53c 100644
--- a/src/java/org/jamwiki/servlets/UpgradeServlet.java
+++ b/src/java/org/jamwiki/servlets/UpgradeServlet.java
@@ -1,248 +1,258 @@
/**
* Licensed under the GNU LESSER GE... | false | true | private void upgrade(HttpServletRequest request, ModelAndView next, WikiPageInfo pageInfo) throws Exception {
if (!this.login(request)) {
next.addObject("error", new WikiMessage("error.login"));
pageInfo.setAction(WikiPageInfo.ACTION_UPGRADE);
pageInfo.setSpecial(true);
pageInfo.setPageTitle(new WikiMess... | private void upgrade(HttpServletRequest request, ModelAndView next, WikiPageInfo pageInfo) throws Exception {
if (!this.login(request)) {
next.addObject("error", new WikiMessage("error.login"));
pageInfo.setAction(WikiPageInfo.ACTION_UPGRADE);
pageInfo.setSpecial(true);
pageInfo.setPageTitle(new WikiMess... |
diff --git a/src/me/comp/plugintut/PlayerListener.java b/src/me/comp/plugintut/PlayerListener.java
index 9199c3d..1b26296 100644
--- a/src/me/comp/plugintut/PlayerListener.java
+++ b/src/me/comp/plugintut/PlayerListener.java
@@ -1,56 +1,56 @@
package me.comp.plugintut;
import org.bukkit.Bukkit;
import org.bukkit... | true | true | public void onPlayerJoin(PlayerJoinEvent e){
//define string, constants, and other.
String modsMessage = ChatColor.RED + "This string is for mod news";
String retModMessage = ChatColor.RED + "This string is for retired mod news";
Player player = e.getPlayer();
GameMode gamemode = player.getGameMode();
Str... | public void onPlayerJoin(PlayerJoinEvent e){
//define string, constants, and other.
String modsMessage = ChatColor.RED + "This string is for mod news";
String retModMessage = ChatColor.RED + "This string is for retired mod news";
Player player = e.getPlayer();
GameMode gamemode = player.getGameMode();
Str... |
diff --git a/src/cutscenes/test/TestGame.java b/src/cutscenes/test/TestGame.java
index a119a37..2e99913 100644
--- a/src/cutscenes/test/TestGame.java
+++ b/src/cutscenes/test/TestGame.java
@@ -1,250 +1,253 @@
package cutscenes.test;
import input.InputManager;
import java.awt.Color;
import java.awt.Graphics2D;
... | false | true | public void initResources() {
// stateMap = new HashMap<String, State>();
playfield = new PlayField();
playfield.setBackground(new ColorBackground(Color.LIGHT_GRAY, 1200, 900));
s1 = new Mike_TestSprite();
//BufferedImage[] images = new BufferedImage[1];
// images[0... | public void initResources() {
// stateMap = new HashMap<String, State>();
playfield = new PlayField();
playfield.setBackground(new ColorBackground(Color.LIGHT_GRAY, 1200, 900));
s1 = new Mike_TestSprite();
//BufferedImage[] images = new BufferedImage[1];
// images[0... |
diff --git a/plugins/robotml/org.eclipse.papyrus.robotml.diagram.componentdef/src/org/eclipse/papyrus/robotml/diagram/componentdef/provider/CustomComponentDefDiagramEditPolicyProvider.java b/plugins/robotml/org.eclipse.papyrus.robotml.diagram.componentdef/src/org/eclipse/papyrus/robotml/diagram/componentdef/provider/Cu... | true | true | public void createEditPolicies(EditPart editPart) {
super.createEditPolicies(editPart);
editPart.installEditPolicy(AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY, new StereotypeNodeLabelDisplayEditPolicy());
if(editPart instanceof NamedElementEditPart ){
editPart.installEditPolicy(Ap... | public void createEditPolicies(EditPart editPart) {
super.createEditPolicies(editPart);
// editPart.installEditPolicy(AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY, new StereotypeNodeLabelDisplayEditPolicy());
// if(editPart instanceof NamedElementEditPart ){
// editPart.installEditPol... |
diff --git a/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java b/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java
index 4becc30d1d..f858c5142a 100644
--- a/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java
+++ b/lucene/core/src/test/org/apache/lucene/util/TestPagedBytes.java
@... | true | true | public void testDataInputOutput() throws Exception {
Random random = random();
for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
final int blockBits = _TestUtil.nextInt(random, 1, 20);
final int blockSize = 1 << blockBits;
final PagedBytes p = new PagedBytes(blockBits);
final DataOutpu... | public void testDataInputOutput() throws Exception {
Random random = random();
for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
final int blockBits = _TestUtil.nextInt(random, 1, 20);
final int blockSize = 1 << blockBits;
final PagedBytes p = new PagedBytes(blockBits);
final DataOutpu... |
diff --git a/flexodesktop/model/flexofoundation/src/main/java/org/openflexo/foundation/wkf/action/AddSubProcess.java b/flexodesktop/model/flexofoundation/src/main/java/org/openflexo/foundation/wkf/action/AddSubProcess.java
index e436f471a..11dc58116 100644
--- a/flexodesktop/model/flexofoundation/src/main/java/org/open... | true | true | protected void doAction(Object context) throws DuplicateResourceException, InvalidFileNameException {
logger.info("Add sub-process");
if (getNewProcessName() == null || getNewProcessName().trim().length() == 0) {
throw new InvalidFileNameException("");
}
if (getFocusedObject() != null) {
_project = getFo... | protected void doAction(Object context) throws DuplicateResourceException, InvalidFileNameException {
logger.info("Add sub-process");
if (getNewProcessName() == null || getNewProcessName().trim().length() == 0) {
throw new InvalidFileNameException("");
}
if (getFocusedObject() != null) {
_project = getFo... |
diff --git a/src/autosaveworld/threads/restart/AutoRestartThread.java b/src/autosaveworld/threads/restart/AutoRestartThread.java
index ccb62db..1597266 100644
--- a/src/autosaveworld/threads/restart/AutoRestartThread.java
+++ b/src/autosaveworld/threads/restart/AutoRestartThread.java
@@ -1,106 +1,106 @@
/**
* This p... | true | true | public void run()
{
plugin.debug("AutoRestartThread started");
Thread.currentThread().setName("AutoSaveWorld AutoRestartThread");
//check if we just restarted (server can restart faster than 1 minute. Without this check AutoRestartThread will stop working after restart)
if (config.autorestarttime.contain... | public void run()
{
plugin.debug("AutoRestartThread started");
Thread.currentThread().setName("AutoSaveWorld AutoRestartThread");
//check if we just restarted (server can restart faster than 1 minute. Without this check AutoRestartThread will stop working after restart)
if (config.autorestarttime.contain... |
diff --git a/src/org/biojava/bio/seq/io/EmblFormat.java b/src/org/biojava/bio/seq/io/EmblFormat.java
index 4293257d1..1985e0029 100755
--- a/src/org/biojava/bio/seq/io/EmblFormat.java
+++ b/src/org/biojava/bio/seq/io/EmblFormat.java
@@ -1,110 +1,117 @@
/*
* BioJava development code
*
* This co... | true | true | public Sequence readSequence(StreamReader.Context context, ResidueParser resParser, SequenceFactory sf)
throws IllegalResidueException, IOException {
final BufferedReader in = context.getReader();
String accession;
String line;
while(true) {
line = in.readLine();
if(line == nul... | public Sequence readSequence(StreamReader.Context context, ResidueParser resParser, SequenceFactory sf)
throws IllegalResidueException, IOException {
final BufferedReader in = context.getReader();
String accession;
String line;
while(true) {
line = in.readLine();
if(line == nul... |
diff --git a/client/android/src/remuco/client/android/io/BluetoothSocket.java b/client/android/src/remuco/client/android/io/BluetoothSocket.java
index 0d825f2..a93caa3 100644
--- a/client/android/src/remuco/client/android/io/BluetoothSocket.java
+++ b/client/android/src/remuco/client/android/io/BluetoothSocket.java
@@ ... | false | true | public BluetoothSocket(String host) throws UserException {
try {
Looper.prepare();
} catch (RuntimeException e) {}
try {
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(host);
this.sock ... | public BluetoothSocket(String host) throws UserException {
try {
Looper.prepare();
} catch (RuntimeException e) {}
try {
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(host);
this.sock ... |
diff --git a/eqtl-mapping-pipeline/src/main/java/eqtlmappingpipeline/metaqtl3/graphics/EQTLPlotter.java b/eqtl-mapping-pipeline/src/main/java/eqtlmappingpipeline/metaqtl3/graphics/EQTLPlotter.java
index d0a01c29..a6a28d00 100644
--- a/eqtl-mapping-pipeline/src/main/java/eqtlmappingpipeline/metaqtl3/graphics/EQTLPlotter... | false | true | public void draw(WorkPackage wp, int pid) {
System.setProperty("java.awt.headless", "true");
boolean jitter = true;
//Init image:
int width = 40 + m_gg.length * 200;
if (width < 440) {
width = 440;
}
int height = 340;
int margin = 30;
... | public void draw(WorkPackage wp, int pid) {
System.setProperty("java.awt.headless", "true");
boolean jitter = true;
//Init image:
int width = 40 + m_gg.length * 200;
if (width < 440) {
width = 440;
}
int height = 340;
int margin = 30;
... |
diff --git a/src/com/android/contacts/socialwidget/SocialWidgetProvider.java b/src/com/android/contacts/socialwidget/SocialWidgetProvider.java
index 2ce15ff79..593c4b217 100644
--- a/src/com/android/contacts/socialwidget/SocialWidgetProvider.java
+++ b/src/com/android/contacts/socialwidget/SocialWidgetProvider.java
@@ ... | true | true | private static void setDisplayNameAndSnippet(Context context, RemoteViews views,
CharSequence displayName, CharSequence phoneticName,
List<StreamItemEntry> streamItems, PendingIntent defaultIntent) {
SpannableStringBuilder sb = new SpannableStringBuilder();
CharSequence name... | private static void setDisplayNameAndSnippet(Context context, RemoteViews views,
CharSequence displayName, CharSequence phoneticName,
List<StreamItemEntry> streamItems, PendingIntent defaultIntent) {
SpannableStringBuilder sb = new SpannableStringBuilder();
CharSequence name... |
diff --git a/agent/test/kg/apc/perfmon/metrics/MemProcMetricTest.java b/agent/test/kg/apc/perfmon/metrics/MemProcMetricTest.java
index 73b721d9..56cd2ff8 100644
--- a/agent/test/kg/apc/perfmon/metrics/MemProcMetricTest.java
+++ b/agent/test/kg/apc/perfmon/metrics/MemProcMetricTest.java
@@ -1,47 +1,47 @@
/*
* To chan... | true | true | public void testGetValue() throws Exception {
System.out.println("getValue");
StringBuilder res = new StringBuilder();
SigarProxy sigar = SigarProxyCache.newInstance(new Sigar(), 500);
MemProcMetric instance = new MemProcMetric(sigar, MetricParams.createFromString("", sigar));
... | public void testGetValue() throws Exception {
System.out.println("getValue");
StringBuilder res = new StringBuilder();
SigarProxy sigar = SigarProxyCache.newInstance(new Sigar(), 500);
MemProcMetric instance = new MemProcMetric(sigar, MetricParams.createFromString("pid="+sigar.getPid... |
diff --git a/CSipSimple/src/com/csipsimple/ui/prefs/PrefsNetwork.java b/CSipSimple/src/com/csipsimple/ui/prefs/PrefsNetwork.java
index d9aaf09a..05163c28 100644
--- a/CSipSimple/src/com/csipsimple/ui/prefs/PrefsNetwork.java
+++ b/CSipSimple/src/com/csipsimple/ui/prefs/PrefsNetwork.java
@@ -1,85 +1,86 @@
/**
* Copyri... | true | true | protected void afterBuildPrefs() {
super.afterBuildPrefs();
TelephonyManager telephonyManager = (TelephonyManager) getApplicationContext().getSystemService(TELEPHONY_SERVICE);
if (telephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
hidePreference("for_incoming", "use_gprs_in");
hidePr... | protected void afterBuildPrefs() {
super.afterBuildPrefs();
TelephonyManager telephonyManager = (TelephonyManager) getApplicationContext().getSystemService(TELEPHONY_SERVICE);
if (telephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
hidePreference("for_incoming", "use_gprs_in");
hidePr... |
diff --git a/src/net/aufdemrand/denizen/CommandExecuter.java b/src/net/aufdemrand/denizen/CommandExecuter.java
index 7ae38b007..b1447d80f 100644
--- a/src/net/aufdemrand/denizen/CommandExecuter.java
+++ b/src/net/aufdemrand/denizen/CommandExecuter.java
@@ -1,327 +1,327 @@
package net.aufdemrand.denizen;
import java... | true | true | public void execute(Player thePlayer, String theStep) {
// Syntax of theStep
// 0 Denizen ID; 1 Script Name; 2 Step Number; 3 Time added to Queue; 4 Command
Denizen plugin = (Denizen) Bukkit.getPluginManager().getPlugin("Denizen");
String[] executerArgs = theStep.split(";");
String[] commandArgs = exe... | public void execute(Player thePlayer, String theStep) {
// Syntax of theStep
// 0 Denizen ID; 1 Script Name; 2 Step Number; 3 Time added to Queue; 4 Command
Denizen plugin = (Denizen) Bukkit.getPluginManager().getPlugin("Denizen");
String[] executerArgs = theStep.split(";");
String[] commandArgs = exe... |
diff --git a/main/src/cgeo/geocaching/export/GpxExport.java b/main/src/cgeo/geocaching/export/GpxExport.java
index cb241c256..a2d5be60c 100644
--- a/main/src/cgeo/geocaching/export/GpxExport.java
+++ b/main/src/cgeo/geocaching/export/GpxExport.java
@@ -1,368 +1,366 @@
package cgeo.geocaching.export;
import cgeo.geo... | true | true | protected File doInBackground(Void... params) {
// quick check for being able to write the GPX file
if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
return null;
}
final SimpleDateFormat fileNameDateFormat = new Simp... | protected File doInBackground(Void... params) {
// quick check for being able to write the GPX file
if (!Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
return null;
}
final SimpleDateFormat fileNameDateFormat = new Simp... |
diff --git a/src/org/meta_environment/rascal/interpreter/JavaFunctionCaller.java b/src/org/meta_environment/rascal/interpreter/JavaFunctionCaller.java
index a7b2ed4d05..c1f3487f35 100644
--- a/src/org/meta_environment/rascal/interpreter/JavaFunctionCaller.java
+++ b/src/org/meta_environment/rascal/interpreter/JavaFunct... | true | true | private Class<?> buildJavaClass(FunctionDeclaration declaration) throws ClassNotFoundException {
Signature signature = declaration.getSignature();
String imports = getImports(declaration);
String name = signature.getName().toString();
String fullClassName = "org.meta_environment.rascal.java." + name;
String ... | private Class<?> buildJavaClass(FunctionDeclaration declaration) throws ClassNotFoundException {
Signature signature = declaration.getSignature();
String imports = getImports(declaration);
String name = signature.getName().toString();
String fullClassName = "org.meta_environment.rascal.java." + name;
String ... |
diff --git a/src/com/dmdirc/config/IdentityManager.java b/src/com/dmdirc/config/IdentityManager.java
index 30d638f90..fd4513a93 100644
--- a/src/com/dmdirc/config/IdentityManager.java
+++ b/src/com/dmdirc/config/IdentityManager.java
@@ -1,542 +1,543 @@
/*
* Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Greg... | true | true | public static void load() {
identities.clear();
managers.clear();
loadVersion();
loadDefaults();
loadUser();
loadConfig();
if (getProfiles().size() == 0) {
try {
Identity.buildProfile("Default Profile");
} catc... | public static void load() {
identities.clear();
managers.clear();
globalconfig = null;
loadVersion();
loadDefaults();
loadUser();
loadConfig();
if (getProfiles().size() == 0) {
try {
Identity.buildProfile("Default ... |
diff --git a/freeplane/src/org/freeplane/features/mindmapmode/styles/ManageConditionalStylesAction.java b/freeplane/src/org/freeplane/features/mindmapmode/styles/ManageConditionalStylesAction.java
index c48e298a7..351acf8bb 100644
--- a/freeplane/src/org/freeplane/features/mindmapmode/styles/ManageConditionalStylesActi... | true | true | private Component createConditionalStylePane(final MapModel map) {
final JPanel pane = new JPanel(new BorderLayout());
final MapStyleModel styles = MapStyleModel.getExtension(map);
final TableModel tableModel = MLogicalStyleController.getController().getConditionalStyleModelAsTableModel(map);
final Conditio... | private Component createConditionalStylePane(final MapModel map) {
final JPanel pane = new JPanel(new BorderLayout());
final MapStyleModel styles = MapStyleModel.getExtension(map);
final TableModel tableModel = MLogicalStyleController.getController().getConditionalStyleModelAsTableModel(map);
final Conditio... |
diff --git a/src/com/android/bluetooth/btservice/BondStateMachine.java b/src/com/android/bluetooth/btservice/BondStateMachine.java
index 70cfac6..ee11ea3 100755
--- a/src/com/android/bluetooth/btservice/BondStateMachine.java
+++ b/src/com/android/bluetooth/btservice/BondStateMachine.java
@@ -1,261 +1,266 @@
/*
* Cop... | true | true | public boolean processMessage(Message msg) {
if (msg.what == SM_QUIT_CMD) {
Log.d(TAG, "PendingCommandState(): Received quit request...");
return false;
}
BluetoothDevice dev = (BluetoothDevice)msg.obj;
boolean result = false;
... | public boolean processMessage(Message msg) {
if (msg.what == SM_QUIT_CMD) {
Log.d(TAG, "PendingCommandState(): Received quit request...");
return false;
}
BluetoothDevice dev = (BluetoothDevice)msg.obj;
boolean result = false;
... |
diff --git a/src/org/apache/xpath/functions/FuncExtFunction.java b/src/org/apache/xpath/functions/FuncExtFunction.java
index 1557fee0..8dbe9dd2 100644
--- a/src/org/apache/xpath/functions/FuncExtFunction.java
+++ b/src/org/apache/xpath/functions/FuncExtFunction.java
@@ -1,221 +1,229 @@
/*
* The Apache Software Licen... | true | true | public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
{
XObject result;
Vector argVec = new Vector();
int nArgs = m_argVec.size();
for (int i = 0; i < nArgs; i++)
{
Expression arg = (Expression) m_argVec.elementAt(i);
argVec.addElement(arg.exec... | public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
{
XObject result;
Vector argVec = new Vector();
int nArgs = m_argVec.size();
for (int i = 0; i < nArgs; i++)
{
Expression arg = (Expression) m_argVec.elementAt(i);
argVec.addElement(arg.exec... |
diff --git a/src/main/java/com/turt2live/antishare/listener/BlockListener.java b/src/main/java/com/turt2live/antishare/listener/BlockListener.java
index fc26ec54..f510bd7a 100644
--- a/src/main/java/com/turt2live/antishare/listener/BlockListener.java
+++ b/src/main/java/com/turt2live/antishare/listener/BlockListener.ja... | true | true | public void onBlockBreak(BlockBreakEvent event){
if(event.isCancelled()){
return;
}
Player player = event.getPlayer();
Block block = event.getBlock();
Boolean drops = null;
boolean deny = false;
AlertType type = AlertType.LEGAL;
String blockGM = "Unknown";
boolean extraSpecial = false;
String at... | public void onBlockBreak(BlockBreakEvent event){
if(event.isCancelled()){
return;
}
Player player = event.getPlayer();
Block block = event.getBlock();
Boolean drops = null;
boolean deny = false;
AlertType type = AlertType.LEGAL;
String blockGM = "Unknown";
boolean extraSpecial = false;
String at... |
diff --git a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/commands/BlockwiseVisualMotionCommand.java b/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/commands/BlockwiseVisualMotionCommand.java
index e3bf8a31..e8362444 100644
--- a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vi... | false | true | protected void extendSelection(final EditorAdaptor editorAdaptor,
final Selection oldSelection) {
final Position from = oldSelection.getFrom(); // always constant
final Position oldTo = oldSelection.getTo(); // always constant
Position to = editorAdaptor.getPosition();
// ... | protected void extendSelection(final EditorAdaptor editorAdaptor,
final Selection oldSelection) {
final Position from = oldSelection.getFrom(); // always constant
final Position oldTo = oldSelection.getTo(); // always constant
Position to = editorAdaptor.getPosition();
// ... |
diff --git a/apis/openstack-nova/src/test/java/org/jclouds/openstack/nova/v1_1/compute/predicates/GetImageWhenImageInZoneHasActiveStatusPredicateWithResultExpectTest.java b/apis/openstack-nova/src/test/java/org/jclouds/openstack/nova/v1_1/compute/predicates/GetImageWhenImageInZoneHasActiveStatusPredicateWithResultExpec... | true | true | public void testReturnsFalseOnImageStatusSavingAndTrueOnActive() {
Injector injector = requestsSendResponses(requestResponseMap);
PredicateWithResult<ZoneAndId, Image> predicate = injector
.getInstance(GetImageWhenImageInZoneHasActiveStatusPredicateWithResult.class);
ZoneAndId zoneAd... | public void testReturnsFalseOnImageStatusSavingAndTrueOnActive() {
Injector injector = requestsSendResponses(requestResponseMap);
PredicateWithResult<ZoneAndId, Image> predicate = injector
.getInstance(GetImageWhenImageInZoneHasActiveStatusPredicateWithResult.class);
ZoneAndId zoneAd... |
diff --git a/src/com/austin/cardcounter/FiveHundredGameFragment.java b/src/com/austin/cardcounter/FiveHundredGameFragment.java
index 403f985..9a9b33a 100644
--- a/src/com/austin/cardcounter/FiveHundredGameFragment.java
+++ b/src/com/austin/cardcounter/FiveHundredGameFragment.java
@@ -1,445 +1,445 @@
package com.austin... | true | true | public void addScores(View view) {
/*
* lots of error checking
* tricks have numbers 0 < x < 10 (fail = do nothing)
* tricks add to 10 (fail = do nothing)
* bid value entered (fail = do nothing)
*
* add trick scores to each team's scroll, recalc total score
* if game over, announ... | public void addScores(View view) {
/*
* lots of error checking
* tricks have numbers 0 < x < 10 (fail = do nothing)
* tricks add to 10 (fail = do nothing)
* bid value entered (fail = do nothing)
*
* add trick scores to each team's scroll, recalc total score
* if game over, announ... |
diff --git a/src/com/vanomaly/superd/controller/MainWindowController.java b/src/com/vanomaly/superd/controller/MainWindowController.java
index 43900d9..cfef979 100644
--- a/src/com/vanomaly/superd/controller/MainWindowController.java
+++ b/src/com/vanomaly/superd/controller/MainWindowController.java
@@ -1,426 +1,427 @@... | false | true | private void initializeColumns() {
fileCol.setCellValueFactory(
new PropertyValueFactory<SimpleFileProperty, String>("path")
);
fileCol.setCellFactory(
new Callback<TableColumn<SimpleFileProperty, String>, TableCell<SimpleFileProperty, String>>() {
... | private void initializeColumns() {
fileCol.setCellValueFactory(
new PropertyValueFactory<SimpleFileProperty, String>("path")
);
fileCol.setCellFactory(
new Callback<TableColumn<SimpleFileProperty, String>, TableCell<SimpleFileProperty, String>>() {
... |
diff --git a/src/Automat/Verteilung.java b/src/Automat/Verteilung.java
index c82dd2c..dc2b14f 100644
--- a/src/Automat/Verteilung.java
+++ b/src/Automat/Verteilung.java
@@ -1,85 +1,86 @@
package Automat;
public class Verteilung {
//Variablen
private Auswahlklappe m_Auswahlklappe;
private Laufband m_... | true | true | protected boolean Durchlauf_B (Sensor s){
workerThread.run();
while(!s.read() && workerThread.isAlive());
if (!workerThread.isAlive()){
return false;
}
if(workerThread.isAlive()){
workerThread.interrupt();
}
workerThread.run();
while(s.read() && workerThread.isAlive())... | protected boolean Durchlauf_B (Sensor s){
workerThread.run();
while(!s.read() && workerThread.isAlive());
if (!workerThread.isAlive()){
return false;
}
if(workerThread.isAlive()){
workerThread.interrupt();
}
workerThread.run();
while(s.read() && workerThread.isAlive())... |
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/XtextValidationTest.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/XtextValidationTest.java
index d7b0ad6b3..8986fba60 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/xtext/XtextValida... | true | true | public void testMarkerForCrossReferences() throws Exception {
XtextResource resource = getResourceFromString(
"grammar org.foo.Bar with org.eclipse.xtext.common.Terminals\n" +
"generate metamodel 'myURI'\n" +
"Model: name=ID ref=[Model|(ID|STRING)];");
assertTrue(resource.getErrors().toString(), resour... | public void testMarkerForCrossReferences() throws Exception {
XtextResource resource = getResourceFromString(
"grammar org.foo.Bar with org.eclipse.xtext.common.Terminals\n" +
"generate metamodel 'myURI'\n" +
"Model: name=ID ref=[Model|(ID|STRING)];");
assertTrue(resource.getErrors().toString(), resour... |
diff --git a/trunk/jv/anagrams/src/AnagrammerWorker.java b/trunk/jv/anagrams/src/AnagrammerWorker.java
index 091859f..2aa969d 100644
--- a/trunk/jv/anagrams/src/AnagrammerWorker.java
+++ b/trunk/jv/anagrams/src/AnagrammerWorker.java
@@ -1,148 +1,146 @@
import java.util.ArrayList;
import java.util.Iterator;
import ja... | true | true | private ArrayList<ArrayList<String>> do_em(Bag input,
ArrayList<DictionaryReaderWorker.entry> wordlist,
int recursion_level) {
ArrayList<ArrayList<String>> rv = new ArrayList<ArrayList<String>>();
wordlist = prune(input, wordlist);
while (wordlist.si... | private ArrayList<ArrayList<String>> do_em(Bag input,
ArrayList<DictionaryReaderWorker.entry> wordlist,
int recursion_level) {
ArrayList<ArrayList<String>> rv = new ArrayList<ArrayList<String>>();
wordlist = prune(input, wordlist);
while (wordlist.si... |
diff --git a/search/src/main/java/org/jboss/capedwarf/search/CapedwarfSearchService.java b/search/src/main/java/org/jboss/capedwarf/search/CapedwarfSearchService.java
index 8f4c3266..ee84651a 100644
--- a/search/src/main/java/org/jboss/capedwarf/search/CapedwarfSearchService.java
+++ b/search/src/main/java/org/jboss/ca... | false | true | public ListIndexesResponse listIndexes(ListIndexesRequest request) {
final GetIndexesRequest.Builder builder = GetIndexesRequest.newBuilder();
builder.setIncludeStartIndex(request.isIncludeStartIndex());
builder.setIndexNamePrefix(request.getIndexNamePrefix());
builder.setLimit(reque... | public ListIndexesResponse listIndexes(ListIndexesRequest request) {
final GetIndexesRequest.Builder builder = GetIndexesRequest.newBuilder();
boolean includeStartIndex = false;
try {
includeStartIndex = request.isIncludeStartIndex();
} catch (NullPointerException ignore)... |
diff --git a/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheFactoryBean.java b/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCacheFactoryBean.java
index 665e97317..2ebb09e25 100644
--- a/spring-context-support/src/main/java/org/springframework/cache/ehcache/EhCa... | false | true | public void afterPropertiesSet() throws CacheException, IOException {
// If no cache name given, use bean name as cache name.
String cacheName = getName();
if (cacheName == null) {
cacheName = this.beanName;
setName(cacheName);
}
// If no CacheManager given, fetch the default.
if (this.cacheManager ... | public void afterPropertiesSet() throws CacheException, IOException {
// If no cache name given, use bean name as cache name.
String cacheName = getName();
if (cacheName == null) {
cacheName = this.beanName;
setName(cacheName);
}
// If no CacheManager given, fetch the default.
if (this.cacheManager ... |
diff --git a/src/com/loopj/android/hoptoad/HoptoadNotifier.java b/src/com/loopj/android/hoptoad/HoptoadNotifier.java
index ee166a7..72887b5 100644
--- a/src/com/loopj/android/hoptoad/HoptoadNotifier.java
+++ b/src/com/loopj/android/hoptoad/HoptoadNotifier.java
@@ -1,358 +1,358 @@
/*
Hoptoad Notifier for Android
... | false | true | private static void writeExceptionToDisk(Throwable e) {
try {
// Set up the output stream
int random = new Random().nextInt(99999);
String filename = filePath + versionName + "-" + String.valueOf(random) + ".xml";
BufferedWriter writer = new BufferedWriter(new... | private static void writeExceptionToDisk(Throwable e) {
try {
// Set up the output stream
int random = new Random().nextInt(99999);
String filename = filePath + versionName + "-" + String.valueOf(random) + ".xml";
BufferedWriter writer = new BufferedWriter(new... |
diff --git a/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java b/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/request/CreateInstanceRequest.java
index 319c1177..c678587a 100644
--- a/plugins/org.jboss.tools.deltacl... | true | true | protected String doCreateUrl(UrlBuilder urlBuilder) {
return urlBuilder.path("instances")
.parameter("keyname", keyname)
.parameter("image_id", imageId)
.parameter("hwp_id", profileId)
.parameter("realm_id", realmId)
.parameter("name", name)
.parameter("hwp_memory", memory)
.parameter("hw... | protected String doCreateUrl(UrlBuilder urlBuilder) {
return urlBuilder.path("instances")
.parameter("keyname", keyname)
// WORKAROUND for JBIDE-8005, STEAM-303
.parameter("key_name", keyname)
// WORKAROUND for JBIDE-8005, STEAM-303
.parameter("image_id", imageId)
.parameter("hwp_id", profile... |
diff --git a/src/VASSAL/build/module/metadata/MetaDataFactory.java b/src/VASSAL/build/module/metadata/MetaDataFactory.java
index 4b91dbfa..fe16b6e8 100644
--- a/src/VASSAL/build/module/metadata/MetaDataFactory.java
+++ b/src/VASSAL/build/module/metadata/MetaDataFactory.java
@@ -1,121 +1,121 @@
/* $Id$
*
* Copyrigh... | true | true | public static AbstractMetaData buildMetaData(File file) {
// Check the file exists and is a file
if (file != null && !file.exists() || !file.isFile())
return null;
ZipFile zip = null;
try {
// Check it is a Zip file
zip = new ZipFile(file);
// Check if it is a Save Game file... | public static AbstractMetaData buildMetaData(File file) {
// Check the file exists and is a file
if (file == null || !file.exists() || !file.isFile())
return null;
ZipFile zip = null;
try {
// Check it is a Zip file
zip = new ZipFile(file);
// Check if it is a Save Game file... |
diff --git a/fbs-dmr-universal/src/test/java/com/fbs/dmr/universal/test/service/CrudServiceOrganizationTest.java b/fbs-dmr-universal/src/test/java/com/fbs/dmr/universal/test/service/CrudServiceOrganizationTest.java
index ad9f07d..78ce9f2 100644
--- a/fbs-dmr-universal/src/test/java/com/fbs/dmr/universal/test/service/Cr... | true | true | public void testCrud()
{
PartyType pT;
PartyType pT2;
Organization org;
Organization org2;
String name = "Test";
String name2 = "ABCDEF";
Integer id;
Integer id2;
List<Organization> organizations = null;
pT = new PartyType();
pT.setDescription("Party Type lol");
this.crudServicePartyType.sa... | public void testCrud()
{
PartyType pT;
PartyType pT2;
Organization org;
Organization org2;
String name = "Test";
String name2 = "ABCDEF";
Integer id;
Integer id2;
List<Organization> organizations = null;
pT = new PartyType();
pT.setDescription("Party Type lol");
this.crudServicePartyType.sa... |
diff --git a/src/togos/schemaschema/parser/SchemaInterpreter.java b/src/togos/schemaschema/parser/SchemaInterpreter.java
index 3b8e56d..3e40357 100644
--- a/src/togos/schemaschema/parser/SchemaInterpreter.java
+++ b/src/togos/schemaschema/parser/SchemaInterpreter.java
@@ -1,793 +1,793 @@
package togos.schemaschema.par... | true | true | public ComplexType parseClass( String name, Parameterized[] modifiers, Block body, SourceLocation sLoc )
throws InterpretError
{
ComplexType t = new ComplexType( name, sLoc );
if( metaClass != null ) PropertyUtil.add( t.properties, Predicates.IS_MEMBER_OF, metaClass );
for( Command fieldCommand : bo... | public ComplexType parseClass( String name, Parameterized[] modifiers, Block body, SourceLocation sLoc )
throws InterpretError
{
ComplexType t = new ComplexType( name, sLoc );
if( metaClass != null ) PropertyUtil.add( t.properties, Predicates.IS_MEMBER_OF, metaClass );
for( Command fieldCommand : bo... |
diff --git a/bpm/bonita-bpm-integration-tests/bonita-integration-local-tests/src/main/java/org/bonitasoft/engine/TestShades.java b/bpm/bonita-bpm-integration-tests/bonita-integration-local-tests/src/main/java/org/bonitasoft/engine/TestShades.java
index e5d4ac65bb..3adb32b06e 100644
--- a/bpm/bonita-bpm-integration-test... | true | true | public void testShades() throws IOException {
String mvn = System.getProperty("path.to.mvn", "mvn");// to be overwritten in CI
String version = BPMLocalTest.getBonitaVersion();
// print properties for debugging purpose
System.out.println("mvn path used: " + mvn);
System.out.... | public void testShades() throws IOException {
String mvn = System.getProperty("path.to.mvn", "mvn");// to be overwritten in CI
String version = BPMLocalTest.getBonitaVersion();
// print properties for debugging purpose
System.out.println("mvn path used: " + mvn);
System.out.... |
diff --git a/src/org/encog/engine/network/train/prop/TrainFlatNetworkResilient.java b/src/org/encog/engine/network/train/prop/TrainFlatNetworkResilient.java
index ae5be195c..af5a945d2 100644
--- a/src/org/encog/engine/network/train/prop/TrainFlatNetworkResilient.java
+++ b/src/org/encog/engine/network/train/prop/TrainF... | true | true | public double updateWeight(final double[] gradients,
final double[] lastGradient, final int index) {
// multiply the current and previous gradient, and take the
// sign. We want to see if the gradient has changed its sign.
final int change = sign(gradients[index] * lastGradient[index]);
double weightChange ... | public double updateWeight(final double[] gradients,
final double[] lastGradient, final int index) {
// multiply the current and previous gradient, and take the
// sign. We want to see if the gradient has changed its sign.
final int change = sign(gradients[index] * lastGradient[index]);
double weightChange ... |
diff --git a/nuxeo-platform-suggestbox-core/src/test/java/org/nuxeo/ecm/platform/suggestbox/utils/TestDateMatcher.java b/nuxeo-platform-suggestbox-core/src/test/java/org/nuxeo/ecm/platform/suggestbox/utils/TestDateMatcher.java
index 14ec3d2..379fb1b 100644
--- a/nuxeo-platform-suggestbox-core/src/test/java/org/nuxeo/ec... | true | true | public void test() {
DateMatcher someThingElseThanDate = DateMatcher.fromInput("");
assertNull(someThingElseThanDate.getDateSuggestion());
DateMatcher dateMonthsOnlyMoreThan12 = DateMatcher.fromInput("13");
assertNull(dateMonthsOnlyMoreThan12.getDateSuggestion());
DateMatcher... | public void test() {
DateMatcher someThingElseThanDate = DateMatcher.fromInput("");
assertNull(someThingElseThanDate.getDateSuggestion());
DateMatcher dateMonthsOnlyMoreThan12 = DateMatcher.fromInput("13");
assertNull(dateMonthsOnlyMoreThan12.getDateSuggestion());
DateMatcher... |
diff --git a/src/com/taboozle/TurnSummary.java b/src/com/taboozle/TurnSummary.java
index 839b335..55373ac 100644
--- a/src/com/taboozle/TurnSummary.java
+++ b/src/com/taboozle/TurnSummary.java
@@ -1,240 +1,240 @@
package com.taboozle;
import java.util.Iterator;
import java.util.LinkedList;
import android.app.Ac... | false | true | private void UpdateScoreViews()
{
Log.d( TAG, "UpdateScoreViews()" );
TaboozleApplication application =
(TaboozleApplication) this.getApplication();
GameManager game = application.GetGameManager();
long turnscore = game.GetTurnScore();
long[] totalscores = game.GetTeamScores().clone();
... | private void UpdateScoreViews()
{
Log.d( TAG, "UpdateScoreViews()" );
TaboozleApplication application =
(TaboozleApplication) this.getApplication();
GameManager game = application.GetGameManager();
long turnscore = game.GetTurnScore();
long[] totalscores = game.GetTeamScores().clone();
... |
diff --git a/config/src/test/java/org/springframework/security/config/authentication/AuthenticationManagerBeanDefinitionParserTests.java b/config/src/test/java/org/springframework/security/config/authentication/AuthenticationManagerBeanDefinitionParserTests.java
index bf6782c9a..1d3a7f0dd 100644
--- a/config/src/test/j... | true | true | public void eventsArePublishedByDefault() throws Exception {
setContext(CONTEXT, "3.0");
AuthListener listener = new AuthListener();
appContext.addApplicationListener(listener);
appContext.refresh();
ProviderManager pm = (ProviderManager) appContext.getBeansOfType(ProviderMa... | public void eventsArePublishedByDefault() throws Exception {
setContext(CONTEXT, "3.0");
AuthListener listener = new AuthListener();
appContext.addApplicationListener(listener);
ProviderManager pm = (ProviderManager) appContext.getBeansOfType(ProviderManager.class).values().toArray(... |
diff --git a/src/plugins/WebOfTrust/WebOfTrust.java b/src/plugins/WebOfTrust/WebOfTrust.java
index bf4999ed..043cc2a8 100644
--- a/src/plugins/WebOfTrust/WebOfTrust.java
+++ b/src/plugins/WebOfTrust/WebOfTrust.java
@@ -1,3575 +1,3576 @@
/* This code is part of WoT, a plugin for Freenet. It is distributed
* under th... | false | true | private synchronized void deleteDuplicateObjects() {
synchronized(mPuzzleStore) { // Needed for deleteWithoutCommit(Identity)
synchronized(mFetcher) { // Needed for deleteWithoutCommit(Identity)
synchronized(mSubscriptionManager) { // Needed for deleteWithoutCommit(Identity)
synchronized(Persistent.transaction... | private synchronized void deleteDuplicateObjects() {
synchronized(mPuzzleStore) { // Needed for deleteWithoutCommit(Identity)
synchronized(mFetcher) { // Needed for deleteWithoutCommit(Identity)
synchronized(mSubscriptionManager) { // Needed for deleteWithoutCommit(Identity)
synchronized(Persistent.transaction... |
diff --git a/src/edu/cst316/gompersacousticsystem/graphFactoryASU.java b/src/edu/cst316/gompersacousticsystem/graphFactoryASU.java
index 07b3549..bd57ff1 100644
--- a/src/edu/cst316/gompersacousticsystem/graphFactoryASU.java
+++ b/src/edu/cst316/gompersacousticsystem/graphFactoryASU.java
@@ -1,66 +1,66 @@
package edu.... | false | true | public graphFactoryASU()
{
Vertex backLeftCorner = new Vertex("back corner",
"back corner", new Area(new Point(0, 0), new Point(5, 5)));
Vertex backRightCorner = new Vertex("back right corner", "back right corner",
new Area(new Point(45, 0),new Point(50, 5) ));
Vertex frontLeftDoor = new Vertex... | public graphFactoryASU()
{
Vertex backLeftCorner = new Vertex("back corner",
"back corner", new Area(new Point(0, 0), new Point(5, 5)));
Vertex backRightCorner = new Vertex("back right corner", "back right corner",
new Area(new Point(45, 0),new Point(50, 5) ));
Vertex frontLeftCorner = new Vert... |
diff --git a/src/no/runsafe/UniqueInventories/InventoryRepository.java b/src/no/runsafe/UniqueInventories/InventoryRepository.java
index 44e78ff..251b761 100644
--- a/src/no/runsafe/UniqueInventories/InventoryRepository.java
+++ b/src/no/runsafe/UniqueInventories/InventoryRepository.java
@@ -1,237 +1,238 @@
package no... | true | true | public InventoryStorage get(RunsafePlayer player, String world)
{
String playerName = player.getName();
String inventoryName = universes.getInventoryName(world);
try
{
PreparedStatement select = this.database.prepare("SELECT * FROM uniqueInventories WHERE playerName=? AND inventoryName=? ORDER BY stack DES... | public InventoryStorage get(RunsafePlayer player, String world)
{
String playerName = player.getName();
String inventoryName = universes.getInventoryName(world);
try
{
PreparedStatement select = this.database.prepare("SELECT * FROM uniqueInventories WHERE playerName=? AND inventoryName=? ORDER BY stack DES... |
diff --git a/tools/idegen/src/Configuration.java b/tools/idegen/src/Configuration.java
index 392cb5d2..2f800b11 100644
--- a/tools/idegen/src/Configuration.java
+++ b/tools/idegen/src/Configuration.java
@@ -1,263 +1,267 @@
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache Lice... | true | true | private static void traverse(File directory, Set<File> sourceRoots,
Collection<File> jarFiles, Collection<File> excludedDirs,
Excludes excludes) throws IOException {
/*
* Note it would be faster to stop traversing a source root as soon as
* we encounter the first .j... | private static void traverse(File directory, Set<File> sourceRoots,
Collection<File> jarFiles, Collection<File> excludedDirs,
Excludes excludes) throws IOException {
/*
* Note it would be faster to stop traversing a source root as soon as
* we encounter the first .j... |
diff --git a/src/de/raptor2101/GalDroid/WebGallery/Tasks/CleanUpCacheTask.java b/src/de/raptor2101/GalDroid/WebGallery/Tasks/CleanUpCacheTask.java
index d6ea9e8..5a1c088 100644
--- a/src/de/raptor2101/GalDroid/WebGallery/Tasks/CleanUpCacheTask.java
+++ b/src/de/raptor2101/GalDroid/WebGallery/Tasks/CleanUpCacheTask.java... | true | true | protected Void doInBackground(Void... params) {
long currentCleanUp = 0;
if (mCleanUpSize > 0) {
for (int i = 0; currentCleanUp < mCleanUpSize; i++) {
String hash = mCachedObjects.get(i);
File cacheFile = new File(mCacheDir, hash);
if (cacheFile.exists()) {
currentClean... | protected Void doInBackground(Void... params) {
long currentCleanUp = 0;
if (mCleanUpSize > 0) {
for (int i = 0; currentCleanUp < mCleanUpSize && i < mCachedObjects.size(); i++) {
String hash = mCachedObjects.get(i);
File cacheFile = new File(mCacheDir, hash);
if (cacheFile.exist... |
diff --git a/coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/service/impl/LmngServiceMock.java b/coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/service/impl/LmngServiceMock.java
index 05f22839..75cfcc94 100644
--- a/coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/service/im... | false | true | public LmngServiceMock() {
try {
TypeReference<Article> typeReference = new TypeReference<Article>() {
};
this.article = (Article) parseJsonData(typeReference, "lmng-json/articles.json");
this.license = (License) parseJsonData(typeReference, "lmng-json/licenses.json");
} catch (Excepti... | public LmngServiceMock() {
try {
TypeReference<Article> articleTypeReference = new TypeReference<Article>() {
};
this.article = (Article) parseJsonData(articleTypeReference, "lmng-json/articles.json");
TypeReference<License> licenseTypeReference = new TypeReference<License>() {
};
... |
diff --git a/aura-impl/src/main/java/org/auraframework/impl/adapter/format/html/BaseComponentDefHTMLFormatAdapter.java b/aura-impl/src/main/java/org/auraframework/impl/adapter/format/html/BaseComponentDefHTMLFormatAdapter.java
index 284d73f281..9d0f6f5dda 100644
--- a/aura-impl/src/main/java/org/auraframework/impl/adap... | true | true | public void write(Object value, Map<String, Object> componentAttributes, Appendable out) throws IOException {
try {
InstanceService instanceService = Aura.getInstanceService();
RenderingService renderingService = Aura.getRenderingService();
BaseComponentDef def = (BaseCo... | public void write(Object value, Map<String, Object> componentAttributes, Appendable out) throws IOException {
try {
InstanceService instanceService = Aura.getInstanceService();
RenderingService renderingService = Aura.getRenderingService();
BaseComponentDef def = (BaseCo... |
diff --git a/src/net/skweez/sipgate/CallListAdapter.java b/src/net/skweez/sipgate/CallListAdapter.java
index bddc027..40a5cbe 100644
--- a/src/net/skweez/sipgate/CallListAdapter.java
+++ b/src/net/skweez/sipgate/CallListAdapter.java
@@ -1,153 +1,153 @@
package net.skweez.sipgate;
import java.util.HashMap;
import j... | true | true | public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
if (convertView == null) {
convertView = inflater.inflate(R.layout.call_list_item, null);
holder = new ViewHolder();
holder.callStatusIcon = (ImageView) convertView
.findViewById(R.id.callStatusIcon);
hold... | public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
if (convertView == null) {
convertView = inflater.inflate(R.layout.call_list_item, null);
holder = new ViewHolder();
holder.callStatusIcon = (ImageView) convertView
.findViewById(R.id.callStatusIcon);
hold... |
diff --git a/core/src/main/java/com/dtolabs/rundeck/core/common/Framework.java b/core/src/main/java/com/dtolabs/rundeck/core/common/Framework.java
index b5a1d2926..66fca9dc9 100644
--- a/core/src/main/java/com/dtolabs/rundeck/core/common/Framework.java
+++ b/core/src/main/java/com/dtolabs/rundeck/core/common/Framework.... | true | true | public void initialize() {
final boolean initialize = true; // managers should call their initialize methods
projectResourceMgr = FrameworkProjectMgr.create(PROJECTMGR_NAME, projectsBase, this);
if(null==authenticationMgr) {
String cls = lookup.hasProperty(AUTHENT_CLS_PROP)? loo... | public void initialize() {
final boolean initialize = true; // managers should call their initialize methods
projectResourceMgr = FrameworkProjectMgr.create(PROJECTMGR_NAME, projectsBase, this);
if(null==authenticationMgr) {
String cls = lookup.hasProperty(AUTHENT_CLS_PROP)? loo... |
diff --git a/opal-core-ws/src/main/java/org/obiba/opal/web/services/ServiceConfigurationHandlerRegistry.java b/opal-core-ws/src/main/java/org/obiba/opal/web/services/ServiceConfigurationHandlerRegistry.java
index eb297bff4..b90f4d641 100644
--- a/opal-core-ws/src/main/java/org/obiba/opal/web/services/ServiceConfigurati... | true | true | public Opal.ServiceCfgDto get(OpalConfigurationExtension configExtension,
String name) throws NoSuchServiceConfigurationException {
if(configExtension == null) throw new IllegalArgumentException("configExtension cannot be null");
for(ServiceConfigurationHandler handler : handlers) {
if(handler.can... | public Opal.ServiceCfgDto get(OpalConfigurationExtension configExtension,
String name) throws NoSuchServiceConfigurationException {
if(configExtension == null) throw new IllegalArgumentException("configExtension cannot be null");
for(ServiceConfigurationHandler handler : handlers) {
if(handler.can... |
diff --git a/src/uk/org/ponder/rsf/components/UIBranchContainer.java b/src/uk/org/ponder/rsf/components/UIBranchContainer.java
index fda17dd..91b161f 100644
--- a/src/uk/org/ponder/rsf/components/UIBranchContainer.java
+++ b/src/uk/org/ponder/rsf/components/UIBranchContainer.java
@@ -1,235 +1,235 @@
/*
* Created on ... | true | true | public void addComponent(UIComponent toadd) {
toadd.parent = this;
SplitID split = new SplitID(toadd.ID);
String childkey = split.prefix;
if (toadd.ID != null && split.suffix == null) {
childmap.put(childkey, toadd);
}
else {
List children = (List) childmap.get(childkey);
if... | public void addComponent(UIComponent toadd) {
toadd.parent = this;
SplitID split = new SplitID(toadd.ID);
String childkey = split.prefix;
if (toadd.ID != null && split.suffix == null) {
childmap.put(childkey, toadd);
}
else {
List children = (List) childmap.get(childkey);
if... |
diff --git a/xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-api/src/main/java/org/xwiki/component/util/ReflectionUtils.java b/xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-api/src/main/java/org/xwiki/component/util/ReflectionUtils.java
index f1ea306b6..c8eb4f8f9 100644
--- a/xwi... | false | true | public static Type unserializeType(String serializedType) throws ClassNotFoundException
{
String sType = serializedType.replaceAll(" ", "");
String superior = "<";
Type type = null;
// A real parser could be used here but it would probably be overkill.
if (sType.contains... | public static Type unserializeType(String serializedType) throws ClassNotFoundException
{
String sType = serializedType.replaceAll(" ", "");
String inferior = "<";
Type type = null;
// A real parser could be used here but it would probably be overkill.
if (sType.contains... |
diff --git a/cpa/src/main/java/org/exolab/castor/dtx/DTXQuery.java b/cpa/src/main/java/org/exolab/castor/dtx/DTXQuery.java
index a5f9d9e1..78fbc501 100644
--- a/cpa/src/main/java/org/exolab/castor/dtx/DTXQuery.java
+++ b/cpa/src/main/java/org/exolab/castor/dtx/DTXQuery.java
@@ -1,780 +1,780 @@
/**
* Redistribution a... | true | true | protected void initQuery(final ClassMapping clsMapping, final QueryExpression expr)
throws DTXException {
MapTo mapTo = clsMapping.getMapTo();
if (mapTo == null) {
throw new DTXException("no table mapping for: " + clsMapping.getName());
}
String table = mapTo.getTab... | protected void initQuery(final ClassMapping clsMapping, final QueryExpression expr)
throws DTXException {
MapTo mapTo = clsMapping.getMapTo();
if (mapTo == null) {
throw new DTXException("no table mapping for: " + clsMapping.getName());
}
String table = mapTo.getTab... |
diff --git a/saiku-core/saiku-datasources/src/main/java/org/saiku/datasources/connection/SaikuOlapConnection.java b/saiku-core/saiku-datasources/src/main/java/org/saiku/datasources/connection/SaikuOlapConnection.java
index 024dc4e4..059a909a 100644
--- a/saiku-core/saiku-datasources/src/main/java/org/saiku/datasources/... | true | true | public boolean connect(Properties props) {
this.username = props.getProperty(ISaikuConnection.USERNAME_KEY);
this.password = props.getProperty(ISaikuConnection.PASSWORD_KEY);
String driver = props.getProperty(ISaikuConnection.DRIVER_KEY);
this.properties = props;
String url = props.getProperty(ISaikuConnecti... | public boolean connect(Properties props) {
this.username = props.getProperty(ISaikuConnection.USERNAME_KEY);
this.password = props.getProperty(ISaikuConnection.PASSWORD_KEY);
String driver = props.getProperty(ISaikuConnection.DRIVER_KEY);
this.properties = props;
String url = props.getProperty(ISaikuConnecti... |
diff --git a/src/main/java/org/graylog2/messagehandlers/gelf/GELFClientHandlerThread.java b/src/main/java/org/graylog2/messagehandlers/gelf/GELFClientHandlerThread.java
index 973ae3e70..d451000e0 100644
--- a/src/main/java/org/graylog2/messagehandlers/gelf/GELFClientHandlerThread.java
+++ b/src/main/java/org/graylog2/m... | false | true | @Override public void run() {
try {
GELFClientHandlerIF client = null;
if (GELF.isChunkedMessage(this.receivedGelfSentence)) {
Log.info("Received message is chunked. Handling now.");
client = new ChunkedGELFClientHandler(this.receivedGelfSentence);
... | @Override public void run() {
try {
GELFClientHandlerIF client = null;
if (GELF.isChunkedMessage(this.receivedGelfSentence)) {
Log.info("Received message is chunked. Handling now.");
client = new ChunkedGELFClientHandler(this.receivedGelfSentence);
... |
diff --git a/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java b/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java
index 43bb6e39b..0f1541eed 100644
--- a/java/modules/core/src/main/java/org/apache/synapse/endpoints/AddressEndpoint.java
+++ b/java/modules/... | true | true | public void send(MessageContext synCtx) {
boolean traceOn = isTraceOn(synCtx);
boolean traceOrDebugOn = isTraceOrDebugOn(traceOn);
if (traceOrDebugOn) {
traceOrDebug(traceOn, "Start : Address Endpoint");
if (traceOn && trace.isTraceEnabled()) {
trac... | public void send(MessageContext synCtx) {
boolean traceOn = isTraceOn(synCtx);
boolean traceOrDebugOn = isTraceOrDebugOn(traceOn);
if (traceOrDebugOn) {
traceOrDebug(traceOn, "Start : Address Endpoint");
if (traceOn && trace.isTraceEnabled()) {
trac... |
diff --git a/source/RMG/jing/rxn/ArrheniusKinetics.java b/source/RMG/jing/rxn/ArrheniusKinetics.java
index eaefa49f..66bf20e9 100644
--- a/source/RMG/jing/rxn/ArrheniusKinetics.java
+++ b/source/RMG/jing/rxn/ArrheniusKinetics.java
@@ -1,426 +1,426 @@
////////////////////////////////////////////////////////////////////... | true | true | public static final Kinetics average(LinkedHashSet p_kSet) {//06/26/09 gmagoon: made p_kSet a LinkedHashSet rather than a HashSet...this seems to make the averaged values reproducible; previously, numerical-errors caused slight differences in results when averaging was done in a different order
//#[ operati... | public static final Kinetics average(LinkedHashSet p_kSet) {//06/26/09 gmagoon: made p_kSet a LinkedHashSet rather than a HashSet...this seems to make the averaged values reproducible; previously, numerical-errors caused slight differences in results when averaging was done in a different order
//#[ operati... |
diff --git a/jca/src/main/java/org/switchyard/component/jca/deploy/JCAActivator.java b/jca/src/main/java/org/switchyard/component/jca/deploy/JCAActivator.java
index 365f530e..7116ed9c 100644
--- a/jca/src/main/java/org/switchyard/component/jca/deploy/JCAActivator.java
+++ b/jca/src/main/java/org/switchyard/component/jc... | true | true | private InboundHandler handleServiceBinding(JCABindingModel config, QName name) {
JCABindingModel jcaconfig = (JCABindingModel)config;
InboundConnectionModel inboundConnectionModel = jcaconfig.getInboundConnection();
if (inboundConnectionModel == null) {
throw JCAMessage... | private InboundHandler handleServiceBinding(JCABindingModel config, QName name) {
JCABindingModel jcaconfig = (JCABindingModel)config;
InboundConnectionModel inboundConnectionModel = jcaconfig.getInboundConnection();
if (inboundConnectionModel == null) {
throw JCAMessage... |
diff --git a/src/xtremweb/serv/dt/dropbox/DropBoxTransfer.java b/src/xtremweb/serv/dt/dropbox/DropBoxTransfer.java
index 90608e2..1196b6f 100644
--- a/src/xtremweb/serv/dt/dropbox/DropBoxTransfer.java
+++ b/src/xtremweb/serv/dt/dropbox/DropBoxTransfer.java
@@ -1,290 +1,290 @@
package xtremweb.serv.dt.dropbox;
impor... | false | true | public void connect() throws OOBException {
app_key = props.getProperty("xtremweb.serv.dr.dropbox.app-key");
app_secret = props.getProperty("xtremweb.serv.dr.dropbox.app-secret");
AppKeyPair pair = new AppKeyPair(app_key, app_secret);
was = new WebAuthSession(pair, AccessType.APP_FOLDER);
WebAuthInfo info;
a... | public void connect() throws OOBException {
app_key = props.getProperty("xtremweb.serv.dr.dropbox.app-key");
app_secret = props.getProperty("xtremweb.serv.dr.dropbox.app-secret");
AppKeyPair pair = new AppKeyPair(app_key, app_secret);
was = new WebAuthSession(pair, AccessType.APP_FOLDER);
WebAuthInfo info;
a... |
diff --git a/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManager.java b/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/JtaEntityManager.java
index 98153c03a..3a0995d26 100644
--- a/openejb3/container/openejb-core/src/main/java/org/apache/openejb/pe... | true | true | public void close() {
if (logger.isDebugEnabled()) {
logger.debug("PersistenceUnit(name=" + unitName + ") - entityManager.close() call ignored - not applicable to a JTA Managed EntityManager", new Exception().fillInStackTrace());
}
if (isContainerManaged()) {
// wit... | public void close() {
if (logger.isDebugEnabled()) {
logger.debug("PersistenceUnit(name=" + unitName + ") - entityManager.close() call ignored - not applicable to a JTA Managed EntityManager", new Exception().fillInStackTrace());
}
if (!isContainerManaged()) {
// wi... |
diff --git a/wms/src/test/java/org/geoserver/wms/WMSExtensionsTest.java b/wms/src/test/java/org/geoserver/wms/WMSExtensionsTest.java
index d108c713a..d8d9c08f2 100644
--- a/wms/src/test/java/org/geoserver/wms/WMSExtensionsTest.java
+++ b/wms/src/test/java/org/geoserver/wms/WMSExtensionsTest.java
@@ -1,124 +1,124 @@
/*... | true | true | public void testFindMapProducer() {
GetMapOutputFormat mockProducer = createMock(GetMapOutputFormat.class);
ApplicationContext mockContext = EasyMock.createMock(ApplicationContext.class);
// I'm not so pleasant with this block of code as it implies knowing how
// the internals of Ge... | public void testFindMapProducer() {
GetMapOutputFormat mockProducer = createMock(GetMapOutputFormat.class);
ApplicationContext mockContext = EasyMock.createMock(ApplicationContext.class);
// I'm not so pleasant with this block of code as it implies knowing how
// the internals of Ge... |
diff --git a/src/android/tether/MainActivity.java b/src/android/tether/MainActivity.java
index 2c5f10ab..9cf8ba76 100644
--- a/src/android/tether/MainActivity.java
+++ b/src/android/tether/MainActivity.java
@@ -1,327 +1,326 @@
/**
* This program is free software; you can redistribute it and/or modify it under
* ... | false | true | public void onCreate(Bundle savedInstanceState) {
Log.d(MSG_TAG, "Calling onCreate()");
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Init Application
this.application = (TetherApplication)this.getApplication();
// Init Table-Row... | public void onCreate(Bundle savedInstanceState) {
Log.d(MSG_TAG, "Calling onCreate()");
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Init Application
this.application = (TetherApplication)this.getApplication();
// Init Table-Row... |
diff --git a/src/com/entrocorp/linearlogic/oneinthegun/events/GeneralListener.java b/src/com/entrocorp/linearlogic/oneinthegun/events/GeneralListener.java
index 8dbe3b7..e39fa50 100644
--- a/src/com/entrocorp/linearlogic/oneinthegun/events/GeneralListener.java
+++ b/src/com/entrocorp/linearlogic/oneinthegun/events/Gene... | true | true | public void onClick(PlayerInteractEvent event) {
if (!event.getAction().equals(Action.RIGHT_CLICK_BLOCK))
return;
Player player = event.getPlayer();
Arena arena = OITG.instance.getArenaManager().getArena(event.getClickedBlock().getLocation());
if (arena == null)
... | public void onClick(PlayerInteractEvent event) {
if (!event.getAction().equals(Action.RIGHT_CLICK_BLOCK))
return;
Player player = event.getPlayer();
Arena arena = OITG.instance.getArenaManager().getArena(event.getClickedBlock().getLocation());
if (arena == null)
... |
diff --git a/net.solarnetwork.node.hw.currentcost/src/net/solarnetwork/node/hw/currentcost/CCMessageParser.java b/net.solarnetwork.node.hw.currentcost/src/net/solarnetwork/node/hw/currentcost/CCMessageParser.java
index a1093ec6..bb20a93e 100644
--- a/net.solarnetwork.node.hw.currentcost/src/net/solarnetwork/node/hw/cur... | false | true | public CCDatum parseMessage(byte[] messageXML) {
CCDatum d = new CCDatum();
try {
extractBeanDataFromXml(
d,
getDocBuilderFactory().newDocumentBuilder().parse(
new ByteArrayInputStream(messageXML)), xpathMapping);
} catch ( Exception e ) {
try {
log.error("XML parsing exception: {}; me... | public CCDatum parseMessage(byte[] messageXML) {
CCDatum d = new CCDatum();
try {
extractBeanDataFromXml(
d,
getDocBuilderFactory().newDocumentBuilder().parse(
new ByteArrayInputStream(messageXML)), xpathMapping);
} catch ( Exception e ) {
try {
log.debug("XML parsing exception: {}; me... |
diff --git a/zendserver-deployment-eclipse/org.zend.php.zendserver.deployment.ui/src/org/zend/php/zendserver/deployment/ui/actions/ZendCmdLine.java b/zendserver-deployment-eclipse/org.zend.php.zendserver.deployment.ui/src/org/zend/php/zendserver/deployment/ui/actions/ZendCmdLine.java
index 6e51db1e..5ae9d5e0 100644
---... | true | true | private String getZendCommandArgs(String cmdString) throws IOException {
StringBuilder command = new StringBuilder();
Bundle zendSdk = FrameworkUtil.getBundle(org.zend.sdkcli.Main.class);
String zendSdkPath = getZendSdkClassPath(zendSdk);
if (Platform.OS_WIN32.equals(Platform.getOS())) {
String arch =... | private String getZendCommandArgs(String cmdString) throws IOException {
StringBuilder command = new StringBuilder();
// TODO: fix this
Bundle zendSdk = FrameworkUtil.getBundle(this.getClass());
// was:
// Bundle zendSdk = FrameworkUtil.getBundle(org.zend.sdkcli.Main.class);
String zendSdkPath = getZen... |
diff --git a/maven-plugins/maven-codegen-plugin/src/main/java/com/site/maven/plugin/codegen/DalModelMojo.java b/maven-plugins/maven-codegen-plugin/src/main/java/com/site/maven/plugin/codegen/DalModelMojo.java
index 6287e96..5020f22 100644
--- a/maven-plugins/maven-codegen-plugin/src/main/java/com/site/maven/plugin/code... | true | true | public void execute() throws MojoExecutionException, MojoFailureException {
try {
File manifestFile = new File(manifest);
if (!manifestFile.exists()) {
throw new MojoExecutionException(String.format("Manifest(%s) not found!", manifestFile.getCanonicalPath()));
}
final URL manifestXml = manifestFile... | public void execute() throws MojoExecutionException, MojoFailureException {
try {
File manifestFile = new File(manifest);
if (!manifestFile.exists()) {
throw new MojoExecutionException(String.format("Manifest(%s) not found!", manifestFile.getCanonicalPath()));
}
final URL manifestXml = manifestFile... |
diff --git a/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java b/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java
index fa6ad8073..ff4ba4eb6 100644
--- a/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xm... | true | true | public void addPageMeta(PageMeta pageMeta) throws SAXException,
WingException, UIException, SQLException, IOException,
AuthorizeException
{
// FIXME: I don't think these should be set here, but they're needed and I'm
// not sure where else it could go. Perhaps the linkRes... | public void addPageMeta(PageMeta pageMeta) throws SAXException,
WingException, UIException, SQLException, IOException,
AuthorizeException
{
// FIXME: I don't think these should be set here, but they're needed and I'm
// not sure where else it could go. Perhaps the linkRes... |
diff --git a/bitrepository-audit-trail-service/src/main/java/org/bitrepository/audittrails/service/AuditTrailService.java b/bitrepository-audit-trail-service/src/main/java/org/bitrepository/audittrails/service/AuditTrailService.java
index 2627f976..11c107ae 100644
--- a/bitrepository-audit-trail-service/src/main/java/o... | true | true | public Collection<AuditTrailEvent> queryAuditTrailEvents(Date fromDate, Date toDate, String fileID,
String reportingComponent, String actor, String action) {
FileAction operation;
if(action != null) {
operation = FileAction.fromValue(action);
} else {
ope... | public Collection<AuditTrailEvent> queryAuditTrailEvents(Date fromDate, Date toDate, String fileID,
String reportingComponent, String actor, String action) {
FileAction operation;
if(action != null) {
operation = FileAction.fromValue(action);
} else {
ope... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.