comparison src/org/tmatesoft/hg/internal/Internals.java @ 419:7f136a3fa671

Clean javadoc to fix obvious warnings
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 22 Mar 2012 21:36:41 +0100
parents 528b6780a8bd
children 6c22bdc0bdfd
comparison
equal deleted inserted replaced
418:528b6780a8bd 419:7f136a3fa671
193 public static boolean runningOnWindows() { 193 public static boolean runningOnWindows() {
194 return System.getProperty("os.name").indexOf("Windows") != -1; 194 return System.getProperty("os.name").indexOf("Windows") != -1;
195 } 195 }
196 196
197 /** 197 /**
198 * @param hint optional hint pointing to filesystem of interest (generally, it's possible to mount 198 * @param fsHint optional hint pointing to filesystem of interest (generally, it's possible to mount
199 * filesystems with different capabilities and repository's capabilities would depend on which fs it resides) 199 * filesystems with different capabilities and repository's capabilities would depend on which fs it resides)
200 * @return <code>true</code> if executable files deserve tailored handling 200 * @return <code>true</code> if executable files deserve tailored handling
201 */ 201 */
202 public static boolean checkSupportsExecutables(File fsHint) { 202 public static boolean checkSupportsExecutables(File fsHint) {
203 // *.exe are not executables for Mercurial 203 // *.exe are not executables for Mercurial
204 return !runningOnWindows(); 204 return !runningOnWindows();
205 } 205 }
206 206
207 /** 207 /**
208 * @param hint optional hint pointing to filesystem of interest (generally, it's possible to mount 208 * @param fsHint optional hint pointing to filesystem of interest (generally, it's possible to mount
209 * filesystems with different capabilities and repository's capabilities would depend on which fs it resides) 209 * filesystems with different capabilities and repository's capabilities would depend on which fs it resides)
210 * @return <code>true</code> if filesystem knows what symbolic links are 210 * @return <code>true</code> if filesystem knows what symbolic links are
211 */ 211 */
212 public static boolean checkSupportsSymlinks(File fsHint) { 212 public static boolean checkSupportsSymlinks(File fsHint) {
213 // Windows supports soft symbolic links starting from Vista 213 // Windows supports soft symbolic links starting from Vista