equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
803 private File getSourceOutDir() { |
803 private File getSourceOutDir() { |
804 return locations.getOutputLocation(SOURCE_OUTPUT); |
804 return locations.getOutputLocation(SOURCE_OUTPUT); |
805 } |
805 } |
806 |
806 |
807 /** |
807 /** |
808 * Enforces the specification of a "relative" URI as used in |
808 * Enforces the specification of a "relative" name as used in |
809 * {@linkplain #getFileForInput(Location,String,URI) |
809 * {@linkplain #getFileForInput(Location,String,String) |
810 * getFileForInput}. This method must follow the rules defined in |
810 * getFileForInput}. This method must follow the rules defined in |
811 * that method, do not make any changes without consulting the |
811 * that method, do not make any changes without consulting the |
812 * specification. |
812 * specification. |
813 */ |
813 */ |
814 protected static boolean isRelativeUri(URI uri) { |
814 protected static boolean isRelativeUri(URI uri) { |