Skip to content
This repository has been archived by the owner on Sep 23, 2019. It is now read-only.

Latest commit

 

History

History
27 lines (23 loc) · 616 Bytes

CONTRIBUTING.md

File metadata and controls

27 lines (23 loc) · 616 Bytes

Style

Indenting

Indent all code with tabs, with the exception of .yml files, which must be indented with two spaces because of technical limitations.

Align code (such as markdown tables) with spaces.

Spaces

Follow the spacing rules in this example:

public class ForDemo {
	public static void main(String[] args) {
		for (int i = 1; i <= 30; i++) {
			if (i % 3 == 0 && i % 5 == 0) {
				System.out.println("FizzBuzz");
			} else if (i % 3 == 0) {
				System.out.println("Fizz");
			} else if (i % 5 == 0) {
				System.out.println("Buzz");
			} else {
				System.out.println(i);
			}
		}
	}
}