Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html Sun Apr 30 22:24:03 2023 @@ -28,51 +28,65 @@ <a class="jxr_linenumber" name="L20" href="#L20">20</a> <a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> java.io.IOException; <a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.io.InputStream; -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.util.Set; -<a class="jxr_linenumber" name="L24" href="#L24">24</a> -<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.ArrayCases; -<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.InnerClassCase; -<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.MethodHandleCases; -<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> org.junit.Test; -<a class="jxr_linenumber" name="L29" href="#L29">29</a> -<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; -<a class="jxr_linenumber" name="L31" href="#L31">31</a> -<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="ResultCollectorTest" href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html#ResultCollectorTest">ResultCollectorTest</a> { -<a class="jxr_linenumber" name="L33" href="#L33">33</a> Set<String> getDependencies(Class<?> inspectClass) <strong class="jxr_keyword">throws</strong> IOException { -<a class="jxr_linenumber" name="L34" href="#L34">34</a> String className = inspectClass.getName(); -<a class="jxr_linenumber" name="L35" href="#L35">35</a> String path = '/' + className.replace('.', '/') + <span class="jxr_string">".class"</span>; -<a class="jxr_linenumber" name="L36" href="#L36">36</a> DependencyClassFileVisitor visitor = <strong class="jxr_keyword">new</strong> DependencyClassFileVisitor(); -<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">try</strong> (InputStream is = inspectClass.getResourceAsStream(path)) { -<a class="jxr_linenumber" name="L38" href="#L38">38</a> visitor.visitClass(className, is); -<a class="jxr_linenumber" name="L39" href="#L39">39</a> } -<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">return</strong> visitor.getDependencies(); -<a class="jxr_linenumber" name="L41" href="#L41">41</a> } -<a class="jxr_linenumber" name="L42" href="#L42">42</a> -<a class="jxr_linenumber" name="L43" href="#L43">43</a> @Test -<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testArrayCases() <strong class="jxr_keyword">throws</strong> IOException { -<a class="jxr_linenumber" name="L45" href="#L45">45</a> Set<String> dependencies = getDependencies(ArrayCases.<strong class="jxr_keyword">class</strong>); -<a class="jxr_linenumber" name="L46" href="#L46">46</a> assertThat(dependencies).doesNotContain(<span class="jxr_string">"[I"</span>); -<a class="jxr_linenumber" name="L47" href="#L47">47</a> assertThat(dependencies).allSatisfy(dependency -> assertThat(dependency).doesNotStartWith(<span class="jxr_string">"["</span>)); -<a class="jxr_linenumber" name="L48" href="#L48">48</a> assertThat(dependencies).contains(<span class="jxr_string">"java.lang.annotation.Annotation"</span>).contains(<span class="jxr_string">"java.lang.reflect.Constructor"</span>); -<a class="jxr_linenumber" name="L49" href="#L49">49</a> } -<a class="jxr_linenumber" name="L50" href="#L50">50</a> -<a class="jxr_linenumber" name="L51" href="#L51">51</a> @Test -<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNoMethodHandle() <strong class="jxr_keyword">throws</strong> IOException { -<a class="jxr_linenumber" name="L53" href="#L53">53</a> Set<String> dependencies = getDependencies(MethodHandleCases.<strong class="jxr_keyword">class</strong>); -<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">for</strong> (String dependency : dependencies) { -<a class="jxr_linenumber" name="L55" href="#L55">55</a> assertThat(dependency).doesNotStartWith(<span class="jxr_string">"("</span>); -<a class="jxr_linenumber" name="L56" href="#L56">56</a> } -<a class="jxr_linenumber" name="L57" href="#L57">57</a> } -<a class="jxr_linenumber" name="L58" href="#L58">58</a> -<a class="jxr_linenumber" name="L59" href="#L59">59</a> @Test -<a class="jxr_linenumber" name="L60" href="#L60">60</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testInnerClassAsContainer() <strong class="jxr_keyword">throws</strong> IOException { -<a class="jxr_linenumber" name="L61" href="#L61">61</a> Set<String> dependencies = getDependencies(InnerClassCase.<strong class="jxr_keyword">class</strong>); -<a class="jxr_linenumber" name="L62" href="#L62">62</a> <strong class="jxr_keyword">for</strong> (String dependency : dependencies) { -<a class="jxr_linenumber" name="L63" href="#L63">63</a> assertThat(dependency).doesNotContain(<span class="jxr_string">"$"</span>); -<a class="jxr_linenumber" name="L64" href="#L64">64</a> } -<a class="jxr_linenumber" name="L65" href="#L65">65</a> assertThat(dependencies).contains(<span class="jxr_string">"java.lang.System"</span>); -<a class="jxr_linenumber" name="L66" href="#L66">66</a> } -<a class="jxr_linenumber" name="L67" href="#L67">67</a> } +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.nio.file.Files; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> java.nio.file.Path; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> java.nio.file.Paths; +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> java.util.Set; +<a class="jxr_linenumber" name="L27" href="#L27">27</a> +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.ArrayCases; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.InnerClassCase; +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> org.apache.maven.shared.dependency.analyzer.testcases.MethodHandleCases; +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> org.junit.jupiter.api.Test; +<a class="jxr_linenumber" name="L32" href="#L32">32</a> +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.assertj.core.api.Assertions.assertThat; +<a class="jxr_linenumber" name="L34" href="#L34">34</a> +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">class</strong> <a name="ResultCollectorTest" href="../../../../../../../org/apache/maven/shared/dependency/analyzer/asm/ResultCollectorTest.html#ResultCollectorTest">ResultCollectorTest</a> { +<a class="jxr_linenumber" name="L36" href="#L36">36</a> Set<String> getDependencies(Class<?> inspectClass) <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L37" href="#L37">37</a> String className = inspectClass.getName(); +<a class="jxr_linenumber" name="L38" href="#L38">38</a> String path = '/' + className.replace('.', '/') + <span class="jxr_string">".class"</span>; +<a class="jxr_linenumber" name="L39" href="#L39">39</a> DependencyClassFileVisitor visitor = <strong class="jxr_keyword">new</strong> DependencyClassFileVisitor(); +<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">try</strong> (InputStream is = inspectClass.getResourceAsStream(path)) { +<a class="jxr_linenumber" name="L41" href="#L41">41</a> visitor.visitClass(className, is); +<a class="jxr_linenumber" name="L42" href="#L42">42</a> } +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">return</strong> visitor.getDependencies(); +<a class="jxr_linenumber" name="L44" href="#L44">44</a> } +<a class="jxr_linenumber" name="L45" href="#L45">45</a> +<a class="jxr_linenumber" name="L46" href="#L46">46</a> @Test +<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">void</strong> testJava11Invoke() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L48" href="#L48">48</a> String className = <span class="jxr_string">"issue362.Bcel362"</span>; +<a class="jxr_linenumber" name="L49" href="#L49">49</a> Path path = Paths.get( +<a class="jxr_linenumber" name="L50" href="#L50">50</a> <span class="jxr_string">"src/test/resources/org/apache/maven/shared/dependency/analyzer/commons-bcel-issue362/Bcel362.classx"</span>); +<a class="jxr_linenumber" name="L51" href="#L51">51</a> DependencyClassFileVisitor visitor = <strong class="jxr_keyword">new</strong> DependencyClassFileVisitor(); +<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">try</strong> (InputStream is = Files.newInputStream(path)) { +<a class="jxr_linenumber" name="L53" href="#L53">53</a> visitor.visitClass(className, is); +<a class="jxr_linenumber" name="L54" href="#L54">54</a> } +<a class="jxr_linenumber" name="L55" href="#L55">55</a> } +<a class="jxr_linenumber" name="L56" href="#L56">56</a> +<a class="jxr_linenumber" name="L57" href="#L57">57</a> @Test +<a class="jxr_linenumber" name="L58" href="#L58">58</a> <strong class="jxr_keyword">void</strong> testArrayCases() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L59" href="#L59">59</a> Set<String> dependencies = getDependencies(ArrayCases.<strong class="jxr_keyword">class</strong>); +<a class="jxr_linenumber" name="L60" href="#L60">60</a> assertThat(dependencies).doesNotContain(<span class="jxr_string">"[I"</span>); +<a class="jxr_linenumber" name="L61" href="#L61">61</a> assertThat(dependencies).allSatisfy(dependency -> assertThat(dependency).doesNotStartWith(<span class="jxr_string">"["</span>)); +<a class="jxr_linenumber" name="L62" href="#L62">62</a> assertThat(dependencies).contains(<span class="jxr_string">"java.lang.annotation.Annotation"</span>).contains(<span class="jxr_string">"java.lang.reflect.Constructor"</span>); +<a class="jxr_linenumber" name="L63" href="#L63">63</a> } +<a class="jxr_linenumber" name="L64" href="#L64">64</a> +<a class="jxr_linenumber" name="L65" href="#L65">65</a> @Test +<a class="jxr_linenumber" name="L66" href="#L66">66</a> <strong class="jxr_keyword">void</strong> testNoMethodHandle() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L67" href="#L67">67</a> Set<String> dependencies = getDependencies(MethodHandleCases.<strong class="jxr_keyword">class</strong>); +<a class="jxr_linenumber" name="L68" href="#L68">68</a> <strong class="jxr_keyword">for</strong> (String dependency : dependencies) { +<a class="jxr_linenumber" name="L69" href="#L69">69</a> assertThat(dependency).doesNotStartWith(<span class="jxr_string">"("</span>); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> } +<a class="jxr_linenumber" name="L71" href="#L71">71</a> } +<a class="jxr_linenumber" name="L72" href="#L72">72</a> +<a class="jxr_linenumber" name="L73" href="#L73">73</a> @Test +<a class="jxr_linenumber" name="L74" href="#L74">74</a> <strong class="jxr_keyword">void</strong> testInnerClassAsContainer() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L75" href="#L75">75</a> Set<String> dependencies = getDependencies(InnerClassCase.<strong class="jxr_keyword">class</strong>); +<a class="jxr_linenumber" name="L76" href="#L76">76</a> <strong class="jxr_keyword">for</strong> (String dependency : dependencies) { +<a class="jxr_linenumber" name="L77" href="#L77">77</a> assertThat(dependency).doesNotContain(<span class="jxr_string">"$"</span>); +<a class="jxr_linenumber" name="L78" href="#L78">78</a> } +<a class="jxr_linenumber" name="L79" href="#L79">79</a> assertThat(dependencies).contains(<span class="jxr_string">"java.lang.System"</span>); +<a class="jxr_linenumber" name="L80" href="#L80">80</a> } +<a class="jxr_linenumber" name="L81" href="#L81">81</a> } </pre> <hr/> <div id="footer">Copyright © 2002–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-frame.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> </head> <body> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-summary.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-summary.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/asm/package-summary.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference Package org.apache.maven.shared.dependency.analyzer.asm</title> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> </head> @@ -23,7 +23,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> @@ -96,7 +96,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/package-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/package-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/package-frame.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference Package org.apache.maven.shared.dependency.analyzer</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference Package org.apache.maven.shared.dependency.analyzer</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" /> </head> <body> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/package-summary.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/package-summary.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/package-summary.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference Package org.apache.maven.shared.dependency.analyzer</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference Package org.apache.maven.shared.dependency.analyzer</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" /> </head> @@ -23,7 +23,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> @@ -106,7 +106,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/testcases/package-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/testcases/package-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/testcases/package-frame.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference Package org.apache.maven.shared.dependency.analyzer.testcases</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference Package org.apache.maven.shared.dependency.analyzer.testcases</title> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> </head> <body> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/testcases/package-summary.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/testcases/package-summary.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/org/apache/maven/shared/dependency/analyzer/testcases/package-summary.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference Package org.apache.maven.shared.dependency.analyzer.testcases</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference Package org.apache.maven.shared.dependency.analyzer.testcases</title> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" /> </head> @@ -23,7 +23,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> @@ -91,7 +91,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/overview-frame.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/overview-frame.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/overview-frame.html Sun Apr 30 22:24:03 2023 @@ -4,11 +4,11 @@ <!-- generated by Apache Maven JXR (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> </head> <body> - <h1 title="Apache Maven Dependency Analyzer 1.13.1 Reference" class="bar"><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></h1> + <h1 title="Apache Maven Dependency Analyzer 1.13.2 Reference" class="bar"><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></h1> <div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div> <div class="indexContainer"> <h2 title="Packages">Packages</h2> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/overview-summary.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/overview-summary.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref-test/overview-summary.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- generated by Apache Maven JXR (jdk7) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> </head> <body> @@ -22,7 +22,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> @@ -37,7 +37,7 @@ </div> <div class="header"> - <h1 class="title">Apache Maven Dependency Analyzer 1.13.1 Reference</h1> + <h1 class="title">Apache Maven Dependency Analyzer 1.13.2 Reference</h1> </div> <div class="contentContainer"> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages"> @@ -81,7 +81,7 @@ <li>Index</li> <li>Help</li> </ul> - <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.1 Reference</strong></em></div> + <div class="aboutLanguage"><em><strong>Apache Maven Dependency Analyzer 1.13.2 Reference</strong></em></div> </div> <div class="subNav"> <ul class="navList"> Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref/index.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref/index.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref/index.html Sun Apr 30 22:24:03 2023 @@ -4,7 +4,7 @@ <!-- this is a JXR report set (jdk8) --> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Apache Maven Dependency Analyzer 1.13.1 Reference</title> + <title>Apache Maven Dependency Analyzer 1.13.2 Reference</title> <script type="text/javascript"> tmpTargetPage = "" + window.location.search; if (tmpTargetPage != "" && tmpTargetPage != "undefined") Modified: maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtils.html ============================================================================== --- maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtils.html (original) +++ maven/website/components/shared-archives/maven-dependency-analyzer-LATEST/xref/org/apache/maven/shared/dependency/analyzer/ClassFileVisitorUtils.html Sun Apr 30 22:24:03 2023 @@ -102,26 +102,32 @@ <a class="jxr_linenumber" name="L94" href="#L94">94</a> <a class="jxr_linenumber" name="L95" href="#L95">95</a> <strong class="jxr_keyword">for</strong> (Path path : classFiles) { <a class="jxr_linenumber" name="L96" href="#L96">96</a> <strong class="jxr_keyword">try</strong> (InputStream in = Files.newInputStream(path)) { -<a class="jxr_linenumber" name="L97" href="#L97">97</a> visitClass(directory, path, in, visitor); -<a class="jxr_linenumber" name="L98" href="#L98">98</a> } -<a class="jxr_linenumber" name="L99" href="#L99">99</a> } -<a class="jxr_linenumber" name="L100" href="#L100">100</a> } -<a class="jxr_linenumber" name="L101" href="#L101">101</a> -<a class="jxr_linenumber" name="L102" href="#L102">102</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> visitClass(File baseDirectory, Path path, InputStream in, <a name="ClassFileVisitor" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitor.html#ClassFileVisitor">ClassFileVisitor</a> visitor) { -<a class="jxr_linenumber" name="L103" href="#L103">103</a> <em class="jxr_comment">// getPath() returns a String, not a java.nio.file.Path</em> -<a class="jxr_linenumber" name="L104" href="#L104">104</a> String stringPath = -<a class="jxr_linenumber" name="L105" href="#L105">105</a> path.toFile().getPath().substring(baseDirectory.getPath().length() + 1); -<a class="jxr_linenumber" name="L106" href="#L106">106</a> visitClass(stringPath, in, visitor, File.separatorChar); -<a class="jxr_linenumber" name="L107" href="#L107">107</a> } -<a class="jxr_linenumber" name="L108" href="#L108">108</a> -<a class="jxr_linenumber" name="L109" href="#L109">109</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> visitClass(String stringPath, InputStream in, <a name="ClassFileVisitor" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitor.html#ClassFileVisitor">ClassFileVisitor</a> visitor, <strong class="jxr_keyword">char</strong> separator) { -<a class="jxr_linenumber" name="L110" href="#L110">110</a> String className = stringPath.substring(0, stringPath.length() - 6); -<a class="jxr_linenumber" name="L111" href="#L111">111</a> -<a class="jxr_linenumber" name="L112" href="#L112">112</a> className = className.replace(separator, '.'); -<a class="jxr_linenumber" name="L113" href="#L113">113</a> -<a class="jxr_linenumber" name="L114" href="#L114">114</a> visitor.visitClass(className, in); -<a class="jxr_linenumber" name="L115" href="#L115">115</a> } -<a class="jxr_linenumber" name="L116" href="#L116">116</a> } +<a class="jxr_linenumber" name="L97" href="#L97">97</a> <strong class="jxr_keyword">try</strong> { +<a class="jxr_linenumber" name="L98" href="#L98">98</a> visitClass(directory, path, in, visitor); +<a class="jxr_linenumber" name="L99" href="#L99">99</a> } <strong class="jxr_keyword">catch</strong> (RuntimeException e) { +<a class="jxr_linenumber" name="L100" href="#L100">100</a> <em class="jxr_comment">// visitClass throws RuntimeException</em> +<a class="jxr_linenumber" name="L101" href="#L101">101</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException( +<a class="jxr_linenumber" name="L102" href="#L102">102</a> String.format(<span class="jxr_string">"%s from directory = %s, path = %s"</span>, e.getMessage(), directory, path), e); +<a class="jxr_linenumber" name="L103" href="#L103">103</a> } +<a class="jxr_linenumber" name="L104" href="#L104">104</a> } +<a class="jxr_linenumber" name="L105" href="#L105">105</a> } +<a class="jxr_linenumber" name="L106" href="#L106">106</a> } +<a class="jxr_linenumber" name="L107" href="#L107">107</a> +<a class="jxr_linenumber" name="L108" href="#L108">108</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> visitClass(File baseDirectory, Path path, InputStream in, <a name="ClassFileVisitor" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitor.html#ClassFileVisitor">ClassFileVisitor</a> visitor) { +<a class="jxr_linenumber" name="L109" href="#L109">109</a> <em class="jxr_comment">// getPath() returns a String, not a java.nio.file.Path</em> +<a class="jxr_linenumber" name="L110" href="#L110">110</a> String stringPath = +<a class="jxr_linenumber" name="L111" href="#L111">111</a> path.toFile().getPath().substring(baseDirectory.getPath().length() + 1); +<a class="jxr_linenumber" name="L112" href="#L112">112</a> visitClass(stringPath, in, visitor, File.separatorChar); +<a class="jxr_linenumber" name="L113" href="#L113">113</a> } +<a class="jxr_linenumber" name="L114" href="#L114">114</a> +<a class="jxr_linenumber" name="L115" href="#L115">115</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> visitClass(String stringPath, InputStream in, <a name="ClassFileVisitor" href="../../../../../../org/apache/maven/shared/dependency/analyzer/ClassFileVisitor.html#ClassFileVisitor">ClassFileVisitor</a> visitor, <strong class="jxr_keyword">char</strong> separator) { +<a class="jxr_linenumber" name="L116" href="#L116">116</a> String className = stringPath.substring(0, stringPath.length() - 6); +<a class="jxr_linenumber" name="L117" href="#L117">117</a> +<a class="jxr_linenumber" name="L118" href="#L118">118</a> className = className.replace(separator, '.'); +<a class="jxr_linenumber" name="L119" href="#L119">119</a> +<a class="jxr_linenumber" name="L120" href="#L120">120</a> visitor.visitClass(className, in); +<a class="jxr_linenumber" name="L121" href="#L121">121</a> } +<a class="jxr_linenumber" name="L122" href="#L122">122</a> } </pre> <hr/> <div id="footer">Copyright © 2002–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>