Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdm/src/java/iterator/ITicketIterator.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.Iterator;

public interface ITicketIterator extends Iterator<Integer>
public interface ITicketIterator extends Iterator<Integer> // Is this interface really necessary? In any case you could keep it though!
{
boolean hasNext();

Expand Down
4 changes: 2 additions & 2 deletions sdm/src/java/singleton/LazySingleton.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import java.util.Random;

public class LazySingleton {
int behaviour;
public class LazySingleton { // Lazy and broken!
int behaviour; // Visibility
private static LazySingleton new_singleton = null;
private LazySingleton()
{
Expand Down