Changeset 1391 for branches/GNU/src/gcc/libjava/java/awt/AWTPermission.java
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/awt/AWTPermission.java (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/awt/AWTPermission.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 // AWTPermission.java - AWT permissions 2 3 /* Copyright (C) 2000, 2002 Free Software Foundation 1 /* AWTPermission.java -- AWT related permissions 2 Copyright (C) 2000, 2002 Free Software Foundation 4 3 5 4 This file is part of GNU Classpath. … … 38 37 39 38 40 /**41 * @author Tom Tromey <[email protected]>42 * @date December 2, 200043 */44 45 39 package java.awt; 46 40 … … 50 44 * This class implements permissions for AWT. This is a named 51 45 * permission. No actions are defined. 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 52 88 */ 53 89 public final class AWTPermission extends BasicPermission 54 90 { 55 91 /** 92 93 94 95 96 56 97 * Construct a AWTPermission with the given name. 57 * @param name The permission name 98 * 99 * @param name the permission name 100 * @throws NullPointerException if name is null 101 * @throws IllegalArgumentException if name is invalid 58 102 */ 59 public AWTPermission (String name)103 public AWTPermission(String name) 60 104 { 61 super (name);105 super(name); 62 106 } 63 107 64 108 /** 65 * Construct a AWTPermission with the given name. 66 * @param name The permission name 67 * @param actions The actions; this is ignored and should be null. 109 * Create a new permission with the specified name. The actions argument 110 * is ignored, as AWT permissions have no actions. 111 * 112 * @param name the permission name 113 * @param actions ignored 114 * @throws NullPointerException if name is null 115 * @throws IllegalArgumentException if name is invalid 68 116 */ 69 public AWTPermission (String name, String actions)117 public AWTPermission(String name, String actions) 70 118 { 71 super (name, actions);119 super); 72 120 } 73 } 121 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
