Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit ab4d32d

Browse files
authored
Merge pull request #367 from mathworks/mpm_tools
Changed Version to release in setter
2 parents 0b31a13 + 94c46cc commit ab4d32d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/mathworks/ci/tools/MatlabInstaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public String getRelease() {
6161
}
6262

6363
@DataBoundSetter
64-
public void setVersion(String release) {
64+
public void setRelease(String release) {
6565
this.release = release;
6666
}
6767

src/test/java/unit/com/mathworks/ci/tools/MatlabInstallerUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public class MatlabInstallerUnitTest {
4848
public void setUp () throws Exception {
4949
MockitoAnnotations.initMocks (this);
5050
installer = spy (new MatlabInstaller ("test-id"));
51-
installer.setVersion ("R2021a");
52-
installer.setProducts ("MATLAB");
51+
installer.setRelease("R2021a");
52+
installer.setProducts("MATLAB");
5353
}
5454

5555
@Test

0 commit comments

Comments
 (0)