Class VcsBranchImpl

    • Method Detail

      • getDisplayName

        @NotNull
        public @NotNull String getDisplayName()
        Description copied from interface: VcsBranch
        This one is important in svn, where vcs branch name is whole path and display name would be only last part of it. For repositories like git both are the same.
        Specified by:
        getDisplayName in interface VcsBranch
      • isEqualToBranchWith

        public boolean isEqualToBranchWith​(@NotNull
                                           @NotNull String otherName)
        Specified by:
        isEqualToBranchWith in interface VcsBranch
        Returns:
        true if this object is equal to a branch with given properties.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object