Skip to content

Commit 7d0e324

Browse files
committed
Merge remote-tracking branch 'origin/main' into 6.x
2 parents cefb3fb + 2e90153 commit 7d0e324

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/gitlab4j/api/models/Commit.java

+8
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,15 @@ public Commit withParentIds(List<String> parentIds) {
246246
return this;
247247
}
248248

249+
/**
250+
* @deprecated use {@link #withShortId(String)} instead
251+
*/
252+
@Deprecated
249253
public Commit withShorwId(String shortId) {
254+
return withShortId(shortId);
255+
}
256+
257+
public Commit withShortId(String shortId) {
250258
this.shortId = shortId;
251259
return this;
252260
}

0 commit comments

Comments
 (0)