Skip to content

Commit

Permalink
Removing relic, commented out code from Object
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Jordan <krisjordan@gmail.com>
  • Loading branch information
KrisJordan committed Apr 1, 2009
1 parent 1477210 commit a4263db
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions recess/lib/recess/lang/Object.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,19 +231,15 @@ protected static function buildClassDescriptor($class) {
$annotations = $method->getAnnotations();
$descriptor = call_user_func(array($class, 'shapeDescriptorWithMethod'), $class, $method, $descriptor, $annotations);
foreach($annotations as $annotation) {
//if($annotation instanceof Annotation) {
$annotation->expandAnnotation($class, $method, $descriptor);
//}
$annotation->expandAnnotation($class, $method, $descriptor);
}
}

foreach($reflection->getProperties(false) as $property) {
$annotations = $property->getAnnotations();
$descriptor = call_user_func(array($class, 'shapeDescriptorWithProperty'), $class, $property, $descriptor, $annotations);
foreach($annotations as $annotation) {
//if($annotation instanceof Annotation) {
$annotation->expandAnnotation($class, $property, $descriptor);
//}
$annotation->expandAnnotation($class, $property, $descriptor);
}
}

Expand Down

0 comments on commit a4263db

Please sign in to comment.