MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / noExtension

Method noExtension

ij/src/main/java/ij/io/SaveDialog.java:258–263  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

256 }
257
258 @AstroImageJ(reason = "Increase condition from 5 to 10", modified = true)
259 private boolean noExtension(String name) {
260 if (name==null) return false;
261 int dotIndex = name.indexOf(".");
262 return dotIndex==-1 || (name.length()-dotIndex)>10;
263 }
264
265 /** Returns the selected directory. */
266 public String getDirectory() {

Callers 3

jSaveDispatchThreadMethod · 0.95
runMethod · 0.95
saveMethod · 0.95

Calls 2

lengthMethod · 0.65
indexOfMethod · 0.45

Tested by

no test coverage detected