You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/07/22 23:51:20 UTC

[GitHub] [commons-vfs] SethFalco opened a new pull request #206: chore: replace package.html with package-info.java

SethFalco opened a new pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206


   This converts the `package.html` (+ a `readme.html`) to `package-info.java`.
   
   I noticed the `package.html` files but wasn't familiar with them. Learned they're basically old `package-info.java` files.
   I was hoping to modernize that a bit, so it's more familiar, plus improves how I consume the docs in my editor.
   
   * More familiar to new developers. (I never knew `package.html` was a thing.)
   * Preferred over `package.html`. 
   > As JDK 5 arrived on the scene, package.html gave way to a new option, package-info.java, which is now preferred over package.html.
   > \- https://www.baeldung.com/java-package-info
   * `package-info.java` can use tags like `{@link}`, rather than arbitrarily naming qualified class names.
   ```java
   /**
    * The Default File Provider, which wraps {@link java.net.URL}.
    */
   package org.apache.commons.vfs2.provider.url;
   ```
   
   ---
   
   Also fixes one typo in `commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/libcheck/package-info.java`.
   * servicde -> service
   
   --- 
   
   If this is too much for one PR, feel free to close it!
   I can split this up if preferred.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] garydgregory commented on a change in pull request #206: chore: replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
garydgregory commented on a change in pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206#discussion_r676147277



##########
File path: commons-vfs2/src/main/java/org/apache/commons/vfs2/operations/vcs/package-info.java
##########
@@ -0,0 +1,32 @@
+/*
+ * 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.
+ */
+
+/**
+ * VFS version control operations.
+ *
+ * <p>
+ *  This package contains common interfaces for Version Control Systems such as
+ *  SVN, CVS, etc.

Review comment:
       Sure, TY.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] SethFalco commented on a change in pull request #206: chore: replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
SethFalco commented on a change in pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206#discussion_r676146700



##########
File path: commons-vfs2/src/main/java/org/apache/commons/vfs2/operations/vcs/package-info.java
##########
@@ -0,0 +1,32 @@
+/*
+ * 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.
+ */
+
+/**
+ * VFS version control operations.
+ *
+ * <p>
+ *  This package contains common interfaces for Version Control Systems such as
+ *  SVN, CVS, etc.

Review comment:
       I just copied over the old docs.
   
   We can add Git, would you be happy with the following?
   
   ```suggestion
    *  Git, SVN, CVS, etc.
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] garydgregory commented on a change in pull request #206: chore: replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
garydgregory commented on a change in pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206#discussion_r676145871



##########
File path: commons-vfs2/src/main/java/org/apache/commons/vfs2/operations/vcs/package-info.java
##########
@@ -0,0 +1,32 @@
+/*
+ * 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.
+ */
+
+/**
+ * VFS version control operations.
+ *
+ * <p>
+ *  This package contains common interfaces for Version Control Systems such as
+ *  SVN, CVS, etc.

Review comment:
       But not Git?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] garydgregory commented on a change in pull request #206: chore: replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
garydgregory commented on a change in pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206#discussion_r676147247



##########
File path: commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/libcheck/package.html
##########
@@ -1,21 +0,0 @@
-<!--
-    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.
--->
-<body>
-<p>Sample clients for commons-net.ftp and JSch libraries.</p>

Review comment:
       Gotcha! TY.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] SethFalco commented on a change in pull request #206: chore: replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
SethFalco commented on a change in pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206#discussion_r676145926



##########
File path: commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/libcheck/package.html
##########
@@ -1,21 +0,0 @@
-<!--
-    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.
--->
-<body>
-<p>Sample clients for commons-net.ftp and JSch libraries.</p>

Review comment:
       It wasn't removed, it's over here: https://github.com/apache/commons-vfs/pull/206/files#diff-0664cd55eac2920b414dd49f3b570762e284d76f2fd462c85eb46d870c81e4c1R19




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] garydgregory commented on a change in pull request #206: chore: replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
garydgregory commented on a change in pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206#discussion_r676145677



##########
File path: commons-vfs2-examples/src/main/java/org/apache/commons/vfs2/libcheck/package.html
##########
@@ -1,21 +0,0 @@
-<!--
-    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.
--->
-<body>
-<p>Sample clients for commons-net.ftp and JSch libraries.</p>

Review comment:
       @SethFalco 
   Why was this information removed?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [commons-vfs] garydgregory merged pull request #206: Replace package.html with package-info.java

Posted by GitBox <gi...@apache.org>.
garydgregory merged pull request #206:
URL: https://github.com/apache/commons-vfs/pull/206


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org