Skip to content

Commit 8060f8b

Browse files
authored
Reduced few line of the code (oracle-samples#129)
1 parent c758669 commit 8060f8b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

java/HRWebApp/src/main/resources/SalaryHikeSP.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ public class SalaryHikeSP {
3131
* Increment the Salary
3232
*/
3333
public static ResultSet incrementSalary (int percentIncrease) throws SQLException {
34-
int updateCount = 0;
35-
int totalemployees = 0;
36-
int tier3emp = 0;
37-
int tier2emp = 0;
38-
int tier1emp = 0;
34+
int updateCount = 0,totalemployees = 0,tier3emp = 0,tier2emp = 0,tier1emp = 0;
3935
float totalsalary = 0.0f;
4036
float minsalary = 0.0f;
4137
float maxsalary = 0.0f;

0 commit comments

Comments
 (0)