blob: b9256998f5ac9b4a1ff922912ccbe2461c5cff92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/**
* This aspect crosscuts the process of shipping apples.
*
* @author Mik Kersten
* @version $Version$
*/
public class TransportAspect
{
private String crateName = "temp crate";
/**
* Bruises each apple in the crate according to the bruise facor. The bruise
* factor is an integer that is passed as a parameter.
*/
private void bruiser( int bruiseFactor )
{
for ( int i = 0; i < 5; i++ )
{
System.out.println( "bruising" );
}
}
}
|