MCPcopy Create free account
hub / github.com/M66B/FairEmail / getProp

Method getProp

app/src/main/java/com/sun/mail/util/PropUtil.java:123–129  ·  view source on GitHub ↗

Get the value of the specified property. If the "get" method returns null, use the getProperty method, which might cascade to a default Properties object.

(Properties props, String name)

Source from the content-addressed store, hash-verified

121 * which might cascade to a default Properties object.
122 */
123 private static Object getProp(Properties props, String name) {
124 Object val = props.get(name);
125 if (val != null)
126 return val;
127 else
128 return props.getProperty(name);
129 }
130
131 /**
132 * Interpret the value object as an integer,

Callers 5

getIntPropertyMethod · 0.95
getBooleanPropertyMethod · 0.95
getIntSessionPropertyMethod · 0.95

Calls 2

getMethod · 0.45
getPropertyMethod · 0.45

Tested by

no test coverage detected