Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for replaceFirst (0.2 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                if (firstChild instanceof Text) {
                    firstChild.setTextContent(firstChild.getTextContent().replaceFirst("^\\s+", ""));
                }
                Node lastChild = element.getLastChild();
                if (lastChild instanceof Text) {
                    lastChild.setTextContent(lastChild.getTextContent().replaceFirst("\\s+$", ""));
                }
                valueTitles.add(element);
            }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            try {
                BufferedReader reader = new BufferedReader(new StringReader(rawCommentText));
                String line;
                while ((line = reader.readLine()) != null) {
                    line = line.replaceFirst("\\s*\\* ?", "");
                    if (line.startsWith("@")) {
                        // Ignore the tag section of the comment
                        break;
                    }
                    builder.append(line);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
                    }
                }
                return 1
            }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                    include "*.xsl"
                }
                from(archives.zipTree(getDocbookStylesheets().singleFile)) {
                    eachFile {
                        fcd -> fcd.path = fcd.path.replaceFirst("^docbook", "")
                    }
                }
                into(getTemporaryDir())
            }
    
            def stylesheetFile = new File(getTemporaryDir(), "dslHtml.xsl")
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top