package de.itemis.mosig.ringbuffer;

public class CircularBuffer {

	private final int size;
	private int count = 0;

	public CircularBuffer(int size) {
		this.size = size;
	}

	public void add() {
		count++;
	}

	public int size() {
		return size;
	}

	public int count() {
		return count;
	}
}

package de.itemis.mosig.ringbuffer;

public class CircularBuffer {

	private final int size;
	private int count = 0;

	public CircularBuffer(int size) {
		this.size = size;
	}

	public void add(int element) {
		count++;
	}

	public int size() {
		return size;
	}

	public int count() {
		return count;
	}
}

Add operation now takes an argument.
GREEN: Add operation now takes an argument.