FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add missing access modifiers to Display · shroffk/epicsCoreJava@366473a · GitHub

Repository navigation

Commit 366473a

Browse files
committed
Add missing access modifiers to Display
Display class in org.epics.pvdata.property had a public constructor but no access modifiers on its methods (so by have package access). Make methods public.
1 parent 26635aa commit 366473a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

‎pvDataJava/src/org/epics/pvdata/property/Display.java‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,52 +18,52 @@ public Display() {}
1818
* Get the low limit.
1919
* @return The value.
2020
*/
21-
double getLow() {return low;}
21+
public double getLow() {return low;}
2222
/**
2323
* Get the High Limit.
2424
* @return The value.
2525
*/
26-
double getHigh() { return high;}
26+
public double getHigh() { return high;}
2727
/**
2828
* set the low limut.
2929
* @param value The value.
3030
*/
31-
void setLow(double value){low = value;}
31+
public void setLow(double value){low = value;}
3232
/**
3333
* Set the high limit.
3434
* @param value The value.
3535
*/
36-
void setHigh(double value){high = value;}
36+
public void setHigh(double value){high = value;}
3737
/**
3838
* Get the description.
3939
* @return The value.
4040
*/
41-
String getDescription() {return description;}
41+
public String getDescription() {return description;}
4242
/**
4343
* Set the description.
4444
* @param value The value.
4545
*/
46-
void setDescription(String value) {description = value;}
46+
public void setDescription(String value) {description = value;}
4747
/**
4848
* Get the format.
4949
* @return The value.
5050
*/
51-
String getFormat() {return format;}
51+
public String getFormat() {return format;}
5252
/**
5353
* Set the format.
5454
* @param value The value.
5555
*/
56-
void setFormat(String value) {format = value;}
56+
public void setFormat(String value) {format = value;}
5757
/**
5858
* Get the units.
5959
* @return The value.
6060
*/
61-
String getUnits() {return units;}
61+
public String getUnits() {return units;}
6262
/**
6363
* Set the units.
6464
* @param value The value.
6565
*/
66-
void setUnits(String value) {units = value;}
66+
public void setUnits(String value) {units = value;}
6767

6868
private String description = "";
6969
private String format = "";

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL