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/info/ata4/bspsrc/cli/BspSourceCli.java b/src/info/ata4/bspsrc/cli/BspSourceCli.java
index 256565a..79d6035 100644
--- a/src/info/ata4/bspsrc/cli/BspSourceCli.java
+++ b/src/info/ata4/bspsrc/cli/BspSourceCli.java
@@ -1,352 +1,352 @@
/*
** 2011 April 5
**
** The author disclaims copyright to this sou... | false | true | public BspSourceConfig getConfig(String[] args) {
BspSourceConfig config = new BspSourceConfig();
// basic options
Option helpOpt, versionOpt, debugOpt, outputOpt, recursiveOpt;
optsMain.addOption(helpOpt = new Option("h", "Print this help."));
optsMain.addOption(ver... | public BspSourceConfig getConfig(String[] args) {
BspSourceConfig config = new BspSourceConfig();
// basic options
Option helpOpt, versionOpt, debugOpt, outputOpt, recursiveOpt;
optsMain.addOption(helpOpt = new Option("h", "Print this help."));
optsMain.addOption(ver... |
diff --git a/service/src/main/java/com/pms/service/controller/interceptor/ApiFilter.java b/service/src/main/java/com/pms/service/controller/interceptor/ApiFilter.java
index 10dd869d..5f49069a 100644
--- a/service/src/main/java/com/pms/service/controller/interceptor/ApiFilter.java
+++ b/service/src/main/java/com/pms/ser... | false | true | public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException {
HttpServletRequest srequest = (HttpServletRequest) request;
if (srequest.getSession().getAttribute(UserBean.USER_ID) != null) {
ApiThreadLocal.set(UserBe... | public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException {
HttpServletRequest srequest = (HttpServletRequest) request;
if (srequest.getSession().getAttribute(UserBean.USER_ID) != null) {
ApiThreadLocal.set(UserBe... |
diff --git a/src/driver/GUIDriver.java b/src/driver/GUIDriver.java
index 0f8064f..4aaa5b5 100644
--- a/src/driver/GUIDriver.java
+++ b/src/driver/GUIDriver.java
@@ -1,593 +1,594 @@
package driver;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Grap... | false | true | public static void main(String[] args) {
// Create game window...
JFrame app = new JFrame();
app.setIgnoreRepaint(true);
app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Create canvas for painting...
Canvas canvas = new Canvas();
canvas.setIgnoreRepaint(true);
canvas.setSize(1200, 480);
//... | public static void main(String[] args) {
// Create game window...
JFrame app = new JFrame();
app.setIgnoreRepaint(true);
app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Create canvas for painting...
Canvas canvas = new Canvas();
canvas.setIgnoreRepaint(true);
canvas.setSize(1200, 480);
//... |
diff --git a/src/uk/co/richardgoater/stats/persistence/DefenseGameData.java b/src/uk/co/richardgoater/stats/persistence/DefenseGameData.java
index 95e4d19..8bd98f6 100644
--- a/src/uk/co/richardgoater/stats/persistence/DefenseGameData.java
+++ b/src/uk/co/richardgoater/stats/persistence/DefenseGameData.java
@@ -1,211 +... | true | true | public DefenseGameData(Number playerid, Number tckl, Number solo,
Number assist, Number sck, Number sckYds, Number qbHurry,
Number ints, Number intYds, Number bp, Number ff, Number fr,
Number frYds, Number td, Number safety, Number bk)
{
this.playerid = playerid.intValue();
this.tckl = tckl.intValue();
... | public DefenseGameData(Number playerid, Number tckl, Number solo,
Number assist, Number sck, Number sckYds, Number qbHurry,
Number ints, Number intYds, Number bp, Number ff, Number fr,
Number frYds, Number td, Number safety, Number bk)
{
this.playerid = playerid.intValue();
this.tckl = tckl.intValue();
... |
diff --git a/src/main/java/fr/ribesg/alix/api/bot/command/Command.java b/src/main/java/fr/ribesg/alix/api/bot/command/Command.java
index ca9506f..cfb1501 100644
--- a/src/main/java/fr/ribesg/alix/api/bot/command/Command.java
+++ b/src/main/java/fr/ribesg/alix/api/bot/command/Command.java
@@ -1,210 +1,210 @@
package fr... | true | true | public Command(final CommandManager manager, final String name, final String[] usage, final boolean restricted, final Set<String> allowedNickNames, final String... aliases) {
if (!restricted && allowedNickNames != null) {
throw new IllegalArgumentException("A public Command should not have allowedNickNames, did y... | public Command(final CommandManager manager, final String name, final String[] usage, final boolean restricted, final Set<String> allowedNickNames, final String... aliases) {
if (!restricted && allowedNickNames != null) {
throw new IllegalArgumentException("A public Command should not have allowedNickNames, did y... |
diff --git a/src/main/java/hudson/plugins/label_verifier/verifiers/ShellScriptVerifier.java b/src/main/java/hudson/plugins/label_verifier/verifiers/ShellScriptVerifier.java
index 6c255a1..5dd57be 100644
--- a/src/main/java/hudson/plugins/label_verifier/verifiers/ShellScriptVerifier.java
+++ b/src/main/java/hudson/plugi... | false | true | public void verify(LabelAtom label, Computer c, Channel channel, FilePath root, TaskListener listener) throws IOException, InterruptedException {
Shell shell = new Shell(this.script);
FilePath script = shell.createScriptFile(root);
shell.buildCommandLine(script);
int r = root.create... | public void verify(LabelAtom label, Computer c, Channel channel, FilePath root, TaskListener listener) throws IOException, InterruptedException {
Shell shell = new Shell(this.script);
FilePath script = shell.createScriptFile(root);
shell.buildCommandLine(script);
listener.getLogger(... |
diff --git a/java/src/eu/semaine/components/dialogue/actionproposers/UtteranceActionProposer.java b/java/src/eu/semaine/components/dialogue/actionproposers/UtteranceActionProposer.java
index 12924d9f..897e84a0 100644
--- a/java/src/eu/semaine/components/dialogue/actionproposers/UtteranceActionProposer.java
+++ b/java/s... | true | true | public void react( SEMAINEMessage m ) throws JMSException
{
if( m instanceof SEMAINEFeatureMessage ) {
/* Process AudioFeatures */
if( isStoringFeatures ) {
SEMAINEFeatureMessage fm = (SEMAINEFeatureMessage)m;
/* Reads the feature names and values */
String[] featureNames = fm.getFeatureNames... | public void react( SEMAINEMessage m ) throws JMSException
{
if( m instanceof SEMAINEFeatureMessage ) {
/* Process AudioFeatures */
if( isStoringFeatures ) {
SEMAINEFeatureMessage fm = (SEMAINEFeatureMessage)m;
/* Reads the feature names and values */
String[] featureNames = fm.getFeatureNames... |
diff --git a/E-Adventure/src/es/eucm/eadventure/engine/core/control/functionaldata/FunctionalScene.java b/E-Adventure/src/es/eucm/eadventure/engine/core/control/functionaldata/FunctionalScene.java
index 772edc5f..58d67d25 100644
--- a/E-Adventure/src/es/eucm/eadventure/engine/core/control/functionaldata/FunctionalScene... | false | true | public void updateScene( ) {
// Update the resources and the player's resources
updateResources( );
player.updateResources( );
// Pick the game data
Chapter gameData = Game.getInstance( ).getCurrentChapterData( );
// Check the item references of the scene
f... | public void updateScene( ) {
// Update the resources and the player's resources
updateResources( );
player.updateResources( );
// Pick the game data
Chapter gameData = Game.getInstance( ).getCurrentChapterData( );
// Check the item references of the scene
f... |
diff --git a/src/joshua/tools/GrammarPacker.java b/src/joshua/tools/GrammarPacker.java
index f0ba85d4..06e8ae65 100644
--- a/src/joshua/tools/GrammarPacker.java
+++ b/src/joshua/tools/GrammarPacker.java
@@ -1,753 +1,753 @@
package joshua.tools;
import java.io.BufferedOutputStream;
import java.io.DataOutputStream;
... | true | true | private PackedChunk flush(PackingTrie<SourceValue> source_trie,
PackingTrie<TargetValue> target_trie, PackingBuffer data_buffer,
int id) throws IOException {
// Make a chunk object for this piece of the grammar.
PackedChunk chunk = new PackedChunk("chunk_" + String.format("%05d", id));
// Pull out the str... | private PackedChunk flush(PackingTrie<SourceValue> source_trie,
PackingTrie<TargetValue> target_trie, PackingBuffer data_buffer,
int id) throws IOException {
// Make a chunk object for this piece of the grammar.
PackedChunk chunk = new PackedChunk("chunk_" + String.format("%05d", id));
// Pull out the str... |
diff --git a/AE-go_GameServer/src/com/aionemu/gameserver/ShutdownHook.java b/AE-go_GameServer/src/com/aionemu/gameserver/ShutdownHook.java
index 5000c271..7b338910 100644
--- a/AE-go_GameServer/src/com/aionemu/gameserver/ShutdownHook.java
+++ b/AE-go_GameServer/src/com/aionemu/gameserver/ShutdownHook.java
@@ -1,179 +1,... | false | true | private static void shutdownHook(int duration, int interval, ShutdownMode mode)
{
for(int i = duration; i >= interval; i -= interval)
{
log.info("System is closing in " + i + " seconds.");
sendShutdownMessage(i);
sendShutdownStatus(true);
try
{
if(!world.getPlayersIterator().hasNext())
{
... | private static void shutdownHook(int duration, int interval, ShutdownMode mode)
{
for(int i = duration; i >= interval; i -= interval)
{
try
{
if(world.getPlayersIterator().hasNext())
{
log.info("Runtime is closing in " + i + " seconds.");
sendShutdownMessage(i);
sendShutdownStatus(tr... |
diff --git a/project-set/core/core-lib/src/test/java/com/rackspace/papi/filter/RequestFilterChainStateTest.java b/project-set/core/core-lib/src/test/java/com/rackspace/papi/filter/RequestFilterChainStateTest.java
index 5afbf107c4..f03b70e36a 100644
--- a/project-set/core/core-lib/src/test/java/com/rackspace/papi/filter... | true | true | public void shouldDoFilter() throws IOException, ServletException, NamingException, PowerFilterChainException {
List<FilterContext> filterContextList = new ArrayList<FilterContext>();
Filter mockedFilter = mock(Filter.class);
FilterContext mockedFilterContext = mock(FilterCon... | public void shouldDoFilter() throws IOException, ServletException, NamingException, PowerFilterChainException {
List<FilterContext> filterContextList = new ArrayList<FilterContext>();
Filter mockedFilter = mock(Filter.class);
FilterContext mockedFilterContext = mock(FilterCon... |
diff --git a/src/org/mozilla/javascript/optimizer/Optimizer.java b/src/org/mozilla/javascript/optimizer/Optimizer.java
index 55294307..746bd0dd 100644
--- a/src/org/mozilla/javascript/optimizer/Optimizer.java
+++ b/src/org/mozilla/javascript/optimizer/Optimizer.java
@@ -1,507 +1,510 @@
/* ***** BEGIN LICENSE BLOCK ***... | true | true | private int rewriteForNumberVariables(Node n, int desired)
{
switch (n.getType()) {
case Token.EXPR_VOID : {
Node child = n.getFirstChild();
int type = rewriteForNumberVariables(child, NumberType);
if (type == NumberType)
... | private int rewriteForNumberVariables(Node n, int desired)
{
switch (n.getType()) {
case Token.EXPR_VOID : {
Node child = n.getFirstChild();
int type = rewriteForNumberVariables(child, NumberType);
if (type == NumberType)
... |
diff --git a/src/minecraft/dark/core/network/fluid/NetworkFluidContainers.java b/src/minecraft/dark/core/network/fluid/NetworkFluidContainers.java
index c0a8f277..cc15da7a 100644
--- a/src/minecraft/dark/core/network/fluid/NetworkFluidContainers.java
+++ b/src/minecraft/dark/core/network/fluid/NetworkFluidContainers.ja... | true | true | public void writeDataToTiles()
{
int fluid = this.combinedStorage().getFluid().fluidID;
int volume = Math.abs(this.combinedStorage().getFluid().amount);
NBTTagCompound tag = this.combinedStorage().getFluid().tag;
int lowestY = 255;
int highestY = 0;
this.cleanUp... | public void writeDataToTiles()
{
if(this.combinedStorage() == null || this.combinedStorage().getFluid() == null)
{
return;
}
int fluid = this.combinedStorage().getFluid().fluidID;
int volume = Math.abs(this.combinedStorage().getFluid().amount);
NBTTagC... |
diff --git a/src/main/java/net/pms/network/RequestHandler.java b/src/main/java/net/pms/network/RequestHandler.java
index 937cdb9b9..8a4a145a1 100644
--- a/src/main/java/net/pms/network/RequestHandler.java
+++ b/src/main/java/net/pms/network/RequestHandler.java
@@ -1,288 +1,288 @@
/*
* PS3 Media Server, for streaming... | true | true | public void run() {
Request request = null;
StartStopListenerDelegate startStopListenerDelegate = new StartStopListenerDelegate(socket.getInetAddress().getHostAddress());
try {
int receivedContentLength = -1;
String headerLine = br.readLine();
String userAgentString = null;
StringBuilder unknownHead... | public void run() {
Request request = null;
StartStopListenerDelegate startStopListenerDelegate = new StartStopListenerDelegate(socket.getInetAddress().getHostAddress());
try {
int receivedContentLength = -1;
String headerLine = br.readLine();
String userAgentString = null;
StringBuilder unknownHead... |
diff --git a/stella-boleto/src/main/java/br/com/caelum/stella/boleto/transformer/PNGPDFTransformerHelper.java b/stella-boleto/src/main/java/br/com/caelum/stella/boleto/transformer/PNGPDFTransformerHelper.java
index 9ed8e95d..a355f6f1 100644
--- a/stella-boleto/src/main/java/br/com/caelum/stella/boleto/transformer/PNGPD... | false | true | public TextWriter transform(Boleto boleto) {
// gera template com o fundo do boleto
try {
this.writer.writeImage(0, 55, imageFor(imagemTitulo), 514.22f,
385.109f);
this.writer.writeImage(0, 805 - 486, imageFor(boleto.getBanco()
.getImage()), 100, 23);
} catch (IOException e) {
throw new Geraca... | public TextWriter transform(Boleto boleto) {
// gera template com o fundo do boleto
try {
this.writer.writeImage(0, 55, imageFor(imagemTitulo), 514.22f,
385.109f);
this.writer.writeImage(0, 805 - 486, imageFor(boleto.getBanco()
.getImage()), 100, 23);
} catch (IOException e) {
throw new Geraca... |
diff --git a/src/com/android/gallery3d/ui/TileImageView.java b/src/com/android/gallery3d/ui/TileImageView.java
index eb5da891..7e811fc0 100644
--- a/src/com/android/gallery3d/ui/TileImageView.java
+++ b/src/com/android/gallery3d/ui/TileImageView.java
@@ -1,757 +1,757 @@
/*
* Copyright (C) 2010 The Android Open Sourc... | false | true | private void layoutTiles(int centerX, int centerY, float scale, int rotation) {
// The width and height of this view.
int width = getWidth();
int height = getHeight();
// The tile levels we want to keep as texture is in the range
// [fromLevel, endLevel).
int fromLev... | private void layoutTiles(int centerX, int centerY, float scale, int rotation) {
// The width and height of this view.
int width = getWidth();
int height = getHeight();
// The tile levels we want to keep as texture is in the range
// [fromLevel, endLevel).
int fromLev... |
diff --git a/src/com/bjorsond/android/timeline/TimelineActivity.java b/src/com/bjorsond/android/timeline/TimelineActivity.java
index ec3246d..6cab076 100644
--- a/src/com/bjorsond/android/timeline/TimelineActivity.java
+++ b/src/com/bjorsond/android/timeline/TimelineActivity.java
@@ -1,1440 +1,1440 @@
/***************... | false | true | protected void onActivityResult(int requestCode, int resultCode, Intent data) {
switch (requestCode) {
case Constants.CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE:
if (resultCode == RESULT_OK) {
Log.i(this.getClass().getSimpleName(), "********* PICTURE CREATED **************");
Toast.... | protected void onActivityResult(int requestCode, int resultCode, Intent data) {
switch (requestCode) {
case Constants.CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE:
if (resultCode == RESULT_OK) {
Log.i(this.getClass().getSimpleName(), "********* PICTURE CREATED **************");
Toast.... |
diff --git a/src/run/SimPL.java b/src/run/SimPL.java
index 071a3ae..61e1eb6 100644
--- a/src/run/SimPL.java
+++ b/src/run/SimPL.java
@@ -1,297 +1,300 @@
package run;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import... | true | true | public static void run(String infile, String outfile, boolean printPrompt) {
Scanner in = null;
PrintWriter out = null;
Scanner pipereader = null;
PrintWriter pipeWriter = null;
try {
// create input scanner
if (infile == null || infile.isEmpty()) {
in = new Scanner(System.in);
} else {
in =... | public static void run(String infile, String outfile, boolean printPrompt) {
Scanner in = null;
PrintWriter out = null;
Scanner pipereader = null;
PrintWriter pipeWriter = null;
try {
// create input scanner
if (infile == null || infile.isEmpty()) {
in = new Scanner(System.in);
} else {
in =... |
diff --git a/net.mysocio.default-ui-manager/src/main/java/net/mysocio/ui/executors/basic/likeMessageExecutor.java b/net.mysocio.default-ui-manager/src/main/java/net/mysocio/ui/executors/basic/likeMessageExecutor.java
index de2291a..b240b5e 100644
--- a/net.mysocio.default-ui-manager/src/main/java/net/mysocio/ui/executo... | true | true | public String execute(IConnectionData connectionData)
throws CommandExecutionException {
IDataManager dataManager = DataManagerFactory.getDataManager();
String accounts = connectionData.getRequestParameter("accounts");
String messageId = connectionData.getRequestParameter("messageId");
SocioUser user = data... | public String execute(IConnectionData connectionData)
throws CommandExecutionException {
IDataManager dataManager = DataManagerFactory.getDataManager();
String accounts = connectionData.getRequestParameter("accounts");
String messageId = connectionData.getRequestParameter("messageId");
SocioUser user = data... |
diff --git a/src/com/ichi2/anki/Deck.java b/src/com/ichi2/anki/Deck.java
index 8b9e34b5..0371dfd1 100644
--- a/src/com/ichi2/anki/Deck.java
+++ b/src/com/ichi2/anki/Deck.java
@@ -1,4335 +1,4335 @@
/****************************************************************************************
* Copyright (c) 2009 Daniel Sv... | true | true | private boolean upgradeDeck() {
// Oldest versions in existence are 31 as of 11/07/2010
// We support upgrading from 39 and up.
// Unsupported are about 135 decks, missing about 6% as of 11/07/2010
//
double oldmod = mModified;
upgradeNotes = new ArrayList<Integer>()... | private boolean upgradeDeck() {
// Oldest versions in existence are 31 as of 11/07/2010
// We support upgrading from 39 and up.
// Unsupported are about 135 decks, missing about 6% as of 11/07/2010
//
double oldmod = mModified;
upgradeNotes = new ArrayList<Integer>()... |
diff --git a/src/main/java/com/saplo/api/client/HTTPSessionApache.java b/src/main/java/com/saplo/api/client/HTTPSessionApache.java
index 8388399..c47d22a 100644
--- a/src/main/java/com/saplo/api/client/HTTPSessionApache.java
+++ b/src/main/java/com/saplo/api/client/HTTPSessionApache.java
@@ -1,196 +1,196 @@
/**
*
... | true | true | public JSONRPCResponseObject sendAndReceive(JSONRPCRequestObject message)
throws JSONException, SaploClientException {
HttpPost httpost = new HttpPost(uri+"?"+params);
ByteArrayEntity ent = new ByteArrayEntity(message.toString().getBytes());
ent.setContentEncoding(HTTP.UTF_8);
ent.setContentType("applicati... | public JSONRPCResponseObject sendAndReceive(JSONRPCRequestObject message)
throws JSONException, SaploClientException {
HttpPost httpost = new HttpPost(uri+"?"+params);
ByteArrayEntity ent = new ByteArrayEntity(message.toString().getBytes(Charset.forName("UTF-8")));
ent.setContentEncoding(HTTP.UTF_8);
ent.s... |
diff --git a/src/com/sas/comp/server/EmbeddedServer.java b/src/com/sas/comp/server/EmbeddedServer.java
index 8599b61..2353a48 100644
--- a/src/com/sas/comp/server/EmbeddedServer.java
+++ b/src/com/sas/comp/server/EmbeddedServer.java
@@ -1,35 +1,35 @@
package com.sas.comp.server;
import org.apache.catalina.core.AprL... | true | true | private void start() throws Exception {
final String appBase = "";
final Integer port = 80;
final Tomcat tomcat = new Tomcat();
tomcat.setPort(port);
tomcat.setBaseDir("./web");
tomcat.getHost().setAppBase(appBase);
final String contextPath = "/";
// Add AprLifecycleListener
StandardServer server... | private void start() throws Exception {
final String appBase = "";
final Integer port = 8080;
final Tomcat tomcat = new Tomcat();
tomcat.setPort(port);
tomcat.setBaseDir("./web");
tomcat.getHost().setAppBase(appBase);
final String contextPath = "/";
// Add AprLifecycleListener
StandardServer serv... |
diff --git a/src/com/cyanogenmod/filemanager/ui/widgets/DirectoryInlineAutocompleteTextView.java b/src/com/cyanogenmod/filemanager/ui/widgets/DirectoryInlineAutocompleteTextView.java
index b674d98..6ab3017 100644
--- a/src/com/cyanogenmod/filemanager/ui/widgets/DirectoryInlineAutocompleteTextView.java
+++ b/src/com/cya... | true | true | public void onTextChanged(String newValue, List<String> currentFilterData) {
String value = newValue;
//Check if directory is valid
if (value.length() == 0) {
if (this.mOnValidationListener != null) {
this.mOnValidationListener.onVoidValue();
}
... | public void onTextChanged(String newValue, List<String> currentFilterData) {
String value = newValue;
//Check if directory is valid
if (value.length() == 0) {
if (this.mOnValidationListener != null) {
this.mOnValidationListener.onVoidValue();
}
... |
diff --git a/src/main/java/com/authdb/util/Util.java b/src/main/java/com/authdb/util/Util.java
index e504670..8a8bd98 100644
--- a/src/main/java/com/authdb/util/Util.java
+++ b/src/main/java/com/authdb/util/Util.java
@@ -1,1538 +1,1539 @@
/**
(C) Copyright 2011 CraftFire <dev@craftfire.com>
Contex <contex@craftfire.... | false | true | public static boolean checkScript(String type, String script, String player, String password,
String email, String ipAddress) throws SQLException {
boolean caseSensitive = false;
if (Util.databaseManager.getDatabaseType().equalsIgnoreCase("ebean")) {
EBean eBeanClass = EBean.checkPla... | public static boolean checkScript(String type, String script, String player, String password,
String email, String ipAddress) throws SQLException {
boolean caseSensitive = false;
if (Util.databaseManager.getDatabaseType().equalsIgnoreCase("ebean")) {
EBean eBeanClass = EBean.checkPla... |
diff --git a/src/main/java/com/lebelw/Tickets/commands/TemplateCmd.java b/src/main/java/com/lebelw/Tickets/commands/TemplateCmd.java
index e3ead79..5595557 100644
--- a/src/main/java/com/lebelw/Tickets/commands/TemplateCmd.java
+++ b/src/main/java/com/lebelw/Tickets/commands/TemplateCmd.java
@@ -1,337 +1,341 @@
packag... | true | true | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
boolean handled = false;
if (is(label, "ticket")) {
if (args == null || args.length == 0) {
handled = true;
if (isPlayer(sender)){
String name = getName(sender);
... | public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
boolean handled = false;
if (is(label, "ticket")) {
if (args == null || args.length == 0) {
handled = true;
if (isPlayer(sender)){
String name = getName(sender);
... |
diff --git a/src/gwt/src/org/rstudio/studio/client/common/FilePathUtils.java b/src/gwt/src/org/rstudio/studio/client/common/FilePathUtils.java
index b480c31d00..0006f1b5f9 100644
--- a/src/gwt/src/org/rstudio/studio/client/common/FilePathUtils.java
+++ b/src/gwt/src/org/rstudio/studio/client/common/FilePathUtils.java
@... | true | true | public static String normalizePath (String path, String workingDirectory)
{
// Examine the path to see if it appears to be absolute. An absolute path
// - begins with ~ , or
// - begins with / (Unix-like systems), or
// - begins with F:/ (Windows systems), where F is an alphabetic drive
// l... | public static String normalizePath (String path, String workingDirectory)
{
// Examine the path to see if it appears to be absolute. An absolute path
// - begins with ~ , or
// - begins with / (Unix-like systems), or
// - begins with F:/ (Windows systems), where F is an alphabetic drive
... |
diff --git a/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/HostAddressDecoderTest.java b/kerberos-codec/src/test/java/org/apache/directory/shared/kerberos/codec/HostAddressDecoderTest.java
index f4ebe5a67a..6a4cc2d76e 100644
--- a/kerberos-codec/src/test/java/org/apache/directory/shared/kerber... | true | true | public void testHostAddress()
{
Asn1Decoder kerberosDecoder = new Asn1Decoder();
ByteBuffer stream = ByteBuffer.allocate( 0x16 );
stream.put( new byte[]
{ 0x30, 0x14,
(byte)0xA0, 0x03, // addr-type
0x02, 0x01, 0x02, ... | public void testHostAddress()
{
Asn1Decoder kerberosDecoder = new Asn1Decoder();
ByteBuffer stream = ByteBuffer.allocate( 0x16 );
stream.put( new byte[]
{ 0x30, 0x14,
(byte)0xA0, 0x03, // addr-type
0x02, 0x01, 0x02, ... |
diff --git a/src/web/org/codehaus/groovy/grails/web/metaclass/RenderDynamicMethod.java b/src/web/org/codehaus/groovy/grails/web/metaclass/RenderDynamicMethod.java
index 967fac51b..0fdd433fd 100644
--- a/src/web/org/codehaus/groovy/grails/web/metaclass/RenderDynamicMethod.java
+++ b/src/web/org/codehaus/groovy/grails/we... | true | true | public Object invoke(Object target, Object[] arguments) {
if(arguments.length == 0)
throw new MissingMethodException(METHOD_SIGNATURE,target.getClass(),arguments);
boolean renderView = true;
GroovyObject controller = (GroovyObject)target;
if((arguments[0] instanceof Stri... | public Object invoke(Object target, Object[] arguments) {
if(arguments.length == 0)
throw new MissingMethodException(METHOD_SIGNATURE,target.getClass(),arguments);
boolean renderView = true;
GroovyObject controller = (GroovyObject)target;
if((arguments[0] instanceof Stri... |
diff --git a/EnrichmentAnalysisUI/src/org/mongkie/ui/enrichment/EnrichmentChooserTopComponent.java b/EnrichmentAnalysisUI/src/org/mongkie/ui/enrichment/EnrichmentChooserTopComponent.java
index dd098a3..4884166 100644
--- a/EnrichmentAnalysisUI/src/org/mongkie/ui/enrichment/EnrichmentChooserTopComponent.java
+++ b/Enric... | true | true | private void initComponents() {
selectionButtonGroup = new javax.swing.ButtonGroup();
enrichmentComboBox = new javax.swing.JComboBox();
infoLabel = new javax.swing.JLabel();
selectionSeparator = new org.jdesktop.swingx.JXTitledSeparator();
wholeNetworkButton = new javax.swin... | private void initComponents() {
selectionButtonGroup = new javax.swing.ButtonGroup();
enrichmentComboBox = new javax.swing.JComboBox();
infoLabel = new javax.swing.JLabel();
selectionSeparator = new org.jdesktop.swingx.JXTitledSeparator();
wholeNetworkButton = new javax.swin... |
diff --git a/src/vehicleShepard/VehicleDB.java b/src/vehicleShepard/VehicleDB.java
index a492336..bd51b93 100644
--- a/src/vehicleShepard/VehicleDB.java
+++ b/src/vehicleShepard/VehicleDB.java
@@ -1,336 +1,336 @@
package vehicleShepard;
/*
* This class is controlling the methods containing
* methods using ou... | true | true | public Object[][] getList()
{
int number = getNumberOfVehicles();
int count = 0;
//We want a list of customers in a 2D Array
Object[][] vehicleList = new Object[number][8];
//We connect to our database
Connection conn = ConnectDB.initConn();
try
{
Statement s = conn.createStatement();
... | public Object[][] getList()
{
int number = getNumberOfVehicles();
int count = 0;
//We want a list of customers in a 2D Array
Object[][] vehicleList = new Object[number][8];
//We connect to our database
Connection conn = ConnectDB.initConn();
try
{
Statement s = conn.createStatement();
... |
diff --git a/user/test/com/google/gwt/i18n/client/I18N_nb_Test.java b/user/test/com/google/gwt/i18n/client/I18N_nb_Test.java
index ede08e82f..88da5d9de 100644
--- a/user/test/com/google/gwt/i18n/client/I18N_nb_Test.java
+++ b/user/test/com/google/gwt/i18n/client/I18N_nb_Test.java
@@ -1,69 +1,69 @@
/*
* Copyright 200... | true | true | public void testCurrency() {
CurrencyList currencyList = CurrencyList.get();
CurrencyData currencyData = currencyList.getDefault();
assertNotNull(currencyData);
assertEquals("NOK", currencyData.getCurrencyCode());
assertEquals("kr", currencyData.getCurrencySymbol());
currencyData = currencyLis... | public void testCurrency() {
CurrencyList currencyList = CurrencyList.get();
CurrencyData currencyData = currencyList.getDefault();
assertNotNull(currencyData);
assertEquals("NOK", currencyData.getCurrencyCode());
assertEquals("kr", currencyData.getCurrencySymbol());
currencyData = currencyLis... |
diff --git a/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java b/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java
index 5ba6fa8c..c6af4639 100644
--- a/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java
+++ b/tests/src/com/fsck/k9/mail/internet/ViewablesTest.java
@@ -1,188 +1,188 @@
package com.fsck.k9.... | true | true | public void testTextPlusRfc822Message() throws MessagingException {
Locale.setDefault(Locale.US);
TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
String bodyText = "Some text here";
String innerBodyText = "Hey there. I'm inside a message/rfc822 (inline) attachment.";
// C... | public void testTextPlusRfc822Message() throws MessagingException {
Locale.setDefault(Locale.US);
TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
String bodyText = "Some text here";
String innerBodyText = "Hey there. I'm inside a message/rfc822 (inline) attachment.";
// C... |
diff --git a/sahi/src/com/redhat/qe/jon/sahi/tests/PluginsTest.java b/sahi/src/com/redhat/qe/jon/sahi/tests/PluginsTest.java
index 381f3801..eefeca99 100644
--- a/sahi/src/com/redhat/qe/jon/sahi/tests/PluginsTest.java
+++ b/sahi/src/com/redhat/qe/jon/sahi/tests/PluginsTest.java
@@ -1,110 +1,111 @@
package com.redhat.q... | true | true | public Object[][] getAgentPluginsData() {
ArrayList<List<Object>> agentPluginsdata = new ArrayList<List<Object>>();
agentPluginsdata.add(Arrays.asList(new Object[]{"Abstract Augeas Plugin", true}));
agentPluginsdata.add(Arrays.asList(new Object[]{"Abstract Database", false}));
agentPluginsdata.add(Arrays.... | public Object[][] getAgentPluginsData() {
ArrayList<List<Object>> agentPluginsdata = new ArrayList<List<Object>>();
agentPluginsdata.add(Arrays.asList(new Object[]{"Abstract Augeas Plugin", true}));
agentPluginsdata.add(Arrays.asList(new Object[]{"Abstract Database", false}));
agentPluginsdata.add(Arrays.... |
diff --git a/src/main/java/org/candlepin/policy/js/compliance/ComplianceRules.java b/src/main/java/org/candlepin/policy/js/compliance/ComplianceRules.java
index 09e289ecb..b90f02603 100644
--- a/src/main/java/org/candlepin/policy/js/compliance/ComplianceRules.java
+++ b/src/main/java/org/candlepin/policy/js/compliance/... | true | true | public ComplianceStatus getStatus(Consumer c, Date date) {
List<Entitlement> ents = entCurator.listByConsumer(c);
JsonJsContext args = new JsonJsContext();
args.put("consumer", c);
args.put("entitlements", ents);
args.put("ondate", date);
args.put("helper", new Comp... | public ComplianceStatus getStatus(Consumer c, Date date) {
List<Entitlement> ents = entCurator.listByConsumer(c);
JsonJsContext args = new JsonJsContext();
args.put("consumer", c);
args.put("entitlements", ents);
args.put("ondate", date);
args.put("helper", new Comp... |
diff --git a/src/com/sonyericsson/chkbugreport/Context.java b/src/com/sonyericsson/chkbugreport/Context.java
index 8d55d11..8bc0768 100644
--- a/src/com/sonyericsson/chkbugreport/Context.java
+++ b/src/com/sonyericsson/chkbugreport/Context.java
@@ -1,34 +1,34 @@
package com.sonyericsson.chkbugreport;
import java.ut... | true | true | public void parseTimeWindow(String timeWindow) {
try {
Matcher m = Pattern.compile("(.*)\\.\\.(.*)").matcher(timeWindow);
if (!m.matches()) {
throw new IllegalArgumentException("Incorrect time window range");
}
mTimeWindowStart = new TimeWindow... | public void parseTimeWindow(String timeWindow) {
try {
Matcher m = Pattern.compile("(.*)\\.\\.(.*)").matcher(timeWindow);
if (!m.matches()) {
throw new IllegalArgumentException("Incorrect time window range");
}
mTimeWindowStart = new TimeWindow... |
diff --git a/src/de/echox/hacklace/pix0lat0r/data/MatrixSerializer.java b/src/de/echox/hacklace/pix0lat0r/data/MatrixSerializer.java
index bb97529..91c3b01 100644
--- a/src/de/echox/hacklace/pix0lat0r/data/MatrixSerializer.java
+++ b/src/de/echox/hacklace/pix0lat0r/data/MatrixSerializer.java
@@ -1,60 +1,60 @@
package ... | false | true | public static byte serialize(boolean[] row) {
byte result = 0;
if(row[0]) {
result += 0x01;
} else if (row[1]) {
result += 0x02;
} else if (row[2]) {
result += 0x04;
} else if (row[3]) {
result += 0x08;
} else if (row[4]) {
result += 0x10;
} else if (row[5]) {
result += 0x20;
} ... | public static byte serialize(boolean[] row) {
byte result = 0;
if(row[0]) {
result += 0x01;
} if (row[1]) {
result += 0x02;
} if (row[2]) {
result += 0x04;
} if (row[3]) {
result += 0x08;
} if (row[4]) {
result += 0x10;
} if (row[5]) {
result += 0x20;
} if (row[6]) {
result +... |
diff --git a/automaatnehindaja/src/automaatnehindaja/TaskstableServlet.java b/automaatnehindaja/src/automaatnehindaja/TaskstableServlet.java
index b8ad20b..9ca867b 100644
--- a/automaatnehindaja/src/automaatnehindaja/TaskstableServlet.java
+++ b/automaatnehindaja/src/automaatnehindaja/TaskstableServlet.java
@@ -1,124 +... | true | true | protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
Connection c = null;
PreparedStatement stmt = null;
ResultSet rs = null;
String statement;
String course = request.getParameter("course");
System.out.println(course);
try {
Class.f... | protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
response.setCharacterEncoding("UTF-8");
request.setCharacterEncoding("UTF-8");
Connection c = null;
PreparedStatement stmt = null;
ResultSet rs = null;
String statement;
String course ... |
diff --git a/SenBotRunner/src/main/java/com/gfk/senbot/framework/cucumber/stepdefinitions/CucumberReportingExtension.java b/SenBotRunner/src/main/java/com/gfk/senbot/framework/cucumber/stepdefinitions/CucumberReportingExtension.java
index e87cb99..b9c67dc 100644
--- a/SenBotRunner/src/main/java/com/gfk/senbot/framework... | true | true | public void afterScenario(Scenario scenario) throws InterruptedException {
log.debug("Scenarion finished");
ScenarioGlobals scenarioGlobals = getCucumberManager().getCurrentScenarioGlobals();
TestEnvironment testNev = getSeleniumManager().getAssociatedTestEnvironment();
if (testNev != null... | public void afterScenario(Scenario scenario) throws InterruptedException {
log.debug("Scenarion finished");
ScenarioGlobals scenarioGlobals = getCucumberManager().getCurrentScenarioGlobals();
TestEnvironment testNev = getSeleniumManager().getAssociatedTestEnvironment();
if (testNev != null... |
diff --git a/MPDroid/src/com/namelessdev/mpdroid/PlaylistActivity.java b/MPDroid/src/com/namelessdev/mpdroid/PlaylistActivity.java
index 1cbc01cc..aff9e982 100644
--- a/MPDroid/src/com/namelessdev/mpdroid/PlaylistActivity.java
+++ b/MPDroid/src/com/namelessdev/mpdroid/PlaylistActivity.java
@@ -1,322 +1,326 @@
package ... | true | true | public boolean onMenuItemClick(MenuItem item) {
MPDApplication app = (MPDApplication) getApplication();
switch (item.getItemId()) {
case 0:
// skip to selected Song
try {
app.oMPDAsyncHelper.oMPD.skipTo(songId);
} catch (MPDServerException e) {
}
return true;
case 1:
try { // Move song to... | public boolean onMenuItemClick(MenuItem item) {
MPDApplication app = (MPDApplication) getApplication();
switch (item.getItemId()) {
case 0:
// skip to selected Song
try {
app.oMPDAsyncHelper.oMPD.skipTo(songId);
} catch (MPDServerException e) {
}
return true;
case 1:
try { // Move song to... |
diff --git a/modules/elastic-grid-core/src/main/java/com/elasticgrid/boot/BannerProviderImpl.java b/modules/elastic-grid-core/src/main/java/com/elasticgrid/boot/BannerProviderImpl.java
index f86edafa..4173dce5 100755
--- a/modules/elastic-grid-core/src/main/java/com/elasticgrid/boot/BannerProviderImpl.java
+++ b/module... | false | true | public String getBanner(String service) {
StringBuffer banner = new StringBuffer();
banner.append("\n");
banner.append("____ _ ____ ____ ___ _ ____ ____ ____ _ ___\n");
banner.append("|___ | |__| [__ | | | | __ |__/ | | \\ "+ service + "\n");
banner.append... | public String getBanner(String service) {
StringBuffer banner = new StringBuffer();
banner.append("\n");
banner.append("____ _ ____ ____ ___ _ ____ ____ ____ _ ___\n");
banner.append("|___ | |__| [__ | | | | __ |__/ | | \\ ").append(service).append("\n");
... |
diff --git a/java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java b/java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java
index fc3fe5d0e..8639b7877 100644
--- a/java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java
+++ ... | true | true | public Uri makeRenderingUri(Gadget gadget) {
UriBuilder uri;
View view = gadget.getCurrentView();
GadgetContext context = gadget.getContext();
String container = context.getContainer();
if (View.ContentType.URL.equals(view.getType())) {
// A. type=url. Initializes all except standa... | public Uri makeRenderingUri(Gadget gadget) {
UriBuilder uri;
View view = gadget.getCurrentView();
GadgetContext context = gadget.getContext();
String container = context.getContainer();
if (View.ContentType.URL.equals(view.getType())) {
// A. type=url. Initializes all except standa... |
diff --git a/ttools/src/main/uk/ac/starlink/ttools/taplint/Reporter.java b/ttools/src/main/uk/ac/starlink/ttools/taplint/Reporter.java
index 6c5f207fc..ad2b24ce9 100644
--- a/ttools/src/main/uk/ac/starlink/ttools/taplint/Reporter.java
+++ b/ttools/src/main/uk/ac/starlink/ttools/taplint/Reporter.java
@@ -1,191 +1,199 @@... | true | true | public void report( Type type, String code, String message,
Throwable err ) {
if ( message == null || message.trim().length() == 0 ) {
message = "?";
}
if ( code == null || code.length() == 0 ) {
code = createCode( message );
}
... | public void report( Type type, String code, String message,
Throwable err ) {
if ( message == null || message.trim().length() == 0 ) {
message = "?";
}
if ( code == null || code.length() == 0 ) {
code = createCode( message );
}
... |
diff --git a/hudson-core/src/main/java/hudson/model/AbstractProject.java b/hudson-core/src/main/java/hudson/model/AbstractProject.java
index c728489d..d936f4df 100644
--- a/hudson-core/src/main/java/hudson/model/AbstractProject.java
+++ b/hudson-core/src/main/java/hudson/model/AbstractProject.java
@@ -1,2173 +1,2178 @@... | true | true | public PollingResult poll( TaskListener listener ) {
SCM scm = getScm();
if (scm==null) {
listener.getLogger().println(Messages.AbstractProject_NoSCM());
return NO_CHANGES;
}
if (isDisabled()) {
listener.getLogger().println(Messages.AbstractProject... | public PollingResult poll( TaskListener listener ) {
SCM scm = getScm();
if (scm==null) {
listener.getLogger().println(Messages.AbstractProject_NoSCM());
return NO_CHANGES;
}
if (isDisabled()) {
listener.getLogger().println(Messages.AbstractProject... |
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandeco.java b/Essentials/src/com/earth2me/essentials/commands/Commandeco.java
index 618583cf..aa726eea 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandeco.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandeco.java
@@ -1... | true | true | public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
{
if (args.length < 2)
{
throw new NotEnoughArgumentsException();
}
EcoCommands cmd;
double amount;
try
{
cmd = EcoCommands.valueOf(args[0].toUpperCase());
amount = Double.parseDouble(args[... | public void run(Server server, CommandSender sender, String commandLabel, String[] args) throws Exception
{
if (args.length < 2)
{
throw new NotEnoughArgumentsException();
}
EcoCommands cmd;
double amount;
try
{
cmd = EcoCommands.valueOf(args[0].toUpperCase());
amount = Double.parseDouble(args[... |
diff --git a/src/gov/nih/ncgc/bard/tools/BardServletContextListener.java b/src/gov/nih/ncgc/bard/tools/BardServletContextListener.java
index aee2d9a..093800e 100644
--- a/src/gov/nih/ncgc/bard/tools/BardServletContextListener.java
+++ b/src/gov/nih/ncgc/bard/tools/BardServletContextListener.java
@@ -1,66 +1,68 @@
pack... | true | true | public void contextInitialized(ServletContextEvent contextEvent) {
db = new DBUtils();
BARDResource.setDb(db);
SolrSearch.setDb(db);
// should we initialize cache mgmt at all?
boolean initHazelcast = System.getProperty("initHazelcast").toLowerCase().equals("true");
... | public void contextInitialized(ServletContextEvent contextEvent) {
db = new DBUtils();
BARDResource.setDb(db);
SolrSearch.setDb(db);
// should we initialize cache mgmt at all?
String sym = System.getProperty("initHazelcast");
boolean initHazelcast = true;
if ... |
diff --git a/dev/android/transportmtl/src/net/rhatec/amtmobile/types/DateHelpers.java b/dev/android/transportmtl/src/net/rhatec/amtmobile/types/DateHelpers.java
index 925b82d..0798a80 100644
--- a/dev/android/transportmtl/src/net/rhatec/amtmobile/types/DateHelpers.java
+++ b/dev/android/transportmtl/src/net/rhatec/amtm... | true | true | public static Pair<Integer, Boolean> obtenirTypeHoraireActuelAConsulter(Vector<Horaire> listeHoraire, Calendar unCalendrier)
{
Pair<Integer, Boolean> horaireAConsulterPair = new Pair<Integer, Boolean>(-1, false);
//On v�rifie d'abord qu'il ne s'agit pas d'un horaire entre minuit et 4 heure du matin...
int h... | public static Pair<Integer, Boolean> obtenirTypeHoraireActuelAConsulter(Vector<Horaire> listeHoraire, Calendar unCalendrier)
{
Pair<Integer, Boolean> horaireAConsulterPair = new Pair<Integer, Boolean>(-1, false);
//On v�rifie d'abord qu'il ne s'agit pas d'un horaire entre minuit et 4 heure du matin...
int h... |
diff --git a/src/java/com/idega/block/creditcard/business/KortathjonustanAuthorizationException.java b/src/java/com/idega/block/creditcard/business/KortathjonustanAuthorizationException.java
index 9385089..65d8c23 100644
--- a/src/java/com/idega/block/creditcard/business/KortathjonustanAuthorizationException.java
+++ b... | false | true | public String getLocalizedMessage(IWResourceBundle iwrb) {
System.out.println("Kortathjonustan errormessage = " + this.getErrorMessage());
System.out.println("number = " + this.getErrorNumber());
System.out.println("display = " + this.getDisplayError());
int number = -2;
try {
number = Integer.parseInt(th... | public String getLocalizedMessage(IWResourceBundle iwrb) {
System.out.println("Kortathjonustan errormessage = " + this.getErrorMessage());
System.out.println("number = " + this.getErrorNumber());
System.out.println("display = " + this.getDisplayError());
int number = -2;
try {
number = Integer.parseInt(th... |
diff --git a/src/main/java/gov/usgs/cida/data/ASCIIGridDataFile.java b/src/main/java/gov/usgs/cida/data/ASCIIGridDataFile.java
index e15df78..b928152 100644
--- a/src/main/java/gov/usgs/cida/data/ASCIIGridDataFile.java
+++ b/src/main/java/gov/usgs/cida/data/ASCIIGridDataFile.java
@@ -1,165 +1,167 @@
/*
* To change t... | true | true | public void inspectFile() throws FileNotFoundException, IOException {
BufferedReader buf = new BufferedReader(new FileReader(underlyingFile));
String line = null;
int year = -1;
List<Long> indices = Lists.newArrayList();
try {
if ((line = buf.readLine()) != null) ... | public void inspectFile() throws FileNotFoundException, IOException {
BufferedReader buf = new BufferedReader(new FileReader(underlyingFile));
String line = null;
int year = -1;
List<Long> indices = Lists.newArrayList();
try {
if ((line = buf.readLine()) != null) ... |
diff --git a/src/java/com/homework/hw2/HomePage.java b/src/java/com/homework/hw2/HomePage.java
index 21cbfa9..e701826 100644
--- a/src/java/com/homework/hw2/HomePage.java
+++ b/src/java/com/homework/hw2/HomePage.java
@@ -1,35 +1,35 @@
/*
* To change this template, choose Tools | Templates
* and open the template i... | true | true | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
Object url_attribute = request.getParameter(SESSION_ATTRIBUTE);
request.getSession().setAttribute(SESSION_ATTRIBUTE, url_attribute);
String session_value = (String)request.g... | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
Object url_attribute = request.getParameter(SESSION_ATTRIBUTE);
request.getSession().setAttribute(SESSION_ATTRIBUTE, url_attribute);
String session_value = (String)request.g... |
diff --git a/pmd/src/net/sourceforge/pmd/rules/strings/InefficientStringBuffering.java b/pmd/src/net/sourceforge/pmd/rules/strings/InefficientStringBuffering.java
index 051f46155..a30b17d96 100644
--- a/pmd/src/net/sourceforge/pmd/rules/strings/InefficientStringBuffering.java
+++ b/pmd/src/net/sourceforge/pmd/rules/str... | true | true | public Object visit(ASTAdditiveExpression node, Object data) {
ASTBlockStatement bs = (ASTBlockStatement) node.getFirstParentOfType(ASTBlockStatement.class);
if (bs == null) {
return data;
}
int immediateLiterals = 0;
List nodes = node.findChildrenOfType(ASTLiter... | public Object visit(ASTAdditiveExpression node, Object data) {
ASTBlockStatement bs = (ASTBlockStatement) node.getFirstParentOfType(ASTBlockStatement.class);
if (bs == null) {
return data;
}
int immediateLiterals = 0;
List nodes = node.findChildrenOfType(ASTLiter... |
diff --git a/beam-netcdf/src/main/java/org/esa/beam/dataio/netcdf/metadata/profiles/cf/CfBandPart.java b/beam-netcdf/src/main/java/org/esa/beam/dataio/netcdf/metadata/profiles/cf/CfBandPart.java
index 515d17422..e4b777874 100644
--- a/beam-netcdf/src/main/java/org/esa/beam/dataio/netcdf/metadata/profiles/cf/CfBandPart.... | true | true | private static void addFlagCodingIfApplicable(Product p, Band band, Variable variable, String flagCodingName,
boolean msb) {
final Attribute flagMaskAttribute = variable.findAttribute("flag_masks");
final Attribute flagMeaningsAttribute = variable.fi... | private static void addFlagCodingIfApplicable(Product p, Band band, Variable variable, String flagCodingName,
boolean msb) {
final Attribute flagMaskAttribute = variable.findAttribute("flag_masks");
final Attribute flagMeaningsAttribute = variable.fi... |
diff --git a/app/models/Match.java b/app/models/Match.java
index 272907c..7c17b8d 100644
--- a/app/models/Match.java
+++ b/app/models/Match.java
@@ -1,160 +1,160 @@
package models;
import java.util.ArrayList;
import java.util.List;
public class Match {
private static final List<Match> matches = new ArrayList<... | true | true | public static List<Match> all() {
if (matches.isEmpty()) {
Match match = new Match(
"09/03/2013 - Fecha 1 - Apertura 2013",
Team.get("la-naranja-mecanica"), "5",
Team.get("descanso-verde"), "1",
new ArrayList<String>(),
"En 4 minutos liquidó la historia",
"En otro partido por la pri... | public static List<Match> all() {
if (matches.isEmpty()) {
Match match = new Match(
"09/03/2013 - Fecha 1 - Apertura 2013",
Team.get("la-naranja-mecanica"), "5",
Team.get("descanso-verde"), "1",
new ArrayList<String>(),
"En 4 minutos liquidó la historia",
"En otro partido por la pri... |
diff --git a/src/view/AboutView.java b/src/view/AboutView.java
index 7238cbc..505f7df 100644
--- a/src/view/AboutView.java
+++ b/src/view/AboutView.java
@@ -1,160 +1,160 @@
package view;
import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
... | true | true | public void initGUI()
{
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setIconImage(new ImageIcon("septopus.png").getImage());
setResizable(false);
setTitle("About Septopus");
setSize(341, 240);
setLayout(null);
lbTitle = new JLabel("Septopus", JLabel.CENTER);
lbTitle.setFont(new Font("Dialog",... | public void initGUI()
{
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setIconImage(new ImageIcon("septopus.png").getImage());
setResizable(false);
setTitle("About Septopus");
setSize(341, 240);
setLayout(null);
lbTitle = new JLabel("Septopus", JLabel.CENTER);
lbTitle.setFont(new Font("Dialog",... |
diff --git a/src/prettify/lang/LangErlang.java b/src/prettify/lang/LangErlang.java
index 24fb9aa..57ce401 100644
--- a/src/prettify/lang/LangErlang.java
+++ b/src/prettify/lang/LangErlang.java
@@ -1,105 +1,105 @@
// Copyright (C) 2013 Andrew Allen
//
// Licensed under the Apache License, Version 2.0 (the "License");... | true | true | public LangErlang() {
List<List<Object>> _shortcutStylePatterns = new ArrayList<List<Object>>();
List<List<Object>> _fallthroughStylePatterns = new ArrayList<List<Object>>();
// Whitespace
// whitechar -> newline | vertab | space | tab | uniWhite
// newline -> ... | public LangErlang() {
List<List<Object>> _shortcutStylePatterns = new ArrayList<List<Object>>();
List<List<Object>> _fallthroughStylePatterns = new ArrayList<List<Object>>();
// Whitespace
// whitechar -> newline | vertab | space | tab | uniWhite
// newline -> ... |
diff --git a/src/com/nadmm/airports/wx/TafFragment.java b/src/com/nadmm/airports/wx/TafFragment.java
index 19683d8c..0241cce6 100644
--- a/src/com/nadmm/airports/wx/TafFragment.java
+++ b/src/com/nadmm/airports/wx/TafFragment.java
@@ -1,486 +1,487 @@
/*
* FlightIntel for Pilots
*
* Copyright 2012 Nadeem Hasan <n... | true | true | protected void showTaf( Intent intent ) {
if ( getActivity() == null ) {
// Not ready to do this yet
return;
}
Taf taf = (Taf) intent.getSerializableExtra( NoaaService.RESULT );
View detail = findViewById( R.id.wx_detail_layout );
LinearLayout layout... | protected void showTaf( Intent intent ) {
if ( getActivity() == null ) {
// Not ready to do this yet
return;
}
Taf taf = (Taf) intent.getSerializableExtra( NoaaService.RESULT );
View detail = findViewById( R.id.wx_detail_layout );
LinearLayout layout... |
diff --git a/src/edu/wpi/first/wpilibj/templates/debugging/InfoState.java b/src/edu/wpi/first/wpilibj/templates/debugging/InfoState.java
index a58d2e6..a358886 100644
--- a/src/edu/wpi/first/wpilibj/templates/debugging/InfoState.java
+++ b/src/edu/wpi/first/wpilibj/templates/debugging/InfoState.java
@@ -1,42 +1,43 @@
... | true | true | public InfoState(String owner, String state, int level) {
this.key = owner + ":State";
this.message = state;
}
| public InfoState(String owner, String state, int level) {
this.key = owner + ":State";
this.message = state;
this.level = level;
}
|
diff --git a/webapp/src/test/java/com/tort/trade/journals/GoodsBalanceIT.java b/webapp/src/test/java/com/tort/trade/journals/GoodsBalanceIT.java
index d485d95..0edd918 100644
--- a/webapp/src/test/java/com/tort/trade/journals/GoodsBalanceIT.java
+++ b/webapp/src/test/java/com/tort/trade/journals/GoodsBalanceIT.java
@@ ... | false | true | public void getBalance(){
_selenium.open("/webapp/journal.html");
_selenium.click("a[@name='balance']");
_selenium.waitForPageToLoad("5000");
assertEquals("Goods balance", _selenium.getTitle());
}
| public void getBalance() throws InterruptedException{
_selenium.open("/webapp/journal");
_selenium.click("//a[@name='balance']");
waitForElement("//table[@id='balance']//tr[5]");
assertEquals("Goods balance", _selenium.getTitle());
}
|
diff --git a/openelis/test/org/bahmni/feed/openelis/event/OpenelisAtomfeedClientServiceEventWorkerTest.java b/openelis/test/org/bahmni/feed/openelis/event/OpenelisAtomfeedClientServiceEventWorkerTest.java
index a8d221e8..8bd090c6 100644
--- a/openelis/test/org/bahmni/feed/openelis/event/OpenelisAtomfeedClientServiceEve... | false | true | public void testProcess() throws Exception {
AtomfeedClientUtils.setLoginDao(loginDAO);
AtomfeedClientUtils.setSiteInformationDao(siteInformationDAO);
when(loginDAO.getUserProfile(any(String.class))).thenReturn(createLoginInfo());
when(siteInformationDAO.getSiteInformationByName(any(... | public void testProcess() throws Exception {
/*AtomfeedClientUtils.setLoginDao(loginDAO);
AtomfeedClientUtils.setSiteInformationDao(siteInformationDAO);
when(loginDAO.getUserProfile(any(String.class))).thenReturn(createLoginInfo());
when(siteInformationDAO.getSiteInformationByName(an... |
diff --git a/org.springframework.context.support/src/main/java/org/springframework/scheduling/quartz/SchedulerAccessor.java b/org.springframework.context.support/src/main/java/org/springframework/scheduling/quartz/SchedulerAccessor.java
index 88aa05073..07ac232ea 100644
--- a/org.springframework.context.support/src/mai... | false | true | protected void registerJobsAndTriggers() throws SchedulerException {
TransactionStatus transactionStatus = null;
if (this.transactionManager != null) {
transactionStatus = this.transactionManager.getTransaction(new DefaultTransactionDefinition());
}
try {
if (this.jobSchedulingDataLocations != null) {
... | protected void registerJobsAndTriggers() throws SchedulerException {
TransactionStatus transactionStatus = null;
if (this.transactionManager != null) {
transactionStatus = this.transactionManager.getTransaction(new DefaultTransactionDefinition());
}
try {
if (this.jobSchedulingDataLocations != null) {
... |
diff --git a/src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java b/src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java
index 1164c69..7ae18c4 100644
--- a/src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java
+++ b/src/main/java/net/praqma/hudson/notifier/CCUCMNotifier.java
@@ -1,373 +1,373 @@
pa... | false | true | private void processBuild( AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener, CCUCMBuildAction pstate ) throws NotifierException {
Result buildResult = build.getResult();
VirtualChannel ch = launcher.getChannel();
if( ch == null ) {
logger.fine( "The channel was null" );
}
FilePath w... | private void processBuild( AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener, CCUCMBuildAction pstate ) throws NotifierException {
Result buildResult = build.getResult();
VirtualChannel ch = launcher.getChannel();
if( ch == null ) {
logger.fine( "The channel was null" );
}
FilePath w... |
diff --git a/bundles/org.eclipse.wst.jsdt.web.core/src/org/eclipse/wst/jsdt/web/core/internal/project/JsWebNature.java b/bundles/org.eclipse.wst.jsdt.web.core/src/org/eclipse/wst/jsdt/web/core/internal/project/JsWebNature.java
index 8e4b3f842..6b7c8bf3d 100644
--- a/bundles/org.eclipse.wst.jsdt.web.core/src/org/eclipse... | true | true | public void configure() throws CoreException {
initOutputPath();
createSourceClassPath();
initJREEntry();
initLocalClassPath();
if (hasProjectClassPathFile()) {
IClasspathEntry[] entries = getRawClassPath();
if (entries != null && entries.length > 0) {
classPathEntries.removeAll(Arrays.asList(e... | public void configure() throws CoreException {
initOutputPath();
createSourceClassPath();
initJREEntry();
initLocalClassPath();
if (hasProjectClassPathFile()) {
IClasspathEntry[] entries = getRawClassPath();
if (entries != null && entries.length > 0) {
classPathEntries.removeAll(Arrays.asList(e... |
diff --git a/src/main/java/agaricus/plugins/IncompatiblePlugin/SamplePlugin.java b/src/main/java/agaricus/plugins/IncompatiblePlugin/SamplePlugin.java
index 34cd91a..c7bad1a 100644
--- a/src/main/java/agaricus/plugins/IncompatiblePlugin/SamplePlugin.java
+++ b/src/main/java/agaricus/plugins/IncompatiblePlugin/SamplePlu... | true | true | public void onEnable() {
// TODO: Place any custom enable code here including the registration of any events
System.out.println("IncompatiblePlugin");
// show enums for https://github.com/MinecraftPortCentral/MCPC-Plus/issues/417
StringBuffer sb = new StringBuffer();
for (B... | public void onEnable() {
// TODO: Place any custom enable code here including the registration of any events
System.out.println("IncompatiblePlugin");
// show enums for https://github.com/MinecraftPortCentral/MCPC-Plus/issues/417
StringBuffer sb = new StringBuffer();
for (B... |
diff --git a/billing/src/main/java/com/carlos/projects/billing/ui/controllers/ImportComponentsController.java b/billing/src/main/java/com/carlos/projects/billing/ui/controllers/ImportComponentsController.java
index af7d43f..2e0604d 100755
--- a/billing/src/main/java/com/carlos/projects/billing/ui/controllers/ImportComp... | true | true | protected ModelAndView onSubmit(Object command)
throws Exception {
//Cast the bean
FileUpload bean = (FileUpload) command;
MultipartFile file = bean.getFile();
Map<String, Object> model = new HashMap<String, Object>();
model.put("file", file);
return new ModelAndView("storeComponents", model);
}
| protected ModelAndView onSubmit(Object command)
throws Exception {
//Cast the bean
FileUpload bean = (FileUpload) command;
MultipartFile file = bean.getFile();
Map<String, Object> model = new HashMap<String, Object>();
model.put("file", file);
return new ModelAndView("showComponents", model);
}
|
diff --git a/solr/src/common/org/apache/solr/common/SolrDocumentList.java b/solr/src/common/org/apache/solr/common/SolrDocumentList.java
index 9aca8d778..a7f3d4b15 100644
--- a/solr/src/common/org/apache/solr/common/SolrDocumentList.java
+++ b/solr/src/common/org/apache/solr/common/SolrDocumentList.java
@@ -1,68 +1,68 ... | true | true | public String toString() {
return "{numFound="+numFound
+",start="+start
+ (maxScore!=null ? ""+maxScore : "")
+",docs="+super.toString()
+"}";
}
| public String toString() {
return "{numFound="+numFound
+",start="+start
+ (maxScore!=null ? ",maxScore="+maxScore : "")
+",docs="+super.toString()
+"}";
}
|
diff --git a/opentaps/opentaps-common/src/common/org/opentaps/gwt/common/server/lookup/EntityLookupAndSuggestService.java b/opentaps/opentaps-common/src/common/org/opentaps/gwt/common/server/lookup/EntityLookupAndSuggestService.java
index 257c5b7c3..b426d5528 100644
--- a/opentaps/opentaps-common/src/common/org/opentap... | true | true | protected <T extends EntityInterface> List<T> findSuggestMatchesAnyOf(Class<T> entity, String query, List<String> fields, EntityCondition additionalFilter) {
Debug.logInfo("findSuggestMatchesAnyOf: entity=" + entity.getName() + ", query=" + query + ", fields=" + fields, "");
if (query == null || fie... | protected <T extends EntityInterface> List<T> findSuggestMatchesAnyOf(Class<T> entity, String query, List<String> fields, EntityCondition additionalFilter) {
Debug.logInfo("findSuggestMatchesAnyOf: entity=" + entity.getName() + ", query=" + query + ", fields=" + fields, "");
if (query == null || fie... |
diff --git a/src/org/mythtv/provider/MythtvProvider.java b/src/org/mythtv/provider/MythtvProvider.java
index 49177c05..a7ff04a2 100644
--- a/src/org/mythtv/provider/MythtvProvider.java
+++ b/src/org/mythtv/provider/MythtvProvider.java
@@ -1,441 +1,441 @@
/**
* This file is part of MythTV for Android
*
* MythT... | true | true | public int bulkInsert( Uri uri, ContentValues[] values ) {
final SQLiteDatabase db = database.getWritableDatabase();
int numInserted = 0;
switch( URI_MATCHER.match( uri ) ) {
case PROGRAMS:
db.beginTransaction();
try {
//standard SQL insert statement, that can be reused
SQLiteStateme... | public int bulkInsert( Uri uri, ContentValues[] values ) {
final SQLiteDatabase db = database.getWritableDatabase();
int numInserted = 0;
switch( URI_MATCHER.match( uri ) ) {
case PROGRAMS:
db.beginTransaction();
try {
//standard SQL insert statement, that can be reused
SQLiteStateme... |
diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java
index a17aa6289..88352e249 100644
--- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/ClassMappingInfo.java
+++ b/openjpa-jdbc/src/main/jav... | true | true | public String getSecondaryTableName(String tableName) {
// if no secondary table joins, bad table name, exact match,
// or an already-qualified table name, nothing to do
if (_seconds == null || tableName == null
|| _seconds.containsKey(tableName)
|| tableName.indexOf(... | public String getSecondaryTableName(String tableName) {
// if no secondary table joins, bad table name, exact match,
// or an already-qualified table name, nothing to do
if (_seconds == null || tableName == null
|| _seconds.containsKey(tableName)
|| tableName.indexOf(... |
diff --git a/common/logisticspipes/blocks/crafting/LogisticsCraftingTableTileEntity.java b/common/logisticspipes/blocks/crafting/LogisticsCraftingTableTileEntity.java
index 7edb995c..4b6f0bc3 100644
--- a/common/logisticspipes/blocks/crafting/LogisticsCraftingTableTileEntity.java
+++ b/common/logisticspipes/blocks/craf... | true | true | public ItemStack getOutput(ItemIdentifier wanted, IRoutedPowerProvider power) {
if(cache == null) {
cacheRecipe();
if(cache == null) return null;
}
int[] toUse = new int[9];
int[] used = new int[inv.getSizeInventory()];
outer:
for(int i=0;i<9;i++) {
ItemIdentifierStack item = matrix.getIDStackInSlot... | public ItemStack getOutput(ItemIdentifier wanted, IRoutedPowerProvider power) {
if(cache == null) {
cacheRecipe();
if(cache == null) return null;
}
int[] toUse = new int[9];
int[] used = new int[inv.getSizeInventory()];
outer:
for(int i=0;i<9;i++) {
ItemIdentifierStack item = matrix.getIDStackInSlot... |
diff --git a/org.envirocar.app/src/org/envirocar/app/storage/DbAdapterImpl.java b/org.envirocar.app/src/org/envirocar/app/storage/DbAdapterImpl.java
index 5dc4cf90..9d31dc88 100644
--- a/org.envirocar.app/src/org/envirocar/app/storage/DbAdapterImpl.java
+++ b/org.envirocar.app/src/org/envirocar/app/storage/DbAdapterImp... | true | true | private ArrayList<Measurement> getAllMeasurementsForTrack(Track track) {
ArrayList<Measurement> allMeasurements = new ArrayList<Measurement>();
Cursor c = mDb.query(TABLE_MEASUREMENT, ALL_MEASUREMENT_KEYS,
KEY_MEASUREMENT_TRACK + "=\"" + track.getId() + "\"", null, null, null, KEY_MEASUREMENT_TIME + " ASC");... | private ArrayList<Measurement> getAllMeasurementsForTrack(Track track) {
ArrayList<Measurement> allMeasurements = new ArrayList<Measurement>();
Cursor c = mDb.query(TABLE_MEASUREMENT, ALL_MEASUREMENT_KEYS,
KEY_MEASUREMENT_TRACK + "=\"" + track.getId() + "\"", null, null, null, KEY_MEASUREMENT_TIME + " ASC");... |
diff --git a/src/main/org/codehaus/groovy/tools/javac/JavaStubGenerator.java b/src/main/org/codehaus/groovy/tools/javac/JavaStubGenerator.java
index 30d3a4e07..4ff2527cd 100644
--- a/src/main/org/codehaus/groovy/tools/javac/JavaStubGenerator.java
+++ b/src/main/org/codehaus/groovy/tools/javac/JavaStubGenerator.java
@@ ... | true | true | private void genClassInner(ClassNode classNode, PrintWriter out) throws FileNotFoundException {
if (classNode instanceof InnerClassNode && ((InnerClassNode) classNode).isAnonymous()) {
// if it is an anonymous inner class, don't generate the stub code for it.
return;
}
... | private void genClassInner(ClassNode classNode, PrintWriter out) throws FileNotFoundException {
if (classNode instanceof InnerClassNode && ((InnerClassNode) classNode).isAnonymous()) {
// if it is an anonymous inner class, don't generate the stub code for it.
return;
}
... |
diff --git a/src/persistence/org/codehaus/groovy/grails/orm/hibernate/support/GrailsOpenSessionInViewInterceptor.java b/src/persistence/org/codehaus/groovy/grails/orm/hibernate/support/GrailsOpenSessionInViewInterceptor.java
index b646453fb..0d3d8856b 100644
--- a/src/persistence/org/codehaus/groovy/grails/orm/hibernat... | false | true | public void postHandle(WebRequest request, ModelMap model) throws DataAccessException {
final boolean isFlowRequest = request.getAttribute(IS_FLOW_REQUEST_ATTRIBUTE, WebRequest.SCOPE_REQUEST) != null;
if(!isFlowRequest) {
super.postHandle(request, model);
SessionHolder sessi... | public void postHandle(WebRequest request, ModelMap model) throws DataAccessException {
final boolean isFlowRequest = request.getAttribute(IS_FLOW_REQUEST_ATTRIBUTE, WebRequest.SCOPE_REQUEST) != null;
if(!isFlowRequest) {
try {
super.postHandle(request, model);
... |
diff --git a/WEB-INF/src/com/github/tosdan/utils/sql/MassiveQueryCompiler.java b/WEB-INF/src/com/github/tosdan/utils/sql/MassiveQueryCompiler.java
index f956d6e..4127a15 100644
--- a/WEB-INF/src/com/github/tosdan/utils/sql/MassiveQueryCompiler.java
+++ b/WEB-INF/src/com/github/tosdan/utils/sql/MassiveQueryCompiler.java... | true | true | public Map<String, List<String>> getQueriesListMap(String[] nomiQueriesDaCompilare, Map<String, Object> paramsMap) throws TemplateCompilerException {
Map<String, List<String>> queriesListMappedByName = new HashMap<String, List<String>>();
for( int i = 0 ; i < nomiQueriesDaCompilare.length ; i++ ) {
List<S... | public Map<String, List<String>> getQueriesListMap(String[] nomiQueriesDaCompilare, Map<String, Object> paramsMap) throws TemplateCompilerException {
Map<String, List<String>> queriesListMappedByName = new HashMap<String, List<String>>();
paramsMap = (paramsMap == null) ? (new HashMap<String, Object>()) : paramsM... |
diff --git a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java b/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/anttask/MediaWikiImageFetcher.java
index 2ec97b83a..14a43b87e 100644
--- a/org.eclipse.mylyn.help.ui/src/org/eclipse/mylyn/internal/help/ui/... | true | true | public void execute() throws BuildException {
if (dest == null) {
throw new BuildException("Must specify @dest");
}
if (!dest.exists()) {
throw new BuildException("@dest does not exist: " + dest);
}
if (!dest.isDirectory()) {
throw new BuildException("@dest is not a directory: " + dest);
}
if (s... | public void execute() throws BuildException {
if (dest == null) {
throw new BuildException("Must specify @dest");
}
if (!dest.exists()) {
throw new BuildException("@dest does not exist: " + dest);
}
if (!dest.isDirectory()) {
throw new BuildException("@dest is not a directory: " + dest);
}
if (s... |
diff --git a/src/edu/mit/mitmobile2/links/LinksModel.java b/src/edu/mit/mitmobile2/links/LinksModel.java
index e4b98f45..ea176088 100644
--- a/src/edu/mit/mitmobile2/links/LinksModel.java
+++ b/src/edu/mit/mitmobile2/links/LinksModel.java
@@ -1,71 +1,71 @@
package edu.mit.mitmobile2.links;
import java.util.ArrayLis... | true | true | public static void fetchLinks(final Context context, final Handler uiHandler) {
HashMap<String, String> parameters = new HashMap<String, String>();
parameters.put("module", "links");
MobileWebApi webApi = new MobileWebApi(false, true, "People", context, uiHandler);
webApi.setIsSearchQuery(false);
webApi.r... | public static void fetchLinks(final Context context, final Handler uiHandler) {
HashMap<String, String> parameters = new HashMap<String, String>();
parameters.put("module", "links");
MobileWebApi webApi = new MobileWebApi(false, false, "People", context, uiHandler);
webApi.setIsSearchQuery(false);
webApi.... |
diff --git a/plugins/base-widgets/src/main/java/pl/net/bluesoft/rnd/processtool/ui/basewidgets/ProcessDataBlockWidget.java b/plugins/base-widgets/src/main/java/pl/net/bluesoft/rnd/processtool/ui/basewidgets/ProcessDataBlockWidget.java
index 8729c619..9d9f00f6 100644
--- a/plugins/base-widgets/src/main/java/pl/net/blues... | true | true | private DateField createDateField(final DateWidgetElement dwe) {
SimpleDateFormat sdf;
try {
sdf = new SimpleDateFormat(dwe.getFormat());
} catch (Exception e) {
logException(getMessage("processdata.block.error.unparsable.format").replaceFirst("%s", dwe.getFormat()), ... | private DateField createDateField(final DateWidgetElement dwe) {
SimpleDateFormat sdf;
try {
sdf = new SimpleDateFormat(dwe.getFormat());
} catch (Exception e) {
logException(getMessage("processdata.block.error.unparsable.format").replaceFirst("%s", dwe.getFormat()), ... |
diff --git a/beam-meris-preprocessor/src/main/java/org/esa/beam/preprocessor/PreprocessorOp.java b/beam-meris-preprocessor/src/main/java/org/esa/beam/preprocessor/PreprocessorOp.java
index edf681ab9..874cbc257 100644
--- a/beam-meris-preprocessor/src/main/java/org/esa/beam/preprocessor/PreprocessorOp.java
+++ b/beam-me... | true | true | private void createTargetProduct() {
final String productType = String.format("%s_Preprocessed", sourceProduct.getProductType());
final String productDescription = "MERIS L1b Preprocessed";
final String targetBandPrefix;
final String bandDescriptionPrefix;
if (doRadToRefl) {
... | private void createTargetProduct() {
final String productType = String.format("%s_Preprocessed", sourceProduct.getProductType());
final String productDescription = "MERIS L1b Preprocessed";
final String targetBandPrefix;
final String bandDescriptionPrefix;
if (doRadToRefl) {
... |
diff --git a/examples/DiningPhilosophers/DiningServer.java b/examples/DiningPhilosophers/DiningServer.java
index 0e8cedb..78a5d59 100644
--- a/examples/DiningPhilosophers/DiningServer.java
+++ b/examples/DiningPhilosophers/DiningServer.java
@@ -1,129 +1,129 @@
package examples.DiningPhilosophers;
/**
* A ``table'... | true | true | protected void printState(String caller) {
// Build a line and use one println() instead of several print()'s
// so that multiple threads' output does not become interleaved.
StringBuffer line = new StringBuffer();
line.append(caller);
for (int i = 0; i < numPhils; i++) {
... | protected void printState(String caller) {
// Build a line and use one println() instead of several print()'s
// so that multiple threads' output does not become interleaved.
//StringBuffer line = new StringBuffer();
//line.append(caller);
//for (int i = 0; i < numPhils; i++)... |
diff --git a/src/gov/nih/nci/eagle/web/struts/EpiAction.java b/src/gov/nih/nci/eagle/web/struts/EpiAction.java
index 02090a0..e18db85 100755
--- a/src/gov/nih/nci/eagle/web/struts/EpiAction.java
+++ b/src/gov/nih/nci/eagle/web/struts/EpiAction.java
@@ -1,177 +1,177 @@
package gov.nih.nci.eagle.web.struts;
import go... | true | true | public ActionForward setup(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
EpiForm eform = (EpiForm) form;
//set the group names
UserListBeanHelper helper = new UserListBeanHelper(request.getSession());
... | public ActionForward setup(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
EpiForm eform = (EpiForm) form;
//set the group names
UserListBeanHelper helper = new UserListBeanHelper(request.getSession());
... |
diff --git a/src/com/google/videoeditor/widgets/PlayheadView.java b/src/com/google/videoeditor/widgets/PlayheadView.java
index 16d3172..30eb822 100755
--- a/src/com/google/videoeditor/widgets/PlayheadView.java
+++ b/src/com/google/videoeditor/widgets/PlayheadView.java
@@ -1,196 +1,197 @@
/*
* Copyright (C) 2010 The ... | true | true | public PlayheadView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
final Resources resources = context.getResources();
// Prepare the Paint used to draw the tick marks
mLinePaint = new Paint();
mLinePaint.setColor(resources.getColor(R.... | public PlayheadView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
final Resources resources = context.getResources();
// Prepare the Paint used to draw the tick marks
mLinePaint = new Paint();
mLinePaint.setColor(resources.getColor(R.... |
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/JavaBreakpointTypeChange.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/JavaBreakpointTypeChange.java
index d9fe1a22b..961c7b318 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/... | false | true | private Change performTypeMove() throws CoreException {
// Get the new type and the new 'changed' type then call the code specific to this type
// of breakpoint.
IType changedType= getChangedType();
Object destination= getDestination();
String newChangedTypeName;
if (destination instanceof IPackageFragment... | private Change performTypeMove() throws CoreException {
// Get the new type and the new 'changed' type then call the code specific to this type
// of breakpoint.
IType changedType= getChangedType();
Object destination= getDestination();
String newChangedTypeName;
IJavaProject project;
if (destination ins... |
diff --git a/chips/src/com/android/ex/chips/RecipientAlternatesAdapter.java b/chips/src/com/android/ex/chips/RecipientAlternatesAdapter.java
index 39257fa..e3ef6cd 100644
--- a/chips/src/com/android/ex/chips/RecipientAlternatesAdapter.java
+++ b/chips/src/com/android/ex/chips/RecipientAlternatesAdapter.java
@@ -1,298 +... | true | true | public static HashMap<String, RecipientEntry> getMatchingRecipients(Context context,
String[] inAddresses, int addressType) {
Queries.Query query;
if (addressType == QUERY_TYPE_EMAIL) {
query = Queries.EMAIL;
} else {
query = Queries.PHONE;
}
... | public static HashMap<String, RecipientEntry> getMatchingRecipients(Context context,
String[] inAddresses, int addressType) {
Queries.Query query;
if (addressType == QUERY_TYPE_EMAIL) {
query = Queries.EMAIL;
} else {
query = Queries.PHONE;
}
... |
diff --git a/closure/closure-compiler/src/com/google/javascript/jscomp/DefaultPassConfig.java b/closure/closure-compiler/src/com/google/javascript/jscomp/DefaultPassConfig.java
index 06e4c425e..95b554bf4 100644
--- a/closure/closure-compiler/src/com/google/javascript/jscomp/DefaultPassConfig.java
+++ b/closure/closure-... | true | true | protected List<PassFactory> getOptimizations() {
List<PassFactory> passes = Lists.newArrayList();
// TODO(nicksantos): The order of these passes makes no sense, and needs
// to be re-arranged.
if (options.runtimeTypeCheck) {
passes.add(runtimeTypeCheck);
}
passes.add(createEmptyPass("... | protected List<PassFactory> getOptimizations() {
List<PassFactory> passes = Lists.newArrayList();
// TODO(nicksantos): The order of these passes makes no sense, and needs
// to be re-arranged.
if (options.runtimeTypeCheck) {
passes.add(runtimeTypeCheck);
}
passes.add(createEmptyPass("... |
diff --git a/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointEnhancer.java b/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointEnhancer.java
index ef986b10..c26d606e 100644
--- a/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointEnhancer.java
+++ b/bpel-dd/src/main/java/com/fs/pxe/bpel/dd/EndpointEnhancer.java
@@ -1,157... | false | true | private URL resolveServiceURL(Definition[] wsdlDefs, PortType pType) throws DDException {
QName portTypeQName = pType.getQName();
Binding wsdlBinding = null;
for (Definition def : wsdlDefs) {
for (Object obinding : def.getBindings().values()) {
Binding binding = (Binding) obinding;
... | private URL resolveServiceURL(Definition[] wsdlDefs, PortType pType) throws DDException {
QName portTypeQName = pType.getQName();
Binding wsdlBinding = null;
for (Definition def : wsdlDefs) {
for (Object obinding : def.getBindings().values()) {
Binding binding = (Binding) obinding;
... |
diff --git a/solr/core/src/java/org/apache/solr/handler/component/PivotFacetHelper.java b/solr/core/src/java/org/apache/solr/handler/component/PivotFacetHelper.java
index b928110..6da41fa 100644
--- a/solr/core/src/java/org/apache/solr/handler/component/PivotFacetHelper.java
+++ b/solr/core/src/java/org/apache/solr/han... | false | true | protected List<NamedList<Object>> doPivots( NamedList<Integer> superFacets, String field, String subField, Deque<String> fnames, ResponseBuilder rb, DocSet docs, int minMatch, boolean distinct, int maxDepth, int depth) throws IOException
{
SolrIndexSearcher searcher = rb.req.getSearcher();
// TODO: opti... | protected List<NamedList<Object>> doPivots( NamedList<Integer> superFacets, String field, String subField, Deque<String> fnames, ResponseBuilder rb, DocSet docs, int minMatch, boolean distinct, int maxDepth, int depth) throws IOException
{
SolrIndexSearcher searcher = rb.req.getSearcher();
// TODO: opti... |
diff --git a/src/main/org/codehaus/groovy/ast/ClassNode.java b/src/main/org/codehaus/groovy/ast/ClassNode.java
index bd9c7670b..159ea12d4 100644
--- a/src/main/org/codehaus/groovy/ast/ClassNode.java
+++ b/src/main/org/codehaus/groovy/ast/ClassNode.java
@@ -1,689 +1,689 @@
/*
* $Id$
*
* Copyright 2003 (C) James ... | true | true | public String resolveClassName(String type) {
String answer = null;
if (type != null) {
if (getNameWithoutPackage().equals(type)) {
return getName();
}
answer = tryResolveClassFromCompileUnit(type);
if (answer == null) {
... | public String resolveClassName(String type) {
String answer = null;
if (type != null) {
if (getName().equals(type) || getNameWithoutPackage().equals(type)) {
return getName();
}
answer = tryResolveClassFromCompileUnit(type);
if (answer ... |
diff --git a/tests/api/TestJavaApi.java b/tests/api/TestJavaApi.java
index d3a1a55e..fba7a06f 100644
--- a/tests/api/TestJavaApi.java
+++ b/tests/api/TestJavaApi.java
@@ -1,21 +1,21 @@
public class TestJavaApi {
static {
System.loadLibrary("Juneiform");
}
public static void main(String[] args... | true | true | public static void main(String[] args) {
System.out.println("JAVA api test");
System.out.println("version: " + Juneiform.VERSION);
System.out.println("build: " + Juneiform.BUILD_NUMBER);
FormatOptions fopts = new FormatOptions();
fopts.setLanguage(Juneiform.LANGUAGE_RUSSIA... | public static void main(String[] args) {
System.out.println("JAVA api test");
System.out.println("version: " + Juneiform.VERSION);
System.out.println("build: " + Juneiform.BUILD_NUMBER);
FormatOptions fopts = new FormatOptions();
fopts.setLanguage(Juneiform.LANGUAGE_RUSSIA... |
diff --git a/cogroo-common/src/main/java/br/ccsl/cogroo/tools/checker/Merger.java b/cogroo-common/src/main/java/br/ccsl/cogroo/tools/checker/Merger.java
index cc527bc..13b13c7 100644
--- a/cogroo-common/src/main/java/br/ccsl/cogroo/tools/checker/Merger.java
+++ b/cogroo-common/src/main/java/br/ccsl/cogroo/tools/checker... | true | true | public static void generalizePOSTags(MorphologicalTag tag,
MorphologicalTag[] allTags) {
// this is generally true, we set gender neutral to avoid false positives.
if (tag.getClazzE().equals(Class.NUMERAL)) {
tag.setGender(Gender.NEUTRAL);
}
if (allTags == null || allTags.length == 0) {
... | public static void generalizePOSTags(MorphologicalTag tag,
MorphologicalTag[] allTags) {
// this is generally true, we set gender neutral to avoid false positives.
if (tag.getClazzE().equals(Class.NUMERAL)) {
tag.setGender(Gender.NEUTRAL);
}
if (allTags == null || allTags.length == 0) {
... |
diff --git a/sch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/EntitlementManagerBean.java b/sch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/EntitlementManagerBean.java
index 18f40ff1..c6f748f2 100644
--- a/sch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/EntitlementManagerBean.java
+++ b/sch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/E... | true | true | public Felhasznalo createUserEntry(Felhasznalo user) {
if (!user.getNeptunkod().isEmpty()) {
Query q = em.createNamedQuery("findUserByNeptunCode");
q.setParameter("neptun", user.getNeptunkod());
try {
Felhasznalo exists = (Felhasznalo) q.getSingleResult();... | public Felhasznalo createUserEntry(Felhasznalo user) {
if (user.getNeptunkod() != null) {
Query q = em.createNamedQuery("findUserByNeptunCode");
q.setParameter("neptun", user.getNeptunkod());
try {
Felhasznalo exists = (Felhasznalo) q.getSingleResult();
... |
diff --git a/src/org/meta_environment/rascal/interpreter/matching/ListPattern.java b/src/org/meta_environment/rascal/interpreter/matching/ListPattern.java
index 0609d9911a..23d7458dca 100644
--- a/src/org/meta_environment/rascal/interpreter/matching/ListPattern.java
+++ b/src/org/meta_environment/rascal/interpreter/mat... | true | true | public void initMatch(Result<IValue> subject){
super.initMatch(subject);
if(debug) {
System.err.println("List: initMatch: subject=" + subject);
}
if (!subject.getType().isListType()) {
hasNext = false;
return;
} else {
listSubject = (IList) subject.getValue();
listSubjectType = listSubje... | public void initMatch(Result<IValue> subject){
super.initMatch(subject);
if(debug) {
System.err.println("List: initMatch: subject=" + subject);
}
if (!subject.getType().isListType()) {
hasNext = false;
return;
} else {
listSubject = (IList) subject.getValue();
listSubjectType = listSubje... |
diff --git a/src/skittles/sim/BatchSkittles.java b/src/skittles/sim/BatchSkittles.java
index 22fdc4e..bc558fb 100644
--- a/src/skittles/sim/BatchSkittles.java
+++ b/src/skittles/sim/BatchSkittles.java
@@ -1,17 +1,17 @@
package skittles.sim;
import java.io.File;
/**
* Runs all the sims specific in the configs/ ... | true | true | public static void main( String[] args )
{
File dir = new File("configs/");
for (String s: dir.list()) {
new Game(s).runGame();
}
}
| public static void main( String[] args )
{
File dir = new File("configs/");
for (String s: dir.list()) {
new Game("configs/" + s).runGame();
}
}
|
diff --git a/52n-wps-server/src/main/java/org/n52/wps/server/request/InputHandler.java b/52n-wps-server/src/main/java/org/n52/wps/server/request/InputHandler.java
index 8ecde780..1fe1044b 100644
--- a/52n-wps-server/src/main/java/org/n52/wps/server/request/InputHandler.java
+++ b/52n-wps-server/src/main/java/org/n52/wp... | true | true | private void handleComplexValueReference(InputType input) throws ExceptionReport{
String inputID = input.getIdentifier().getStringValue();
ReferenceStrategyRegister register = ReferenceStrategyRegister.getInstance();
InputStream stream = register.resolveReference(input);
String dataURLString = input.getR... | private void handleComplexValueReference(InputType input) throws ExceptionReport{
String inputID = input.getIdentifier().getStringValue();
ReferenceStrategyRegister register = ReferenceStrategyRegister.getInstance();
InputStream stream = register.resolveReference(input);
String dataURLString = input.getR... |
diff --git a/src/xdsbridge/src/test/java/com/vangent/hieos/services/xds/bridge/mapper/CDAToXDSMapperTest.java b/src/xdsbridge/src/test/java/com/vangent/hieos/services/xds/bridge/mapper/CDAToXDSMapperTest.java
index 45c31a07..3cbf5db1 100755
--- a/src/xdsbridge/src/test/java/com/vangent/hieos/services/xds/bridge/mapper/... | true | true | public void mapTest() throws Exception {
ContentParserConfig cfg =
JUnitHelper.createCDAToXDSContentParserConfig();
ContentParser gen = new ContentParser();
CDAToXDSMapper mapper = new CDAToXDSMapper(gen, cfg);
ClassLoader cl = getClass().getClassLoader();
Inpu... | public void mapTest() throws Exception {
ContentParserConfig cfg =
JUnitHelper.createCDAToXDSContentParserConfig();
ContentParser gen = new ContentParser();
CDAToXDSMapper mapper = new CDAToXDSMapper(gen, cfg);
ClassLoader cl = getClass().getClassLoader();
Inpu... |
diff --git a/src/main/java/com/jcabi/maven/plugin/AjcMojo.java b/src/main/java/com/jcabi/maven/plugin/AjcMojo.java
index a49f7e3..51439a5 100644
--- a/src/main/java/com/jcabi/maven/plugin/AjcMojo.java
+++ b/src/main/java/com/jcabi/maven/plugin/AjcMojo.java
@@ -1,402 +1,403 @@
/**
* Copyright (c) 2012-2013, JCabi.com... | true | true | public void execute() throws MojoFailureException {
StaticLoggerBinder.getSingleton().setMavenLog(this.getLog());
this.classesDirectory.mkdirs();
this.tempDirectory.mkdirs();
final Main main = new Main();
final IMessageHolder mholder = new AjcMojo.MsgHolder();
final S... | public void execute() throws MojoFailureException {
StaticLoggerBinder.getSingleton().setMavenLog(this.getLog());
this.classesDirectory.mkdirs();
this.tempDirectory.mkdirs();
final Main main = new Main();
final IMessageHolder mholder = new AjcMojo.MsgHolder();
final S... |
diff --git a/eclipse/portal/plugins/com.liferay.ide.eclipse.layouttpl.core/src/com/liferay/ide/eclipse/layouttpl/core/facet/LayoutTplPluginFacetInstall.java b/eclipse/portal/plugins/com.liferay.ide.eclipse.layouttpl.core/src/com/liferay/ide/eclipse/layouttpl/core/facet/LayoutTplPluginFacetInstall.java
index bd9700655..... | true | true | public void execute(IProject project, IProjectFacetVersion fv, Object config, IProgressMonitor monitor)
throws CoreException {
super.execute(project, fv, config, monitor);
IDataModel model = (IDataModel) config;
IDataModel masterModel = (IDataModel) model.getProperty(FacetInstallDataModelProvider.MASTER_PR... | public void execute(IProject project, IProjectFacetVersion fv, Object config, IProgressMonitor monitor)
throws CoreException {
super.execute(project, fv, config, monitor);
IDataModel model = (IDataModel) config;
IDataModel masterModel = (IDataModel) model.getProperty(FacetInstallDataModelProvider.MASTER_PR... |
diff --git a/src/zz/utils/properties/ArrayListProperty.java b/src/zz/utils/properties/ArrayListProperty.java
index daa58e7..c0e9597 100644
--- a/src/zz/utils/properties/ArrayListProperty.java
+++ b/src/zz/utils/properties/ArrayListProperty.java
@@ -1,168 +1,168 @@
/*
* Created on Dec 14, 2004
*/
package zz.utils.... | true | true | public IListProperty<E> cloneForOwner(Object aOwner, boolean aCloneValue)
{
// Note: we don't tell super to clone value, we handle it ourselves.
ArrayListProperty<E> theClone =
(ArrayListProperty) super.cloneForOwner(aOwner, false);
if (aCloneValue)
{
theClone.itsList = new MyList();
for (E theEl... | public IListProperty<E> cloneForOwner(Object aOwner, boolean aCloneValue)
{
// Note: we don't tell super to clone value, we handle it ourselves.
ArrayListProperty<E> theClone =
(ArrayListProperty) super.cloneForOwner(aOwner, false);
if (aCloneValue)
{
theClone.itsList = new MyList();
for (E theEl... |
diff --git a/client/globe/Globe.java b/client/globe/Globe.java
index 97f16e0..8b31384 100644
--- a/client/globe/Globe.java
+++ b/client/globe/Globe.java
@@ -1,518 +1,531 @@
/*
Copyright 2006 Jerry Huxtable
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complian... | true | true | public Globe() {
// Create the map projection
projection = new OrthographicAzimuthalProjection();
// The easiest way to scale the projection is to change the Earth's radius. We could also use an AffineTransform.
projection.setEllipsoid( new Ellipsoid("", globeRadius, globeRadius, 0, ... | public Globe() {
// Create the map projection
projection = new OrthographicAzimuthalProjection();
// The easiest way to scale the projection is to change the Earth's radius. We could also use an AffineTransform.
projection.setEllipsoid( new Ellipsoid("", globeRadius, globeRadius, 0, ... |
diff --git a/src/main/java/mx/edu/um/mateo/general/web/TipoClienteController.java b/src/main/java/mx/edu/um/mateo/general/web/TipoClienteController.java
index b2958994..ac8eae7b 100644
--- a/src/main/java/mx/edu/um/mateo/general/web/TipoClienteController.java
+++ b/src/main/java/mx/edu/um/mateo/general/web/TipoClienteC... | false | true | public String lista(HttpServletRequest request, HttpServletResponse response,
@RequestParam(required = false) String filtro,
@RequestParam(required = false) Long pagina,
@RequestParam(required = false) String tipo,
@RequestParam(required = false) String correo,
... | public String lista(HttpServletRequest request, HttpServletResponse response,
@RequestParam(required = false) String filtro,
@RequestParam(required = false) Long pagina,
@RequestParam(required = false) String tipo,
@RequestParam(required = false) String correo,
... |
diff --git a/job/controller/src/main/java/org/talend/esb/job/controller/internal/RuntimeESBConsumer.java b/job/controller/src/main/java/org/talend/esb/job/controller/internal/RuntimeESBConsumer.java
index c4b5b35da..f79c725c9 100644
--- a/job/controller/src/main/java/org/talend/esb/job/controller/internal/RuntimeESBCon... | true | true | RuntimeESBConsumer(final QName serviceName,
final QName portName,
String operationName,
String publishedEndpointUrl,
String wsdlURL,
boolean isRequestResponse,
final LocatorFeature slFeature,
final EventFeature samFeature,
... | RuntimeESBConsumer(final QName serviceName,
final QName portName,
String operationName,
String publishedEndpointUrl,
String wsdlURL,
boolean isRequestResponse,
final LocatorFeature slFeature,
final EventFeature samFeature,
... |
diff --git a/src/me/slaps/iCoLand/iCoLandCommandListener.java b/src/me/slaps/iCoLand/iCoLandCommandListener.java
index bf11ce6..19e2eb8 100644
--- a/src/me/slaps/iCoLand/iCoLandCommandListener.java
+++ b/src/me/slaps/iCoLand/iCoLandCommandListener.java
@@ -1,918 +1,925 @@
package me.slaps.iCoLand;
import java.io.Fi... | true | true | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Messaging mess = new Messaging(sender);
if ( Config.debugMode1 ) {
String debug = "iCoLand.onCommand(): " + ((sender instanceof Player) ? "Player " + ((Player) sender).getName() : "Console"... | public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
Messaging mess = new Messaging(sender);
if ( Config.debugMode1 ) {
String debug = "iCoLand.onCommand(): " + ((sender instanceof Player) ? "Player " + ((Player) sender).getName() : "Console"... |
diff --git a/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java b/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
index 298192cc1..1a170c293 100644
--- a/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
+++ b/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
@@ -1,916 +... | false | true | public void makeTopLevelShell() throws IOException {
String permutationId = getPermutationId();
PrintWriter outFile = new PrintWriter(getOutFile("SoycDashboard" + "-"
+ getPermutationId() + "-index.html"));
addStandardHtmlProlog(outFile, "Compile report: Permutation "
+ permutationId, "C... | public void makeTopLevelShell() throws IOException {
String permutationId = getPermutationId();
PrintWriter outFile = new PrintWriter(getOutFile("SoycDashboard" + "-"
+ getPermutationId() + "-index.html"));
addStandardHtmlProlog(outFile, "Compile report: Permutation "
+ permutationId, "C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.