JdonLive里面的HotKeysRepository类中的构造函数的super()是不是多了?

09-11-21 sjbwylbs

package com.jdon.jivejdon.repository;

import java.util.Collection;

import com.jdon.jivejdon.model.HotKeys;

public class HotKeysRepository {

private PropertyFactory forumPropertyFactory;

public HotKeysRepository(PropertyFactory forumPropertyFactory) {

super(); //这一句是不是多了呢?

this.forumPropertyFactory = forumPropertyFactory;

}

public HotKeys getHotKeys(){

HotKeys hotKeys = new HotKeys();

Collection props = forumPropertyFactory.getForumPropertys(new Long(hotKeys.getId()));

hotKeys.setProps(props);

return hotKeys;

}

public void saveHotKeys(HotKeys hotKeys) {

forumPropertyFactory.saveForumPropertys(hotKeys.getId(), hotKeys.getProps());

}

}

[该贴被admin于2009-11-21 08:01修改过]

banq
2009-11-21 08:08

是eclipse自动产生的