MCPcopy Create free account
hub / github.com/apache/pig / removeColon

Method removeColon

test/org/apache/pig/test/Util.java:301–304  ·  view source on GitHub ↗

Helper to remove colons (if any exist) from paths to sanitize them for consumption by hdfs. @param origPath original path name @return String sanitized path with anything prior to : removed @throws IOException

(String origPath)

Source from the content-addressed store, hash-verified

299 * @throws IOException
300 */
301 static public String removeColon(String origPath)
302 {
303 return origPath.replaceAll(":", "");
304 }
305
306 /**
307 * Helper to convert \r\n to \n for cross-platform string

Callers 15

testForEachTwoInputMethod · 0.95
testMapLookupMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
testImportListMethod · 0.95
registerAndStoreMethod · 0.95
testMapLookupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected