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/App/src/com/dozuki/ifixit/login/ui/OpenIDActivity.java b/App/src/com/dozuki/ifixit/login/ui/OpenIDActivity.java
index e9b5d97c..063255d6 100644
--- a/App/src/com/dozuki/ifixit/login/ui/OpenIDActivity.java
+++ b/App/src/com/dozuki/ifixit/login/ui/OpenIDActivity.java
@@ -1,112 +1,113 @@
package com.dozuki.i... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.open_id_view);
overridePendingTransition(R.anim.slide_in_bottom, R.anim.slide_out_bottom);
Bundle extras = this.getIntent().getExtras();
mSingleSignOn = extras.getBoolean(SINGL... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.open_id_view);
overridePendingTransition(R.anim.slide_in_bottom, R.anim.slide_out_bottom);
Bundle extras = this.getIntent().getExtras();
mSingleSignOn = extras.getBoolean(SINGL... |
diff --git a/src/main/java/edu/rit/asksg/domain/Twilio.java b/src/main/java/edu/rit/asksg/domain/Twilio.java
index 9f9e25c..86a394e 100755
--- a/src/main/java/edu/rit/asksg/domain/Twilio.java
+++ b/src/main/java/edu/rit/asksg/domain/Twilio.java
@@ -1,108 +1,109 @@
package edu.rit.asksg.domain;
import com.twilio.sdk... | false | true | public boolean postContent(Message message) {
final TwilioConfig config = (TwilioConfig) this.getConfig();
TwilioRestClient twc = new TwilioRestClient(config.getUsername(), config.getAuthenticationToken());
Map<String, String> vars = new HashMap<String, String>();
vars.put("Body", message.getContent());
vars... | public boolean postContent(Message message) {
final TwilioConfig config = (TwilioConfig) this.getConfig();
TwilioRestClient twc = new TwilioRestClient(config.getUsername(), config.getAuthenticationToken());
Map<String, String> vars = new HashMap<String, String>();
vars.put("Body", message.getContent());
vars... |
diff --git a/src/main/java/com/cosm/client/utils/ObjectUtil.java b/src/main/java/com/cosm/client/utils/ObjectUtil.java
index 151e78c..ed8695c 100644
--- a/src/main/java/com/cosm/client/utils/ObjectUtil.java
+++ b/src/main/java/com/cosm/client/utils/ObjectUtil.java
@@ -1,74 +1,78 @@
package com.cosm.client.utils;
im... | true | true | public static <T extends ConnectedObject> boolean deepEquals(Collection<T> one, Collection<T> two)
{
if (!CollectionUtil.deepEquals(one, two))
{
return false;
}
int matchedCounts = 0;
int i = 1;
int quitEarlyThreshold = (int) Math.round(one.size() / 2 + 0.5);
for (T obj1 : one)
{
if (i >= quitE... | public static <T extends ConnectedObject> boolean deepEquals(Collection<T> one, Collection<T> two)
{
if (!CollectionUtil.deepEquals(one, two))
{
return false;
} else if (one == null)
{
// if deep equal is true and one of them is null, they are both null
return true;
}
int matchedCounts = 0;
in... |
diff --git a/src/main/java/de/cubeisland/AntiGuest/prevention/PunishedPrevention.java b/src/main/java/de/cubeisland/AntiGuest/prevention/PunishedPrevention.java
index f5b85aa..6717b51 100644
--- a/src/main/java/de/cubeisland/AntiGuest/prevention/PunishedPrevention.java
+++ b/src/main/java/de/cubeisland/AntiGuest/preven... | true | true | public void enable()
{
super.enable();
this.punishThrottleTimestamps = new TObjectLongHashMap<Player>();
this.violationPunishmentMap = new TIntObjectHashMap<THashMap<Punishment, ConfigurationSection>>();
this.playerViolationMap = new TObjectIntHashMap<Player>();
Configu... | public void enable()
{
super.enable();
this.punishThrottleTimestamps = new TObjectLongHashMap<Player>();
this.violationPunishmentMap = new TIntObjectHashMap<THashMap<Punishment, ConfigurationSection>>();
this.playerViolationMap = new TObjectIntHashMap<Player>();
Configu... |
diff --git a/src/com/untamedears/ItemExchange/listeners/ItemExchangeListener.java b/src/com/untamedears/ItemExchange/listeners/ItemExchangeListener.java
index 52f2a82..c8c8534 100644
--- a/src/com/untamedears/ItemExchange/listeners/ItemExchangeListener.java
+++ b/src/com/untamedears/ItemExchange/listeners/ItemExchangeL... | true | true | public void onInventoryClick(InventoryClickEvent event) {
if (event.isShiftClick()) {
try {
ItemStack currentItem = event.getCurrentItem();
int itemAmount = currentItem.getAmount();
ExchangeRule exchangeRule = ExchangeRule.parseRuleBlock(currentItem);
int amount = exchangeRule.getAmount();
i... | public void onInventoryClick(InventoryClickEvent event) {
if (event.isShiftClick()) {
try {
ItemStack currentItem = event.getCurrentItem();
int itemAmount = currentItem.getAmount();
ExchangeRule exchangeRule = ExchangeRule.parseRuleBlock(currentItem);
int amount = exchangeRule.getAmount();
i... |
diff --git a/projects/common/src/org/jscsi/core/scsi/Status.java b/projects/common/src/org/jscsi/core/scsi/Status.java
index d29a2dfe..3e520388 100644
--- a/projects/common/src/org/jscsi/core/scsi/Status.java
+++ b/projects/common/src/org/jscsi/core/scsi/Status.java
@@ -1,263 +1,263 @@
package org.jscsi.core.scsi;
... | false | true | public String toString()
{
String output = "<Status:";
switch(Status.valueOf(value))
{
case GOOD: output += " good"; break;
case CHECK_CONDITION: output += " check condition"; break;
case CONDITION_MET: output += " condition ... | public String toString()
{
String output = "<Status: flag: ' ";
switch(Status.valueOf(value))
{
case GOOD: output += "GOOD"; break;
case CHECK_CONDITION: output += "CHECK CONDITION"; break;
case CONDITION_MET: output += "COND... |
diff --git a/src/com/herocraftonline/dev/heroes/damage/HeroesDamageListener.java b/src/com/herocraftonline/dev/heroes/damage/HeroesDamageListener.java
index aa18ef19..23b9942f 100644
--- a/src/com/herocraftonline/dev/heroes/damage/HeroesDamageListener.java
+++ b/src/com/herocraftonline/dev/heroes/damage/HeroesDamageLis... | true | true | public void onEntityDamage(EntityDamageEvent event) {
Heroes.debug.startTask("HeroesDamageListener.onEntityDamage");
// Reasons to immediately ignore damage event
if (event.isCancelled() || Heroes.properties.disabledWorlds.contains(event.getEntity().getWorld().getName())) {
Heroe... | public void onEntityDamage(EntityDamageEvent event) {
Heroes.debug.startTask("HeroesDamageListener.onEntityDamage");
// Reasons to immediately ignore damage event
if (event.isCancelled() || Heroes.properties.disabledWorlds.contains(event.getEntity().getWorld().getName())) {
Heroe... |
diff --git a/Battleship/src/main/java/ch/bfh/bti7301/w2013/battleship/gui/ShipStack.java b/Battleship/src/main/java/ch/bfh/bti7301/w2013/battleship/gui/ShipStack.java
index 0780f51..d557564 100644
--- a/Battleship/src/main/java/ch/bfh/bti7301/w2013/battleship/gui/ShipStack.java
+++ b/Battleship/src/main/java/ch/bfh/bti... | true | true | public ShipStack(final Game game, final GameRule rule, final BoardView pbv,
final Button ready) {
super(-16);
this.rule = rule;
// FIXME: this is just for layout debugging
setStyle("-fx-background-color: #ffc;");
setMaxHeight(SIZE);
for (Ship s : getAvailableShips()) {
final ShipView sv = new ShipVie... | public ShipStack(final Game game, final GameRule rule, final BoardView pbv,
final Button ready) {
super(-16);
this.rule = rule;
// FIXME: this is just for layout debugging
setStyle("-fx-background-color: #ffc;");
setMaxHeight(SIZE);
for (Ship s : getAvailableShips()) {
final ShipView sv = new ShipVie... |
diff --git a/contrib/Karma.java b/contrib/Karma.java
index b57438c..dc0c9da 100644
--- a/contrib/Karma.java
+++ b/contrib/Karma.java
@@ -1,1336 +1,1336 @@
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.H... | true | true | public synchronized void filterKarma(final Message mes)
{
// Ignore lines that look like commands.
if (mes.getFlags().containsKey("command"))
return;
final String message = mes.getMessage();
final String nick = mods.nick.getBestPrimaryNick(mes.getNick());
//System.err.println("LINE : <" + message... | public synchronized void filterKarma(final Message mes)
{
// Ignore lines that look like commands.
if (mes.getFlags().containsKey("command"))
return;
final String message = mes.getMessage();
final String nick = mods.nick.getBestPrimaryNick(mes.getNick());
//System.err.println("LINE : <" + message... |
diff --git a/org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/menus/MenuFactory.java b/org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/menus/MenuFactory.java
index 132b5857..d4bd120a 100644
--- a/org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/menus/MenuFactory.ja... | true | true | private static void addMenus(Descriptor d, SGLRParseController controller, List<Menu> menus, EditorState derivedFromEditor) throws BadDescriptorException {
// BEGIN: 'Transform' menu backwards compatibility
ArrayList<IStrategoAppl> builders = collectTerms(d.getDocument(), "Builder");
for (IStrategoAppl b : buil... | private static void addMenus(Descriptor d, SGLRParseController controller, List<Menu> menus, EditorState derivedFromEditor) throws BadDescriptorException {
// BEGIN: 'Transform' menu backwards compatibility
ArrayList<IStrategoAppl> builders = collectTerms(d.getDocument(), "Builder");
for (IStrategoAppl b : buil... |
diff --git a/GAE/src/org/waterforpeople/mapping/app/web/rest/MetricRestService.java b/GAE/src/org/waterforpeople/mapping/app/web/rest/MetricRestService.java
index 0dd140214..329f785ae 100644
--- a/GAE/src/org/waterforpeople/mapping/app/web/rest/MetricRestService.java
+++ b/GAE/src/org/waterforpeople/mapping/app/web/res... | true | true | public Map<String, List<MetricDto>> listMetrics(
@RequestParam(value = "surveyId", defaultValue = "") Long surveyId) {
final Map<String, List<MetricDto>> response = new HashMap<String, List<MetricDto>>();
List<MetricDto> results = new ArrayList<MetricDto>();
List<Question> questions = new ArrayList<Question>(... | public Map<String, List<MetricDto>> listMetrics(
@RequestParam(value = "surveyId", defaultValue = "") Long surveyId) {
final Map<String, List<MetricDto>> response = new HashMap<String, List<MetricDto>>();
List<MetricDto> results = new ArrayList<MetricDto>();
List<Question> questions = new ArrayList<Question>(... |
diff --git a/src/main/ed/js/engine/Convert.java b/src/main/ed/js/engine/Convert.java
index ea56b0353..affa5c7bd 100644
--- a/src/main/ed/js/engine/Convert.java
+++ b/src/main/ed/js/engine/Convert.java
@@ -1,1808 +1,1808 @@
// Convert.java
package ed.js.engine;
import java.io.*;
import java.util.*;
import com... | true | true | private void _add( Node n , ScriptOrFnNode sn , State state ){
switch ( n.getType() ){
case Token.TYPEOF:
_append( "JS_typeof( " , n );
_assertOne( n );
_add( n.getFirstChild() , state );
_append( " ) " , n );
break;
... | private void _add( Node n , ScriptOrFnNode sn , State state ){
switch ( n.getType() ){
case Token.TYPEOF:
_append( "JS_typeof( " , n );
_assertOne( n );
_add( n.getFirstChild() , state );
_append( " ) " , n );
break;
... |
diff --git a/block/BlockBlueFire.java b/block/BlockBlueFire.java
index 6fcb7ab..51c5fbd 100644
--- a/block/BlockBlueFire.java
+++ b/block/BlockBlueFire.java
@@ -1,518 +1,518 @@
package deepcraft.block;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.Random;
impo... | true | true | public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{
if (par1World.getGameRules().getGameRuleBooleanValue("doFireTick"))
{
Block base = Block.blocksList[par1World.getBlockId(par2, par3 - 1, par4)];
boolean var6 = (base != null && base... | public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
{
if (par1World.getGameRules().getGameRuleBooleanValue("doFireTick"))
{
Block base = Block.blocksList[par1World.getBlockId(par2, par3 - 1, par4)];
boolean var6 = (base != null && (bas... |
diff --git a/opal-core-ws/src/main/java/org/obiba/opal/web/magma/DatasourcesResource.java b/opal-core-ws/src/main/java/org/obiba/opal/web/magma/DatasourcesResource.java
index 543971924..8130a1c20 100644
--- a/opal-core-ws/src/main/java/org/obiba/opal/web/magma/DatasourcesResource.java
+++ b/opal-core-ws/src/main/java/o... | true | true | public Response createDatasource(@Context final UriInfo uriInfo, Magma.DatasourceFactoryDto factoryDto) {
DatasourceFactory factory = datasourceFactoryRegistry.parse(factoryDto);
ResponseBuilder response = null;
if(factory != null) {
String uid = MagmaEngine.get().addTransientDatasource(factory);
... | public Response createDatasource(@Context final UriInfo uriInfo, Magma.DatasourceFactoryDto factoryDto) {
DatasourceFactory factory = datasourceFactoryRegistry.parse(factoryDto);
ResponseBuilder response = null;
if(factory != null) {
String uid = MagmaEngine.get().addTransientDatasource(factory);
... |
diff --git a/src/LoginController.java b/src/LoginController.java
index a2d4a56..a2e3747 100644
--- a/src/LoginController.java
+++ b/src/LoginController.java
@@ -1,88 +1,92 @@
package ca.awesome;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.IOException;
import java.sql.*;
public class ... | true | true | public boolean attemptUpdateInfo() {
String firstName = request.getParameter(FIRST_NAME).trim();
String lastName = request.getParameter(LAST_NAME).trim();
String address = request.getParameter(ADDRESS).trim();
String email = request.getParameter(EMAIL).trim();
String phone = request.getParameter(PHONE).trim(... | public boolean attemptUpdateInfo() {
String firstName = request.getParameter(FIRST_NAME).trim();
String lastName = request.getParameter(LAST_NAME).trim();
String address = request.getParameter(ADDRESS).trim();
String email = request.getParameter(EMAIL).trim();
String phone = request.getParameter(PHONE).trim(... |
diff --git a/src/test/java/com/github/miemiedev/mybatis/paginator/PaginatorTester.java b/src/test/java/com/github/miemiedev/mybatis/paginator/PaginatorTester.java
index 7658e11..61f7e69 100644
--- a/src/test/java/com/github/miemiedev/mybatis/paginator/PaginatorTester.java
+++ b/src/test/java/com/github/miemiedev/mybati... | true | true | public void controllerMethod() throws IOException {
int page = 1;
int pageSize = 20;
String sortString = "type.asc,code.desc";
String contentSortString = "content.desc";
PageQuery pageQuery = new PageQuery(page, pageSize , sortString)
//Oracle sorting of chine... | public void controllerMethod() throws IOException {
int page = 1;
int pageSize = 20;
String sortString = "type.asc,code.desc";
String contentSortString = "content.desc";
PageQuery pageQuery = new PageQuery(page, pageSize , sortString)
//Oracle sorting of chine... |
diff --git a/gdp-file-management-webapp/src/main/java/gov/usgs/cida/gdp/filemanagement/servlet/GeoServerServlet.java b/gdp-file-management-webapp/src/main/java/gov/usgs/cida/gdp/filemanagement/servlet/GeoServerServlet.java
index d46b661c..a658b3b8 100644
--- a/gdp-file-management-webapp/src/main/java/gov/usgs/cida/gdp/... | false | true | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
ManageWorkSpace mws = new ManageWorkSpace();
String command = request.getParameter("command");
String workspace = request.getParameter("workspace");
String dataFil... | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
ManageWorkSpace mws = new ManageWorkSpace();
String command = request.getParameter("command");
String workspace = request.getParameter("workspace");
String dataFil... |
diff --git a/src/main/java/com/webbricks/controllers/WBParameterController.java b/src/main/java/com/webbricks/controllers/WBParameterController.java
index f2e30cb..4c132bf 100644
--- a/src/main/java/com/webbricks/controllers/WBParameterController.java
+++ b/src/main/java/com/webbricks/controllers/WBParameterController.... | true | true | public void createFromOwner(String fromOwnerExternalKey, String ownerExternalKey, HttpServletRequest request, HttpServletResponse response, String requestUri) throws WBException
{
try
{
Map<String, String> errors = new HashMap<String, String>();
if (ownerExternalKey == null || ownerExternalKey.equals(0L))... | public void createFromOwner(String fromOwnerExternalKey, String ownerExternalKey, HttpServletRequest request, HttpServletResponse response, String requestUri) throws WBException
{
try
{
Map<String, String> errors = new HashMap<String, String>();
if (ownerExternalKey == null || ownerExternalKey.equals(0L))... |
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/pages/EntriesPage.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/pages/EntriesPage.java
index 233eff9ab..bd6c0d9bd 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/inte... | false | true | private void createComposite() {
RowLayout rowLayout = new RowLayout();
rowLayout.type = org.eclipse.swt.SWT.VERTICAL;
rowLayout.justify = true;
rowLayout.marginHeight = 0;
rowLayout.marginWidth = 0;
rowLayout.pack = false;
rowLayout.spacing = 6;
rowLayout.marginLeft = 10;
rowLayout.marginR... | private void createComposite() {
RowLayout rowLayout = new RowLayout();
rowLayout.type = org.eclipse.swt.SWT.VERTICAL;
rowLayout.justify = true;
rowLayout.marginHeight = 0;
rowLayout.marginWidth = 0;
rowLayout.pack = false;
rowLayout.spacing = 6;
rowLayout.marginLeft = 10;
rowLayout.marginR... |
diff --git a/AceGWT/src/edu/ycp/cs/dh/acegwt/client/ace/AceEditor.java b/AceGWT/src/edu/ycp/cs/dh/acegwt/client/ace/AceEditor.java
index 986d8a3..27877cd 100644
--- a/AceGWT/src/edu/ycp/cs/dh/acegwt/client/ace/AceEditor.java
+++ b/AceGWT/src/edu/ycp/cs/dh/acegwt/client/ace/AceEditor.java
@@ -1,378 +1,378 @@
// Copyrig... | true | true | public native void startEditor() /*-{
var editor = $wnd.ace.edit(this.@edu.ycp.cs.dh.acegwt.client.ace.AceEditor::::divElement);
editor.getSession().setUseWorker(false);
this.@edu.ycp.cs.dh.acegwt.client.ace.AceEditor::editor = editor;
// I have been noticing sporadic failures of the editor
// to display pr... | public native void startEditor() /*-{
var editor = $wnd.ace.edit(this.@edu.ycp.cs.dh.acegwt.client.ace.AceEditor::divElement);
editor.getSession().setUseWorker(false);
this.@edu.ycp.cs.dh.acegwt.client.ace.AceEditor::editor = editor;
// I have been noticing sporadic failures of the editor
// to display prop... |
diff --git a/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/RasterLayerResponse.java b/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/RasterLayerResponse.java
index 6f2053e12..7e2431e48 100644
--- a/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/Raste... | false | true | private RenderedImage prepareResponse() throws DataSourceException {
try {
//
// prepare the params for executing a mosaic operation.
//
// It might important to set the mosaic type to blend otherwise
// sometimes strange results jump in.
// select the relevant overview, notice that at this t... | private RenderedImage prepareResponse() throws DataSourceException {
try {
//
// prepare the params for executing a mosaic operation.
//
// It might important to set the mosaic type to blend otherwise
// sometimes strange results jump in.
// select the relevant overview, notice that at this t... |
diff --git a/src/org/servalproject/batphone/UnsecuredCall.java b/src/org/servalproject/batphone/UnsecuredCall.java
index 680e275a..b22b17c2 100644
--- a/src/org/servalproject/batphone/UnsecuredCall.java
+++ b/src/org/servalproject/batphone/UnsecuredCall.java
@@ -1,258 +1,255 @@
package org.servalproject.batphone;
i... | false | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.d("VoMPCall", "Activity started");
app = (ServalBatPhoneApplication) this.getApplication();
if (app.servaldMonitor==null){
app.displayToastMessage("Unable to place a call at this time");
finish();
return;
... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Log.d("VoMPCall", "Activity started");
app = (ServalBatPhoneApplication) this.getApplication();
if (app.servaldMonitor==null){
app.displayToastMessage("Unable to place a call at this time");
finish();
return;
... |
diff --git a/src/gov/nih/nci/cadsr/cdecurate/tool/tags/ObjMenuTag.java b/src/gov/nih/nci/cadsr/cdecurate/tool/tags/ObjMenuTag.java
index 19647d2f..12ab8a17 100644
--- a/src/gov/nih/nci/cadsr/cdecurate/tool/tags/ObjMenuTag.java
+++ b/src/gov/nih/nci/cadsr/cdecurate/tool/tags/ObjMenuTag.java
@@ -1,198 +1,198 @@
/**
* ... | true | true | public int doEndTag() throws JspException {
getSessionAttributes();
HttpSession session = pageContext.getSession();
int rowsChecked = 0;
if (vCheckList!=null){
rowsChecked = vCheckList.size();
}
JspWriter objMenu = this.pageContext.getOut();
if (selACType != null) {
try {
objMenu.println(... | public int doEndTag() throws JspException {
getSessionAttributes();
HttpSession session = pageContext.getSession();
int rowsChecked = 0;
if (vCheckList!=null){
rowsChecked = vCheckList.size();
}
JspWriter objMenu = this.pageContext.getOut();
if (selACType != null) {
try {
objMenu.println(... |
diff --git a/app/models/Location.java b/app/models/Location.java
index 7ce475e..e0eec0b 100644
--- a/app/models/Location.java
+++ b/app/models/Location.java
@@ -1,232 +1,232 @@
package models;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.... | true | true | public static List<Location> getBoundedLocations(final Float minLat,
final Float maxLat, final Float minLon, final Float maxLon, String givenUserId) {
List<Location> result = new ArrayList<Location>();
List<Location> locations = null;
if (givenUserId != null && !givenUserId.isEmpty() && !givenUserId.equal... | public static List<Location> getBoundedLocations(final Float minLat,
final Float maxLat, final Float minLon, final Float maxLon, String givenUserId) {
List<Location> result = new ArrayList<Location>();
List<Location> locations = null;
if (givenUserId != null && !givenUserId.isEmpty() && !givenUserId.equal... |
diff --git a/fap/compiler/src/es.fap.simpleled.ui/src/es/fap/simpleled/ui/documentation/JsonDocumentation.java b/fap/compiler/src/es.fap.simpleled.ui/src/es/fap/simpleled/ui/documentation/JsonDocumentation.java
index c6b3abaa..b2c06572 100644
--- a/fap/compiler/src/es.fap.simpleled.ui/src/es/fap/simpleled/ui/documentat... | true | true | private static void initializeMap(){
mapa = null;
if (mapa == null){
mapa = new HashMap<String, DocElemento>();
Gson gson = new Gson();
Type tDocElemento = new TypeToken<DocElemento>(){}.getType();
Type tListString = new TypeToken<List<String>>(){}.getType();
try {
List<String> elementos = gson.... | private static void initializeMap(){
// mapa = null; // Para debuggear
if (mapa == null){
mapa = new HashMap<String, DocElemento>();
Gson gson = new Gson();
Type tDocElemento = new TypeToken<DocElemento>(){}.getType();
Type tListString = new TypeToken<List<String>>(){}.getType();
try {
List<Strin... |
diff --git a/organization/src/main/java/module/organization/domain/AccountabilityVersion.java b/organization/src/main/java/module/organization/domain/AccountabilityVersion.java
index b7fe5ed..fb89242 100644
--- a/organization/src/main/java/module/organization/domain/AccountabilityVersion.java
+++ b/organization/src/mai... | false | true | protected static void insertAccountabilityVersion(LocalDate beginDate, LocalDate endDate, Accountability acc, boolean erased) {
if (acc == null)
throw new IllegalArgumentException("cant.provide.a.null.accountability");
// let's check on the first case i.e. when the given acc does not have
// an Accountabili... | protected static void insertAccountabilityVersion(LocalDate beginDate, LocalDate endDate, Accountability acc, boolean erased) {
if (acc == null)
throw new IllegalArgumentException("cant.provide.a.null.accountability");
// let's check on the first case i.e. when the given acc does not have
// an Accountabili... |
diff --git a/votable/src/main/uk/ac/starlink/votable/VOTableWriter.java b/votable/src/main/uk/ac/starlink/votable/VOTableWriter.java
index ff8b8091b..2c92a98dd 100644
--- a/votable/src/main/uk/ac/starlink/votable/VOTableWriter.java
+++ b/votable/src/main/uk/ac/starlink/votable/VOTableWriter.java
@@ -1,424 +1,424 @@
pa... | true | true | public void writeStarTable( StarTable startab, OutputStream out, File file )
throws IOException {
/* For most of the output we write to a Writer; it is obtained
* here and uses the default encoding. If we write bulk data
* into the XML (using Base64 encoding) we write that di... | public void writeStarTable( StarTable startab, OutputStream out, File file )
throws IOException {
/* For most of the output we write to a Writer; it is obtained
* here and uses the default encoding. If we write bulk data
* into the XML (using Base64 encoding) we write that di... |
diff --git a/org.emftext.sdk/src/org/emftext/sdk/SDKOptionProvider.java b/org.emftext.sdk/src/org/emftext/sdk/SDKOptionProvider.java
index 5af3611ab..14335d008 100644
--- a/org.emftext.sdk/src/org/emftext/sdk/SDKOptionProvider.java
+++ b/org.emftext.sdk/src/org/emftext/sdk/SDKOptionProvider.java
@@ -1,187 +1,188 @@
pa... | true | true | private void checkForOptionalKeywords(ITextResource resource) {
for(Iterator<EObject> i = resource.getAllContents(); i.hasNext(); ) {
EObject next = i.next();
if (next instanceof CompoundDefinition) {
CompoundDefinition compoundDefinition = (CompoundDefinition) next;
if (compoundDefinition.getCardinali... | private void checkForOptionalKeywords(ITextResource resource) {
for(Iterator<EObject> i = resource.getAllContents(); i.hasNext(); ) {
EObject next = i.next();
if (next instanceof CompoundDefinition) {
CompoundDefinition compoundDefinition = (CompoundDefinition) next;
if (compoundDefinition.getCardinali... |
diff --git a/src/org/intellij/erlang/inspection/ErlangHeadMismatchInspection.java b/src/org/intellij/erlang/inspection/ErlangHeadMismatchInspection.java
index a89f6f24..fab40919 100644
--- a/src/org/intellij/erlang/inspection/ErlangHeadMismatchInspection.java
+++ b/src/org/intellij/erlang/inspection/ErlangHeadMismatchI... | true | true | protected void checkFile(PsiFile file, ProblemsHolder problemsHolder) {
if (!(file instanceof ErlangFile)) return;
for (ErlangFunction function : ((ErlangFile) file).getFunctions()) {
final String functionName = function.getName();
List<ErlangFunctionClause> clauses = function.getFunctionClauseLi... | protected void checkFile(PsiFile file, ProblemsHolder problemsHolder) {
if (!(file instanceof ErlangFile)) return;
for (ErlangFunction function : ((ErlangFile) file).getFunctions()) {
final String functionName = function.getName();
List<ErlangFunctionClause> clauses = function.getFunctionClauseLi... |
diff --git a/src/main/java/org/basex/http/restxq/RestXqResponse.java b/src/main/java/org/basex/http/restxq/RestXqResponse.java
index 5de056c78..e8d9965da 100644
--- a/src/main/java/org/basex/http/restxq/RestXqResponse.java
+++ b/src/main/java/org/basex/http/restxq/RestXqResponse.java
@@ -1,162 +1,164 @@
package org.ba... | false | true | void create() throws QueryException, IOException {
// wrap function with a function call
final UserFunc uf = function.function;
final BaseFuncCall bfc = new BaseFuncCall(null, uf.name, uf.args);
bfc.init(uf);
// bind variables
function.bind(http);
// temporarily set database values (size... | void create() throws QueryException, IOException {
// wrap function with a function call
final UserFunc uf = function.function;
final BaseFuncCall bfc = new BaseFuncCall(null, uf.name, uf.args);
bfc.init(uf);
// bind variables
function.bind(http);
// temporarily set database values (size... |
diff --git a/src/net/esper/tacos/ircbot/CommandProcessor.java b/src/net/esper/tacos/ircbot/CommandProcessor.java
index 8f3a38d..765080e 100644
--- a/src/net/esper/tacos/ircbot/CommandProcessor.java
+++ b/src/net/esper/tacos/ircbot/CommandProcessor.java
@@ -1,117 +1,109 @@
package net.esper.tacos.ircbot;
import java... | false | true | public void run() {
while (true) {
if (events.size() == 0) {
ASLEEP = true;
try {
synchronized (PROC) {
PROC.wait();
}
} catch (InterruptedException e) {
e.printStackTrace();
}
}
ASLEEP = false;
// I have no idea why I'm adding this check
// So ... | public void run() {
while (true) {
if (events.size() < 1) {
ASLEEP = true;
try {
synchronized (PROC) {
PROC.wait();
}
} catch (InterruptedException e) {
e.printStackTrace();
}
}
ASLEEP = false;
MessageEvent<?> ev = events.remove(events.size() -... |
diff --git a/src/test/java/ScreeFlowTest.java b/src/test/java/ScreeFlowTest.java
index 8f23d34..70be38c 100644
--- a/src/test/java/ScreeFlowTest.java
+++ b/src/test/java/ScreeFlowTest.java
@@ -1,76 +1,76 @@
import com.seleniumscreenflow.Grid;
import com.seleniumscreenflow.ScreenshotFlow;
import org.openqa.selenium.B... | true | true | public void questionTest() {
String question = "2 + 2";
ScreenshotFlow flow = new ScreenshotFlow(driver);
WebDriverWait wait = new WebDriverWait(driver, 10);
driver.get("http://www.wolframalpha.com/");
// Using By
flow.takeScreenshot(By.id("calculate"), "Looking at ... | public void questionTest() {
String question = "2 + 2";
ScreenshotFlow flow = new ScreenshotFlow(driver);
WebDriverWait wait = new WebDriverWait(driver, 10);
driver.get("http://www.wolframalpha.com/");
// Using By
flow.takeScreenshot(By.id("calculate"), "Looking at ... |
diff --git a/src/main/java/cc/kune/core/server/manager/impl/GroupManagerDefault.java b/src/main/java/cc/kune/core/server/manager/impl/GroupManagerDefault.java
index 7d085e78c..2008f42f1 100644
--- a/src/main/java/cc/kune/core/server/manager/impl/GroupManagerDefault.java
+++ b/src/main/java/cc/kune/core/server/manager/i... | true | true | public Group createUserGroup(final User user, final boolean wantPersonalHomepage)
throws GroupShortNameInUseException, EmailAddressInUseException {
final String defaultSiteWorkspaceTheme = kuneProperties.get(KuneProperties.WS_THEMES_DEF);
final License licenseDef = licenseManager.getDefLicense();
fi... | public Group createUserGroup(final User user, final boolean wantPersonalHomepage)
throws GroupShortNameInUseException, EmailAddressInUseException {
final String defaultSiteWorkspaceTheme = kuneProperties.get(KuneProperties.WS_THEMES_DEF);
final License licenseDef = licenseManager.getDefLicense();
fi... |
diff --git a/sip-servlets-jboss5/src/main/java/org/mobicents/servlet/sip/core/timers/SipApplicationSessionTaskFactory.java b/sip-servlets-jboss5/src/main/java/org/mobicents/servlet/sip/core/timers/SipApplicationSessionTaskFactory.java
index 4b35fba19..a9f934f44 100644
--- a/sip-servlets-jboss5/src/main/java/org/mobicen... | false | true | public TimerTask newTimerTask(TimerTaskData data) {
SipApplicationSessionTaskData sasData = (SipApplicationSessionTaskData)data;
MobicentsSipApplicationSession sipApplicationSession = sipManager.getSipApplicationSession(sasData.getKey(), false);
if(sipApplicationSession.getExpirationTimerTask() == null) {
if... | public TimerTask newTimerTask(TimerTaskData data) {
SipApplicationSessionTaskData sasData = (SipApplicationSessionTaskData)data;
MobicentsSipApplicationSession sipApplicationSession = sipManager.getSipApplicationSession(sasData.getKey(), false);
if(sipApplicationSession != null) {
if(sipApplicationSession.ge... |
diff --git a/src/org/ietf/uri/event/ProgressEvent.java b/src/org/ietf/uri/event/ProgressEvent.java
index bfbc9ca..a95706e 100644
--- a/src/org/ietf/uri/event/ProgressEvent.java
+++ b/src/org/ietf/uri/event/ProgressEvent.java
@@ -1,200 +1,200 @@
/*************************************************************************... | true | true | public ProgressEvent(ResourceConnection src, int type, String msg, int val)
{
this.source = src;
this.msg = msg;
this.value = value;
this.type = type;
}
| public ProgressEvent(ResourceConnection src, int type, String msg, int val)
{
this.source = src;
this.msg = msg;
this.value = val;
this.type = type;
}
|
diff --git a/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java b/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
index acaef9b..de53fc4 100644
--- a/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
+++ b/webui/core/src/main/java/org/exo... | true | true | public void processRender(WebuiRequestContext context) throws Exception
{
WebuiRequestContext requestContext = WebuiRequestContext.getCurrentInstance();
formatPattern(requestContext.getLocale());
String monthNames_ = "";
for (String month : months_)
{
// remove empty elemen... | public void processRender(WebuiRequestContext context) throws Exception
{
WebuiRequestContext requestContext = WebuiRequestContext.getCurrentInstance();
formatPattern(requestContext.getLocale());
String monthNames_ = "";
for (String month : months_)
{
// remove empty elemen... |
diff --git a/src/org/e2k/CIS3650.java b/src/org/e2k/CIS3650.java
index f7a69b8..d412fab 100644
--- a/src/org/e2k/CIS3650.java
+++ b/src/org/e2k/CIS3650.java
@@ -1,443 +1,442 @@
package org.e2k;
import java.util.Arrays;
import javax.swing.JOptionPane;
// From info received (which I'm very grateful for) it appear... | true | true | public String[] decode (CircularDataBuffer circBuf,WaveData waveData) {
String outLines[]=new String[2];
if (state==0) {
// Check the sample rate
if (waveData.getSampleRate()>11025.0) {
state=-1;
JOptionPane.showMessageDialog(null,"WAV files containing\nCIS 36-50 recordings must have\nbeen recorde... | public String[] decode (CircularDataBuffer circBuf,WaveData waveData) {
String outLines[]=new String[2];
if (state==0) {
// Check the sample rate
if (waveData.getSampleRate()>11025.0) {
state=-1;
JOptionPane.showMessageDialog(null,"WAV files containing\nCIS 36-50 recordings must have\nbeen recorde... |
diff --git a/src/main/java/com/softartisans/timberwolf/exchange/GetItemIterator.java b/src/main/java/com/softartisans/timberwolf/exchange/GetItemIterator.java
index e8c9bf0..f0d4038 100644
--- a/src/main/java/com/softartisans/timberwolf/exchange/GetItemIterator.java
+++ b/src/main/java/com/softartisans/timberwolf/excha... | false | true | protected Iterator<MailboxItem> createIterator()
{
if (currentStart > ids.size())
{
return null;
}
try
{
Vector<MailboxItem> ret = GetItemHelper.getItems(pageSize, currentStart, ids, service);
LOG.debug("Got {} email ids.", ret.size());... | protected Iterator<MailboxItem> createIterator()
{
if (currentStart > ids.size())
{
return null;
}
try
{
Vector<MailboxItem> ret = GetItemHelper.getItems(pageSize, currentStart, ids, service);
LOG.debug("Got {} email ids.", ret.size());... |
diff --git a/src/r/builtins/C.java b/src/r/builtins/C.java
index c83ccfc..3c04549 100644
--- a/src/r/builtins/C.java
+++ b/src/r/builtins/C.java
@@ -1,433 +1,433 @@
package r.builtins;
import com.oracle.truffle.api.frame.*;
import com.oracle.truffle.api.nodes.*;
import r.*;
import r.data.*;
import r.data.inte... | true | true | public static RAny genericCombine(RSymbol[] paramNames, RAny[] params, boolean dropNames) {
int len = 0;
boolean hasNames = (paramNames != null);
boolean hasNull = false;
boolean hasRaw = false;
boolean hasLogical = false;
boolean hasInt = false;
boolean hasLi... | public static RAny genericCombine(RSymbol[] paramNames, RAny[] params, boolean dropNames) {
int len = 0;
boolean hasNames = (paramNames != null);
boolean hasNull = false;
boolean hasRaw = false;
boolean hasLogical = false;
boolean hasInt = false;
boolean hasLi... |
diff --git a/src/org/apache/fop/fo/flow/Table.java b/src/org/apache/fop/fo/flow/Table.java
index 7ab0f488f..99f69e5f2 100644
--- a/src/org/apache/fop/fo/flow/Table.java
+++ b/src/org/apache/fop/fo/flow/Table.java
@@ -1,411 +1,412 @@
/*
* -- $Id$ --
* Copyright (C) 2001 The Apache Software Foundation. All rights re... | true | true | public Status layout(Area area) throws FOPException {
if (this.marker == BREAK_AFTER) {
return new Status(Status.OK);
}
if (this.marker == START) {
// Common Accessibility Properties
AccessibilityProps mAccProps = propMgr.getAccessibilityProps();
... | public Status layout(Area area) throws FOPException {
if (this.marker == BREAK_AFTER) {
return new Status(Status.OK);
}
if (this.marker == START) {
// Common Accessibility Properties
AccessibilityProps mAccProps = propMgr.getAccessibilityProps();
... |
diff --git a/logic/slave/src/main/java/no/difi/datahotel/logic/slave/ChunkEJB.java b/logic/slave/src/main/java/no/difi/datahotel/logic/slave/ChunkEJB.java
index dbc398a..e221140 100644
--- a/logic/slave/src/main/java/no/difi/datahotel/logic/slave/ChunkEJB.java
+++ b/logic/slave/src/main/java/no/difi/datahotel/logic/sla... | true | true | public void update(Metadata metadata) {
Logger logger = metadata.getLogger();
File tsfile = Filesystem.getFileF(FOLDER_CHUNK, metadata.getLocation(), "timestamp");
if (metadata.getUpdated() == Timestamp.getTimestamp(tsfile)) {
logger.info("Chunk up to date.");
return;
}
logger.info("Building chunk.... | public void update(Metadata metadata) {
Logger logger = metadata.getLogger();
File tsfile = Filesystem.getFileF(FOLDER_CHUNK, metadata.getLocation(), "timestamp");
if (metadata.getUpdated() == Timestamp.getTimestamp(tsfile)) {
logger.info("Chunk up to date.");
return;
}
logger.info("Building chunk.... |
diff --git a/remoting/src/test/java/hudson/remoting/DummyClassLoaderTest.java b/remoting/src/test/java/hudson/remoting/DummyClassLoaderTest.java
index 3daa2ab1c..930ab6f6f 100644
--- a/remoting/src/test/java/hudson/remoting/DummyClassLoaderTest.java
+++ b/remoting/src/test/java/hudson/remoting/DummyClassLoaderTest.java... | true | true | public void testLoad() throws Throwable {
DummyClassLoader cl = new DummyClassLoader(this.getClass().getClassLoader());
Callable c = (Callable) cl.loadClass("hudson.remoting.test.TestCallable").newInstance();
System.out.println(c.call());
// make sure that the returned class is loade... | public void testLoad() throws Throwable {
DummyClassLoader cl = new DummyClassLoader(this.getClass().getClassLoader());
Callable c = (Callable) cl.loadClass("hudson.remoting.test.TestCallable").newInstance();
System.out.println(c.call());
// make sure that the returned class is loade... |
diff --git a/loci/formats/in/LIFReader.java b/loci/formats/in/LIFReader.java
index a65995d6f..979930b04 100644
--- a/loci/formats/in/LIFReader.java
+++ b/loci/formats/in/LIFReader.java
@@ -1,453 +1,453 @@
//
// LIFReader.java
//
/*
LOCI Bio-Formats package for reading and converting biological file formats.
Cop... | false | true | private void initMetadata(String xml) {
Vector elements = new Vector();
// first parse each element in the XML string
while (xml.length() > 2) {
String el = xml.substring(1, xml.indexOf(">"));
xml = xml.substring(xml.indexOf(">") + 1);
elements.add(el);
}
// the first element ... | private void initMetadata(String xml) {
Vector elements = new Vector();
// first parse each element in the XML string
while (xml.length() > 2) {
String el = xml.substring(1, xml.indexOf(">"));
xml = xml.substring(xml.indexOf(">") + 1);
elements.add(el);
}
// the first element ... |
diff --git a/Dugeon/src/map/factory/MapGenerator.java b/Dugeon/src/map/factory/MapGenerator.java
index 68d9571..df2bc16 100644
--- a/Dugeon/src/map/factory/MapGenerator.java
+++ b/Dugeon/src/map/factory/MapGenerator.java
@@ -1,272 +1,272 @@
/*
* To change this template, choose Tools | Templates
* and open the temp... | true | true | public Map<Coordinate, ViewablePixel> generateMap() {
Random r = new Random();
int numberOfComponent = r.nextInt(5);
for (int i = 0; i < numberOfComponent; i++) {
MapComponent component = getRandomMapComponent();
System.out.println(component.getClass().getName());
... | public Map<Coordinate, ViewablePixel> generateMap() {
Random r = new Random();
int numberOfComponent = r.nextInt(5)+1;
for (int i = 0; i < numberOfComponent; i++) {
MapComponent component = getRandomMapComponent();
System.out.println(component.getClass().getName());
... |
diff --git a/GAE/src/com/gallatinsystems/framework/dataexport/applet/DataExportAppletImpl.java b/GAE/src/com/gallatinsystems/framework/dataexport/applet/DataExportAppletImpl.java
index 45e7eec74..60629d5d9 100644
--- a/GAE/src/com/gallatinsystems/framework/dataexport/applet/DataExportAppletImpl.java
+++ b/GAE/src/com/g... | false | true | public void doExport(String type, Map<String, String> criteriaMap,
String serverBase, Map<String, String> options) {
final JFileChooser chooser = new JFileChooser();
final String surveyId = criteriaMap.containsKey("surveyId") ? criteriaMap
.get("surveyId") : null;
String exportType = criteriaMap.get("expo... | public void doExport(String type, Map<String, String> criteriaMap,
String serverBase, Map<String, String> options) {
final JFileChooser chooser = new JFileChooser();
final String surveyId = criteriaMap.containsKey("surveyId") ? criteriaMap
.get("surveyId") : null;
String ext = ".xlsx";
if ("SURVEY_FORM"... |
diff --git a/map/map-impl/src/test/java/org/mobicents/protocols/ss7/map/service/mobility/subscriberManagement/BearerServiceCodeValueTest.java b/map/map-impl/src/test/java/org/mobicents/protocols/ss7/map/service/mobility/subscriberManagement/BearerServiceCodeValueTest.java
index f790aef03..72399097c 100644
--- a/map/map... | true | true | public void test() throws Exception {
int code = BearerServiceCodeValue.Asynchronous9_6kbps.getCode();
BearerServiceCodeValue valueFromCode = BearerServiceCodeValue.getInstance(code);
assertEquals(valueFromCode, BearerServiceCodeValue.Asynchronous9_6kbps);
}
| public void test() throws Exception {
int code = BearerServiceCodeValue.Asynchronous9_6kbps.getBearerServiceCode();
BearerServiceCodeValue valueFromCode = BearerServiceCodeValue.getInstance(code);
assertEquals(valueFromCode, BearerServiceCodeValue.Asynchronous9_6kbps);
}
|
diff --git a/srcj/com/sun/electric/technology/Xml.java b/srcj/com/sun/electric/technology/Xml.java
index 521fe5db1..02f61e011 100644
--- a/srcj/com/sun/electric/technology/Xml.java
+++ b/srcj/com/sun/electric/technology/Xml.java
@@ -1,2465 +1,2469 @@
/* -*- tab-width: 4 -*-
*
* Electric(tm) VLSI Design System
*
... | true | true | public void startElement(String uri, String localName,
String qName, Attributes attributes)
throws SAXException {
boolean dump = false;
XmlKeyword key = xmlKeywords.get(localName);
// System.out.print("<" + key.name());
this.attribut... | public void startElement(String uri, String localName,
String qName, Attributes attributes)
throws SAXException {
boolean dump = false;
XmlKeyword key = xmlKeywords.get(localName);
// System.out.print("<" + key.name());
this.attribut... |
diff --git a/src/main/java/inra/watershed/plugin/Watershed_3D.java b/src/main/java/inra/watershed/plugin/Watershed_3D.java
index 0bdec3f..1d0e955 100644
--- a/src/main/java/inra/watershed/plugin/Watershed_3D.java
+++ b/src/main/java/inra/watershed/plugin/Watershed_3D.java
@@ -1,250 +1,250 @@
package inra.watershed.plu... | true | true | public void run(String arg0)
{
int nbima = WindowManager.getImageCount();
if( nbima == 0 )
{
IJ.error( "Watershed 3D",
"At least one image needs to be open to run waterhsed in 3D");
return;
}
String[] names = new String[ nbima ];
String[] namesMask = new String[ nbima + 1 ];... | public void run(String arg0)
{
int nbima = WindowManager.getImageCount();
if( nbima == 0 )
{
IJ.error( "Watershed 3D",
"ERROR: At least one image needs to be open to run watershed in 3D");
return;
}
String[] names = new String[ nbima ];
String[] namesMask = new String[ nbima... |
diff --git a/src/main/java/httpServletRequestX/accept/AcceptHeaderImpl.java b/src/main/java/httpServletRequestX/accept/AcceptHeaderImpl.java
index 1f879dd..2a03a57 100644
--- a/src/main/java/httpServletRequestX/accept/AcceptHeaderImpl.java
+++ b/src/main/java/httpServletRequestX/accept/AcceptHeaderImpl.java
@@ -1,130 +... | true | true | private void parseContent() {
this.contentTypeList.clear();
String[] contentTypes = content.split(",");
for (String contentType : contentTypes) {
String[] splittedContenttype = contentType.split(";");
if (!hasParseableContentType(splittedContenttype)) {
... | private void parseContent() {
this.contentTypeList.clear();
String[] contentTypes = content.split(",");
for (String contentType : contentTypes) {
String[] splittedContenttype = contentType.split(";");
if (!hasParseableContentType(splittedContenttype)) {
... |
diff --git a/runtime/src/com/sun/xml/bind/v2/runtime/reflect/opt/Injector.java b/runtime/src/com/sun/xml/bind/v2/runtime/reflect/opt/Injector.java
index c01c5f57..716eaeac 100644
--- a/runtime/src/com/sun/xml/bind/v2/runtime/reflect/opt/Injector.java
+++ b/runtime/src/com/sun/xml/bind/v2/runtime/reflect/opt/Injector.ja... | true | true | private synchronized Class inject(String className, byte[] image) {
Class c = classes.get(className);
if(c==null) {
// we need to inject a class into the
try {
c = (Class)defineClass.invoke(parent,className.replace('/','.'),image,0,image.length);
... | private synchronized Class inject(String className, byte[] image) {
Class c = classes.get(className);
if(c==null) {
// we need to inject a class into the
try {
c = (Class)defineClass.invoke(parent,className.replace('/','.'),image,0,image.length);
... |
diff --git a/src/com/time/master/view/TabTextView.java b/src/com/time/master/view/TabTextView.java
index 0ba4961..15c5bf0 100644
--- a/src/com/time/master/view/TabTextView.java
+++ b/src/com/time/master/view/TabTextView.java
@@ -1,125 +1,125 @@
package com.time.master.view;
import com.time.master.TimeMasterApplicat... | true | true | protected void onDraw(Canvas canvas) {
// canvas.drawRect(0, 0, gap, unit_width*0.75f, marginPaint);//��߿�
// canvas.drawRect(gap, 0, gap+unit_width, unit_width*0.75f, mPaint);//�����
// if(hasRightEdge)
// canvas.drawRect(gap+unit_width, 0, gap+gap+unit_width, unit_width*0.75f, marginPaint);//�ұ߿�
//
/... | protected void onDraw(Canvas canvas) {
// canvas.drawRect(0, 0, gap, unit_width*0.75f, marginPaint);//��߿�
// canvas.drawRect(gap, 0, gap+unit_width, unit_width*0.75f, mPaint);//�����
// if(hasRightEdge)
// canvas.drawRect(gap+unit_width, 0, gap+gap+unit_width, unit_width*0.75f, marginPaint);//�ұ߿�
//
/... |
diff --git a/src/jipdbs/web/SearchServlet.java b/src/jipdbs/web/SearchServlet.java
index e225023..a56e4f8 100644
--- a/src/jipdbs/web/SearchServlet.java
+++ b/src/jipdbs/web/SearchServlet.java
@@ -1,86 +1,87 @@
package jipdbs.web;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
i... | true | true | protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
int page = 1;
int pageSize = DEFAULT_PAGE_SIZE;
try {
page = Integer.parseInt(req.getParameter("p"));
} catch (NumberFormatException e) {
// Ignore.
}
try {
pageSize = Integer.parseI... | protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
int page = 1;
int pageSize = DEFAULT_PAGE_SIZE;
try {
page = Integer.parseInt(req.getParameter("p"));
} catch (NumberFormatException e) {
// Ignore.
}
try {
pageSize = Integer.parseI... |
diff --git a/htroot/Blog.java b/htroot/Blog.java
index ce685ebdd..40ae8b210 100644
--- a/htroot/Blog.java
+++ b/htroot/Blog.java
@@ -1,256 +1,257 @@
// Blog.java
// -----------------------
// part of YACY
// (C) by Michael Peter Christen; mc@anomic.de
// first published on http://www.anomic.de
// Frankfurt, Germ... | false | true | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
plasmaSwitchboard switchboard = (plasmaSwitchboard) env;
serverObjects prop = new serverObjects();
blogBoard.entry page = null;
boolean hasRights = switchboard.verifyAuthentication(header, true);
if(hasRi... | public static serverObjects respond(httpHeader header, serverObjects post, serverSwitch env) {
plasmaSwitchboard switchboard = (plasmaSwitchboard) env;
serverObjects prop = new serverObjects();
blogBoard.entry page = null;
boolean hasRights = switchboard.verifyAuthentication(header, true);
if(hasRi... |
diff --git a/museumassault/MuseumAssault.java b/museumassault/MuseumAssault.java
index 55ce1aa..f87be8d 100644
--- a/museumassault/MuseumAssault.java
+++ b/museumassault/MuseumAssault.java
@@ -1,87 +1,87 @@
package museumassault;
import java.util.Random;
import museumassault.monitor.Corridor;
import museumassault... | false | true | public static void main(String[] args)
{
// Configurable params
int nrChiefs = 1;
int nrTeams = 5;
int nrThievesPerTeam = 3;
int nrTotalThieves = 7;
int nrRooms = 5;
int maxDistanceBetweenThieves = 1;
int maxDistanceBetweenRoomAndOutside = 10;
... | public static void main(String[] args)
{
// Configurable params
int nrChiefs = 1;
int nrTeams = 5;
int nrThievesPerTeam = 3;
int nrTotalThieves = 7;
int nrRooms = 5;
int maxDistanceBetweenThieves = 1;
int maxDistanceBetweenRoomAndOutside = 10;
... |
diff --git a/src/il/technion/ewolf/server/PokeMessagesAcceptor.java b/src/il/technion/ewolf/server/PokeMessagesAcceptor.java
index 1d819ef..705e6db 100644
--- a/src/il/technion/ewolf/server/PokeMessagesAcceptor.java
+++ b/src/il/technion/ewolf/server/PokeMessagesAcceptor.java
@@ -1,73 +1,73 @@
package il.technion.ewol... | false | true | public void run() {
try {
Map<String, WolfPack> wolfpacksMap = wolfpacksCache.get();
WolfPack inviters = wolfpacksMap.get(INVITERS_WOLFPACK);
while (true) {
List<SocialMessage> messages = inboxCache.get();
Map<String,List<Profile>> wolfpacksMembersMap = wolfpacksMembersCache.get();
wolfpacksMap ... | public void run() {
try {
Map<String, WolfPack> wolfpacksMap = wolfpacksCache.get();
WolfPack inviters = wolfpacksMap.get(INVITERS_WOLFPACK);
while (true) {
List<SocialMessage> messages = inboxCache.get();
Map<String,List<Profile>> wolfpacksMembersMap = wolfpacksMembersCache.get();
wolfpacksMap ... |
diff --git a/components/ome-xml/src/ome/xml/r200706/SampleTest.java b/components/ome-xml/src/ome/xml/r200706/SampleTest.java
index 1e1a92146..5853d8cfd 100644
--- a/components/ome-xml/src/ome/xml/r200706/SampleTest.java
+++ b/components/ome-xml/src/ome/xml/r200706/SampleTest.java
@@ -1,1019 +1,1019 @@
/*
* org.xml.r... | false | true | public static void testSample(OMENode ome) throws Exception {
// -- Depth 1 --
// check OME node
int projectCount = ome.getProjectCount();
Vector projectList = ome.getProjectList();
checkCount("Project", projectCount, projectList, 1);
int datasetCount = ome.getDatasetCount();
Vector datas... | public static void testSample(OMENode ome) throws Exception {
// -- Depth 1 --
// check OME node
int projectCount = ome.getProjectCount();
Vector projectList = ome.getProjectList();
checkCount("Project", projectCount, projectList, 1);
int datasetCount = ome.getDatasetCount();
Vector datas... |
diff --git a/CandroidSample/src/com/candroidsample/CaldroidSampleActivity.java b/CandroidSample/src/com/candroidsample/CaldroidSampleActivity.java
index 82241af..d00b861 100644
--- a/CandroidSample/src/com/candroidsample/CaldroidSampleActivity.java
+++ b/CandroidSample/src/com/candroidsample/CaldroidSampleActivity.java... | true | true | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
final SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy");
// Setup caldroid fragment
final CaldroidFragment caldroidFragment = new CaldroidFragment();
Bundle args... | protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
final SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy");
// Setup caldroid fragment
final CaldroidFragment caldroidFragment = new CaldroidFragment();
Bundle args... |
diff --git a/src/risk/game/Map.java b/src/risk/game/Map.java
index 03a32ee..6741a3b 100644
--- a/src/risk/game/Map.java
+++ b/src/risk/game/Map.java
@@ -1,269 +1,272 @@
package risk.game;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;
public class Map {
/**
* A... | false | true | private void setNeighbours() {
setNeighbours(Country.ALASKA, Country.NORTHWESTTERRITORY);
setNeighbours(Country.ALASKA, Country.KAMCHATKA);
setNeighbours(Country.ALASKA, Country.ALBERTA);
setNeighbours(Country.NORTHWESTTERRITORY, Country.GREENLAND);
setNeighbours(Country.NORT... | private void setNeighbours() {
setNeighbours(Country.ALASKA, Country.NORTHWESTTERRITORY);
setNeighbours(Country.ALASKA, Country.KAMCHATKA);
setNeighbours(Country.ALASKA, Country.ALBERTA);
setNeighbours(Country.NORTHWESTTERRITORY, Country.GREENLAND);
setNeighbours(Country.NORT... |
diff --git a/autotools/org.eclipse.linuxtools.cdt.autotools.ui/src/org/eclipse/linuxtools/internal/cdt/autotools/ui/actions/InvokeLibtoolizeAction.java b/autotools/org.eclipse.linuxtools.cdt.autotools.ui/src/org/eclipse/linuxtools/internal/cdt/autotools/ui/actions/InvokeLibtoolizeAction.java
index 02ec65d21..43435290a ... | true | true | public void run(IAction action) {
IContainer container = getSelectedContainer();
if (container == null)
return;
IPath execDir = getExecDir(container);
String cwd = InvokeMessages.getString("CWD") + getCWD(container); //$NON-NLS-1$
InputDialog optionDialog = new SingleInputDialog(
new Shell(),
... | public void run(IAction action) {
IContainer container = getSelectedContainer();
if (container == null)
return;
IPath execDir = getExecDir(container);
String cwd = InvokeMessages.getString("CWD") + getCWD(container); //$NON-NLS-1$
InputDialog optionDialog = new SingleInputDialog(
new Shell(),
... |
diff --git a/src/me/Kruithne/WolfHunt/Configuration.java b/src/me/Kruithne/WolfHunt/Configuration.java
index 02fb6db..0076887 100644
--- a/src/me/Kruithne/WolfHunt/Configuration.java
+++ b/src/me/Kruithne/WolfHunt/Configuration.java
@@ -1,60 +1,60 @@
package me.Kruithne.WolfHunt;
public class Configuration {
p... | true | true | public String getOrSetConfigValue(String configKey, String defaultValue)
{
if (this.hasConfigValue(configKey))
{
return this.getConfigValue(configKey);
}
else
{
this.setConfigValue(String.format(Constants.pluginNodePath, configKey), defaultValue);
return defaultValue;
}
}
| public String getOrSetConfigValue(String configKey, String defaultValue)
{
if (this.hasConfigValue(configKey))
{
return this.getConfigValue(configKey);
}
else
{
this.setConfigValue(configKey, defaultValue);
return defaultValue;
}
}
|
diff --git a/src/org/cyberneko/html/HTMLTagBalancer.java b/src/org/cyberneko/html/HTMLTagBalancer.java
index b56b046..cc1b23f 100644
--- a/src/org/cyberneko/html/HTMLTagBalancer.java
+++ b/src/org/cyberneko/html/HTMLTagBalancer.java
@@ -1,1458 +1,1447 @@
/*
* Copyright 2002-2009 Andy Clark, Marc Guillemot
*
* ... | true | true | public void startElement(final QName elem, XMLAttributes attrs, final Augmentations augs)
throws XNIException {
fSeenAnything = true;
final boolean isForcedCreation = forcedStartElement_;
forcedStartElement_ = false;
// check for end of document
if (fSeenRoo... | public void startElement(final QName elem, XMLAttributes attrs, final Augmentations augs)
throws XNIException {
fSeenAnything = true;
final boolean isForcedCreation = forcedStartElement_;
forcedStartElement_ = false;
// check for end of document
if (fSeenRoo... |
diff --git a/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java b/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java
index 4219475fa..9d1b1a128 100644
--- a/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java
+++ b/gdx/src/com/badlogic/gdx/graphics/g2d/TextureAtlas.java
@@ -1,465 +1,464 @@
/*************... | false | true | public TextureAtlas (FileHandle packFile, FileHandle imagesDir, boolean flip) {
PriorityQueue<AtlasRegion> sortedRegions = new PriorityQueue(16, indexComparator);
BufferedReader reader = new BufferedReader(new InputStreamReader(packFile.read()), 64);
try {
Texture pageImage = null;
while (true) {
Stri... | public TextureAtlas (FileHandle packFile, FileHandle imagesDir, boolean flip) {
PriorityQueue<AtlasRegion> sortedRegions = new PriorityQueue(16, indexComparator);
BufferedReader reader = new BufferedReader(new InputStreamReader(packFile.read()), 64);
try {
Texture pageImage = null;
while (true) {
Stri... |
diff --git a/ListaOnlineXP/exerciselist/java/JavaTester.java b/ListaOnlineXP/exerciselist/java/JavaTester.java
index 0f580eb..2c6e568 100644
--- a/ListaOnlineXP/exerciselist/java/JavaTester.java
+++ b/ListaOnlineXP/exerciselist/java/JavaTester.java
@@ -1,195 +1,195 @@
import java.io.BufferedReader;
import java.io.Fil... | true | true | public synchronized String executeTest(String codigo, String criterio) throws Exception {
// Path
if (!(new File(path).exists())) throw new Exception("SYSTEM_ERROR!:!Diretório de execução não encontrado.");
// ----- Gera o arquivo do aluno ------
// descobre o nome da classe
... | public synchronized String executeTest(String codigo, String criterio) throws Exception {
// Path
if (!(new File(path).exists())) throw new Exception("SYSTEM_ERROR!:!Diretório de execução não encontrado.");
// ----- Gera o arquivo do aluno ------
// descobre o nome da classe
... |
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
index 8af0bfcaa..1a8e046d9 100644
--- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
+++ b/org.... | true | true | protected synchronized List computeStackFrames(boolean refreshChildren) throws DebugException {
if (isSuspended()) {
if (isTerminated()) {
fStackFrames = Collections.EMPTY_LIST;
} else if (refreshChildren) {
if (fStackFrames.isEmpty()) {
fStackFrames = createAllStackFrames();
if (fStackFrames... | protected synchronized List computeStackFrames(boolean refreshChildren) throws DebugException {
if (isSuspended()) {
if (isTerminated()) {
fStackFrames = Collections.EMPTY_LIST;
} else if (refreshChildren) {
if (fStackFrames.isEmpty()) {
fStackFrames = createAllStackFrames();
if (fStackFrames... |
diff --git a/src/org/nutz/mvc/init/UrlMapImpl.java b/src/org/nutz/mvc/init/UrlMapImpl.java
index 9e4e415b4..ce09fdcb7 100644
--- a/src/org/nutz/mvc/init/UrlMapImpl.java
+++ b/src/org/nutz/mvc/init/UrlMapImpl.java
@@ -1,152 +1,156 @@
package org.nutz.mvc.init;
import java.lang.reflect.Method;
import java.lang.refle... | false | true | public boolean add(List<ViewMaker> makers, Class<?> moduleType) {
Ok myOk = moduleType.getAnnotation(Ok.class);
if (null == myOk)
myOk = ok;
Fail myFail = moduleType.getAnnotation(Fail.class);
if (null == myFail)
myFail = fail;
AdaptBy myAb = moduleType.getAnnotation(AdaptBy.class);
if (null == myAb)... | public boolean add(List<ViewMaker> makers, Class<?> moduleType) {
Ok myOk = moduleType.getAnnotation(Ok.class);
if (null == myOk)
myOk = ok;
Fail myFail = moduleType.getAnnotation(Fail.class);
if (null == myFail)
myFail = fail;
AdaptBy myAb = moduleType.getAnnotation(AdaptBy.class);
if (null == myAb)... |
diff --git a/marathon-runtime-server/src/net/sourceforge/marathon/component/DefaultComponentResolver.java b/marathon-runtime-server/src/net/sourceforge/marathon/component/DefaultComponentResolver.java
index 120304fa..cf862589 100644
--- a/marathon-runtime-server/src/net/sourceforge/marathon/component/DefaultComponentRe... | false | true | public MComponent getMComponent(Component component, String name, Object obj) {
if (component instanceof JColorChooser) {
return new MColorChooser(component, name, getFinder(), windowMonitor);
} else if (component instanceof JFileChooser) {
return new MFileChooser(component, ... | public MComponent getMComponent(Component component, String name, Object obj) {
if (component instanceof JColorChooser) {
return new MColorChooser(component, name, getFinder(), windowMonitor);
} else if (component instanceof JFileChooser) {
return new MFileChooser(component, ... |
diff --git a/plugins/chrome-navigation/src/android/ChromeNavigation.java b/plugins/chrome-navigation/src/android/ChromeNavigation.java
index 1c19e9c..45b59e6 100644
--- a/plugins/chrome-navigation/src/android/ChromeNavigation.java
+++ b/plugins/chrome-navigation/src/android/ChromeNavigation.java
@@ -1,33 +1,28 @@
// C... | true | true | public boolean onOverrideUrlLoading(String url) {
if (url.startsWith("http:") || url.startsWith("https:")) {
Log.i(LOG_TAG, "Opening URL in external browser: " + url);
Intent systemBrowserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
cordova.getActivity().start... | public boolean onOverrideUrlLoading(String url) {
if (url.startsWith("http:") || url.startsWith("https:")) {
Log.i(LOG_TAG, "Opening URL in external browser: " + url);
Intent systemBrowserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
cordova.getActivity().start... |
diff --git a/plugins/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/ModelAdapter.java b/plugins/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/ModelAdapter.java
index db656bd81..1c212bbf4 100644
--- a/plugins/org.eclipse.birt.report.data.adapter/sr... | true | true | public IBinding adaptBinding( ComputedColumnHandle handle )
{
try
{
if ( handle == null )
return null;
Binding result = new Binding( handle.getName( ) );
if ( handle.getExpression( ) != null )
{
ScriptExpression expr = this.adaptExpression( (Expression) handle.getExpressionProperty( org.eclips... | public IBinding adaptBinding( ComputedColumnHandle handle )
{
try
{
if ( handle == null )
return null;
Binding result = new Binding( handle.getName( ) );
if ( handle.getExpression( ) != null )
{
ScriptExpression expr = this.adaptExpression( (Expression) handle.getExpressionProperty( org.eclips... |
diff --git a/cocos2d-android/src/org/cocos2d/layers/CCTMXMapInfo.java b/cocos2d-android/src/org/cocos2d/layers/CCTMXMapInfo.java
index 463f91c..cdb4c6c 100644
--- a/cocos2d-android/src/org/cocos2d/layers/CCTMXMapInfo.java
+++ b/cocos2d-android/src/org/cocos2d/layers/CCTMXMapInfo.java
@@ -1,461 +1,463 @@
package org.co... | true | true | public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {
if (localName.equals("map")) {
String version = attributes.getValue("version");
if (! version.equals("1.0")) {
ccMacros.CCLOG(LOG_TAG, "cocos2d: TMXFormat: Unsupported TMX version:... | public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {
if (localName.equals("map")) {
String version = attributes.getValue("version");
if (! version.equals("1.0")) {
ccMacros.CCLOG(LOG_TAG, "cocos2d: TMXFormat: Unsupported TMX version:... |
diff --git a/src/main/java/com/cloudbees/service/GameServlet.java b/src/main/java/com/cloudbees/service/GameServlet.java
index 80ad95b..09aac5e 100644
--- a/src/main/java/com/cloudbees/service/GameServlet.java
+++ b/src/main/java/com/cloudbees/service/GameServlet.java
@@ -1,110 +1,111 @@
package com.cloudbees.service;... | true | true | public Response newGame(Game game) {
StatusType statusCode = null;
String msg = null;
StringWriter sw = new StringWriter();
JsonWriter writer = new JsonWriter(sw);
try {
dao.connect();
// Create a new game (key = game id)
String id = dao.newGame( game );
if (id == null) {
// ... | public Response newGame(Game game) {
StatusType statusCode = null;
String msg = null;
StringWriter sw = new StringWriter();
JsonWriter writer = new JsonWriter(sw);
try {
dao.connect();
// Create a new game (key = game id)
String id = dao.newGame( game );
if (id == null) {
// ... |
diff --git a/src/com/edinarobotics/zephyr/parts/ShooterComponents.java b/src/com/edinarobotics/zephyr/parts/ShooterComponents.java
index 16213cf..c4c6853 100644
--- a/src/com/edinarobotics/zephyr/parts/ShooterComponents.java
+++ b/src/com/edinarobotics/zephyr/parts/ShooterComponents.java
@@ -1,89 +1,91 @@
package com.... | true | true | public ShooterComponents(int leftJaguar, int rightJaguar, int rotator, int piston,
int leftLimitSwitch, int rightLimitSwitch, int encoderA, int encoderB){
shooterLeftJaguar = new Jaguar(leftJaguar);
shooterRightJaguar = new Jaguar(rightJaguar);
shooterRotator = n... | public ShooterComponents(int leftJaguar, int rightJaguar, int rotator, int piston,
int leftLimitSwitch, int rightLimitSwitch, int encoderA, int encoderB){
shooterLeftJaguar = new Jaguar(leftJaguar);
shooterRightJaguar = new Jaguar(rightJaguar);
shooterRotator = n... |
diff --git a/src/web/org/openmrs/web/controller/user/UserFormController.java b/src/web/org/openmrs/web/controller/user/UserFormController.java
index 3da286b4..8f8ab63a 100644
--- a/src/web/org/openmrs/web/controller/user/UserFormController.java
+++ b/src/web/org/openmrs/web/controller/user/UserFormController.java
@@ -1... | true | true | protected ModelAndView processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object obj,
BindException errors) throws Exception {
HttpSession httpSession = request.getSession();
User user = (User) obj;
UserService us = Context.getUserServ... | protected ModelAndView processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object obj,
BindException errors) throws Exception {
HttpSession httpSession = request.getSession();
User user = (User) obj;
UserService us = Context.getUserServ... |
diff --git a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverExtension.java b/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverExtension.java
index cb8a4d1..61c7a73 100644
--- a/bundles/org.eclipse.wst.xsl.core/src/org/eclipse/wst/xsl/core/resolver/ResolverEx... | true | true | public String resolve(IFile file, String baseLocation, String publicId,
String systemId) {
// Is someone looking for "our" schema?
if (! XSLCorePlugin.XSLT_NS.equals(publicId)) {
// Not this time, return right away
return null;
}
String version = null;
version = peekVersionAttributeFromSSE(file... | public String resolve(IFile file, String baseLocation, String publicId,
String systemId) {
// Is someone looking for "our" schema?
if (! XSLCorePlugin.XSLT_NS.equals(publicId)) {
// Not this time, return right away
return null;
}
String version = null;
if (file != null)
version = peekVersio... |
diff --git a/javasrc/src/org/ccnx/ccn/test/profiles/security/access/group/GroupAccessControlTestRepo.java b/javasrc/src/org/ccnx/ccn/test/profiles/security/access/group/GroupAccessControlTestRepo.java
index 035bdd235..88e16217d 100644
--- a/javasrc/src/org/ccnx/ccn/test/profiles/security/access/group/GroupAccessControl... | true | true | public static void createAC() throws Exception {
// mark the namespace as under access control
ACL acl = new ACL();
acName = ContentName.fromNative("/parc.com/ac_repo");
// NamespaceManager.Root.create(acName, acl, SaveType.REPOSITORY, CCNHandle.getHandle());
// create a file in the namespace under access co... | public static void createAC() throws Exception {
// mark the namespace as under access control
// ACL acl = new ACL();
acName = ContentName.fromNative("/parc.com/ac_repo");
// NamespaceManager.Root.create(acName, acl, SaveType.REPOSITORY, CCNHandle.getHandle());
// create a file in the namespace under acc... |
diff --git a/src/org/mozilla/javascript/NativeArray.java b/src/org/mozilla/javascript/NativeArray.java
index 87a2daa4..ecec663f 100644
--- a/src/org/mozilla/javascript/NativeArray.java
+++ b/src/org/mozilla/javascript/NativeArray.java
@@ -1,1204 +1,1204 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basi... | true | true | private static Object js_splice(Context cx, Scriptable scope,
Scriptable thisObj, Object[] args)
{
/* create an empty Array to return. */
scope = getTopLevelScope(scope);
Object result = ScriptRuntime.newObject(cx, scope, "Array", null);
int ar... | private static Object js_splice(Context cx, Scriptable scope,
Scriptable thisObj, Object[] args)
{
/* create an empty Array to return. */
scope = getTopLevelScope(scope);
Object result = ScriptRuntime.newObject(cx, scope, "Array", null);
int ar... |
diff --git a/src/java/com/eviware/soapui/impl/wsdl/panels/assertions/AddAssertionPanel.java b/src/java/com/eviware/soapui/impl/wsdl/panels/assertions/AddAssertionPanel.java
index cd925fb04..509da0da4 100644
--- a/src/java/com/eviware/soapui/impl/wsdl/panels/assertions/AddAssertionPanel.java
+++ b/src/java/com/eviware/s... | false | true | public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus,
int row, int column )
{
boldFont = getFont().deriveFont( Font.BOLD );
AssertionListEntry entry = ( AssertionListEntry )value;
String type = TestAssertionRegistry.getInstance().getAssertio... | public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus,
int row, int column )
{
boldFont = getFont().deriveFont( Font.BOLD );
AssertionListEntry entry = ( AssertionListEntry )value;
String type = TestAssertionRegistry.getInstance().getAssertio... |
diff --git a/jse/src/main/java/com/alonsoruibal/chess/bitboard/MagicNumbersGenerator.java b/jse/src/main/java/com/alonsoruibal/chess/bitboard/MagicNumbersGenerator.java
index 6bf1a43..471a176 100644
--- a/jse/src/main/java/com/alonsoruibal/chess/bitboard/MagicNumbersGenerator.java
+++ b/jse/src/main/java/com/alonsoruib... | true | true | long findMagics(byte index, byte m, boolean bishop) {
long mask, magic;
long attack[] = new long[4096];
long block[] = new long[4096];
long magicAttack[] = new long[4096];
int i, j, k, n;
boolean fail;
BitboardAttacksMagic attacks = (BitboardAttacksMagic) BitboardAttacks.getInstance();
mask = (bishop... | long findMagics(byte index, byte m, boolean bishop) {
long mask, magic;
long attack[] = new long[4096];
long block[] = new long[4096];
long magicAttack[] = new long[4096];
int i, j, k, n;
boolean fail;
BitboardAttacksMagic attacks = (BitboardAttacksMagic) BitboardAttacks.getInstance();
mask = (bishop... |
diff --git a/src/com/dmdirc/addons/ui_swing/UIUtilities.java b/src/com/dmdirc/addons/ui_swing/UIUtilities.java
index 88f2d342..d90931a2 100644
--- a/src/com/dmdirc/addons/ui_swing/UIUtilities.java
+++ b/src/com/dmdirc/addons/ui_swing/UIUtilities.java
@@ -1,438 +1,443 @@
/*
* Copyright (c) 2006-2010 Chris Smith, Shan... | true | true | public static void initUISettings() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (InstantiationException ex) {
throw new UnsupportedOperationException("Unable to switch to the " +
"system look and feel", ex);
... | public static void initUISettings() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (InstantiationException ex) {
throw new UnsupportedOperationException("Unable to switch to the " +
"system look and feel", ex);
... |
diff --git a/src/joren/spawn/Spawn.java b/src/joren/spawn/Spawn.java
index 8dd6fc1..281339a 100644
--- a/src/joren/spawn/Spawn.java
+++ b/src/joren/spawn/Spawn.java
@@ -1,1490 +1,1490 @@
package joren.spawn;
import java.io.File;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
... | true | true | public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args)
{
int[] ignore = {8, 9};
if (command.getName().equalsIgnoreCase("ent"))
{
if (allowedTo(sender, "spawn"))
{
if ((args.length > 0)&&(args.length < 4))
{
if (args[0].equalsIgnoreCase("kill") || ... | public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args)
{
int[] ignore = {8, 9};
if (command.getName().equalsIgnoreCase("ent"))
{
if (allowedTo(sender, "spawn"))
{
if ((args.length > 0)&&(args.length < 4))
{
if (args[0].equalsIgnoreCase("kill") || ... |
diff --git a/HTML/server/WebsocketServer/src/org/java_websocket/ServerManager.java b/HTML/server/WebsocketServer/src/org/java_websocket/ServerManager.java
index 78717e4..fe04802 100644
--- a/HTML/server/WebsocketServer/src/org/java_websocket/ServerManager.java
+++ b/HTML/server/WebsocketServer/src/org/java_websocket/Se... | true | true | public static void main(String args[]) {
WebSocket.DEBUG = false;
String host = "localhost";
if (args.length != 0) {
host = args[0];
}
System.out.println(host);
try {
ServerManager manager = new ServerManager();
... | public static void main(String args[]) {
WebSocket.DEBUG = false;
String host = "localhost";
if (args.length != 0) {
host = args[0];
}
System.out.println(host);
try {
ServerManager manager = new ServerManager();
... |
diff --git a/src/main/java/hudson/plugins/accurev/AccurevSCM.java b/src/main/java/hudson/plugins/accurev/AccurevSCM.java
index 2c47e7c..e4d0831 100644
--- a/src/main/java/hudson/plugins/accurev/AccurevSCM.java
+++ b/src/main/java/hudson/plugins/accurev/AccurevSCM.java
@@ -1,1232 +1,1233 @@
package hudson.plugins.accur... | true | true | public boolean checkout(AbstractBuild build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) throws IOException, InterruptedException {
final String accurevPath = workspace.act(new FindAccurevHome());
if (!useWorkspace
|| !useUpdate
... | public boolean checkout(AbstractBuild build, Launcher launcher, FilePath workspace, BuildListener listener, File changelogFile) throws IOException, InterruptedException {
final String accurevPath = workspace.act(new FindAccurevHome());
if (!useWorkspace
|| !useUpdate
... |
diff --git a/src/common/wustendorf/CommandWustendorf.java b/src/common/wustendorf/CommandWustendorf.java
index 7ac30ae..079b114 100644
--- a/src/common/wustendorf/CommandWustendorf.java
+++ b/src/common/wustendorf/CommandWustendorf.java
@@ -1,181 +1,181 @@
package wustendorf;
import net.minecraft.src.*;
import j... | true | true | public void processCommand(ICommandSender sender, String[] params)
{
if (!(sender instanceof EntityPlayer)) {
sender.sendChatToPlayer("Not available from console.");
return;
}
EntityPlayer player = (EntityPlayer) sender;
if (!(player.worldObj instanceof ... | public void processCommand(ICommandSender sender, String[] params)
{
if (!(sender instanceof EntityPlayer)) {
sender.sendChatToPlayer("Not available from console.");
return;
}
EntityPlayer player = (EntityPlayer) sender;
if (!(player.worldObj instanceof ... |
diff --git a/uMappin/src/mdiss/umappin/fragments/PictureFragment.java b/uMappin/src/mdiss/umappin/fragments/PictureFragment.java
index 617803e..9106f59 100644
--- a/uMappin/src/mdiss/umappin/fragments/PictureFragment.java
+++ b/uMappin/src/mdiss/umappin/fragments/PictureFragment.java
@@ -1,166 +1,165 @@
package mdiss.... | false | true | public boolean onOptionsItemSelected(MenuItem item) {
MainActivity main = (MainActivity) getActivity();
switch (item.getItemId()) {
case R.id.action_new_photo:
main.cleanBackStack();
main.dispatchTakePictureIntent(MainActivity.ACTION_TAKE_PHOTO_B);
return true;
case R.id.action_upload_photo:
final ... | public boolean onOptionsItemSelected(MenuItem item) {
MainActivity main = (MainActivity) getActivity();
switch (item.getItemId()) {
case R.id.action_new_photo:
main.cleanBackStack();
main.dispatchTakePictureIntent(MainActivity.ACTION_TAKE_PHOTO_B);
return true;
case R.id.action_upload_photo:
final ... |
diff --git a/src/de/bezier/math/combinatorics/CombinationSet.java b/src/de/bezier/math/combinatorics/CombinationSet.java
index 4fb9f10..c7db561 100644
--- a/src/de/bezier/math/combinatorics/CombinationSet.java
+++ b/src/de/bezier/math/combinatorics/CombinationSet.java
@@ -1,71 +1,70 @@
package de.bezier.math.combinato... | false | true | public void rewind ()
{
current = BigInteger.ZERO;
totalResults = BigInteger.ZERO;
// calc total results
Combination c[] = new Combination[to-from+1];
for ( int i = from; i <= to; i++ )
{
c[i] = new Combination(elements, i);
totalResults =
totalResults.add( c[i].total() );
}
// first ... | public void rewind ()
{
current = BigInteger.ZERO;
totalResults = BigInteger.ZERO;
// calc total results
for ( int i = from; i <= to; i++ )
{
Combination c = new Combination(elements, i);
totalResults =
totalResults.add( c.total() );
}
// first generator
generator = new Combination(el... |
diff --git a/infra/test/edu/illinois/gitsvn/infra/RepositoryCrawlerTest.java b/infra/test/edu/illinois/gitsvn/infra/RepositoryCrawlerTest.java
index 94fd7d7..33c07e5 100644
--- a/infra/test/edu/illinois/gitsvn/infra/RepositoryCrawlerTest.java
+++ b/infra/test/edu/illinois/gitsvn/infra/RepositoryCrawlerTest.java
@@ -1,3... | true | true | public void testProducesCorrectOutput() throws Exception {
add("test.java", "Some java program", "first");
add("test2.java", "Some other java program", "second");
mv("test.java", "test_rename.java");
add("readme","A non-java file", "forth");
crawler.crawlRepo(Git.open(testRepo));
File file = new File... | public void testProducesCorrectOutput() throws Exception {
add("test.java", "Some java program", "first");
add("test2.java", "Some other java program", "second");
mv("test.java", "test_rename.java");
add("readme","A non-java file", "forth");
crawler.crawlRepo(Git.open(testRepo));
File file = new File... |
diff --git a/src/java/main/org/jaxen/function/xslt/DocumentFunction.java b/src/java/main/org/jaxen/function/xslt/DocumentFunction.java
index f81b517..69b6055 100644
--- a/src/java/main/org/jaxen/function/xslt/DocumentFunction.java
+++ b/src/java/main/org/jaxen/function/xslt/DocumentFunction.java
@@ -1,103 +1,103 @@
/*... | true | true | public Object call(Context context,
List args) throws FunctionCallException
{
if (args.size() == 1)
{
Navigator nav = context.getNavigator();
String url = StringFunction.evaluate( args.get( 0 ),
... | public Object call(Context context,
List args) throws FunctionCallException
{
if (args.size() == 1)
{
Navigator nav = context.getNavigator();
String url = StringFunction.evaluate( args.get( 0 ),
... |
diff --git a/src/org/biojava/bio/seq/db/TabIndexStore.java b/src/org/biojava/bio/seq/db/TabIndexStore.java
index 933c91246..acbe6c26e 100644
--- a/src/org/biojava/bio/seq/db/TabIndexStore.java
+++ b/src/org/biojava/bio/seq/db/TabIndexStore.java
@@ -1,248 +1,248 @@
/*
* BioJava development code
*... | true | true | public TabIndexStore(
File storeFile,
File indexFile,
String name,
SequenceFormat format,
SequenceBuilderFactory sbFactory,
SymbolTokenization symbolParser
) throws IOException, BioException {
if(storeFile.exists() || indexFile.exists()) {
throw new BioException("Files already exi... | public TabIndexStore(
File storeFile,
File indexFile,
String name,
SequenceFormat format,
SequenceBuilderFactory sbFactory,
SymbolTokenization symbolParser
) throws IOException, BioException {
if(storeFile.exists() || indexFile.exists()) {
throw new BioException("Files already exi... |
diff --git a/src/java/com/eviware/soapui/security/scan/MalformedXmlSecurityScan.java b/src/java/com/eviware/soapui/security/scan/MalformedXmlSecurityScan.java
index 3a9221b76..a7a8dd898 100644
--- a/src/java/com/eviware/soapui/security/scan/MalformedXmlSecurityScan.java
+++ b/src/java/com/eviware/soapui/security/scan/M... | true | true | protected StringToStringMap update( TestStep testStep, SecurityTestRunContext context ) throws XmlException,
Exception
{
StringToStringMap params = new StringToStringMap();
if( parameterMutations.size() == 0 )
mutateParameters( testStep, context );
if( getExecutionStrategy().getStrategy() == StrategyTyp... | protected StringToStringMap update( TestStep testStep, SecurityTestRunContext context ) throws XmlException,
Exception
{
StringToStringMap params = new StringToStringMap();
if( parameterMutations.size() == 0 )
mutateParameters( testStep, context );
if( getExecutionStrategy().getStrategy() == StrategyTyp... |
diff --git a/src/main/java/h2db/GuestBook.java b/src/main/java/h2db/GuestBook.java
index 87b18fa..907a124 100644
--- a/src/main/java/h2db/GuestBook.java
+++ b/src/main/java/h2db/GuestBook.java
@@ -1,31 +1,31 @@
package h2db;
import java.sql.SQLException;
import java.util.Scanner;
/**
* Hello world!
*/
publ... | true | true | public static void main(String[] args) throws SQLException, ClassNotFoundException {
GuestBookControllerImpl guestBookController;
guestBookController = new GuestBookControllerImpl("guestbook", "SYSDBA", "MASTERKEY");
for (Record rec : guestBookController.getRecords()) {
rec.pri... | public static void main(String[] args) throws SQLException, ClassNotFoundException {
GuestBookControllerImpl guestBookController;
guestBookController = new GuestBookControllerImpl("guestbook", "SYSDBA", "MASTERKEY");
for (Record rec : guestBookController.getRecords()) {
rec.pri... |
diff --git a/plugins/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/ViewerClassPathHelper.java b/plugins/org.eclipse.birt.report.viewer/src/org/eclipse/birt/report/viewer/utilities/ViewerClassPathHelper.java
index 55281cac..82e7fd9b 100644
--- a/plugins/org.eclipse.birt.report.viewer/src/or... | true | true | public static URL[] getWorkspaceClassPath( String reportFilePath )
{
ArrayList<URL> urls = new ArrayList<URL>( );
try
{
IReportClasspathResolver provider = ReportPlugin.getDefault( )
.getReportClasspathResolverService( );
if ( provider != null )
{
String[] classpaths = provider.resolveClassp... | public static URL[] getWorkspaceClassPath( String reportFilePath )
{
ArrayList<URL> urls = new ArrayList<URL>( );
try
{
IReportClasspathResolver provider = ReportPlugin.getDefault( )
.getReportClasspathResolverService( );
if ( provider != null )
{
String[] classpaths = provider.resolveClassp... |
diff --git a/components/bio-formats/src/loci/formats/in/PDSReader.java b/components/bio-formats/src/loci/formats/in/PDSReader.java
index d9d3d1b20..4ad9e8ce6 100644
--- a/components/bio-formats/src/loci/formats/in/PDSReader.java
+++ b/components/bio-formats/src/loci/formats/in/PDSReader.java
@@ -1,284 +1,287 @@
//
//... | true | true | protected void initFile(String id) throws FormatException, IOException {
if (!checkSuffix(id, "hdr")) {
String headerFile = id.substring(0, id.lastIndexOf(".")) + ".hdr";
if (!new Location(headerFile).exists()) {
headerFile = id.substring(0, id.lastIndexOf(".")) + ".HDR";
if (!new Loca... | protected void initFile(String id) throws FormatException, IOException {
if (!checkSuffix(id, "hdr")) {
String headerFile = id.substring(0, id.lastIndexOf(".")) + ".hdr";
if (!new Location(headerFile).exists()) {
headerFile = id.substring(0, id.lastIndexOf(".")) + ".HDR";
if (!new Loca... |
diff --git a/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/rulebuilder/ui/ConstraintValueEditor.java b/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/rulebuilder/ui/ConstraintValueEditor.java
index 9672676f..61cd5891 100644
--- a/drools-eclipse/org.drools.eclipse/src/main/java/o... | true | true | private void literalValueEditor(Composite parent,
final ISingleFieldConstraint c,
GridData gd) {
String fieldName = ((SingleFieldConstraint) c).fieldName;
DropDownData enums = modeller.getSuggestionCompletionEngine().getEnums( ... | private void literalValueEditor(Composite parent,
final ISingleFieldConstraint c,
GridData gd) {
String fieldName = ((SingleFieldConstraint) c).fieldName;
DropDownData enums = modeller.getSuggestionCompletionEngine().getEnums( ... |
diff --git a/test/core/001-black-diamond-vanilla-condor/BlackDiamondDAX.java b/test/core/001-black-diamond-vanilla-condor/BlackDiamondDAX.java
index d22d3f3ad..08541f09f 100644
--- a/test/core/001-black-diamond-vanilla-condor/BlackDiamondDAX.java
+++ b/test/core/001-black-diamond-vanilla-condor/BlackDiamondDAX.java
@@ ... | false | true | private static ADAG Diamond(String pegasus_location) throws Exception {
java.io.File cwdFile = new java.io.File (".");
String cwd = cwdFile.getCanonicalPath();
ADAG dax = new ADAG("blackdiamond");
File fa = new File("f.a");
fa.addPhysicalFile("file://" + cwd + "/f.a", "lo... | private static ADAG Diamond(String pegasus_location) throws Exception {
java.io.File cwdFile = new java.io.File (".");
String cwd = cwdFile.getCanonicalPath();
ADAG dax = new ADAG("blackdiamond");
File fa = new File("f.a");
fa.addPhysicalFile("file://" + cwd + "/f.a", "lo... |
diff --git a/52n-wps-server/src/main/java/org/n52/wps/server/response/ResponseData.java b/52n-wps-server/src/main/java/org/n52/wps/server/response/ResponseData.java
index 96c6964e..cdecd8b1 100644
--- a/52n-wps-server/src/main/java/org/n52/wps/server/response/ResponseData.java
+++ b/52n-wps-server/src/main/java/org/n52... | false | true | public ResponseData(IData obj, String id, String schema, String encoding,
String mimeType, String algorithmIdentifier, ProcessDescriptionType description) throws ExceptionReport {
this.obj = obj;
this.id = id;
this.algorithmIdentifier = algorithmIdentifier;
this.description = description;
OutputDesc... | public ResponseData(IData obj, String id, String schema, String encoding,
String mimeType, String algorithmIdentifier, ProcessDescriptionType description) throws ExceptionReport {
this.obj = obj;
this.id = id;
this.algorithmIdentifier = algorithmIdentifier;
this.description = description;
this.encodin... |
diff --git a/src/me/silentdojo/prestige/PrestigeCommandExecutor.java b/src/me/silentdojo/prestige/PrestigeCommandExecutor.java
index 8b51b53..04cde38 100644
--- a/src/me/silentdojo/prestige/PrestigeCommandExecutor.java
+++ b/src/me/silentdojo/prestige/PrestigeCommandExecutor.java
@@ -1,200 +1,200 @@
package me.silentd... | true | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if(command.getName().equalsIgnoreCase("prestige")){
if(args.length == 0){
sender.sendMessage(ChatColor.UNDERLINE + " ");
s... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if(command.getName().equalsIgnoreCase("prestige")){
if(args.length == 0){
sender.sendMessage(ChatColor.UNDERLINE + " ");
s... |
diff --git a/wings2/src/java/org/wings/plaf/css/FrameCG.java b/wings2/src/java/org/wings/plaf/css/FrameCG.java
index 351ab459..7badb742 100644
--- a/wings2/src/java/org/wings/plaf/css/FrameCG.java
+++ b/wings2/src/java/org/wings/plaf/css/FrameCG.java
@@ -1,376 +1,376 @@
/*
* $Id$
* Copyright 2000,2005 wingS develo... | true | true | public void write(final Device device, final SComponent _c)
throws IOException {
if (!_c.isVisible()) return;
_c.fireRenderEvent(SComponent.START_RENDERING);
final SFrame component = (SFrame) _c;
Browser browser = SessionManager.getSession().getUserAgent();
SFram... | public void write(final Device device, final SComponent _c)
throws IOException {
if (!_c.isVisible()) return;
_c.fireRenderEvent(SComponent.START_RENDERING);
final SFrame component = (SFrame) _c;
Browser browser = SessionManager.getSession().getUserAgent();
SFram... |
diff --git a/src/com/googlecode/jmeter/plugins/webdriver/sampler/gui/WebDriverSamplerGui.java b/src/com/googlecode/jmeter/plugins/webdriver/sampler/gui/WebDriverSamplerGui.java
index 2a2fb60a..65f275c6 100644
--- a/src/com/googlecode/jmeter/plugins/webdriver/sampler/gui/WebDriverSamplerGui.java
+++ b/src/com/googlecode... | true | true | private JPanel createScriptPanel() {
script = new JEditorPane();
final JScrollPane scrollPane = new JScrollPane(script);
script.setContentType("text/javascript");
script.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 14));
final JLabel label = new JLabel("Script (see below for variabl... | private JPanel createScriptPanel() {
script = new JEditorPane();
final JScrollPane scrollPane = new JScrollPane(script);
script.setContentType("text/javascript");
script.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 14));
final JLabel label = new JLabel("Script (see below for variabl... |
diff --git a/src/main/java/com/redhat/ceylon/compiler/js/TypeUtils.java b/src/main/java/com/redhat/ceylon/compiler/js/TypeUtils.java
index 79a91e90..92ab7ef5 100644
--- a/src/main/java/com/redhat/ceylon/compiler/js/TypeUtils.java
+++ b/src/main/java/com/redhat/ceylon/compiler/js/TypeUtils.java
@@ -1,685 +1,685 @@
pack... | false | true | static void encodeForRuntime(final Declaration d, final GenerateJsVisitor gen, final RuntimeMetamodelAnnotationGenerator annGen) {
gen.out("function(){return{mod:$$METAMODEL$$");
List<TypeParameter> tparms = null;
List<ProducedType> satisfies = null;
if (d instanceof com.redhat.ceylo... | static void encodeForRuntime(final Declaration d, final GenerateJsVisitor gen, final RuntimeMetamodelAnnotationGenerator annGen) {
gen.out("function(){return{mod:$$METAMODEL$$");
List<TypeParameter> tparms = null;
List<ProducedType> satisfies = null;
if (d instanceof com.redhat.ceylo... |
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java
index 76f37692..0fb63750 100644
--- a/bundles/org.eclipse.e4.tools.emf.editor... | true | true | public void findContribution(final Filter filter, final ContributionResultHandler handler) {
System.err.println("Searching for: " + filter.namePattern);
IJavaSearchScope scope = PDEJavaHelper.getSearchScope(filter.project);
char[] packageName = null;
char[] typeName = null;
String currentContent = fil... | public void findContribution(final Filter filter, final ContributionResultHandler handler) {
System.err.println("Searching for: " + filter.namePattern);
IJavaSearchScope scope = PDEJavaHelper.getSearchScope(filter.project);
char[] packageName = null;
char[] typeName = null;
String currentContent = fil... |
diff --git a/src/de/thiemonagel/vegdroid/EntryActivity.java b/src/de/thiemonagel/vegdroid/EntryActivity.java
index 98e7ede..01eac01 100644
--- a/src/de/thiemonagel/vegdroid/EntryActivity.java
+++ b/src/de/thiemonagel/vegdroid/EntryActivity.java
@@ -1,113 +1,114 @@
package de.thiemonagel.vegdroid;
import android.app... | true | true | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_entry);
Intent i = getIntent();
int VenueId = i.getIntExtra( "VenueId", -1 );
mVenue = Global.getInstance(this).venues.get(VenueId);
if ( mVenue == ... | public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_entry);
Intent i = getIntent();
int VenueId = i.getIntExtra( "VenueId", -1 );
mVenue = Global.getInstance(this).venues.get(VenueId);
if ( mVenue == ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.