| 11 | package java.util.jar; |
| 12 | |
| 13 | public class Attributes { |
| 14 | public static class Name { |
| 15 | private final String name; |
| 16 | |
| 17 | private static final int MAX_NAME_LENGTH = 70; |
| 18 | |
| 19 | public Name(String s) { |
| 20 | int len = s.length(); |
| 21 | if (len == 0 || len > MAX_NAME_LENGTH) |
| 22 | throw new IllegalArgumentException(); |
| 23 | |
| 24 | name = s; |
| 25 | } |
| 26 | } |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected