Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
5c6dd52e
Commit
5c6dd52e
authored
Oct 17, 2013
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
43f8a71a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
PropertiesLauncher.java
...a/org/springframework/boot/loader/PropertiesLauncher.java
+0
-4
Archive.java
...java/org/springframework/boot/loader/archive/Archive.java
+11
-8
FileEncodingApplicationContextInitializer.java
...nitializer/FileEncodingApplicationContextInitializer.java
+1
-1
No files found.
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java
View file @
5c6dd52e
...
...
@@ -419,8 +419,6 @@ public class PropertiesLauncher extends Launcher {
/**
* Convenience class for finding nested archives (archive entries that can be
* classpath entries).
*
* @author Dave Syer
*/
private
static
final
class
ArchiveEntryFilter
implements
EntryFilter
{
@Override
...
...
@@ -433,8 +431,6 @@ public class PropertiesLauncher extends Launcher {
/**
* Convenience class for finding nested archives that have a prefix in their file path
* (e.g. "lib/").
*
* @author Dave Syer
*/
private
static
final
class
PrefixMatchingArchiveFilter
implements
EntryFilter
{
private
final
String
prefix
;
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java
View file @
5c6dd52e
...
...
@@ -53,19 +53,22 @@ public abstract class Archive {
mainClass
=
manifest
.
getMainAttributes
().
getValue
(
"Start-Class"
);
}
if
(
mainClass
==
null
)
{
String
url
=
"UNKNOWN"
;
try
{
url
=
getUrl
().
toString
();
}
catch
(
Exception
e
)
{
// ignore
}
throw
new
IllegalStateException
(
"No 'Start-Class' manifest entry specified in "
+
url
);
"No 'Start-Class' manifest entry specified in "
+
this
);
}
return
mainClass
;
}
@Override
public
String
toString
()
{
try
{
return
getUrl
().
toString
();
}
catch
(
Exception
e
)
{
return
"archive"
;
}
}
/**
* Returns the manifest of the archive.
* @return the manifest
...
...
spring-boot/src/main/java/org/springframework/boot/context/initializer/FileEncodingApplicationContextInitializer.java
View file @
5c6dd52e
...
...
@@ -71,4 +71,4 @@ public class FileEncodingApplicationContextInitializer implements
}
}
}
};
\ No newline at end of file
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment