Pop the top object off of the stack, and return it. If there are no objects on the stack, return null . @return the top object
()
| 1917 | * @return the top object |
| 1918 | */ |
| 1919 | public Object pop() { |
| 1920 | try { |
| 1921 | return stack.pop(); |
| 1922 | } catch (EmptyStackException e) { |
| 1923 | log.warn(sm.getString("digester.emptyStack")); |
| 1924 | return null; |
| 1925 | } |
| 1926 | } |
| 1927 | |
| 1928 | |
| 1929 | /** |