Skip to content

Commit 2e90153

Browse files
authored
Fix typo "withShorwId" should be "withShortId" (#1085)
Fixes #1082
1 parent ef3ffb7 commit 2e90153

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)