Last change
on this file since 205 was 205, checked in by Rick van der Zwet, 14 years ago |
Log4j compatibe logging (more easy to write)
|
File size:
553 bytes
|
Line | |
---|
1 | package nl.rickvanderzwet.toos.assignment1;
|
---|
2 |
|
---|
3 | import java.util.HashSet;
|
---|
4 | import nl.rickvanderzwet.toos.assignment1.Voter;
|
---|
5 | import org.apache.log4j.BasicConfigurator;
|
---|
6 | import org.apache.log4j.Logger;
|
---|
7 |
|
---|
8 | public class Census {
|
---|
9 | static Logger logger = Logger.getLogger(Census.class);
|
---|
10 | public static void main(String[] args) {
|
---|
11 | BasicConfigurator.configure();
|
---|
12 | HashSet<Voter> voters = new HashSet<Voter>();
|
---|
13 | voters.add(new Voter(true));
|
---|
14 |
|
---|
15 | logger.info("Hello, world!");
|
---|
16 | }
|
---|
17 | public boolean census(HashSet<Voter> Voters) {
|
---|
18 | return false;
|
---|
19 | }
|
---|
20 | }
|
---|
21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.