filestaticpagedao.java


current inspection = 2010-07-22 15:04:21 (id #4) base = 2010-07-16 16:14:15 (id #1)

Filter Options
History:
+ added
- dropped
U unchanged
Annotation Kind:
pre
presumption
post
unanalyzed
test


  • + bool accept(File, String)

  • -/+ Kind Annotation Text Date
    +pre(soft) name != null2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56
    +test_vectorjava.io.File:isDirectory(...)@60: {0}, {1}2010-07-22 12:56:56
    +test_vectorjava.lang.String:matches(...)@60: {0}, {1}2010-07-22 12:56:56

  • + Log access$0()

  • -/+ Kind Annotation Text Date
    +preinit'ed(log)2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56
    +postreturn_value == log2010-07-22 12:56:56

  • String format(Date)

  • -/+ Kind Annotation Text Date
    +prethis.dateTimeFormats != null2010-07-22 12:56:56
    +prethis.dateTimeFormats.length >= 12010-07-22 12:56:56
    +prethis.dateTimeFormats[0] != null2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56

  • File getLockFile(StaticPage)

  • -/+ Kind Annotation Text Date
    +preinit'ed(staticPage.id)2010-07-22 12:56:56
    +prestaticPage != null2010-07-22 12:56:56
    +prestaticPage.blog != null2010-07-22 12:56:56
    +presumptioninit'ed(java.io.File.separator)2010-07-22 12:56:56
    +postnew File(getLockFile#2) num objects == 12010-07-22 12:56:56
    +postreturn_value == &new File(getLockFile#2)2010-07-22 12:56:56

  • String getPath(Blog, String)

  • -/+ Kind Annotation Text Date
    +preblog != null2010-07-22 12:56:56
    +presumptioninit'ed(java.io.File.separator)2010-07-22 12:56:56
    +postreturn_value != null2010-07-22 12:56:56

  • String getUsernameHoldingLock(StaticPage)

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(staticPage.id)2010-07-22 12:56:56
    +pre(soft) log != null2010-07-22 12:56:56
    +pre(soft) staticPage != null2010-07-22 12:56:56
    +pre(soft) staticPage.blog != null2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56
    +unanalyzedcall on getBlog2010-07-22 12:56:56
    +unanalyzedcall on getId2010-07-22 12:56:56
    +unanalyzedcall on java.io.File2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56
    +test_vectorjava.io.File:exists(...)@321: {0}, {1}2010-07-22 12:56:56

  • - StaticPage loadStaticPage(Blog, File)

  • -/+ Kind Annotation Text Date

  • StaticPage loadStaticPage(Blog, String)

  • -/+ Kind Annotation Text Date
    +preblog != null2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56

  • Collection loadStaticPages(Blog)

  • -/+ Kind Annotation Text Date
    +preblog != null2010-07-22 12:56:56
    +presumptionLocal_8[Local_6]@58 != null2010-07-22 12:56:56
    +presumptionfiles.length@58 <= 232-12010-07-22 12:56:56
    +postnew ArrayList(loadStaticPages#1) num objects == 12010-07-22 12:56:56
    +postreturn_value == &new ArrayList(loadStaticPages# 1)2010-07-22 12:56:56
    +unanalyzedcall on java.io.File2010-07-22 12:56:56
    +unanalyzedcall on java.lang.String:valueOf2010-07-22 12:56:56
    +unanalyzedcall on loadStaticPage2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56
    +test_vectorjava.io.File:listFiles(...)@58: Addr_Set{null}, Inverse{null}2010-07-22 12:56:56
    +test_vectorloadStaticPage(...)@88: Addr_Set{null}, Inverse{null}2010-07-22 12:56:56

  • bool lock(StaticPage)

  • -/+ Kind Annotation Text Date
    +pre(soft) init'ed(staticPage.blog.id)2010-07-22 12:56:56
    +pre(soft) log != null2010-07-22 12:56:56
    +pre(soft) staticPage != null2010-07-22 12:56:56
    +preinit'ed(staticPage.id)2010-07-22 12:56:56
    +prestaticPage.blog != null2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56
    +unanalyzedcall on getBlog2010-07-22 12:56:56
    +unanalyzedcall on getId2010-07-22 12:56:56
    +unanalyzedcall on getLockFile2010-07-22 12:56:56
    +unanalyzedcall on java.io.BufferedReader2010-07-22 12:56:56
    +unanalyzedcall on java.io.BufferedReader:close2010-07-22 12:56:56
    +unanalyzedcall on java.io.BufferedReader:readLine2010-07-22 12:56:56
    +unanalyzedcall on java.io.File2010-07-22 12:56:56
    +unanalyzedcall on java.io.File:exists2010-07-22 12:56:56
    +unanalyzedcall on java.io.FileReader2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56
    +unanalyzedcall on org.apache.commons.logging.Log:warn2010-07-22 12:56:56
    +test_vectorjava.io.File:createNewFile(...)@265: {0}, {1}2010-07-22 12:56:56
    +test_vectorjava.lang.String:equals(...)@274: {0}, {1}2010-07-22 12:56:56

  • + void net.sourceforge.pebble.dao.file.FileStaticPageDAO$1(FileStaticPageDAO)

  • -/+ Kind Annotation Text Date

  • + net.sourceforge.pebble.dao.file.FileStaticPageDAO$1__static_init

  • -/+ Kind Annotation Text Date

  • void net.sourceforge.pebble.dao.file.FileStaticPageDAO$StaticPageDateConverter(FileStaticPageDAO, StaticPage)

  • -/+ Kind Annotation Text Date
    +prestaticPage != null2010-07-22 12:56:56
    +prestaticPage.blog != null2010-07-22 12:56:56
    +presumptioninit'ed(java.util.Locale.ENGLISH)2010-07-22 12:56:56
    +postnew SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#2) num objects == 12010-07-22 12:56:56
    +postnew SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#3) num objects == 12010-07-22 12:56:56
    +postnew SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#4) num objects == 12010-07-22 12:56:56
    +postnew SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#5) num objects == 12010-07-22 12:56:56
    +postnew SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#6) num objects == 12010-07-22 12:56:56
    +postnew SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#7) num objects == 12010-07-22 12:56:56
    +postnew SimpleDateFormat[](FileStaticPageDAO$StaticPage DateConverter#1) num objects == 12010-07-22 12:56:56
    +postthis.dateTimeFormats == &new SimpleDateFormat[] (FileStaticPageDAO$StaticPageDateConverter#1)2010-07-22 12:56:56
    +postthis.dateTimeFormats.length == 62010-07-22 12:56:56
    +postthis.dateTimeFormats[0] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#2)2010-07-22 12:56:56
    +postthis.dateTimeFormats[1] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#3)2010-07-22 12:56:56
    +postthis.dateTimeFormats[2] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#4)2010-07-22 12:56:56
    +postthis.dateTimeFormats[3] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#5)2010-07-22 12:56:56
    +postthis.dateTimeFormats[4] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#6)2010-07-22 12:56:56
    +postthis.dateTimeFormats[5] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#7)2010-07-22 12:56:56

  • net.sourceforge.pebble.dao.file.FileStaticPageDAO$StaticPageDateConverter__static_init

  • -/+ Kind Annotation Text Date

  • void net.sourceforge.pebble.dao.file.FileStaticPageDAO()

  • -/+ Kind Annotation Text Date
    +presumptionjava.lang.Class:getPackage(...)@36 != null2010-07-22 12:56:56
    +presumptionjava.lang.Object:getClass(...)@36 != null2010-07-22 12:56:56
    +postpossibly_updated(this.jaxbContext)2010-07-22 12:56:56

  • net.sourceforge.pebble.dao.file.FileStaticPageDAO__static_init

  • -/+ Kind Annotation Text Date
    +postinit'ed(log)2010-07-22 12:56:56

  • Date parse(String)

  • -/+ Kind Annotation Text Date
    +pre(soft) net/sourceforge/pebble/dao/file/FileStaticPa geDAO.log != null2010-07-22 12:56:56
    +pre(soft) this.dateTimeFormats[...] != null2010-07-22 12:56:56
    +prethis.dateTimeFormats != null2010-07-22 12:56:56
    +prethis.dateTimeFormats.length <= 232-12010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56

  • void removeStaticPage(StaticPage)

  • -/+ Kind Annotation Text Date
    +preinit'ed(staticPage.blog.id)2010-07-22 12:56:56
    +preinit'ed(staticPage.id)2010-07-22 12:56:56
    +prelog != null2010-07-22 12:56:56
    +prestaticPage != null2010-07-22 12:56:56
    +prestaticPage.blog != null2010-07-22 12:56:56
    +presumptionjava.io.File:renameTo(...)@230 == 12010-07-22 12:56:56
    +unanalyzedcall on getBlog2010-07-22 12:56:56
    +unanalyzedcall on getId2010-07-22 12:56:56
    +unanalyzedcall on java.lang.Exception2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56
    +test_vectorjava.io.File:exists(...)@218: {0}, {1}2010-07-22 12:56:56
    +test_vectorjava.io.File:exists(...)@225: {0}, {1}2010-07-22 12:56:56

  • void storeStaticPage(StaticPage)

  • -/+ Kind Annotation Text Date
    +preinit'ed(staticPage.id)2010-07-22 12:56:56
    +prestaticPage != null2010-07-22 12:56:56
    +prestaticPage.blog != null2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56
    +test_vectorjava.io.File:exists(...)@145: {1}, {0}2010-07-22 12:56:56

  • - void storeStaticPage(StaticPage, File)

  • -/+ Kind Annotation Text Date

  • bool unlock(StaticPage)

  • -/+ Kind Annotation Text Date
    +preinit'ed(staticPage.id)2010-07-22 12:56:56
    +prestaticPage != null2010-07-22 12:56:56
    +prestaticPage.blog != null2010-07-22 12:56:56
    +postinit'ed(return_value)2010-07-22 12:56:56
    +unanalyzedcall on getBlog2010-07-22 12:56:56
    +unanalyzedcall on getId2010-07-22 12:56:56
    +unanalyzedcall on java.io.File2010-07-22 12:56:56
    +unanalyzedcall on net.sourceforge.pebble.domain.Blog:getRoot2010-07-22 12:56:56
    +test_vectorjava.io.File:exists(...)@291: {0}, {1}2010-07-22 12:56:56