Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Aug 14, 2023
1 parent f1e8f47 commit ad9a861
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 28 deletions.
1 change: 1 addition & 0 deletions src/it/projects/MJAVADOC-538/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

<profiles>
<profile>
<id>java10+</id>
<activation>
<jdk>10</jdk>
</activation>
Expand Down
54 changes: 28 additions & 26 deletions src/it/projects/MJAVADOC-538/src/main/java/foo/bar/MyClass.java
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
package foo.bar;

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* App class
*/
public class MyClass
{
}
package foo.bar;

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

/**
* App class
*
*/
public class MyClass
{
}
4 changes: 2 additions & 2 deletions src/it/projects/MJAVADOC-592_detectApiLink/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/

def options = new File(basedir,'target/site/apidocs/options')
assert options.readLines().dropWhile{it!='-linkoffline'}.get(1).startsWith("'https://docs.oracle.com/javase/7/docs/api'")
assert options.readLines().dropWhile{it!='-linkoffline'}.get(1).startsWith("'https://docs.oracle.com/javase/8/docs/api")

0 comments on commit ad9a861

Please sign in to comment.