示例#1
0
 public cn.bran.japid.template.RenderResult render(String blogTitle, List<Post> allPost) {
   this.blogTitle = blogTitle;
   this.allPost = allPost;
   long t = -1;
   try {
     super.layout();
   } catch (RuntimeException e) {
     super.handleException(e);
   } // line 3
   return new cn.bran.japid.template.RenderResultPartial(
       getHeaders(), getOut(), t, actionRunners, sourceTemplate);
 }
示例#2
0
 // remove all tiles mapped to joiners from the coordinate hashset *tiles*
 private static void removeJoiners(HashSet<ComputeNode> tiles) {
   Iterator<FlatNode> it = layout.getJoiners().iterator();
   while (it.hasNext()) {
     tiles.remove(layout.getTile(it.next()));
   }
 }