question: private void createShareMap ( HashSet < UnManagedSMBFileShare > unManagedSMBFileShareHashSet , UnManagedSMBShareMap unManagedSMBShareMap , String addr , String nativeid ) { UnManagedSMBFileShare newUnManagedSMBFileShare = null ; if ( unManagedSMBFileShareHashSet != null && ! unManagedSMBFileShareHashSet . isEmpty ( ) ) { for ( UnManagedSMBFileShare unManagedSMBFileShare : unManagedSMBFileShareHashSet ) { String mountPoint = "\\\\" + addr + "\\" + unManagedSMBFileShare . getName ( ) ; newUnManagedSMBFileShare = new UnManagedSMBFileShare ( unManagedSMBFileShare . getName ( ) , unManagedSMBFileShare . getDescription ( ) , FileControllerConstants . CIFS_SHARE_PERMISSION_TYPE_ALLOW , FileControllerConstants . CIFS_SHARE_PERMISSION_CHANGE , unManagedSMBFileShare . getMaxUsers ( ) , mountPoint ) ; newUnManagedSMBFileShare . setNativeId ( nativeid ) ; newUnManagedSMBFileShare . setPath ( nativeid ) ; unManagedSMBShareMap . put ( unManagedSMBFileShare . getName ( ) , newUnManagedSMBFileShare ) ; _logger . info ( "New SMB share name: {} has mount point: {}" , unManagedSMBFileShare . getName ( ) , mountPoint ) ; } } }
target:  add Unmanaged SMB share to FS Object