@@ -285,36 +285,7 @@ sealed interface Info extends Serializable permits GitVersionInternal.Info {
285285 /** @return The declared subprojects of this path. */
286286 @ Unmodifiable Collection <File > getSubprojects ();
287287
288- /**
289- * Gets the relative subproject path strings from the declared subprojects. The path strings are relative from the
290- * {@linkplain #getProject() project} directory. Use {@link #getSubprojectPaths(boolean)} to conditionally get the
291- * path strings relative from the {@linkplain #getRoot() root} instead.
292- * <p>
293- * These path strings are calculated using the
294- * {@linkplain java.nio.file.Path#relativize(java.nio.file.Path) relative path} from the
295- * {@linkplain #getRoot() root} to each subproject.
296- *
297- * @return The subproject paths
298- * @see #getSubprojects()
299- * @see #getSubprojectPaths(boolean)
300- */
301- default Collection <String > getSubprojectPaths () {
302- return this .getSubprojectPaths (false );
303- }
304288
305- /**
306- * Gets the relative subproject path strings from the declared subprojects. The path strings are relative from
307- * either the {@linkplain #getRoot() root} or {@linkplain #getProject() project} directory, depending on the
308- * {@code fromRoot} boolean parameter.
309- * <p>
310- * These path strings are calculated using the
311- * {@linkplain java.nio.file.Path#relativize(java.nio.file.Path) relative path} from the
312- * {@linkplain #getRoot() root} to each subproject.
313- *
314- * @return The subproject paths
315- * @see #getSubprojects()
316- */
317- Collection <String > getSubprojectPaths (boolean fromRoot );
318289
319290
320291 /* REPOSITORY */
0 commit comments