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

Method addQuotes

ij/src/main/java/ij/plugin/frame/Recorder.java:800–807  ·  view source on GitHub ↗
(String value)

Source from the content-addressed store, hash-verified

798 }
799
800 static String addQuotes(String value) {
801 if (value==null)
802 value = "";
803 int index = value.indexOf(' ');
804 if (index>-1)
805 value = "["+value+"]";
806 return value;
807 }
808
809 /** Used by GenericDialog to determine if any options have been recorded. */
810 public static String getCommandOptions() {

Callers 2

recordOptionMethod · 0.95
recordPathMethod · 0.95

Calls 1

indexOfMethod · 0.45

Tested by

no test coverage detected