(Link link, String newpwd)
| 149 | } |
| 150 | |
| 151 | private String pktpass(Link link, String newpwd) { |
| 152 | if (newpwd.length() > 3 && newpwd.length() < 9) { |
| 153 | link.setPaketPassword(newpwd); |
| 154 | ORMManager.get(Link.class).update(link); |
| 155 | return "Your packet password was changed to " + newpwd + "\n"; |
| 156 | } else { |
| 157 | return "Your packet password must be between 4 and 8 chars length\n"; |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | protected String afxpass(Link link, String newpwd) { |
| 162 | if (newpwd.length() > 3 && newpwd.length() < 17) { |
no test coverage detected