Jtest logo




Contents  Previous  Next  Index

NAMING.NITF


Enforce name format of interfaces

Description

This rule flags any interface that has an unconventional name format.

Most programmers or groups of programmers develop a set of naming rules for interfaces. Jtest will enforce the name format of the "interface" using a regular expression.

Example

 package NAMING;
 
 public interface NIFT {
 }

Repair

Capitalize the first letter of the "interface" name and use mixed case for the rest of the "interface" name.

Reference

http://www.AmbySoft.com/javaCodingStandards.pdf


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft