@@ -1291,11 +1291,7 @@ ClassMethod NormalizeInternalName(ByRef name As %String, Output fromWebApp As %B
1291
1291
1292
1292
ClassMethod NormalizeExtension (name As %String ) As %String
1293
1293
{
1294
- #dim extension = $piece (name , " ." , $length (name , " ." ))
1295
- if $length (extension ) <= 3 {
1296
- set $piece (name , " ." , $length (name , " ." )) = $zconvert (extension , " U" )
1297
- }
1298
- quit name
1294
+ return ##class (%Studio.SourceControl.Interface ).normalizeName (name )
1299
1295
}
1300
1296
1301
1297
ClassMethod RoutineTSH (InternalName As %String ) As %String
@@ -2401,8 +2397,8 @@ ClassMethod Name(InternalName As %String, ByRef MappingExists As %Boolean) As %S
2401
2397
2402
2398
if InternalName [" /" {
2403
2399
// If no specific mapping was specified (p=""), then return the whole csp filename; otherwise return the name without the mapped piece
2404
- set InternalName =$extract (InternalName ,$length (p )+2 ,*)
2405
- quit $translate (found _$translate (InternalName ," %" ," _" )," \" ," /" )
2400
+ set relativeInternalName =$extract (InternalName ,$length (p )+2 ,*)
2401
+ quit $translate (found _$translate (relativeInternalName ," %" ," _" )," \" ," /" )
2406
2402
} elseif (..Type (InternalName ) = " ptd" ) {
2407
2403
do ##class (SourceControl.Git.Production ).ParseInternalName (InternalName ,'default ,.filename )
2408
2404
return $translate (found _filename , " \" ," /" )
0 commit comments