Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 591 for setMessage (0.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

    import org.apache.maven.model.v4.MavenStaxReader;
    import org.apache.maven.model.v4.MavenStaxWriter;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.apache.maven.internal.impl.StaxLocation.getMessage;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultModelXmlFactory implements ModelXmlFactory {
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/app/MessageUtils.java.template

    ${fileComment.multilineComment}${packageDecl.javaStatement}
    class MessageUtils {
        public static String getMessage() {
            return "Hello      World!";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 165 bytes
    - Viewed (0)
  4. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/app/App.kt.template

    ${fileComment.multilineComment}${packageDecl.statement}
    import ${basePackagePrefix.raw}utilities.StringUtils
    
    import org.apache.commons.text.WordUtils
    
    fun main() {
        val tokens = StringUtils.split(MessageUtils.getMessage())
        val result = StringUtils.join(tokens)
        println(WordUtils.capitalize(result))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 313 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/templates/java-application/src/main/java/org/gradle/sample/app/MessageUtils.java

    package org.gradle.sample.app;
    
    class MessageUtils {
        public static String getMessage() {
            return "Hello,      World!";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 138 bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                PrintStream ps = new PrintStream(os);
                ps.println(
                        "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage());
                pluginRealm.display(ps);
                Exception wrapper = new PluginContainerException(mojoDescriptor, pluginRealm, os.toString(), e);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

                  public String getMessage() { return "hello"; }
                }
            """
    
            file("plugin1.gradle") << """
                task sayMessageFrom1 { doLast { println new pkg.Thing().getMessage() } }
                apply from: 'plugin2.gradle'
            """
    
            file("plugin2.gradle") << """
                task sayMessageFrom2 { doLast { println new pkg.Thing().getMessage() } }
                apply from: 'plugin3.gradle'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/templates/java-junit5-test-for-application/src/test/java/org/gradle/sample/app/MessageUtilsTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class MessageUtilsTest {
        @Test public void testGetMessage() {
            assertEquals("Hello,      World!", MessageUtils.getMessage());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 282 bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensibleDynamicObjectTest.java

            Bean bean = new Bean();
    
            try {
                bean.setProperty("readOnlyProperty", "value");
                fail();
            } catch (GroovyRuntimeException e) {
                assertThat(e.getMessage(), equalTo("Cannot set the value of read-only property 'readOnlyProperty' for <bean> of type " + Bean.class.getName() + "."));
            }
        }
    
        @Test
        public void canSetWriteOnlyClassProperty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/AnnotatedGeneratedClassProcessorFixture.groovy

                        out.close();
                    }
                } catch (IOException e) {
                    messager.printMessage(Diagnostic.Kind.ERROR, "Failed to generate class file " + className + ". " + e.getMessage(), element);
                }
            }
            """
        }
    
        private String getSourceGeneratorCode() {
            """
        for (Element element : elements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top