mirror of
https://github.com/XAMPPRocky/tokei.git
synced 2026-05-28 00:20:57 +02:00
14870d7625
* Added tests for c++ source and header files and java files. * Added VHDL to languages and tests * Updated readme Updated to reflect VHDL being added to languages
24 lines
331 B
Java
24 lines
331 B
Java
/* 23 lines 16 code 4 comments 3 blanks */
|
|
|
|
/*
|
|
* Simple test class
|
|
*/
|
|
public class Test
|
|
{
|
|
int j = 0; // Not counted
|
|
public static void main(String[] args)
|
|
{
|
|
Foo f = new Foo();
|
|
f.bar();
|
|
|
|
}
|
|
}
|
|
|
|
class Foo
|
|
{
|
|
public void bar()
|
|
{
|
|
System.out.println("FooBar"); //Not counted
|
|
}
|
|
}
|