Skip to content

Commit 7e573a0

Browse files
Merge pull request #12 from sovren/feature/property-name-changes
Feature/property name changes
2 parents 63c64d5 + 5f03bcf commit 7e573a0

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
name: Maven Package Publish
55

66
on:
7-
push:
8-
branches: [ master ]
7+
release:
8+
types: [created]
99

1010
jobs:
1111
build:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.sovren</groupId>
55
<artifactId>sovren-java</artifactId>
66

7-
<version>0.1.11-beta</version>
7+
<version>0.1.12-beta</version>
88

99
<packaging>jar</packaging>
1010
<name>Sovren Java SDK</name>

src/main/java/com/sovren/models/resume/metadata/ResumeSection.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@
55

66
package com.sovren.models.resume.metadata;
77

8+
import com.sovren.models.ParsedDocumentMetadata;
9+
810
/**
911
* A section in the resume (work history, education, etc)
1012
*/
1113
public class ResumeSection {
1214

13-
/** The first line of the section (zero-based)*/
14-
public int FirstLine;
15+
/** The first line of the section (zero-based). This refers to the lines (delimited by newline) in the {@link ParsedDocumentMetadata#PlainText} */
16+
public int FirstLineNumber;
1517

16-
/** The last line of the section (zero-based)*/
17-
public int LastLine;
18+
/** The last line of the section (zero-based). This refers to the lines (delimited by newline) in the {@link ParsedDocumentMetadata#PlainText} */
19+
public int LastLineNumber;
1820

1921
/**
20-
* The type of section. Some possibilites:
22+
* The type of section. Some possibilities:
2123
* <ul>
2224
* <li>CONTACT_INFO</li>
2325
* <li>EDUCATION</li>
@@ -34,5 +36,5 @@ public class ResumeSection {
3436
* The exact text that was used to identify the beginning of the section.
3537
* If there was no text indicator and the location was calculated, then the value is {@code "CALCULATED"}
3638
*/
37-
public String HeaderFound;
39+
public String HeaderTextFound;
3840
}

src/test/java/com/sovren/integration/ParsingTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public void testGeneralOutput() throws Exception {
485485
assertNotNull(response.Value.ResumeData.ResumeMetadata.FoundSections);
486486
assertHasItems(response.Value.ResumeData.ResumeMetadata.FoundSections);
487487
assertNotNull(response.Value.ResumeData.ResumeMetadata.FoundSections.get(0).SectionType);
488-
assertNotEquals(0, response.Value.ResumeData.ResumeMetadata.FoundSections.get(0).LastLine);
488+
assertNotEquals(0, response.Value.ResumeData.ResumeMetadata.FoundSections.get(0).LastLineNumber);
489489
assertNotNull(response.Value.ResumeData.ResumeMetadata.ReservedData);
490490
assertNotNull(response.Value.ResumeData.ResumeMetadata.SovrenSignature);
491491
assertNotNull(response.Value.ResumeData.ResumeMetadata.ParserSettings);

0 commit comments

Comments
 (0)