equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
1311 if (type.compareTo("java.lang.Short") == 0) |
1311 if (type.compareTo("java.lang.Short") == 0) |
1312 return Short.valueOf(param); |
1312 return Short.valueOf(param); |
1313 if (type.compareTo("java.lang.Long") == 0) |
1313 if (type.compareTo("java.lang.Long") == 0) |
1314 return Long.valueOf(param); |
1314 return Long.valueOf(param); |
1315 if (type.compareTo("java.lang.Integer") == 0) |
1315 if (type.compareTo("java.lang.Integer") == 0) |
1316 return param; |
1316 return Integer.valueOf(param); |
1317 if (type.compareTo("java.lang.Float") == 0) |
1317 if (type.compareTo("java.lang.Float") == 0) |
1318 return new Float(param); |
1318 return Float.valueOf(param); |
1319 if (type.compareTo("java.lang.Double") == 0) |
1319 if (type.compareTo("java.lang.Double") == 0) |
1320 return new Double(param); |
1320 return Double.valueOf(param); |
1321 if (type.compareTo("java.lang.String") == 0) |
1321 if (type.compareTo("java.lang.String") == 0) |
1322 return param; |
1322 return param; |
1323 |
1323 |
1324 return param; |
1324 return param; |
1325 } |
1325 } |