Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getScopeState (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            }
        }
    
        private final List<ScopeState> values = new CopyOnWriteArrayList<>();
    
        public void enter() {
            values.add(0, new ScopeState());
        }
    
        protected ScopeState getScopeState() {
            if (values.isEmpty()) {
                throw new OutOfScopeException("Cannot access session scope outside of a scoping block");
            }
            return values.get(0);
        }
    
        public void exit() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top