code: @Override
      public UnixSshPath normalize() {
          List<String> partsList = new ArrayList<String>();
          for ( String part : parts ) {
              if ( part.equals( "." ) ) {
                  continue;
              }
              else if ( part.equals( ".." ) ) {
                  int size = partsList.size();
                  if ( size > 0 ) {
                      partsList.remove( size - 1 );
                  }
              }
              else {
                  partsList.add( part );
              }
          }
          return new UnixSshPath( getFileSystem(), isAbsolute(),
                  partsList.toArray( new String[partsList.size()] ) );
      }
docs: {@inheritDoc}