Skip to content
Snippets Groups Projects
Commit 8258380d authored by uhensler's avatar uhensler
Browse files

OO-3303: Even more API polishing

parent a4676b64
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,12 @@ package org.olat.modules.forms;
*/
public class Limit {
private static final Limit ALL = new Limit(-1);
private int max = -1;
public static Limit all() {
return new Limit(-1);
return ALL;
}
public static Limit max(int max) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment