I am using a UI component from J2ME Polish. I found a simple bug in the code, and want to quickly fix it but cannot find any build scripts in the download package, although source-code is included.
The problem cannot be solved by extending the class as it involves members with private access.
How should I go about fixing it? Should I...
I have to update a legacy application for a critical bug fix. I have to mention upfront that the code i am maintaining is rather bad and numerous mistakes were made that results in performance penalties. The linked-list is implemented rather badly and in some instances incorrectly. The problem goes from bad to worse where core code i...
It is said [Software Defect ReductionTop 10 List] that, 'about 40 to 50 percent of user programs contain nontrivial defects'.
What are some nontrivial defects and how to overcome them?
...
In your opinion, who should fix a bug? A programmer, right? OK but really, who... let me explain.
I'm a Scrum Master across a number of Scrum projects. Scrum says 'ring-fence your resources where possible', a sentiment I whole-heartedly agree with.
Generally we integrate a certain %age of each sprint to be bug-fixing from the pre...
Okay, this sounds simple, but I tried all the simple things and it still doesn't work properly.
import java.net.*;
import java.io.*;
public class MyServer{
public static void main(String[] args) throws IOException {
int MAX_PLAYERS = 1;
int players = 0;
ServerSocket serverSocket = new ServerSocket(43);
...
I'm running an "defect fixing" group (developers do 2 weeks operations, then rotate).
I want to build up a documentation "how to deal with problem x" - basically a decision tree:
Is the problem in part x of the web site?
Yes: Is the problem occurring in all browsers?
Yes: ...
No: ...
No: ...
The doc...
This program I'm making isn't compiling right, I keep getting the error:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -9
at java.lang.String.charAt(String.java:687)
at pro1.main(pro1.java:161)
Here's my code:
import java.io.*;
import java.util.*;
public class pro1 {
static Stri...
I got this exercise, is not a homework, I just trying to solve:
We manage a farm with horses that have
to work on the field.
A horse has
a name,
a maximum amount of
working hours per week,
the amount
of hours actually worked and
a field to indicate if she is lazy or
hard-working.
All the attributes ...