Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for assertPropertyNotNull (0.41 seconds)

  1. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

         * message:
         * </pre>
         * @param property The property name for the message. (NotNull)
         * @return this. (NotNull)
         */
        public FessMessages addErrorsFrontHeader(String property) {
            assertPropertyNotNull(property);
            add(property, new UserMessage(ERRORS_front_header));
            return this;
        }
    
        /**
         * Add the created action message for the key 'errors.front_footer' with parameters.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 126.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            fessLabels = new FessLabels();
        }
    
        /**
         * Test that assertPropertyNotNull throws exception for null input
         */
        @Test
        public void test_assertPropertyNotNull_withNull() {
            try {
                // Create a test instance that extends FessLabels
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /**
         * Assert the property is not null.
         * @param property The value of the property. (NotNull)
         */
        protected void assertPropertyNotNull(String property) {
            if (property == null) {
                String msg = "The argument 'property' for message should not be null.";
                throw new IllegalArgumentException(msg);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 172.6K bytes
    - Click Count (0)
Back to Top