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/dk/statsbiblioteket/newspaper/mfpakintegration/database/MfPakDAO.java b/src/main/java/dk/statsbiblioteket/newspaper/mfpakintegration/database/MfPakDAO.java
index 28fa1b7..19d1940 100644
--- a/src/main/java/dk/statsbiblioteket/newspaper/mfpakintegration/database/MfPakDAO.java
+++ b/src/main/ja... | false | true | public List<NewspaperEntity> getBatchNewspaperEntities(String batchID) throws SQLException {
List<NewspaperEntity> entities = null;
final String selectSql = "SELECT Name, FromDate, ToDate, PublicationLocation, NewsPaper.NewsPaperId"
+ " FROM NewsPaperTitle"
... | public List<NewspaperEntity> getBatchNewspaperEntities(String batchID) throws SQLException {
List<NewspaperEntity> entities = null;
final String selectSql = "SELECT Name, FromDate, ToDate, PublicationLocation, NewsPaper.NewsPaperId"
+ " FROM NewsPaperTitle"
... |
diff --git a/src/main/java/tk/thundaklap/enchantism/EnchantInventory.java b/src/main/java/tk/thundaklap/enchantism/EnchantInventory.java
index 4fbddc6..5b4dc3a 100644
--- a/src/main/java/tk/thundaklap/enchantism/EnchantInventory.java
+++ b/src/main/java/tk/thundaklap/enchantism/EnchantInventory.java
@@ -1,304 +1,303 @@... | true | true | public void inventoryClicked(InventoryClickEvent event) {
int rawSlot = event.getRawSlot();
InventoryView view = event.getView();
assert SIZE_INVENTORY == view.getTopInventory().getSize();
// Default to cancel, uncancel if we want vanilla behavior
event.setResult(Result.DENY... | public void inventoryClicked(InventoryClickEvent event) {
int rawSlot = event.getRawSlot();
InventoryView view = event.getView();
assert SIZE_INVENTORY == view.getTopInventory().getSize();
// Default to cancel, uncancel if we want vanilla behavior
event.setResult(Result.DENY... |
diff --git a/holmes-core/src/main/java/net/holmes/core/backend/handler/UtilHandler.java b/holmes-core/src/main/java/net/holmes/core/backend/handler/UtilHandler.java
index 749ef55f..fd00fd49 100644
--- a/holmes-core/src/main/java/net/holmes/core/backend/handler/UtilHandler.java
+++ b/holmes-core/src/main/java/net/holmes... | true | true | public Collection<Folder> getChildFolders(@FormParam("path") final String parentPath) {
Collection<Folder> folders = Lists.newArrayList();
if (parentPath == null || parentPath.equals("none")) {
// Add user home folder
File userHomeDir = new File(USER_HOME.getValue());
... | public Collection<Folder> getChildFolders(@FormParam("path") final String parentPath) {
Collection<Folder> folders = Lists.newArrayList();
if (parentPath == null || parentPath.equals("none")) {
// Add user home folder
File userHomeDir = new File(USER_HOME.getValue());
... |
diff --git a/source/ru/peppers/MainListActivity.java b/source/ru/peppers/MainListActivity.java
index 9ac5a43..07eff4a 100644
--- a/source/ru/peppers/MainListActivity.java
+++ b/source/ru/peppers/MainListActivity.java
@@ -1,239 +1,244 @@
package ru.peppers;
import java.util.ArrayList;
import java.util.HashMap;
imp... | true | true | private void initMainList() {
final Driver driver = TaxiApplication.getDriver();
if (driver != null) {
itemsList = new ArrayList<Map<String, String>>();
itemsList.add(createItem("item", this.getString(R.string.my_orders)+" " + driver.getOrdersCount()));
itemsList.... | private void initMainList() {
final Driver driver = TaxiApplication.getDriver();
if (driver != null) {
itemsList = new ArrayList<Map<String, String>>();
itemsList.add(createItem("item", this.getString(R.string.my_orders)+" " + driver.getOrdersCount()));
itemsList.... |
diff --git a/openid-connect-client/src/main/java/org/mitre/oauth2/introspectingfilter/OAuth2AccessTokenImpl.java b/openid-connect-client/src/main/java/org/mitre/oauth2/introspectingfilter/OAuth2AccessTokenImpl.java
index 90adb2ca..108f43a6 100644
--- a/openid-connect-client/src/main/java/org/mitre/oauth2/introspectingf... | true | true | public OAuth2AccessTokenImpl(JsonObject token, String tokenString) {
this.token = token;
this.tokenString = tokenString;
if (token.get("scope") != null) {
scopes = Sets.newHashSet(Splitter.on(" ").split(token.get("scope").getAsString()));
}
DateFormat dateFormater = new SimpleDateFormat("yyyy-MM-dd'T'HH:... | public OAuth2AccessTokenImpl(JsonObject token, String tokenString) {
this.token = token;
this.tokenString = tokenString;
if (token.get("scope") != null) {
scopes = Sets.newHashSet(Splitter.on(" ").split(token.get("scope").getAsString()));
}
DateFormat dateFormater = new SimpleDateFormat("yyyy-MM-dd'T'HH:... |
diff --git a/izpack-src/trunk/src/lib/com/izforge/izpack/util/PasswordKeystoreValidator.java b/izpack-src/trunk/src/lib/com/izforge/izpack/util/PasswordKeystoreValidator.java
index 242796a5..f54b34a4 100644
--- a/izpack-src/trunk/src/lib/com/izforge/izpack/util/PasswordKeystoreValidator.java
+++ b/izpack-src/trunk/src/... | false | true | public boolean validate(ProcessingClient client)
{
boolean returnValue = false;
String keystorePassword = null;
String keystoreFile = null;
String keystoreType = "JKS";
String skipValidation = null;
String alias = null;
String aliasPassword = null;
... | public boolean validate(ProcessingClient client)
{
boolean returnValue = false;
String keystorePassword = null;
String keystoreFile = null;
String keystoreType = "JKS";
String skipValidation = null;
String alias = null;
String aliasPassword = null;
... |
diff --git a/src/org/rascalmpl/interpreter/env/ModuleEnvironment.java b/src/org/rascalmpl/interpreter/env/ModuleEnvironment.java
index 65bf8b0f12..515810bd2e 100644
--- a/src/org/rascalmpl/interpreter/env/ModuleEnvironment.java
+++ b/src/org/rascalmpl/interpreter/env/ModuleEnvironment.java
@@ -1,668 +1,669 @@
/*******... | true | true | public IMap getSyntaxDefinition() {
List<String> todo = new LinkedList<String>();
Set<String> done = new HashSet<String>();
todo.add(getName());
IValueFactory VF = ValueFactoryFactory.getValueFactory();
Type DefSort = RascalTypeFactory.getInstance().nonTerminalType((IConstructor) Factory.Symbol_Sort.make(... | public IMap getSyntaxDefinition() {
List<String> todo = new LinkedList<String>();
Set<String> done = new HashSet<String>();
todo.add(getName());
IValueFactory VF = ValueFactoryFactory.getValueFactory();
Type DefSort = RascalTypeFactory.getInstance().nonTerminalType((IConstructor) Factory.Symbol_Sort.make(... |
diff --git a/src/me/libraryaddict/Hungergames/Commands/GoTo.java b/src/me/libraryaddict/Hungergames/Commands/GoTo.java
index 297ef90..05566db 100644
--- a/src/me/libraryaddict/Hungergames/Commands/GoTo.java
+++ b/src/me/libraryaddict/Hungergames/Commands/GoTo.java
@@ -1,44 +1,45 @@
package me.libraryaddict.Hungergames... | false | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Gamer gamer = pm.getGamer(sender.getName());
if (!gamer.isAlive()) {
if (args.length > 0) {
if (Bukkit.getPlayer(args[0]) != null) {
Bukkit.getPlayerExact... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Gamer gamer = pm.getGamer(sender.getName());
if (!gamer.isAlive()) {
if (args.length > 0) {
if (Bukkit.getPlayer(args[0]) != null) {
gamer.getPlayer().eje... |
diff --git a/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java b/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntryRenderer.java
index 5035ea4de..021561239 100644
--- a/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEn... | false | true | public void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException {
ResponseWriter writer = facesContext.getResponseWriter();
String clientId = uiComponent.getClientId(facesContext);
AutoCompleteEntry autoCompleteEntry = (AutoCompleteEntry) uiComponent;
/... | public void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException {
ResponseWriter writer = facesContext.getResponseWriter();
String clientId = uiComponent.getClientId(facesContext);
AutoCompleteEntry autoCompleteEntry = (AutoCompleteEntry) uiComponent;
/... |
diff --git a/src/org/bouncycastle/asn1/cms/KEKIdentifier.java b/src/org/bouncycastle/asn1/cms/KEKIdentifier.java
index bdcc1524..708487ef 100644
--- a/src/org/bouncycastle/asn1/cms/KEKIdentifier.java
+++ b/src/org/bouncycastle/asn1/cms/KEKIdentifier.java
@@ -1,139 +1,139 @@
package org.bouncycastle.asn1.cms;
import... | true | true | public KEKIdentifier(
ASN1Sequence seq)
{
keyIdentifier = (ASN1OctetString)seq.getObjectAt(0);
switch (seq.size())
{
case 1:
break;
case 2:
if (seq.getObjectAt(1) instanceof DERGeneralizedTime)
{
date = ... | public KEKIdentifier(
ASN1Sequence seq)
{
keyIdentifier = (ASN1OctetString)seq.getObjectAt(0);
switch (seq.size())
{
case 1:
break;
case 2:
if (seq.getObjectAt(1) instanceof DERGeneralizedTime)
{
date = ... |
diff --git a/software/messaging/src/main/java/brooklyn/entity/messaging/qpid/QpidBrokerImpl.java b/software/messaging/src/main/java/brooklyn/entity/messaging/qpid/QpidBrokerImpl.java
index ecc9d694c..818cc572c 100644
--- a/software/messaging/src/main/java/brooklyn/entity/messaging/qpid/QpidBrokerImpl.java
+++ b/softwar... | true | true | protected void connectSensors() {
super.connectSensors();
String serverInfoMBeanName = "org.apache.qpid:type=ServerInformation,name=ServerInformation";
jmxFeed = JmxFeed.builder()
.entity(this)
.period(500, TimeUnit.MILLISECONDS)
.pollAttribute(n... | protected void connectSensors() {
super.connectSensors();
String serverInfoMBeanName = "org.apache.qpid:type=ServerInformation,name=ServerInformation";
jmxFeed = JmxFeed.builder()
.entity(this)
.period(500, TimeUnit.MILLISECONDS)
.pollAttribut... |
diff --git a/src/com/android/mms/transaction/SmsMessageSender.java b/src/com/android/mms/transaction/SmsMessageSender.java
index 5edde0bb..f1b0cb4c 100644
--- a/src/com/android/mms/transaction/SmsMessageSender.java
+++ b/src/com/android/mms/transaction/SmsMessageSender.java
@@ -1,204 +1,204 @@
/*
* Copyright (C) 200... | true | true | private boolean queueMessage(long token) throws MmsException {
if ((mMessageText == null) || (mNumberOfDests == 0)) {
// Don't try to send an empty message.
throw new MmsException("Null message body or dest.");
}
SharedPreferences prefs = PreferenceManager.getDefault... | private boolean queueMessage(long token) throws MmsException {
if ((mMessageText == null) || (mNumberOfDests == 0)) {
// Don't try to send an empty message.
throw new MmsException("Null message body or dest.");
}
SharedPreferences prefs = PreferenceManager.getDefault... |
diff --git a/src/com/bingo/eatime/admin/EventAdminServlet.java b/src/com/bingo/eatime/admin/EventAdminServlet.java
index aa39a18..b2ac2ec 100644
--- a/src/com/bingo/eatime/admin/EventAdminServlet.java
+++ b/src/com/bingo/eatime/admin/EventAdminServlet.java
@@ -1,78 +1,78 @@
package com.bingo.eatime.admin;
import ja... | true | true | public void doGet(HttpServletRequest req, HttpServletResponse resp) {
String action = req.getParameter("action");
String eventName = req.getParameter("name");
String restaurantKeyName = req.getParameter("restaurant");
String creatorUsername = req.getParameter("username");
String dateString = req.getParameter... | public void doGet(HttpServletRequest req, HttpServletResponse resp) {
String action = req.getParameter("action");
String eventName = req.getParameter("name");
String restaurantKeyName = req.getParameter("restaurant");
String creatorUsername = req.getParameter("username");
String dateString = req.getParameter... |
diff --git a/src/java/net/sf/jabref/imports/EndnoteImporter.java b/src/java/net/sf/jabref/imports/EndnoteImporter.java
index 3e17141ee..3f1fed108 100644
--- a/src/java/net/sf/jabref/imports/EndnoteImporter.java
+++ b/src/java/net/sf/jabref/imports/EndnoteImporter.java
@@ -1,235 +1,235 @@
package net.sf.jabref.imports;... | true | true | public List<BibtexEntry> importEntries(InputStream stream) throws IOException {
ArrayList<BibtexEntry> bibitems = new ArrayList<BibtexEntry>();
StringBuffer sb = new StringBuffer();
BufferedReader in = new BufferedReader(ImportFormatReader.getReaderDefaultEncoding(stream));
String ENDOFRECORD = "__E... | public List<BibtexEntry> importEntries(InputStream stream) throws IOException {
ArrayList<BibtexEntry> bibitems = new ArrayList<BibtexEntry>();
StringBuffer sb = new StringBuffer();
BufferedReader in = new BufferedReader(ImportFormatReader.getReaderDefaultEncoding(stream));
String ENDOFRECORD = "__E... |
diff --git a/modules/ProcessorPlugin/src/main/java/org/gephi/io/processor/plugin/DefaultProcessor.java b/modules/ProcessorPlugin/src/main/java/org/gephi/io/processor/plugin/DefaultProcessor.java
index 4bb471230..3a3f35e7a 100644
--- a/modules/ProcessorPlugin/src/main/java/org/gephi/io/processor/plugin/DefaultProcessor.... | true | true | public void process() {
//Workspace
ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
if (workspace == null) {
workspace = pc.newWorkspace(pc.getCurrentProject());
pc.openWorkspace(workspace);
}
if (container.getSource() != nu... | public void process() {
//Workspace
ProjectController pc = Lookup.getDefault().lookup(ProjectController.class);
if (workspace == null) {
workspace = pc.newWorkspace(pc.getCurrentProject());
pc.openWorkspace(workspace);
}
if (container.getSource() != nu... |
diff --git a/src/server-java/testapp-interactive/lib/nextapp/echo/extras/testapp/testscreen/ListViewerTest.java b/src/server-java/testapp-interactive/lib/nextapp/echo/extras/testapp/testscreen/ListViewerTest.java
index ce7f7a6..9a2a76b 100644
--- a/src/server-java/testapp-interactive/lib/nextapp/echo/extras/testapp/tes... | true | true | public ListViewerTest() {
super("ListViewer", null);
final ListViewer listViewer = new ListViewer();
listViewer.setColumnWidth(0, new Extent(50));
listViewer.setColumnWidth(1, new Extent(40, Extent.PERCENT));
listViewer.setColumnWidth(2, new Extent(5, Extent.EM));
lis... | public ListViewerTest() {
super("ListViewer", null);
final ListViewer listViewer = new ListViewer();
listViewer.setColumnWidth(0, new Extent(50));
listViewer.setColumnWidth(1, new Extent(40, Extent.PERCENT));
listViewer.setColumnWidth(2, new Extent(5, Extent.EM));
lis... |
diff --git a/org.jcryptool.crypto.flexiprovider.operations/src/org/jcryptool/crypto/flexiprovider/operations/engines/PerformOperationManager.java b/org.jcryptool.crypto.flexiprovider.operations/src/org/jcryptool/crypto/flexiprovider/operations/engines/PerformOperationManager.java
index a35cb267..74272523 100644
--- a/o... | true | true | private static void loadExtensions() {
LogUtil.logInfo("loading extensions"); //$NON-NLS-1$
IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(
FlexiProviderOperationsPlugin.PLUGIN_ID, "performFlexiProviderOperation"); //$NON-NLS-1$
IExtension[... | private static void loadExtensions() {
LogUtil.logInfo("loading extensions"); //$NON-NLS-1$
IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(
FlexiProviderOperationsPlugin.PLUGIN_ID, "performFlexiProviderOperation"); //$NON-NLS-1$
IExtension[... |
diff --git a/org.xpect.ui/src/org/xpect/ui/outline/XpectOutlineTreeProvider.java b/org.xpect.ui/src/org/xpect/ui/outline/XpectOutlineTreeProvider.java
index 2bf52bc..0b414b8 100644
--- a/org.xpect.ui/src/org/xpect/ui/outline/XpectOutlineTreeProvider.java
+++ b/org.xpect.ui/src/org/xpect/ui/outline/XpectOutlineTreeProvi... | true | true | public String _text(XpectFile file) {
String filename = file.eResource().getURI().lastSegment();
XpectTest test = file.getTest();
if (!test.eIsProxy()) {
XpectJavaModel model = test.getTestClassOrSuite();
if (model != null && !model.eIsProxy()) {
XjmTest suite = model.getTestOrSuite();
if (suite !=... | public String _text(XpectFile file) {
String filename = file.eResource().getURI().lastSegment();
XpectTest test = file.getTest();
if (test != null && !test.eIsProxy()) {
XpectJavaModel model = test.getTestClassOrSuite();
if (model != null && !model.eIsProxy()) {
XjmTest suite = model.getTestOrSuite();
... |
diff --git a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/view/ErrorPopupView.java b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/view/ErrorPopupView.java
index 66aaf2e7..9605b3e4 100644
--- a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/en... | true | true | public void setErrorMessage(Map<String, Set<String>> desc2msgs) {
// Only one error- without description
if ((desc2msgs.size() == 1)) {
String desc = desc2msgs.keySet().iterator().next();
if ((desc2msgs.get(desc).size() == 1) && ((desc == null) || (desc.equals("")))) {
... | public void setErrorMessage(Map<String, Set<String>> desc2msgs) {
// Only one error- without description
if ((desc2msgs.size() == 1)) {
String desc = desc2msgs.keySet().iterator().next();
if ((desc2msgs.get(desc).size() == 1) && ((desc == null) || (desc.equals("")))) {
... |
diff --git a/src/scene/encounter/ThiefEncounter.java b/src/scene/encounter/ThiefEncounter.java
index 70296ab..e943e89 100644
--- a/src/scene/encounter/ThiefEncounter.java
+++ b/src/scene/encounter/ThiefEncounter.java
@@ -1,67 +1,67 @@
package scene.encounter;
import java.util.ArrayList;
import java.util.List;
imp... | false | true | public EncounterNotification doEncounter() {
ArrayList<Inventoried> inventories = new ArrayList<Inventoried>();
Vehicle vehicle = party.getVehicle();
if (vehicle != null)
inventories.add(vehicle);
inventories.addAll(party.getPartyMembers());
boolean removed = false;
while (!inventories.isEmpty(... | public EncounterNotification doEncounter() {
ArrayList<Inventoried> inventories = new ArrayList<Inventoried>();
Vehicle vehicle = party.getVehicle();
if (vehicle != null)
inventories.add(vehicle);
inventories.addAll(party.getPartyMembers());
boolean removed = false;
while (!inventories.isEmpty(... |
diff --git a/src/main/java/org/mobicents/tools/sip/balancer/CallIDAffinityBalancerAlgorithm.java b/src/main/java/org/mobicents/tools/sip/balancer/CallIDAffinityBalancerAlgorithm.java
index f1990b8..67ed796 100644
--- a/src/main/java/org/mobicents/tools/sip/balancer/CallIDAffinityBalancerAlgorithm.java
+++ b/src/main/ja... | true | true | public SIPNode processRequest(Request request) {
String callId = ((SIPHeader) request.getHeader("Call-ID"))
.getValue();
SIPNode node;
if(callId == null) {
node = null;
} else {
node = callIdMap.get(callId);
callIdTimestamps.put(callId, System.currentTimeMillis());
}
BalancerContext balancerCon... | public SIPNode processRequest(Request request) {
String callId = ((SIPHeader) request.getHeader("Call-ID"))
.getValue();
SIPNode node;
if(callId == null) {
node = null;
} else {
node = callIdMap.get(callId);
callIdTimestamps.put(callId, System.currentTimeMillis());
}
BalancerContext balancerCon... |
diff --git a/src/main/java/net/jeebiss/questmanager/quests/QuestJournal.java b/src/main/java/net/jeebiss/questmanager/quests/QuestJournal.java
index f102d71..1d18bc0 100644
--- a/src/main/java/net/jeebiss/questmanager/quests/QuestJournal.java
+++ b/src/main/java/net/jeebiss/questmanager/quests/QuestJournal.java
@@ -1,3... | true | true | public Quest addQuest (String questName, String questScriptName) {
Quest quest = new Quest (questName, questScriptName);
this.quests.put (questName, quest);
return quest;
}
| public Quest addQuest (String questName, String questScriptName, String questDescription) {
Quest quest = new Quest (questName, questScriptName, questDescription);
this.quests.put (questName, quest);
return quest;
}
|
diff --git a/src/hu/blint/ssldroid/SSLDroidTunnelDetails.java b/src/hu/blint/ssldroid/SSLDroidTunnelDetails.java
index 06df86c..481a2ea 100644
--- a/src/hu/blint/ssldroid/SSLDroidTunnelDetails.java
+++ b/src/hu/blint/ssldroid/SSLDroidTunnelDetails.java
@@ -1,395 +1,395 @@
package hu.blint.ssldroid;
import java.io.F... | true | true | protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
dbHelper = new SSLDroidDbAdapter(this);
dbHelper.open();
setContentView(R.layout.tunnel_details);
Button confirmButton = (Button) findViewById(R.id.tunnel_apply_button);
name = (EditText) findViewById(R... | protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
dbHelper = new SSLDroidDbAdapter(this);
dbHelper.open();
setContentView(R.layout.tunnel_details);
Button confirmButton = (Button) findViewById(R.id.tunnel_apply_button);
name = (EditText) findViewById(R... |
diff --git a/source/org/jivesoftware/smack/BOSHConnection.java b/source/org/jivesoftware/smack/BOSHConnection.java
index 554d43b..6320256 100644
--- a/source/org/jivesoftware/smack/BOSHConnection.java
+++ b/source/org/jivesoftware/smack/BOSHConnection.java
@@ -1,764 +1,766 @@
/**
* $RCSfile$
* $Revision$
* $Date... | false | true | public void connect() throws XMPPException {
if (connected) {
throw new IllegalStateException("Already connected to a server.");
}
done = false;
try {
// Ensure a clean starting state
if (client != null) {
client.close();
... | public void connect() throws XMPPException {
if (connected) {
throw new IllegalStateException("Already connected to a server.");
}
done = false;
try {
// Ensure a clean starting state
if (client != null) {
client.close();
... |
diff --git a/Plugins/TilesModule/src/troy/procedural/TilesModule.java b/Plugins/TilesModule/src/troy/procedural/TilesModule.java
index 6057fd6..9202aa1 100644
--- a/Plugins/TilesModule/src/troy/procedural/TilesModule.java
+++ b/Plugins/TilesModule/src/troy/procedural/TilesModule.java
@@ -1,120 +1,120 @@
/*
Copyright... | false | true | public double getAverageValue(int which, double blur)
{
if (point == null)
return 0.0;
// Parameters
double width = (linkFrom[3] == null) ? 0.1
: linkFrom[3].getAverageValue(linkFromIndex[3], blur);
width = (width <= 0.0 ? 0.1 : width);
width *= 0.5;
double scale = (linkFrom[4] == null... | public double getAverageValue(int which, double blur)
{
if (point == null)
return 0.0;
// Parameters
double width = (linkFrom[3] == null) ? 0.1
: linkFrom[3].getAverageValue(linkFromIndex[3], blur);
width = (width <= 0.0 ? 0.1 : width);
width *= 0.5;
double scale = (linkFrom[4] == null) ? 4.0
:... |
diff --git a/src/test/java/org/caruana/silverbirch/server/statements/DefineFunctionTest.java b/src/test/java/org/caruana/silverbirch/server/statements/DefineFunctionTest.java
index e7e2de1..6f99617 100644
--- a/src/test/java/org/caruana/silverbirch/server/statements/DefineFunctionTest.java
+++ b/src/test/java/org/carua... | false | true | public void defineFunction()
{
profiler.start("createFunction");
DefineFunction fn = new DefineFunction("test", new String[] {"db", "name"}, "/statements/test_fn.edn");
transaction.addStatement(fn);
profiler.start("createInvoke");
EDN invoke = new EDN("/statements/test_fn... | public void defineFunction()
{
profiler.start("createFunction");
DefineFunction fn = new DefineFunction("test", new String[] {"db", "name"}, "/statements/test_fn.edn");
transaction.addStatement(fn);
profiler.start("applyChanges");
transaction.applyChanges(conn);
p... |
diff --git a/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/lifecycle/WorkspaceMappingsFileTest.java b/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/lifecycle/WorkspaceMappingsFileTest.java
index b529446a..ea06b4b5 100644
--- a/org.eclipse.m2e.tests/src/org/eclipse/m2e/tests/lifecycle/WorkspaceMappingsFileTest.java
... | true | true | public void testChangeText() throws Exception {
String origText = mavenConfiguration.getWorkspaceMappings();
String newText = "blah!";
mavenConfiguration.setWorkspaceMappings(newText);
assertEquals(newText, mavenConfiguration.getWorkspaceMappings());
mavenConfiguration.setWorkspaceMappings(origTe... | public void testChangeText() throws Exception {
String origText = mavenConfiguration.getWorkspaceMappings();
String newText = "blah!";
mavenConfiguration.setWorkspaceMappings(newText);
assertEquals(newText + "\n", mavenConfiguration.getWorkspaceMappings());
mavenConfiguration.setWorkspaceMappings... |
diff --git a/src/java-client-framework/org/xins/client/NoSuchSessionException.java b/src/java-client-framework/org/xins/client/NoSuchSessionException.java
index fac7812e0..a1e66cc73 100644
--- a/src/java-client-framework/org/xins/client/NoSuchSessionException.java
+++ b/src/java-client-framework/org/xins/client/NoSuchS... | true | true | public NoSuchSessionException() {
// empty
}
| public NoSuchSessionException() {
super(null, null);
}
|
diff --git a/src/org/mozilla/javascript/regexp/NativeRegExp.java b/src/org/mozilla/javascript/regexp/NativeRegExp.java
index ce653e8e..f3fd337c 100644
--- a/src/org/mozilla/javascript/regexp/NativeRegExp.java
+++ b/src/org/mozilla/javascript/regexp/NativeRegExp.java
@@ -1,2799 +1,2804 @@
/* -*- Mode: java; tab-width: ... | true | true | private static boolean
executeREBytecode(REGlobalData gData, String input, int end)
{
int pc = 0;
byte program[] = gData.regexp.program;
int currentContinuation_op;
int currentContinuation_pc;
boolean result = false;
currentContinuation_pc = 0;
curren... | private static boolean
executeREBytecode(REGlobalData gData, String input, int end)
{
int pc = 0;
byte program[] = gData.regexp.program;
int currentContinuation_op;
int currentContinuation_pc;
boolean result = false;
currentContinuation_pc = 0;
curren... |
diff --git a/microemulator/src/com/barteo/emulator/util/JadProperties.java b/microemulator/src/com/barteo/emulator/util/JadProperties.java
index 5b42ecc9..711b4a1c 100644
--- a/microemulator/src/com/barteo/emulator/util/JadProperties.java
+++ b/microemulator/src/com/barteo/emulator/util/JadProperties.java
@@ -1,112 +1,... | true | true | public Vector getMidletEntries()
{
String name, icon, className, test;
int pos;
if (midletEntries == null) {
midletEntries = new Vector();
for (Enumeration e = propertyNames(); e.hasMoreElements(); ) {
test = (String) e.nextElement();
if (test.startsWith(MIDLET_PREF... | public Vector getMidletEntries()
{
String name, icon, className, test;
int pos;
if (midletEntries == null) {
midletEntries = new Vector();
for (Enumeration e = propertyNames(); e.hasMoreElements(); ) {
test = (String) e.nextElement();
if (test.startsWith(MIDLET_PREF... |
diff --git a/src/com/abiansoftware/lib/reader/AbianReaderListView.java b/src/com/abiansoftware/lib/reader/AbianReaderListView.java
index 675d665..26ebc7a 100644
--- a/src/com/abiansoftware/lib/reader/AbianReaderListView.java
+++ b/src/com/abiansoftware/lib/reader/AbianReaderListView.java
@@ -1,494 +1,494 @@
/*
This f... | true | true | public void initializeViewAfterPopulation(Context context) {
AbianReaderActivity theSingleton = AbianReaderActivity.getSingleton();
m_abianReaderListView = (ListView) AbianReaderActivity.getSingleton()
.findViewById(R.id.abian_reader_list_view);
m_abianReaderListView.setVisibility(View.GONE);
m_abianRea... | public void initializeViewAfterPopulation(Context context) {
AbianReaderActivity theSingleton = AbianReaderActivity.getSingleton();
m_abianReaderListView = (ListView) AbianReaderActivity.getSingleton()
.findViewById(R.id.abian_reader_list_view_listview);
m_abianReaderListView.setVisibility(View.GONE);
m... |
diff --git a/jOOQ/src/main/java/org/jooq/impl/ConditionAsField.java b/jOOQ/src/main/java/org/jooq/impl/ConditionAsField.java
index 3aff1eb2c..37f03a689 100644
--- a/jOOQ/src/main/java/org/jooq/impl/ConditionAsField.java
+++ b/jOOQ/src/main/java/org/jooq/impl/ConditionAsField.java
@@ -1,92 +1,92 @@
/**
* Copyright (c... | false | true | final QueryPart getFunction0(Configuration configuration) {
switch (configuration.getDialect()) {
// Some databases don't accept predicates where column expressions
// are expected.
case CUBRID:
case DB2:
case FIREBIRD:
case ORACLE:
... | final QueryPart getFunction0(Configuration configuration) {
switch (configuration.getDialect()) {
// Some databases don't accept predicates where column expressions
// are expected.
case CUBRID:
case DB2:
case FIREBIRD:
case ORACLE:
... |
diff --git a/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContentAssistHelper.java b/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContentAssistHelper.java
index 40e82e327..c7de6f9aa 100644
--- a/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/to... | true | true | public static SWTBotEditor checkContentAssistAutoProposal(SWTBotExt bot,
String editorTitle, String textToSelect, int selectionOffset,
int selectionLength, int textToSelectIndex, String expectedInsertedText) {
SWTJBTExt.selectTextInSourcePane(bot,
editorTitle, textToSelect, selectionOffset, s... | public static SWTBotEditor checkContentAssistAutoProposal(SWTBotExt bot,
String editorTitle, String textToSelect, int selectionOffset,
int selectionLength, int textToSelectIndex, String expectedInsertedText) {
SWTJBTExt.selectTextInSourcePane(bot,
editorTitle, textToSelect, selectionOffset, s... |
diff --git a/src/main/java/btrplace/sandbox/BtrPlace.java b/src/main/java/btrplace/sandbox/BtrPlace.java
index 34c7b3b..136f0e1 100644
--- a/src/main/java/btrplace/sandbox/BtrPlace.java
+++ b/src/main/java/btrplace/sandbox/BtrPlace.java
@@ -1,259 +1,264 @@
/*
* Copyright (c) 2012 University of Nice Sophia-Antipolis
... | false | true | public Response check(@FormParam("cfg") String cfg, @FormParam("script") String scriptInput) {
//Model model = gs.makeModel();
// Create an empty model
Model model = new DefaultModel();
// Add a NamingService to the model
NamingService namingService = new InMemoryNamingService(model);
model.attach(nam... | public Response check(@FormParam("cfg") String cfg, @FormParam("script") String scriptInput) {
//Model model = gs.makeModel();
// Create an empty model
Model model = new DefaultModel();
// Add a NamingService to the model
NamingService namingService = new InMemoryNamingService(model);
model.attach(nam... |
diff --git a/cst/eu.esdihumboldt.cst/src/main/java/eu/esdihumboldt/cst/transformer/configuration/ReflectionHelper.java b/cst/eu.esdihumboldt.cst/src/main/java/eu/esdihumboldt/cst/transformer/configuration/ReflectionHelper.java
index bceb587b3..ab3ee1208 100644
--- a/cst/eu.esdihumboldt.cst/src/main/java/eu/esdihumboldt... | true | true | public static synchronized File[] getFilesFromPackage(String pkg)
throws IOException {
File[] files;
try {
URL u = _packageResolver.resolve(pkg);
if (u != null && !u.toString().startsWith("jar:")) {
//we got the package as an URL. Simply create a file
... | public static synchronized File[] getFilesFromPackage(String pkg)
throws IOException {
File[] files;
try {
URL u = _packageResolver.resolve(pkg);
if (u != null && !u.toString().startsWith("jar:")) {
//we got the package as an URL. Simply create a file
... |
diff --git a/ardor3d-core/src/main/java/com/ardor3d/nativeloader/NativeLoader.java b/ardor3d-core/src/main/java/com/ardor3d/nativeloader/NativeLoader.java
index 89f2339..2c499e9 100644
--- a/ardor3d-core/src/main/java/com/ardor3d/nativeloader/NativeLoader.java
+++ b/ardor3d-core/src/main/java/com/ardor3d/nativeloader/N... | true | true | private static void makeLibraryAvailable(final String libraryPath) throws IOException {
// logger.info("Making library: " + libraryPath + " available");
final URL resourceURL = NativeLoader.class.getResource(libraryPath);
if (resourceURL == null) {
throw new IOException("Unable... | private static void makeLibraryAvailable(final String libraryPath) throws IOException {
// logger.info("Making library: " + libraryPath + " available");
final URL resourceURL = NativeLoader.class.getResource(libraryPath);
if (resourceURL == null) {
throw new IOException("Unable... |
diff --git a/src/com/restaurant/collection/GcmBroadcastReceiver.java b/src/com/restaurant/collection/GcmBroadcastReceiver.java
index 8c901b6..8e5003e 100644
--- a/src/com/restaurant/collection/GcmBroadcastReceiver.java
+++ b/src/com/restaurant/collection/GcmBroadcastReceiver.java
@@ -1,85 +1,86 @@
package com.restaura... | false | true | private void sendNotification(Intent intent) {
mNotificationManager = (NotificationManager)
ctx.getSystemService(Context.NOTIFICATION_SERVICE);
openActivity = Integer.parseInt(intent.getStringExtra("activity"));
switch(openActivity){
case 0:
... | private void sendNotification(Intent intent) {
mNotificationManager = (NotificationManager)
ctx.getSystemService(Context.NOTIFICATION_SERVICE);
openActivity = Integer.parseInt(intent.getStringExtra("activity"));
switch(openActivity){
case 0:
... |
diff --git a/src/org/objectweb/proactive/core/runtime/ProActiveRuntimeImpl.java b/src/org/objectweb/proactive/core/runtime/ProActiveRuntimeImpl.java
index eca033665..bc91cfa0a 100644
--- a/src/org/objectweb/proactive/core/runtime/ProActiveRuntimeImpl.java
+++ b/src/org/objectweb/proactive/core/runtime/ProActiveRuntimeI... | true | true | public UniversalBody createBody(String nodeName,
ConstructorCall bodyConstructorCall, boolean isLocal)
throws ConstructorCallExecutionFailedException,
java.lang.reflect.InvocationTargetException {
Body localBody = (Body) bodyConstructorCall.execute();
PolicyServer objec... | public UniversalBody createBody(String nodeName,
ConstructorCall bodyConstructorCall, boolean isLocal)
throws ConstructorCallExecutionFailedException,
java.lang.reflect.InvocationTargetException {
Body localBody = (Body) bodyConstructorCall.execute();
PolicyServer objec... |
diff --git a/src/com/ModDamage/Events/Command.java b/src/com/ModDamage/Events/Command.java
index 7f42973..3f01d7d 100644
--- a/src/com/ModDamage/Events/Command.java
+++ b/src/com/ModDamage/Events/Command.java
@@ -1,354 +1,354 @@
package com.ModDamage.Events;
import java.util.ArrayList;
import java.util.Arrays;
im... | true | true | protected void load(Object commands)
{
loadState = LoadState.FAILURE;
boolean failed = false;
SimpleCommandMap cmap = MagicStuff.getCommandMap();
commandMap.clear();
if (cmap == null)
{
System.err.println("Command support failed to initialize!");
return;
}
for (org.bukkit.comma... | protected void load(Object commands)
{
loadState = LoadState.FAILURE;
boolean failed = false;
SimpleCommandMap cmap = MagicStuff.getCommandMap();
commandMap.clear();
if (cmap == null)
{
System.err.println("Command support failed to initialize!");
return;
}
for (org.bukkit.comma... |
diff --git a/src/org/nutz/mvc/view/RawView.java b/src/org/nutz/mvc/view/RawView.java
index 831563e3e..cb0d32768 100644
--- a/src/org/nutz/mvc/view/RawView.java
+++ b/src/org/nutz/mvc/view/RawView.java
@@ -1,301 +1,305 @@
package org.nutz.mvc.view;
import java.awt.image.BufferedImage;
import java.io.BufferedInputSt... | false | true | public void render(HttpServletRequest req, HttpServletResponse resp, Object obj)
throws Throwable {
// 如果用户自行设置了,那就不要再设置了!
if (resp.getContentType() == null) {
if (obj != null && obj instanceof BufferedImage && "text/plain".equals(contentType)) {
contentType = contentTypeMap.get("png");
}
resp.setC... | public void render(HttpServletRequest req, HttpServletResponse resp, Object obj)
throws Throwable {
// 如果用户自行设置了,那就不要再设置了!
if (resp.getContentType() == null) {
if (obj != null && obj instanceof BufferedImage && "text/plain".equals(contentType)) {
contentType = contentTypeMap.get("png");
}
resp.setC... |
diff --git a/src/com/ichi2/anki/DeckPicker.java b/src/com/ichi2/anki/DeckPicker.java
index 1ad8b266..1de45f3d 100644
--- a/src/com/ichi2/anki/DeckPicker.java
+++ b/src/com/ichi2/anki/DeckPicker.java
@@ -1,2792 +1,2792 @@
/****************************************************************************************
* Copy... | true | true | protected Dialog onCreateDialog(int id) {
StyledDialog dialog;
Resources res = getResources();
StyledDialog.Builder builder = new StyledDialog.Builder(this);
switch (id) {
case DIALOG_OK:
builder.setPositiveButton(R.string.ok, null);
dialo... | protected Dialog onCreateDialog(int id) {
StyledDialog dialog;
Resources res = getResources();
StyledDialog.Builder builder = new StyledDialog.Builder(this);
switch (id) {
case DIALOG_OK:
builder.setPositiveButton(R.string.ok, null);
dialo... |
diff --git a/bundles/org.eclipse.orion.server.servlets/src/org/eclipse/orion/internal/server/servlets/task/TaskServlet.java b/bundles/org.eclipse.orion.server.servlets/src/org/eclipse/orion/internal/server/servlets/task/TaskServlet.java
index ac84a7fe..0ee6b339 100644
--- a/bundles/org.eclipse.orion.server.servlets/src... | true | true | protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String pathInfo = req.getPathInfo();
IPath path = pathInfo == null ? Path.EMPTY : new Path(pathInfo);
if (path.segmentCount() != 2 || !"id".equals(path.segment(0))) {//$NON-NLS-1$
handleException(resp... | protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String pathInfo = req.getPathInfo();
IPath path = pathInfo == null ? Path.EMPTY : new Path(pathInfo);
if (path.segmentCount() != 2 || !"id".equals(path.segment(0))) {//$NON-NLS-1$
handleException(resp... |
diff --git a/src/com/rx201/dx/translator/DexInstructionAnalyzer.java b/src/com/rx201/dx/translator/DexInstructionAnalyzer.java
index d7021456..549a96cc 100755
--- a/src/com/rx201/dx/translator/DexInstructionAnalyzer.java
+++ b/src/com/rx201/dx/translator/DexInstructionAnalyzer.java
@@ -1,777 +1,777 @@
package com.rx20... | false | true | public void visit(DexInstruction_BinaryOpWide instruction) {
assert DexRegisterHelper.isPair(instruction.getRegSourceA1(), instruction.getRegSourceA2());
assert DexRegisterHelper.isPair(instruction.getRegSourceB1(), instruction.getRegSourceB2());
assert DexRegisterHelper.isPair(instruction.getRegTarget1(), instr... | public void visit(DexInstruction_BinaryOpWide instruction) {
assert DexRegisterHelper.isPair(instruction.getRegSourceA1(), instruction.getRegSourceA2());
assert DexRegisterHelper.isPair(instruction.getRegSourceB1(), instruction.getRegSourceB2());
assert DexRegisterHelper.isPair(instruction.getRegTarget1(), instr... |
diff --git a/trunk/src/webcamstudio/streams/SourceDesktop.java b/trunk/src/webcamstudio/streams/SourceDesktop.java
index 89715c4..d4fb5bb 100644
--- a/trunk/src/webcamstudio/streams/SourceDesktop.java
+++ b/trunk/src/webcamstudio/streams/SourceDesktop.java
@@ -1,109 +1,110 @@
/*
* To change this template, choose Too... | true | true | public void read() {
isPlaying = true;
rate = MasterMixer.getInstance().getRate();
MasterFrameBuilder.register(this);
if (os == OS.LINUX) {
capture = new FFMPEGRenderer(this, FFMPEGRenderer.ACTION.CAPTURE, "desktop");
capture.read();
} else {
... | public void read() {
isPlaying = true;
rate = MasterMixer.getInstance().getRate();
MasterFrameBuilder.register(this);
if (os == OS.LINUX) {
capture = new FFMPEGRenderer(this, FFMPEGRenderer.ACTION.CAPTURE, "desktop");
capture.read();
} else {
... |
diff --git a/org.springframework.context/src/test/java/org/springframework/scripting/support/ResourceScriptSourceTests.java b/org.springframework.context/src/test/java/org/springframework/scripting/support/ResourceScriptSourceTests.java
index 94e8c606e..1bcb119b0 100644
--- a/org.springframework.context/src/test/java/o... | true | true | public void testLastModifiedWorksWithResourceThatDoesNotSupportFileBasedReading() throws Exception {
MockControl mock = MockControl.createControl(Resource.class);
Resource resource = (Resource) mock.getMock();
// underlying File is asked for so that the last modified time can be checked...
resource.lastModifie... | public void testLastModifiedWorksWithResourceThatDoesNotSupportFileBasedReading() throws Exception {
MockControl mock = MockControl.createControl(Resource.class);
Resource resource = (Resource) mock.getMock();
// underlying File is asked for so that the last modified time can be checked...
resource.lastModifie... |
diff --git a/src/com/yahoo/platform/yui/compressor/YUICompressor.java b/src/com/yahoo/platform/yui/compressor/YUICompressor.java
index 57643f2..6dce047 100644
--- a/src/com/yahoo/platform/yui/compressor/YUICompressor.java
+++ b/src/com/yahoo/platform/yui/compressor/YUICompressor.java
@@ -1,255 +1,258 @@
/*
* YUI Com... | false | true | public static void main(String args[]) {
CmdLineParser parser = new CmdLineParser();
CmdLineParser.Option typeOpt = parser.addStringOption("type");
CmdLineParser.Option verboseOpt = parser.addBooleanOption('v', "verbose");
CmdLineParser.Option nomungeOpt = parser.addBooleanOption("n... | public static void main(String args[]) {
CmdLineParser parser = new CmdLineParser();
CmdLineParser.Option typeOpt = parser.addStringOption("type");
CmdLineParser.Option verboseOpt = parser.addBooleanOption('v', "verbose");
CmdLineParser.Option nomungeOpt = parser.addBooleanOption("n... |
diff --git a/src/project1/calculator/CalculatorButtonsV01.java b/src/project1/calculator/CalculatorButtonsV01.java
index aded2f4..850cf98 100644
--- a/src/project1/calculator/CalculatorButtonsV01.java
+++ b/src/project1/calculator/CalculatorButtonsV01.java
@@ -1,467 +1,487 @@
package project1.calculator;
import j... | false | true | public void actionPerformed(ActionEvent e) {
//Number 0
if(e.getSource() == buttons[0])
{
if(txtField.getText().length() == 1 && txtField.getText().charAt(0)=='0'
|| calcFunctions.getLastPressedButton().equals("sqrt")
|| calcFunctions.getLastPressedButton().equals("+")
|| calcFunctions.getLas... | public void actionPerformed(ActionEvent e) {
//Number 0
if(e.getSource() == buttons[0])
{
if(txtField.getText().length() == 1 && txtField.getText().charAt(0)=='0'
|| calcFunctions.getLastPressedButton().equals("sqrt")
|| calcFunctions.getLastPressedButton().equals("+")
|| calcFunctions.getLas... |
diff --git a/src/main/java/com/celements/photo/service/ImageScriptService.java b/src/main/java/com/celements/photo/service/ImageScriptService.java
index 7548e47..82ba5f4 100644
--- a/src/main/java/com/celements/photo/service/ImageScriptService.java
+++ b/src/main/java/com/celements/photo/service/ImageScriptService.java... | true | true | public void addImage(Builder jsonBuilder, Attachment imgAttachment) {
Document theDoc = imgAttachment.getDocument();
XWikiURLFactory urlFactory = getContext().getURLFactory();
URL theAttUrl = urlFactory.createAttachmentURL(imgAttachment.getFilename(),
theDoc.getSpace(), theDoc.getName(), "download... | public void addImage(Builder jsonBuilder, Attachment imgAttachment) {
Document theDoc = imgAttachment.getDocument();
XWikiURLFactory urlFactory = getContext().getURLFactory();
URL theAttUrl = urlFactory.createAttachmentURL(imgAttachment.getFilename(),
theDoc.getSpace(), theDoc.getName(), "download... |
diff --git a/orcid-api-common/src/main/java/org/orcid/api/common/jaxb/OrcidExceptionMapper.java b/orcid-api-common/src/main/java/org/orcid/api/common/jaxb/OrcidExceptionMapper.java
index 1b13038791..b82b1543ef 100644
--- a/orcid-api-common/src/main/java/org/orcid/api/common/jaxb/OrcidExceptionMapper.java
+++ b/orcid-ap... | true | true | public Response toResponse(Throwable e) {
// Whatever exception has been caught, make sure we log it.
LOGGER.error("An exception has occured", e);
if (OrcidApiException.class.isAssignableFrom(e.getClass())) {
return ((OrcidApiException) e).getResponse();
} else if (WebApp... | public Response toResponse(Throwable e) {
// Whatever exception has been caught, make sure we log it.
LOGGER.error("An exception has occured", e);
if (OrcidApiException.class.isAssignableFrom(e.getClass())) {
return ((OrcidApiException) e).getResponse();
} else if (WebApp... |
diff --git a/lab06/src/main/java/ch/open/arquillian/lab06/client/PromptExtensionArchiveCreator.java b/lab06/src/main/java/ch/open/arquillian/lab06/client/PromptExtensionArchiveCreator.java
index f6b6bdd..d89ede7 100644
--- a/lab06/src/main/java/ch/open/arquillian/lab06/client/PromptExtensionArchiveCreator.java
+++ b/la... | true | true | public Archive<?> createAuxiliaryArchive() {
return ShrinkWrap.create(JavaArchive.class, "arquillian-ch-open-hello-extension.jar")
.addManifest();
}
| public Archive<?> createAuxiliaryArchive() {
return ShrinkWrap.create(JavaArchive.class, "arquillian-ch-open-prompter-extension.jar")
.addManifest();
}
|
diff --git a/swop/src/test/usecase/ChooseGridFromFileTest.java b/swop/src/test/usecase/ChooseGridFromFileTest.java
index 0b7fc63..a7370cf 100644
--- a/swop/src/test/usecase/ChooseGridFromFileTest.java
+++ b/swop/src/test/usecase/ChooseGridFromFileTest.java
@@ -1,180 +1,180 @@
package test.usecase;
import static org... | false | true | public void testChooseValidFile() throws InvalidFileException {
sc.startNewGameFromFile(new File("validfile.grid"));
try {
assertTrue(sc.getGame().getGrid().getSquareAtCoordinate(new Coordinate(1,1)) instanceof OuterSquare);
assertTrue(sc.getGame().getGrid().getSquareAtCoordinate(new Coordinate(2,1)) ins... | public void testChooseValidFile() throws InvalidFileException {
sc.startNewGameFromFile(new File("validfile.grid"));
try {
assertTrue(sc.getGame().getGrid().getSquareAtCoordinate(new Coordinate(1,1)) instanceof OuterSquare);
assertTrue(sc.getGame().getGrid().getSquareAtCoordinate(new Coordinate(2,1)) ins... |
diff --git a/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java b/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java
index 60e08b06f..0c2f4ab0f 100644
--- a/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java
+++ b/samples/kitchensink/src/com/... | true | true | public Panels(Sink.Images images) {
HTML contents = new HTML("This is a <code>ScrollPanel</code> contained at "
+ "the center of a <code>DockPanel</code>. "
+ "By putting some fairly large contents "
+ "in the middle and setting its size explicitly, it becomes a "
+ "scrollable ar... | public Panels(Sink.Images images) {
HTML contents = new HTML("This is a <code>ScrollPanel</code> contained at "
+ "the center of a <code>DockPanel</code>. "
+ "By putting some fairly large contents "
+ "in the middle and setting its size explicitly, it becomes a "
+ "scrollable ar... |
diff --git a/grails/src/web/org/codehaus/groovy/grails/web/metaclass/RedirectDynamicMethod.java b/grails/src/web/org/codehaus/groovy/grails/web/metaclass/RedirectDynamicMethod.java
index fea92d6a7..c9aa193d8 100644
--- a/grails/src/web/org/codehaus/groovy/grails/web/metaclass/RedirectDynamicMethod.java
+++ b/grails/src... | true | true | public Object invoke(Object target, Object[] arguments) {
if(arguments.length == 0)
throw new MissingMethodException(METHOD_SIGNATURE,target.getClass(),arguments);
Object actionRef = null;
String controllerName = null;
Object id = null;
Object uri = null;
... | public Object invoke(Object target, Object[] arguments) {
if(arguments.length == 0)
throw new MissingMethodException(METHOD_SIGNATURE,target.getClass(),arguments);
Object actionRef = null;
String controllerName = null;
Object id = null;
Object uri = null;
... |
diff --git a/modules/activiti-rest/src/main/java/org/activiti/rest/api/task/TaskBasedResource.java b/modules/activiti-rest/src/main/java/org/activiti/rest/api/task/TaskBasedResource.java
index 3d5b9fb3d..ce5aa192b 100644
--- a/modules/activiti-rest/src/main/java/org/activiti/rest/api/task/TaskBasedResource.java
+++ b/m... | false | true | protected DataResponse getTasksFromQueryRequest(TaskQueryRequest request) {
TaskQuery taskQuery = ActivitiUtil.getTaskService().createTaskQuery();
Form query = getQuery();
// Populate filter-parameters
if(request.getName() != null) {
taskQuery.taskName(request.getName());
}
if(reque... | protected DataResponse getTasksFromQueryRequest(TaskQueryRequest request) {
TaskQuery taskQuery = ActivitiUtil.getTaskService().createTaskQuery();
Form query = getQuery();
// Populate filter-parameters
if(request.getName() != null) {
taskQuery.taskName(request.getName());
}
if(reque... |
diff --git a/Curiosity/src/edu/kit/curiosity/behaviors/race/Main.java b/Curiosity/src/edu/kit/curiosity/behaviors/race/Main.java
index ceb6d5d..ba9b210 100644
--- a/Curiosity/src/edu/kit/curiosity/behaviors/race/Main.java
+++ b/Curiosity/src/edu/kit/curiosity/behaviors/race/Main.java
@@ -1,75 +1,75 @@
package edu.kit.... | true | true | public static void main(String[] args) throws Exception {
new Main();
// Race
Settings.PILOT.setTravelSpeed(Settings.PILOT.getMaxTravelSpeed());
Settings.PILOT.setRotateSpeed(Settings.PILOT.getMaxRotateSpeed() / 4);
Motor.A.setSpeed(Motor.A.getMaxSpeed() / 5);
Settings.motorAAngle = 90;
Behav... | public static void main(String[] args) throws Exception {
new Main();
// Race
Settings.PILOT.setTravelSpeed(Settings.PILOT.getMaxTravelSpeed());
Settings.PILOT.setRotateSpeed(Settings.PILOT.getMaxRotateSpeed() / 4);
Motor.A.setSpeed(Motor.A.getMaxSpeed() / 5);
Settings.motorAAngle = 90;
Behav... |
diff --git a/java/server/src/org/openqa/selenium/remote/server/KnownElements.java b/java/server/src/org/openqa/selenium/remote/server/KnownElements.java
index 72ce93a2f..ae6d1c950 100644
--- a/java/server/src/org/openqa/selenium/remote/server/KnownElements.java
+++ b/java/server/src/org/openqa/selenium/remote/server/Kn... | true | true | private WebElement proxyElement(final WebElement element, final String id) {
InvocationHandler handler = new InvocationHandler() {
public Object invoke(Object object, Method method, Object[] objects) throws Throwable {
if ("getId".equals(method.getName())) {
return id;
} else if ("... | private WebElement proxyElement(final WebElement element, final String id) {
InvocationHandler handler = new InvocationHandler() {
public Object invoke(Object object, Method method, Object[] objects) throws Throwable {
if ("getId".equals(method.getName())) {
return id;
} else if ("... |
diff --git a/src/com/hexcore/cas/ui/GUI.java b/src/com/hexcore/cas/ui/GUI.java
index 9585a73..e932403 100644
--- a/src/com/hexcore/cas/ui/GUI.java
+++ b/src/com/hexcore/cas/ui/GUI.java
@@ -1,2874 +1,2880 @@
//v1.0
package com.hexcore.cas.ui;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent... | false | true | public void handleWindowEvent(Event event)
{
if(event.type == Event.Type.GAINED_FOCUS)
{
for(Viewport viewport : viewports)
if((viewport.gridWidget != null) && viewport.gridWidget.hasFocus() && selectedViewport != viewport)
{
selectedViewport = viewport;
selectedViewport.updateControlPanel(co... | public void handleWindowEvent(Event event)
{
if(event.type == Event.Type.GAINED_FOCUS)
{
for(Viewport viewport : viewports)
if((viewport.gridWidget != null) && viewport.gridWidget.hasFocus() && selectedViewport != viewport)
{
selectedViewport = viewport;
selectedViewport.updateControlPanel(co... |
diff --git a/src/edu/ycp/cs/netcoder/client/NetCoder_GWT2.java b/src/edu/ycp/cs/netcoder/client/NetCoder_GWT2.java
index bf624c8..dc7f0d3 100644
--- a/src/edu/ycp/cs/netcoder/client/NetCoder_GWT2.java
+++ b/src/edu/ycp/cs/netcoder/client/NetCoder_GWT2.java
@@ -1,65 +1,65 @@
package edu.ycp.cs.netcoder.client;
impor... | true | true | public void onModuleLoad() {
// Construct the UI
VerticalPanel vPanel = new VerticalPanel();
// Top panel
topPanel = new HorizontalPanel();
topPanel.setWidth("100%");
topPanel.add(new Label("Top stuff!"));
// HTML widget which will contain the CodeMirror
HTML codeMirrorDiv = new HTML(
"<div>\... | public void onModuleLoad() {
// Construct the UI
VerticalPanel vPanel = new VerticalPanel();
// Top panel
topPanel = new HorizontalPanel();
topPanel.setWidth("100%");
topPanel.add(new Label("Top stuff!"));
// HTML widget which will contain the CodeMirror
HTML codeMirrorDiv = new HTML(
"<div>\... |
diff --git a/ecc/test/eccdh/adt/EllipticCurvePointTest.java b/ecc/test/eccdh/adt/EllipticCurvePointTest.java
index 6d27e90..771e61a 100644
--- a/ecc/test/eccdh/adt/EllipticCurvePointTest.java
+++ b/ecc/test/eccdh/adt/EllipticCurvePointTest.java
@@ -1,36 +1,36 @@
/*
* To change this template, choose Tools | Templates... | true | true | public void testEllipticCurvePointToOctetString() {
EllipticCurve curve = EllipticCurveFactory.newInstance(EllipticCurveFactory.EC_CURVES.secp192k1);
//BigInteger Math.log(curve.p) / Math.log(2))).intValue();
// int infiniteLength = 1;
// int compressedLength = ((int) Math.ceil(Math.lo... | public void testEllipticCurvePointToOctetString() {
EllipticCurve curve = EllipticCurveFactory.newInstance(CurveConstants.EC_CURVES.secp192k1);
//BigInteger Math.log(curve.p) / Math.log(2))).intValue();
// int infiniteLength = 1;
// int compressedLength = ((int) Math.ceil(Math.log(curv... |
diff --git a/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java b/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java
index 94686910..8e3e7504 100644
--- a/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java
+++ b/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.ja... | false | true | private void doDecodeMultiple(MonochromeBitmapSource image,
Hashtable hints,
Vector results,
int xOffset,
int yOffset) {
Result result;
try {
result = delegate.decode(image, hi... | private void doDecodeMultiple(MonochromeBitmapSource image,
Hashtable hints,
Vector results,
int xOffset,
int yOffset) {
Result result;
try {
result = delegate.decode(image, hi... |
diff --git a/src/java/org/infoglue/cms/controllers/kernel/impl/simple/ContentController.java b/src/java/org/infoglue/cms/controllers/kernel/impl/simple/ContentController.java
index cb65bdd7..c5e56838 100644
--- a/src/java/org/infoglue/cms/controllers/kernel/impl/simple/ContentController.java
+++ b/src/java/org/infoglue... | true | true | public /*synchronized*/ Content create(Database db, Integer parentContentId, Integer contentTypeDefinitionId, Integer repositoryId, ContentVO contentVO) throws ConstraintException, SystemException, Exception
{
Content content = null;
try
{
Content parentContent = ... | public /*synchronized*/ Content create(Database db, Integer parentContentId, Integer contentTypeDefinitionId, Integer repositoryId, ContentVO contentVO) throws ConstraintException, SystemException, Exception
{
Content content = null;
try
{
Content parentContent = ... |
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorSummaryPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorSummaryPart.java
index 4327db75d..d862b9ee8 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tas... | true | true | protected Composite createHeaderLayout(Composite composite, FormToolkit toolkit) {
Composite headerComposite = toolkit.createComposite(composite);
GridLayout layout = new GridLayout(1, false);
layout.verticalSpacing = 1;
layout.marginHeight = 0;
layout.marginWidth = 0;
headerComposite.setLayout(layout);
... | protected Composite createHeaderLayout(Composite composite, FormToolkit toolkit) {
Composite headerComposite = toolkit.createComposite(composite);
GridLayout layout = new GridLayout(1, false);
layout.verticalSpacing = 1;
layout.marginHeight = 0;
layout.marginWidth = 0;
headerComposite.setLayout(layout);
... |
diff --git a/editor/server/src/de/hpi/bpmn2bpel/BPMN2BPELTransformer.java b/editor/server/src/de/hpi/bpmn2bpel/BPMN2BPELTransformer.java
index 6931295d..aa6a36b3 100644
--- a/editor/server/src/de/hpi/bpmn2bpel/BPMN2BPELTransformer.java
+++ b/editor/server/src/de/hpi/bpmn2bpel/BPMN2BPELTransformer.java
@@ -1,42 +1,42 @@... | true | true | public Document transform(BPMNDiagram diagram) {
ProcessFactory factory = new ProcessFactory(diagram);
return null;
}
| public Document transform(BPMNDiagram diagram) {
//ProcessFactory factory = new ProcessFactory(diagram);
return null;
}
|
diff --git a/src/main/java/com/alta189/beaker/CommonEventManager.java b/src/main/java/com/alta189/beaker/CommonEventManager.java
index f04273e..8f5fdb5 100644
--- a/src/main/java/com/alta189/beaker/CommonEventManager.java
+++ b/src/main/java/com/alta189/beaker/CommonEventManager.java
@@ -1,177 +1,177 @@
/*
* This fi... | true | true | public void registerListener(Listener listener, Named owner) throws EventRegistrationException {
try {
Validate.notNull(listener, "Listener cannot be null");
Validate.notNull(owner, "Owner cannot be null");
Validate.notNull(owner.getName(), "Owner's name cannot be null");
Validate.notEmpty(owner.getName(... | public void registerListener(Listener listener, Named owner) throws EventRegistrationException {
try {
Validate.notNull(listener, "Listener cannot be null");
Validate.notNull(owner, "Owner cannot be null");
Validate.notNull(owner.getName(), "Owner's name cannot be null");
Validate.notEmpty(owner.getName(... |
diff --git a/dspace/src/org/dspace/app/webui/servlet/CommunityListServlet.java b/dspace/src/org/dspace/app/webui/servlet/CommunityListServlet.java
index 32a190cc6..21e7cc2cf 100644
--- a/dspace/src/org/dspace/app/webui/servlet/CommunityListServlet.java
+++ b/dspace/src/org/dspace/app/webui/servlet/CommunityListServlet.... | true | true | protected void doDSGet(Context context,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException, SQLException, AuthorizeException
{
log.info(LogManager.getHeader(context, "view_community_list", ""));
// This will map community IDs ... | protected void doDSGet(Context context,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException, SQLException, AuthorizeException
{
log.info(LogManager.getHeader(context, "view_community_list", ""));
// This will map community IDs ... |
diff --git a/src/be/ibridge/kettle/trans/step/setvariable/SetVariableDialog.java b/src/be/ibridge/kettle/trans/step/setvariable/SetVariableDialog.java
index 5c7e43af..cd0bc7e7 100644
--- a/src/be/ibridge/kettle/trans/step/setvariable/SetVariableDialog.java
+++ b/src/be/ibridge/kettle/trans/step/setvariable/SetVariableD... | true | true | public String open()
{
Shell parent = getParent();
Display display = parent.getDisplay();
shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX | SWT.MIN);
props.setLook(shell);
ModifyListener lsMod = new ModifyListener()
{
public void modifyText(ModifyEvent e)
{
input.setChanged... | public String open()
{
Shell parent = getParent();
Display display = parent.getDisplay();
shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX | SWT.MIN);
props.setLook(shell);
ModifyListener lsMod = new ModifyListener()
{
public void modifyText(ModifyEvent e)
{
input.setChanged... |
diff --git a/key-client/src/key/gui/NewComposite.java b/key-client/src/key/gui/NewComposite.java
index 6284bc8..941ee9a 100644
--- a/key-client/src/key/gui/NewComposite.java
+++ b/key-client/src/key/gui/NewComposite.java
@@ -1,154 +1,155 @@
package key.gui;
import java.lang.reflect.InvocationTargetException;
impor... | true | true | public NewComposite(Composite parent, int style) {
super(parent, style);
setLayout(new GridLayout(2, false));
Label label;
GridData gd = new GridData(SWT.NONE, SWT.NONE, false, false);
label = new Label(this, SWT.NONE);
label.setText("���������� �������:");
spinnerOctet = new Spinner(this, SWT.BOR... | public NewComposite(Composite parent, int style) {
super(parent, style);
setLayout(new GridLayout(2, false));
Label label;
GridData gd = new GridData(SWT.NONE, SWT.NONE, false, false);
label = new Label(this, SWT.NONE);
label.setText("���������� �������:");
spinnerOctet = new Spinner(this, SWT.BOR... |
diff --git a/SWADroid/src/es/ugr/swad/swadroid/model/Test.java b/SWADroid/src/es/ugr/swad/swadroid/model/Test.java
index 401ac32f..d9e5494a 100644
--- a/SWADroid/src/es/ugr/swad/swadroid/model/Test.java
+++ b/SWADroid/src/es/ugr/swad/swadroid/model/Test.java
@@ -1,569 +1,569 @@
/*
* This file is part of SWADroid.
... | false | true | public void evaluate() {
int totalAnswers, trueAnswers, falseAnswers, correctUserAnswers, errors;
Float score = Float.valueOf(0);
Float userFloatAnswer, minFloatRange = Float.valueOf(0), maxFloatRange = Float.valueOf(0);
TestQuestion q;
TestAnswer a;
List<TestAnswer> la;
String answerType, userAnswerText... | public void evaluate() {
int totalAnswers, trueAnswers, falseAnswers, correctUserAnswers, errors;
Float score = Float.valueOf(0);
Float userFloatAnswer, minFloatRange = Float.valueOf(0), maxFloatRange = Float.valueOf(0);
TestQuestion q;
TestAnswer a;
List<TestAnswer> la;
String answerType, userAnswerText... |
diff --git a/works.editor.antlr4/src/org/antlr/works/editor/antlr4/classification/AbstractTokensTaskTaggerSnapshot.java b/works.editor.antlr4/src/org/antlr/works/editor/antlr4/classification/AbstractTokensTaskTaggerSnapshot.java
index 322fc61..1564844 100644
--- a/works.editor.antlr4/src/org/antlr/works/editor/antlr4/c... | false | true | public List<TaggedPositionRegion<TokenTag<Token>>> getHighlights(int startOffset, int endOffset) {
List<TaggedPositionRegion<TokenTag<Token>>> tags = new ArrayList<TaggedPositionRegion<TokenTag<Token>>>();
boolean updateOffsets = true;
if (endOffset == Integer.MAX_VALUE) {
endOf... | public List<TaggedPositionRegion<TokenTag<Token>>> getHighlights(int startOffset, int endOffset) {
List<TaggedPositionRegion<TokenTag<Token>>> tags = new ArrayList<TaggedPositionRegion<TokenTag<Token>>>();
boolean updateOffsets = true;
if (endOffset == Integer.MAX_VALUE) {
endOf... |
diff --git a/clean/clientsrc/client.java b/clean/clientsrc/client.java
index ab7eefc..3e4fdf0 100755
--- a/clean/clientsrc/client.java
+++ b/clean/clientsrc/client.java
@@ -1,966 +1,963 @@
package clientsrc;
import serversrc.resInterface.*;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registr... | true | true | public static void main(String args[])
{
client obj = new client();
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
String command = "";
Vector arguments = new Vector();
int Id, Cid;
int flightNum;
int flightPrice;
int... | public static void main(String args[])
{
client obj = new client();
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
String command = "";
Vector arguments = new Vector();
int Id, Cid;
int flightNum;
int flightPrice;
int... |
diff --git a/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java b/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
index 0aeb2bd46..5a1e0f7ba 100644
--- a/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.jav... | false | true | private void populatePluginFields( Object mojo, MojoDescriptor mojoDescriptor, ClassRealm pluginRealm,
PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator )
throws PluginConfigurationException
{
ComponentConfigurator configurator = nu... | private void populatePluginFields( Object mojo, MojoDescriptor mojoDescriptor, ClassRealm pluginRealm,
PlexusConfiguration configuration, ExpressionEvaluator expressionEvaluator )
throws PluginConfigurationException
{
ComponentConfigurator configurator = nu... |
diff --git a/war-core/src/main/java/com/stratelia/silverpeas/pdcPeas/control/PdcSearchSessionController.java b/war-core/src/main/java/com/stratelia/silverpeas/pdcPeas/control/PdcSearchSessionController.java
index fd2ae59e17..fbd06aa8e5 100644
--- a/war-core/src/main/java/com/stratelia/silverpeas/pdcPeas/control/PdcSear... | true | true | private void setExtraInfoToResultsToDisplay(List<GlobalSilverResult> results) {
String titleLink = "";
String downloadLink = "";
String resultType = "";
String underLink = "";
String componentId = null;
String m_sContext = URLManager.getApplicationURL();
// activate the mark as read funct... | private void setExtraInfoToResultsToDisplay(List<GlobalSilverResult> results) {
String titleLink = "";
String downloadLink = "";
String resultType = "";
String underLink = "";
String componentId = null;
String m_sContext = URLManager.getApplicationURL();
// activate the mark as read funct... |
diff --git a/src/com/sonyericsson/chkbugreport/plugins/logs/event/ActivityManagerStatsGenerator.java b/src/com/sonyericsson/chkbugreport/plugins/logs/event/ActivityManagerStatsGenerator.java
index 916fb20..d22d683 100644
--- a/src/com/sonyericsson/chkbugreport/plugins/logs/event/ActivityManagerStatsGenerator.java
+++ b... | true | true | private Chapter createStatTable(Report br, HashMap<String, ComponentStat> set,
String title, int type, long duration, String csv)
{
Chapter ch = new Chapter(br, title);
ch.addLine("<div class=\"hint\">(Duration " + duration + "ms = " + Util.formatTS(duration) + ")</div>");
/... | private Chapter createStatTable(Report br, HashMap<String, ComponentStat> set,
String title, int type, long duration, String csv)
{
Chapter ch = new Chapter(br, title);
ch.addLine("<div class=\"hint\">(Duration " + duration + "ms = " + Util.formatTS(duration) + ")</div>");
/... |
diff --git a/flexoserver/flexoexternalbuilders/src/main/java/org/openflexo/builders/FlexoExternalMainWithProject.java b/flexoserver/flexoexternalbuilders/src/main/java/org/openflexo/builders/FlexoExternalMainWithProject.java
index e1c084784..2768e8bcb 100644
--- a/flexoserver/flexoexternalbuilders/src/main/java/org/ope... | false | true | protected void init(String[] args) throws MissingArgumentException {
super.init(args);
GeneralPreferences.setAutoSaveEnabled(false);
GeneralPreferences.save();
if (args.length > 0) {
for (int i = 0; i < args.length && projectDirectory == null; i++) {
if (args[i].startsWith("\"")) {
args[i] = args[i... | protected void init(String[] args) throws MissingArgumentException {
super.init(args);
GeneralPreferences.setAutoSaveEnabled(false);
GeneralPreferences.save();
if (args.length > 0) {
for (int i = 0; i < args.length && projectDirectory == null; i++) {
if (args[i].startsWith("\"")) {
args[i] = args[i... |
diff --git a/src/com/martinbrook/tesseractuhc/listeners/LoginListener.java b/src/com/martinbrook/tesseractuhc/listeners/LoginListener.java
index e3bc76c..3aa31b2 100644
--- a/src/com/martinbrook/tesseractuhc/listeners/LoginListener.java
+++ b/src/com/martinbrook/tesseractuhc/listeners/LoginListener.java
@@ -1,116 +1,11... | true | true | public void onJoin(PlayerJoinEvent e) {
UhcPlayer pl = m.getPlayer(e.getPlayer());
// If player is op, set them as a spectator
if (e.getPlayer().isOp()) {
pl.makeSpectator();
return;
}
// Normal player. Set their vanish correctly
pl.setVanish();
// If the match has not yet started, try to... | public void onJoin(PlayerJoinEvent e) {
UhcPlayer pl = m.getPlayer(e.getPlayer());
// If player is op, set them as a spectator
if (e.getPlayer().isOp()) {
pl.makeSpectator();
return;
}
// Normal player. Set their vanish correctly
pl.setVanish();
// If the match has not yet started, try to... |
diff --git a/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java b/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java
index 549163bd..94913988 100644
--- a/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java
@@ -1,113 +1,113 @@
/*******... | true | true | public boolean onContextItemSelected(MenuItem item) {
if(!getUserVisibleHint()) return super.onContextItemSelected(item);
AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
if(info == null) // info can be null
return super.onContextItemSelected(item);
... | public boolean onContextItemSelected(MenuItem item) {
if(!getUserVisibleHint()) return super.onContextItemSelected(item);
AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
if(info == null) // info can be null
return super.onContextItemSelected(item);
... |
diff --git a/src/main/java/org/basex/core/CommandParser.java b/src/main/java/org/basex/core/CommandParser.java
index fdb4799e9..01a943e26 100644
--- a/src/main/java/org/basex/core/CommandParser.java
+++ b/src/main/java/org/basex/core/CommandParser.java
@@ -1,584 +1,584 @@
package org.basex.core;
import static org.b... | true | true | private Command parse(final Cmd cmd, final boolean s) throws QueryException {
switch(cmd) {
case CREATE:
switch(consume(CmdCreate.class, cmd)) {
case BACKUP:
return new CreateBackup(glob(cmd));
case DATABASE: case DB:
return new CreateDB(name(cmd), s ? rem... | private Command parse(final Cmd cmd, final boolean s) throws QueryException {
switch(cmd) {
case CREATE:
switch(consume(CmdCreate.class, cmd)) {
case BACKUP:
return new CreateBackup(glob(cmd));
case DATABASE: case DB:
return new CreateDB(name(cmd), s ? rem... |
diff --git a/src/main/org/testng/reporters/EmailableReporter.java b/src/main/org/testng/reporters/EmailableReporter.java
index cdda0da..c1042c3 100644
--- a/src/main/org/testng/reporters/EmailableReporter.java
+++ b/src/main/org/testng/reporters/EmailableReporter.java
@@ -1,447 +1,450 @@
package org.testng.reporters;
... | false | true | private void resultDetail(IResultMap tests, final String style) {
if (tests.getAllResults().size() > 0) {
int row = 0;
for (ITestNGMethod method : getMethodSet(tests)) {
row += 1;
m_methodIndex += 1;
String cname = method.getTestClass().getName();
m_out.println("<a id=\... | private void resultDetail(IResultMap tests, final String style) {
if (tests.getAllResults().size() > 0) {
int row = 0;
for (ITestNGMethod method : getMethodSet(tests)) {
row += 1;
m_methodIndex += 1;
String cname = method.getTestClass().getName();
m_out.println("<a id=\... |
diff --git a/src/com/github/LeoVerto/Fact/Fact.java b/src/com/github/LeoVerto/Fact/Fact.java
index ed60e1c..a4f31f3 100644
--- a/src/com/github/LeoVerto/Fact/Fact.java
+++ b/src/com/github/LeoVerto/Fact/Fact.java
@@ -1,189 +1,189 @@
package com.github.LeoVerto.Fact;
import java.util.Arrays;
import java.util.HashSe... | false | true | public boolean onCommand(final CommandSender sender, final Command cmd, final String commandLabel, final String[] args) {
if (cmd.getName().equalsIgnoreCase("fact")) {
if (args.length == 1) {
//Reload command
if (args[0].equalsIgnoreCase("reload")) {
if ((sender instanceof Player)) {
final Play... | public boolean onCommand(final CommandSender sender, final Command cmd, final String commandLabel, final String[] args) {
if (cmd.getName().equalsIgnoreCase("fact")) {
if (args.length >= 1) {
//Reload command
if (args.length == 1 && args[0].equalsIgnoreCase("reload")) {
if ((sender instanceof Player)... |
diff --git a/expenditure-tracking/src/pt/ist/expenditureTrackingSystem/presentationTier/actions/InterfaceCreationAction.java b/expenditure-tracking/src/pt/ist/expenditureTrackingSystem/presentationTier/actions/InterfaceCreationAction.java
index c4202cc0..1168e141 100644
--- a/expenditure-tracking/src/pt/ist/expenditure... | true | true | public final ActionForward createExpenditureNodes(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request,
final HttpServletResponse response) throws Exception {
final VirtualHost virtualHost = getDomainObject(request, "virtualHostToManageId");
final Node node = getDomainObject(r... | public final ActionForward createExpenditureNodes(final ActionMapping mapping, final ActionForm form, final HttpServletRequest request,
final HttpServletResponse response) throws Exception {
final VirtualHost virtualHost = getDomainObject(request, "virtualHostToManageId");
final Node node = getDomainObject(r... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaBreakpointPage.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/propertypages/JavaBreakpointPage.java
index f1d7f5327..96325527e 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/pro... | true | true | protected void createTypeSpecificEditors(Composite parent) {
try {
String type = getBreakpoint().getMarker().getType();
if (JavaClassPrepareBreakpoint.JAVA_CLASS_PREPARE_BREAKPOINT.equals(type)) {
setTitle(PropertyPageMessages.JavaBreakpointPage_11);
fEditor = new StandardJavaBreakpointEditor();
} el... | protected void createTypeSpecificEditors(Composite parent) {
try {
String type = getBreakpoint().getMarker().getType();
if (JavaClassPrepareBreakpoint.JAVA_CLASS_PREPARE_BREAKPOINT.equals(type)) {
setTitle(PropertyPageMessages.JavaBreakpointPage_11);
fEditor = new StandardJavaBreakpointEditor();
} el... |
diff --git a/support/org/intellij/grammar/parser/GeneratedParserUtilBase.java b/support/org/intellij/grammar/parser/GeneratedParserUtilBase.java
index 64ea124..f5b1fff 100755
--- a/support/org/intellij/grammar/parser/GeneratedParserUtilBase.java
+++ b/support/org/intellij/grammar/parser/GeneratedParserUtilBase.java
@@ ... | true | true | public static void exit_section_(PsiBuilder builder_,
int level,
PsiBuilder.Marker marker,
@Nullable IElementType elementType,
boolean result,
... | public static void exit_section_(PsiBuilder builder_,
int level,
PsiBuilder.Marker marker,
@Nullable IElementType elementType,
boolean result,
... |
diff --git a/rdf/src/test/java/org/qi4j/library/rdf/entity/EntitySerializerTest.java b/rdf/src/test/java/org/qi4j/library/rdf/entity/EntitySerializerTest.java
index 4d426f147..2aaaef8f3 100644
--- a/rdf/src/test/java/org/qi4j/library/rdf/entity/EntitySerializerTest.java
+++ b/rdf/src/test/java/org/qi4j/library/rdf/enti... | false | true | void createDummyData()
{
UnitOfWork unitOfWork = unitOfWorkFactory.newUnitOfWork();
try
{
EntityBuilder<TestEntity> builder = unitOfWork.newEntityBuilder( "test1", TestEntity.class );
builder.stateOfComposite().name().set( "Rickard" );
TestEntity testE... | void createDummyData()
throws Exception
{
UnitOfWork unitOfWork = unitOfWorkFactory.newUnitOfWork();
try
{
EntityBuilder<TestEntity> builder = unitOfWork.newEntityBuilder( "test1", TestEntity.class );
TestEntity rickardTemplate = builder.stateOfComposite()... |
diff --git a/src/org/geworkbench/builtin/projects/util/CaARRAYPanel.java b/src/org/geworkbench/builtin/projects/util/CaARRAYPanel.java
index de257eeb..78ed3975 100755
--- a/src/org/geworkbench/builtin/projects/util/CaARRAYPanel.java
+++ b/src/org/geworkbench/builtin/projects/util/CaARRAYPanel.java
@@ -1,1436 +1,1436 @@... | true | true | private void jbInit() throws Exception {
border1 = BorderFactory.createLineBorder(SystemColor.controlText, 1);
border2 = BorderFactory.createLineBorder(SystemColor.controlText, 1);
grid4.setColumns(2);
grid4.setHgap(10);
grid4.setRows(1);
grid4.setVgap(10);
jLabel4.setMaximumSize(new Dimension(200, 15));... | private void jbInit() throws Exception {
border1 = BorderFactory.createLineBorder(SystemColor.controlText, 1);
border2 = BorderFactory.createLineBorder(SystemColor.controlText, 1);
grid4.setColumns(2);
grid4.setHgap(10);
grid4.setRows(1);
grid4.setVgap(10);
jLabel4.setMaximumSize(new Dimension(200, 15));... |
diff --git a/src/com/jetbrains/crucible/ui/toolWindow/details/DetailsPanel.java b/src/com/jetbrains/crucible/ui/toolWindow/details/DetailsPanel.java
index 9053b49..c80a002 100644
--- a/src/com/jetbrains/crucible/ui/toolWindow/details/DetailsPanel.java
+++ b/src/com/jetbrains/crucible/ui/toolWindow/details/DetailsPanel.... | true | true | private JScrollPane createCommitsPane() {
@SuppressWarnings("UseOfObsoleteCollectionType")
final Vector<String> commitColumnNames = new Vector<String>();
commitColumnNames.add(CrucibleBundle.message("crucible.commit"));
commitColumnNames.add(CrucibleBundle.message("crucible.author"));
commitColumn... | private JScrollPane createCommitsPane() {
@SuppressWarnings("UseOfObsoleteCollectionType")
final Vector<String> commitColumnNames = new Vector<String>();
commitColumnNames.add(CrucibleBundle.message("crucible.commit"));
commitColumnNames.add(CrucibleBundle.message("crucible.author"));
commitColumn... |
diff --git a/core/konekti.view.web.form/src/main/java/com/thingtrack/konekti/view/web/form/field/FileField.java b/core/konekti.view.web.form/src/main/java/com/thingtrack/konekti/view/web/form/field/FileField.java
index 4604a9f..fad2db5 100644
--- a/core/konekti.view.web.form/src/main/java/com/thingtrack/konekti/view/we... | true | true | public FileField(byte[] file) {
buildMainLayout();
setCompositionRoot(mainLayout);
// TODO add user code here
this.file = file;
btnAttach.addListener(new ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
final UploadViewForm uploadViewForm = new UploadViewForm(FileFi... | public FileField(byte[] file) {
buildMainLayout();
setCompositionRoot(mainLayout);
// TODO add user code here
this.file = file;
btnAttach.addListener(new ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
final UploadViewForm uploadViewForm = new UploadViewForm(FileFi... |
diff --git a/src/ui/jsf-components/src/java/com/flexive/faces/beans/FxContentEditorBean.java b/src/ui/jsf-components/src/java/com/flexive/faces/beans/FxContentEditorBean.java
index fa0332bd..a9aa2373 100644
--- a/src/ui/jsf-components/src/java/com/flexive/faces/beans/FxContentEditorBean.java
+++ b/src/ui/jsf-components... | true | true | public void cancel() {
// ! do not reload since we want exactly the version which is in the contentStorage for the current user
// reloadContent();
final String formPrefix = contentStorage.get(editorId).getGuiSettings().getFormPrefix();
try {
// unlock only if the current... | public void cancel() {
// ! do not reload since we want exactly the version which is in the contentStorage for the current user
// reloadContent();
final String formPrefix = contentStorage.get(editorId).getGuiSettings().getFormPrefix();
try {
// unlock only if the current... |
diff --git a/src/blur-core/src/main/java/com/nearinfinity/blur/analysis/BlurAnalyzer.java b/src/blur-core/src/main/java/com/nearinfinity/blur/analysis/BlurAnalyzer.java
index 78914694..da6216c4 100644
--- a/src/blur-core/src/main/java/com/nearinfinity/blur/analysis/BlurAnalyzer.java
+++ b/src/blur-core/src/main/java/co... | true | true | public BlurAnalyzer(AnalyzerDefinition analyzerDefinition) {
_analyzerDefinition = analyzerDefinition;
ColumnDefinition defaultDefinition = analyzerDefinition.getDefaultDefinition();
String fullTextAnalyzerClassName = analyzerDefinition.fullTextAnalyzerClassName;
if (fullTextAnalyzerClassName != null)... | public BlurAnalyzer(AnalyzerDefinition analyzerDefinition) {
_analyzerDefinition = analyzerDefinition;
ColumnDefinition defaultDefinition = analyzerDefinition.getDefaultDefinition();
String fullTextAnalyzerClassName = analyzerDefinition.fullTextAnalyzerClassName;
if (fullTextAnalyzerClassName != null)... |
diff --git a/src/minecraft/artsin/pleasantmishaideas/PleasantMishaIdeasModLivingHurtEvent.java b/src/minecraft/artsin/pleasantmishaideas/PleasantMishaIdeasModLivingHurtEvent.java
index 7f05a4c..60234c3 100644
--- a/src/minecraft/artsin/pleasantmishaideas/PleasantMishaIdeasModLivingHurtEvent.java
+++ b/src/minecraft/art... | false | true | public void onLivingHurt(LivingHurtEvent event)
{
if (event.entityLiving instanceof EntityPlayer)
{
EntityPlayer entityPlayer = (EntityPlayer)event.entityLiving;
if (entityPlayer.inventory.armorInventory[3].itemID == PleasantMishaIdeasMod.ObsidianHelmet.shiftedIndex &&
entityPlayer.inventory.armorI... | public void onLivingHurt(LivingHurtEvent event)
{
if (event.entityLiving instanceof EntityPlayer)
{
EntityPlayer entityPlayer = (EntityPlayer)event.entityLiving;
if (entityPlayer.inventory.armorInventory[3] != null &&
entityPlayer.inventory.armorInventory[2] != null &&
entityPlayer.inventory.a... |
diff --git a/liftbot-gui/src/liftbot/About.java b/liftbot-gui/src/liftbot/About.java
index faab5c5..8bf7d63 100755
--- a/liftbot-gui/src/liftbot/About.java
+++ b/liftbot-gui/src/liftbot/About.java
@@ -1,54 +1,54 @@
package liftbot;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFr... | true | true | public About() {
setIconImage(Toolkit.getDefaultToolkit().getImage(About.class.getResource("/liftbot/res/icon.png")));
setResizable(false);
setTitle("About LiftBot");
setBounds(100, 100, 450, 420);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
contentPane.setLayout(new B... | public About() {
setIconImage(Toolkit.getDefaultToolkit().getImage(About.class.getResource("/liftbot/res/icon.png")));
setResizable(false);
setTitle("About LiftBot");
setBounds(100, 100, 450, 420);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
contentPane.setLayout(new B... |
diff --git a/src/com/mzhou/mygallery/EncodeFilter.java b/src/com/mzhou/mygallery/EncodeFilter.java
index 78cc9cb..ce56245 100644
--- a/src/com/mzhou/mygallery/EncodeFilter.java
+++ b/src/com/mzhou/mygallery/EncodeFilter.java
@@ -1,39 +1,43 @@
package com.mzhou.mygallery;
import java.io.IOException;
import javax.... | false | true | public void doFilter(ServletRequest req, ServletResponse res,
FilterChain chain) throws IOException, ServletException {
HttpServletRequest request = (HttpServletRequest)req;
HttpServletResponse response = (HttpServletResponse)res;
request.setCharacterEncoding(this.encoding);
response.se... | public void doFilter(ServletRequest req, ServletResponse res,
FilterChain chain) throws IOException, ServletException {
HttpServletRequest request = (HttpServletRequest)req;
HttpServletResponse response = (HttpServletResponse)res;
request.setCharacterEncoding(this.encoding);
response.se... |
diff --git a/build/source/org/zotero/integration/ooo/comp/ReferenceMark.java b/build/source/org/zotero/integration/ooo/comp/ReferenceMark.java
index ba3e310..ce90bc9 100644
--- a/build/source/org/zotero/integration/ooo/comp/ReferenceMark.java
+++ b/build/source/org/zotero/integration/ooo/comp/ReferenceMark.java
@@ -1,4... | false | true | public void setText(String textString, boolean isRich) throws Exception {
boolean isBibliography = getCode().startsWith("BIBL");
if(isBibliography) {
prepareMultiline();
}
XTextCursor cursor = text.createTextCursorByRange(range);
range = cursor;
if(!isBibliography) {
// move citation to its ... | public void setText(String textString, boolean isRich) throws Exception {
boolean isBibliography = getCode().startsWith("BIBL");
if(isBibliography) {
prepareMultiline();
}
XTextCursor cursor = text.createTextCursorByRange(range);
range = cursor;
if(!isBibliography) {
// move citation to its ... |
diff --git a/src/test/java/org/freeeed/main/PlatformUtilTest.java b/src/test/java/org/freeeed/main/PlatformUtilTest.java
index d73d2c2b..60f1f6e1 100644
--- a/src/test/java/org/freeeed/main/PlatformUtilTest.java
+++ b/src/test/java/org/freeeed/main/PlatformUtilTest.java
@@ -1,56 +1,56 @@
package org.freeeed.main;
i... | true | true | public void testReadPst() {
try {
System.out.println("getReadPst");
if (new File(ParameterProcessing.PST_OUTPUT_DIR).exists()) {
Files.deleteRecursively(new File(ParameterProcessing.PST_OUTPUT_DIR));
}
PstProcessor.extractEmails(pstPath, Parame... | public void testReadPst() {
try {
System.out.println("getReadPst");
if (new File(ParameterProcessing.PST_OUTPUT_DIR).exists()) {
Files.deleteRecursively(new File(ParameterProcessing.PST_OUTPUT_DIR));
}
PstProcessor.extractEmails(pstPath, Parame... |
diff --git a/server/plugin/src/pt/webdetails/cdf/dd/packager/Concatenate.java b/server/plugin/src/pt/webdetails/cdf/dd/packager/Concatenate.java
index 701fcad8..0d9b8115 100644
--- a/server/plugin/src/pt/webdetails/cdf/dd/packager/Concatenate.java
+++ b/server/plugin/src/pt/webdetails/cdf/dd/packager/Concatenate.java
@... | false | true | public static InputStream concat(File[] files, String rootpath)
{
if (rootpath == null || StringUtils.isEmpty(rootpath))
{
return concat(files);
}
try
{
StringBuffer buffer = new StringBuffer();
for (File file : files)
{
StringBuffer tmp = new StringBuffer();
... | public static InputStream concat(File[] files, String rootpath)
{
if (rootpath == null || StringUtils.isEmpty(rootpath))
{
return concat(files);
}
try
{
StringBuffer buffer = new StringBuffer();
for (File file : files)
{
StringBuffer tmp = new StringBuffer();
... |
diff --git a/Android_layout_xml_viewer/src/sachjo/develop/tool/android_layout_xml_viewer/MainActivity.java b/Android_layout_xml_viewer/src/sachjo/develop/tool/android_layout_xml_viewer/MainActivity.java
index 905967a..0563202 100644
--- a/Android_layout_xml_viewer/src/sachjo/develop/tool/android_layout_xml_viewer/MainA... | false | true | private void setView() {
switch(mMode) {
case MODE_EDITOR:
setContentView(R.layout.activity_list);
EditText editText = (EditText) findViewById(R.id.editText1);
// Button mGoBtn = (Button) findViewById(R.id.button1);
// mGoBtn.setOnClickListener(this);
// Button mGoBtn2 = (Button) findViewById(R.id.bu... | private void setView() {
switch(mMode) {
case MODE_EDITOR:
setContentView(R.layout.activity_list);
EditText editText = (EditText) findViewById(R.id.editText1);
// Button mGoBtn = (Button) findViewById(R.id.button1);
// mGoBtn.setOnClickListener(this);
// Button mGoBtn2 = (Button) findViewById(R.id.bu... |
diff --git a/tonightlife-android/src/com/tabbie/android/radar/FacebookAuthenticator.java b/tonightlife-android/src/com/tabbie/android/radar/FacebookAuthenticator.java
index c1474c1..ac8ba92 100644
--- a/tonightlife-android/src/com/tabbie/android/radar/FacebookAuthenticator.java
+++ b/tonightlife-android/src/com/tabbie/... | false | true | public void authenticate(final Activity parent, final BasicCallback<String> callback) {
fbAccessToken = preferences.getString("access_token", null);
expires = preferences.getLong("access_expires", 0);
if (fbAccessToken != null) {
facebook.setAccessToken(fbAccessToken);
}
if (expires !=... | public void authenticate(final Activity parent, final BasicCallback<String> callback) {
fbAccessToken = preferences.getString("access_token", null);
expires = preferences.getLong("access_expires", 0);
if (fbAccessToken != null) {
facebook.setAccessToken(fbAccessToken);
}
if (expires !=... |
diff --git a/src/frege/imp/builders/FregeBuilder.java b/src/frege/imp/builders/FregeBuilder.java
index a316ed6..e59e4e2 100644
--- a/src/frege/imp/builders/FregeBuilder.java
+++ b/src/frege/imp/builders/FregeBuilder.java
@@ -1,324 +1,324 @@
package frege.imp.builders;
import java.io.PrintWriter;
import java.io.Str... | true | true | protected boolean runParserForCompiler(final IFile file,
final IProgressMonitor monitor) {
// a class we can give the compiler as progress monitor
class CompProgress extends org.eclipse.jdt.core.compiler.CompilationProgress implements IProgressMonitor {
@Override
public void begin(int arg0) { }
@Ove... | protected boolean runParserForCompiler(final IFile file,
final IProgressMonitor monitor) {
// a class we can give the compiler as progress monitor
class CompProgress extends org.eclipse.jdt.core.compiler.CompilationProgress implements IProgressMonitor {
@Override
public void begin(int arg0) { }
@Ove... |
diff --git a/SwerveDriveTestingHarness/src/edu/wpi/first/wpilibj/templates/RobotDriveSwerve.java b/SwerveDriveTestingHarness/src/edu/wpi/first/wpilibj/templates/RobotDriveSwerve.java
index 3a529eb..72049d5 100644
--- a/SwerveDriveTestingHarness/src/edu/wpi/first/wpilibj/templates/RobotDriveSwerve.java
+++ b/SwerveDrive... | false | true | public void swerveDrive(double vx,double vy,double rotation)
{
if(relstrMode && relstrGyro != null)
{
//perform a clockwise rotation of <gyro> degrees on input vector
double angle = relstrGyro.getAngle();
double cosa = Math.cos(angle);
double sina ... | public void swerveDrive(double vx,double vy,double rotation)
{
if(relstrMode && relstrGyro != null)
{
//perform a clockwise rotation of <gyro> radians on input vector
double angle = Math.toRadians(relstrGyro.getAngle());
double cosa = Math.cos(angle);
... |
diff --git a/src/java/org/apache/hadoop/fs/FsShell.java b/src/java/org/apache/hadoop/fs/FsShell.java
index ea163f5c36..e3b5c03e27 100644
--- a/src/java/org/apache/hadoop/fs/FsShell.java
+++ b/src/java/org/apache/hadoop/fs/FsShell.java
@@ -1,2012 +1,2012 @@
/**
* Licensed to the Apache Software Foundation (ASF) under... | true | true | private void printHelp(String cmd) {
String summary = "hadoop fs is the command to execute fs commands. " +
"The full syntax is: \n\n" +
"hadoop fs [-fs <local | file system URI>] [-conf <configuration file>]\n\t" +
"[-D <property=value>] [-df [<path>]] [-du [-s] [-h] <path>]\n\t" +
"[-dus... | private void printHelp(String cmd) {
String summary = "hadoop fs is the command to execute fs commands. " +
"The full syntax is: \n\n" +
"hadoop fs [-fs <local | file system URI>] [-conf <configuration file>]\n\t" +
"[-D <property=value>] [-df [<path>]] [-du [-s] [-h] <path>]\n\t" +
"[-dus... |
diff --git a/MPAnalyzer/src/jp/ac/osaka_u/ist/sdl/mpanalyzer/db/MPDAO.java b/MPAnalyzer/src/jp/ac/osaka_u/ist/sdl/mpanalyzer/db/MPDAO.java
index 68e731d..faeb33e 100644
--- a/MPAnalyzer/src/jp/ac/osaka_u/ist/sdl/mpanalyzer/db/MPDAO.java
+++ b/MPAnalyzer/src/jp/ac/osaka_u/ist/sdl/mpanalyzer/db/MPDAO.java
@@ -1,62 +1,63 ... | false | true | public void makeModificationPatterns() throws Exception {
final Statement statement = this.connector.createStatement();
final StringBuilder text1 = new StringBuilder();
text1.append("select beforeHash from modification ");
text1.append("group by beforeHash having count(beforeHash) <> 1");
final ResultSet re... | public void makeModificationPatterns() throws Exception {
final Statement statement = this.connector.createStatement();
final StringBuilder text1 = new StringBuilder();
text1.append("select beforeHash from modification ");
text1.append("group by beforeHash having count(beforeHash) <> 1");
final ResultSet re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.