1 2 3 4
try { conn = DBConnection.getDBConnection(); String SQL = "{call PACKAGE.PROCEDURE(?, ?)}"; ...
1 2 3 4
a) Obj p = curScope.locals, last = null; ...
Java Linked list traversal, comp...
by maroloccio.blogspot.com,
February 24, 2010 18:11,
1 refactoring, tagged with linked-list, traversing, java
I got this:
a) // see be...
1 2 3 4
import javax.swing.JOptionPane; public class Rational { ...
Java Rational numbers - Problem :/
by omygoodness.myopenid.com,
January 03, 2010 15:35,
1 refactoring, tagged with rational numbers, java, comparsions, less than or
Hi,
I have a problem with ...
1 2 3 4
import java.util.ArrayList; import java.util.Random; ...
Java Problem with Permutation Class
by b-kovar.myopenid.com,
November 07, 2009 03:12,
1 refactoring
Alright, so for out class, ...
1 2 3 4
//the code below is the class public class FactorGenerator ...
Java FactorGenerator Class &...
by b-kovar.myopenid.com,
October 19, 2009 21:07,
1 refactoring, tagged with Factor Generator Class Tester
Hello, I am making a Factor...
1 2 3 4
/* * To change this template, choose Tools | Templates * and open the template in the editor. ...
Java Refactor my brute forcer!
by mdw7.blogspot.com,
October 18, 2009 21:28,
1 refactoring
Can you improve the speed o...
1 2 3 4
private void schematronTransformation() throws TransformerException { TransformerFactory tf = TransformerFactory.newInstance(); ...
Java Multiple XSLT for Schematro...
by DaJunkie,
October 09, 2009 10:39,
1 refactoring, tagged with schematron, xslt, transform, pipe, jaxp, dom, sax, java, xml, validate
I want to validate some XML...
1 2 3 4
String className = file.getAbsolutePath(); /* TODO, replace this with regex is possible */ ...
Java replace with regex
Can this be refactored to u...
1 2 3 4
// FIELD private ArrayList<Item> owned = new ArrayList<Item>(); // in the Constructor I inizialize this field to null ...
Java java.lang.NullPointerException
by okram87.myopenid.com,
May 25, 2009 20:25,
2 refactorings
why this.getOwned().add(ite...
1 2 3 4
public void draw() { switch(direction) ...
Java Snake Game Logic?
by gmaster1440.myopenid.com,
May 25, 2009 02:55,
2 refactorings, tagged with java, snake game, snake, game, logic, timer, pause
I'm having a lot of trouble...
1 2 3 4
public static String findsite(InputStream text) { String site, line = null; Boolean nospace = true; ...
Java speed up this horrendous co...
I don't know too much about...
1 2 3 4
public static Matrices add(Matrices a, Matrices b) { int rows = a.getRows(); ...
Java Conditional operator refact...
I want to modify this code ...
1 2 3 4
private final String DO_NOT_TRANSLATE_TAG = "skip"; /** ...
Java replace by tag
by mikenereson.blogspot.com,
April 24, 2009 19:17,
2 refactorings
replaces value between two ...
1 2 3 4
public class Stats { public int HP; public int STR; ...
Java Stats
this is the most idiotic co...
1 2 3 4
package engine; import junit.framework.Assert; ...
Java Refactor, fix and optimize ...
by programmer-offsite,
April 20, 2009 14:15,
3 refactorings, tagged with optimize, strings, refactor, java, character
While tuning the applicatio...
1 2 3 4
Sub Initialize Dim customername As String Dim servername As String ...
Java First LotusScript Agent
This agent reads a log and ...
1 2 3
public class ServicesRunner { ...
Java Separate thread logic from ...
by andreamoz.blogspot.com,
March 12, 2009 14:03,
No refactoring, tagged with thread, command, delegation, state
The ServicesRunner start th...
1 2 3 4
import java.util.Scanner; public class Main { ...
Java ACSL Pinochle Intermediate ...
by hinduone.myopenid.com,
February 08, 2009 05:11,
3 refactorings
w00t
1 2 3 4
URL url = new URL("https://dev.psigate.com:7989/Messenger/XMLMessenger"); HttpURLConnection connection = (HttpURLConnection)url.openConnection(); connection.setDoInput(true); ...
Java PSiGate
This seems particularly egr...
1 2 3 4
grammar Expr; options { backtrack=true; ...
Java ANTLR / Java
This is a mix of ANTLR ( ht...
1 2 3 4
# Jhippo.java package Jhippo; ...
Java Jhippo
by tak11.myopenid.com,
December 16, 2008 04:14,
No refactoring, tagged with pircbot, java, irc, bot, swing, gui
Java irc bot using Pircbot....
1 2 3 4
import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; ...
Java Read/download images from a...
Hi guys,
This code downloa...
In my project, I do see lot...