rspec/rules/S1700/noncompliant.adoc

14 lines
195 B
Plaintext

=== Noncompliant code example
[source,text]
----
public class Foo {
private String foo;
public String getFoo() { }
}
Foo foo = new Foo();
foo.getFoo() // what does this return?
----