Changeset 2233
- Timestamp:
- 06/12/08 14:09:42
(4 months ago)
- Author:
- dsugar
- Message:
cleanup
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2199 |
r2233 |
|
| 149 | 149 | if (AUTH_KEY_TYPE_MD5.equals (i_sAuthType)) |
|---|
| 150 | 150 | { |
|---|
| 151 | | nLength = 20; |
|---|
| | 151 | nLength = 15; |
|---|
| 152 | 152 | } |
|---|
| 153 | 153 | else |
|---|
| r2217 |
r2233 |
|
| 128 | 128 | String sName = currResource.getName (); |
|---|
| 129 | 129 | sName = sName.substring (0, sName.length () - sExtn.length () -1); |
|---|
| 130 | | if (sys.getCustomModuleName ().equals (sName)) |
|---|
| | 130 | if (sys != null && sys.getCustomModuleName ().equals (sName)) |
|---|
| 131 | 131 | m_buildSystems.add (sys); |
|---|
| 132 | 132 | } |
|---|
| r1825 |
r2233 |
|
| 82 | 82 | public SELinuxSystem getSystem () |
|---|
| 83 | 83 | { |
|---|
| | 84 | if (m_currentFile == null) |
|---|
| | 85 | return null; |
|---|
| | 86 | |
|---|
| 84 | 87 | FrameworkNature nat = FrameworkNature.getNature(m_currentFile.getProject()); |
|---|
| 85 | 88 | if (nat == null) |
|---|
- Property svn:keywords set to Date Revision
| r2209 |
r2233 |
|
| 5 | 5 | |*| |
|---|
| 6 | 6 | |*| $Rev$ |
|---|
| 7 | | |*| $Date: 2008-05-21 15:17:37 -0400 (Wed, 21 May 2008) $ |
|---|
| | 7 | |*| $Date$ |
|---|
| 8 | 8 | \*/ |
|---|
| 9 | 9 | |
|---|
| … | … | |
| 243 | 243 | modifyValue (s); |
|---|
| 244 | 244 | |
|---|
| 245 | | if (s.trim ().equals ("")) |
|---|
| | 245 | if (s.trim ().length () == 0) |
|---|
| 246 | 246 | updateStatus (this.errorMessage, false); |
|---|
| 247 | 247 | |
|---|
| … | … | |
| 269 | 269 | modifyValue (s); |
|---|
| 270 | 270 | |
|---|
| 271 | | if (!this.required && s.equals ("")) |
|---|
| | 271 | if (!this.required && s.length () == 0) |
|---|
| 272 | 272 | { |
|---|
| 273 | 273 | updateStatus(); |
|---|
| … | … | |
| 306 | 306 | modifyValue (s); |
|---|
| 307 | 307 | |
|---|
| 308 | | if (s.equals ("")) |
|---|
| | 308 | if (s.length () == 0) |
|---|
| 309 | 309 | { |
|---|
| 310 | 310 | updateStatus(); |
|---|
| … | … | |
| 594 | 594 | if ((getNetworkType().GetSysResourceState (SystemResourceTypes.ipsec) == SysResourceState.Yes || getNetworkType().GetSysResourceState (SystemResourceTypes.ipsec) == SysResourceState.Optional)) |
|---|
| 595 | 595 | { |
|---|
| 596 | | if (this.localIPAddress.equals ("")) |
|---|
| | 596 | if (localIPAddress.length () == 0) |
|---|
| 597 | 597 | super.updateStatus (Messages.NetworkResourcePropertyPage_bad_local_ip_address, false); |
|---|
| 598 | 598 | } |
|---|
| … | … | |
| 600 | 600 | else if ((getNetworkType().GetSysResourceState (SystemResourceTypes.secmark) == SysResourceState.Yes || getNetworkType().GetSysResourceState (SystemResourceTypes.secmark) == SysResourceState.Optional)) |
|---|
| 601 | 601 | { |
|---|
| 602 | | if (this.localDevice.equals("") && this.localIPAddress.equals ("")) |
|---|
| | 602 | if (localDevice.length () == 0 && localIPAddress.length () == 0) |
|---|
| 603 | 603 | super.updateStatus (Messages.NetworkResourcePropertyPage_err_local_device_or_ip, false); |
|---|
| 604 | 604 | } |
|---|
- Property svn:keywords set to Date Revision
| r2209 |
r2233 |
|
| 5 | 5 | |*| |
|---|
| 6 | 6 | |*| $Rev$ |
|---|
| 7 | | |*| $Date: 2008-05-21 15:17:37 -0400 (Wed, 21 May 2008) $ |
|---|
| | 7 | |*| $Date$ |
|---|
| 8 | 8 | \*/ |
|---|
| 9 | 9 | |
|---|
Download in other formats:
* Generating other formats may take time.