## 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 != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | test_vector | java.io.File:isDirectory(...)@60: {0}, {1} | 2010-07-22 12:56:56
+ | test_vector | java.lang.String:matches(...)@60: {0}, {1} | 2010-07-22 12:56:56

- + Log access$0()

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | init'ed(log) | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | post | return_value == log | 2010-07-22 12:56:56

- String format(Date)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | this.dateTimeFormats != null | 2010-07-22 12:56:56
+ | pre | this.dateTimeFormats.length >= 1 | 2010-07-22 12:56:56
+ | pre | this.dateTimeFormats[0] != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56

- File getLockFile(StaticPage)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | init'ed(staticPage.id) | 2010-07-22 12:56:56
+ | pre | staticPage != null | 2010-07-22 12:56:56
+ | pre | staticPage.blog != null | 2010-07-22 12:56:56
+ | presumption | init'ed(java.io.File.separator) | 2010-07-22 12:56:56
+ | post | new File(getLockFile#2) num objects == 1 | 2010-07-22 12:56:56
+ | post | return_value == &new File(getLockFile#2) | 2010-07-22 12:56:56

- String getPath(Blog, String)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | blog != null | 2010-07-22 12:56:56
+ | presumption | init'ed(java.io.File.separator) | 2010-07-22 12:56:56
+ | post | return_value != null | 2010-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 != null | 2010-07-22 12:56:56
+ | pre | (soft) staticPage != null | 2010-07-22 12:56:56
+ | pre | (soft) staticPage.blog != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | unanalyzed | call on getBlog | 2010-07-22 12:56:56
+ | unanalyzed | call on getId | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.File | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56
+ | test_vector | java.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
--- | --- | --- | ---
+ | pre | blog != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56

- Collection loadStaticPages(Blog)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | blog != null | 2010-07-22 12:56:56
+ | presumption | Local_8[Local_6]@58 != null | 2010-07-22 12:56:56
+ | presumption | files.length@58 <= 232-1 | 2010-07-22 12:56:56
+ | post | new ArrayList(loadStaticPages#1) num objects == 1 | 2010-07-22 12:56:56
+ | post | return_value == &new ArrayList(loadStaticPages# 1) | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.File | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.String:valueOf | 2010-07-22 12:56:56
+ | unanalyzed | call on loadStaticPage | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56
+ | test_vector | java.io.File:listFiles(...)@58: Addr_Set{null}, Inverse{null} | 2010-07-22 12:56:56
+ | test_vector | loadStaticPage(...)@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 != null | 2010-07-22 12:56:56
+ | pre | (soft) staticPage != null | 2010-07-22 12:56:56
+ | pre | init'ed(staticPage.id) | 2010-07-22 12:56:56
+ | pre | staticPage.blog != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | unanalyzed | call on getBlog | 2010-07-22 12:56:56
+ | unanalyzed | call on getId | 2010-07-22 12:56:56
+ | unanalyzed | call on getLockFile | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.BufferedReader | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.BufferedReader:close | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.BufferedReader:readLine | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.File | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.File:exists | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.FileReader | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56
+ | unanalyzed | call on org.apache.commons.logging.Log:warn | 2010-07-22 12:56:56
+ | test_vector | java.io.File:createNewFile(...)@265: {0}, {1} | 2010-07-22 12:56:56
+ | test_vector | java.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
--- | --- | --- | ---
+ | pre | staticPage != null | 2010-07-22 12:56:56
+ | pre | staticPage.blog != null | 2010-07-22 12:56:56
+ | presumption | init'ed(java.util.Locale.ENGLISH) | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#2) num objects == 1 | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#3) num objects == 1 | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#4) num objects == 1 | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#5) num objects == 1 | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#6) num objects == 1 | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat(FileStaticPageDAO$StaticPageDa teConverter#7) num objects == 1 | 2010-07-22 12:56:56
+ | post | new SimpleDateFormat[](FileStaticPageDAO$StaticPage DateConverter#1) num objects == 1 | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats == &new SimpleDateFormat[] (FileStaticPageDAO$StaticPageDateConverter#1) | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats.length == 6 | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats[0] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#2) | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats[1] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#3) | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats[2] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#4) | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats[3] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#5) | 2010-07-22 12:56:56
+ | post | this.dateTimeFormats[4] == &new SimpleDateFormat(FileStaticPageDAO$StaticPageDateC onverter#6) | 2010-07-22 12:56:56
+ | post | this.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
--- | --- | --- | ---
+ | presumption | java.lang.Class:getPackage(...)@36 != null | 2010-07-22 12:56:56
+ | presumption | java.lang.Object:getClass(...)@36 != null | 2010-07-22 12:56:56
+ | post | possibly_updated(this.jaxbContext) | 2010-07-22 12:56:56

- net.sourceforge.pebble.dao.file.FileStaticPageDAO__static_init

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | post | init'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 != null | 2010-07-22 12:56:56
+ | pre | (soft) this.dateTimeFormats[...] != null | 2010-07-22 12:56:56
+ | pre | this.dateTimeFormats != null | 2010-07-22 12:56:56
+ | pre | this.dateTimeFormats.length <= 232-1 | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56

- void removeStaticPage(StaticPage)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | init'ed(staticPage.blog.id) | 2010-07-22 12:56:56
+ | pre | init'ed(staticPage.id) | 2010-07-22 12:56:56
+ | pre | log != null | 2010-07-22 12:56:56
+ | pre | staticPage != null | 2010-07-22 12:56:56
+ | pre | staticPage.blog != null | 2010-07-22 12:56:56
+ | presumption | java.io.File:renameTo(...)@230 == 1 | 2010-07-22 12:56:56
+ | unanalyzed | call on getBlog | 2010-07-22 12:56:56
+ | unanalyzed | call on getId | 2010-07-22 12:56:56
+ | unanalyzed | call on java.lang.Exception | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56
+ | test_vector | java.io.File:exists(...)@218: {0}, {1} | 2010-07-22 12:56:56
+ | test_vector | java.io.File:exists(...)@225: {0}, {1} | 2010-07-22 12:56:56

- void storeStaticPage(StaticPage)

-/+ | Kind | Annotation Text | Date
--- | --- | --- | ---
+ | pre | init'ed(staticPage.id) | 2010-07-22 12:56:56
+ | pre | staticPage != null | 2010-07-22 12:56:56
+ | pre | staticPage.blog != null | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56
+ | test_vector | java.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
--- | --- | --- | ---
+ | pre | init'ed(staticPage.id) | 2010-07-22 12:56:56
+ | pre | staticPage != null | 2010-07-22 12:56:56
+ | pre | staticPage.blog != null | 2010-07-22 12:56:56
+ | post | init'ed(return_value) | 2010-07-22 12:56:56
+ | unanalyzed | call on getBlog | 2010-07-22 12:56:56
+ | unanalyzed | call on getId | 2010-07-22 12:56:56
+ | unanalyzed | call on java.io.File | 2010-07-22 12:56:56
+ | unanalyzed | call on net.sourceforge.pebble.domain.Blog:getRoot | 2010-07-22 12:56:56
+ | test_vector | java.io.File:exists(...)@291: {0}, {1} | 2010-07-22 12:56:56