(String fileName)
| 1655 | } |
| 1656 | |
| 1657 | private static String readTextFromFile(String fileName) |
| 1658 | { |
| 1659 | try |
| 1660 | { |
| 1661 | return Files.readString(Paths.get(fileName)); |
| 1662 | } catch (IOException e) |
| 1663 | { |
| 1664 | Logging.errorPrint("Could not read license at " + fileName, e); |
| 1665 | return LanguageBundle.getString("in_licNoInfo"); //$NON-NLS-1$ |
| 1666 | } |
| 1667 | } |
| 1668 | |
| 1669 | /** |
| 1670 | * The Class {@code FilenameListener} is used to update the frame title each time the |
no test coverage detected