• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sachin-handiekar / jInstagram / 319
62%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2016 05:34PM UTC
Jobs 1
Files 85
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
319

Pull #182

travis-ci

web-flow
deprecate TagMediaFeed and the API using it

Motivation

TagMediaFeed encapsulates exactly the same state as MediaFeed. Having
two separate classes makes it difficult to:
- reason about
- process a collection of both MediaFeed and TagMediaFeed

Point #2 is exacerbated by the returned MediaFeed type from the
InstagramClient#getRecentMediaNextPage API. This API flow starts with
an initial TagMediaFeed and fetches subsequence MediaFeed objects
which makes using Java 8 streams difficult.

Solution

Deprecate the use of TagMediaFeed in favor of MediaFeed. APIs were
added to InstagramClient to fetch tagged media with a MediaFeed
response type.

Deprecation notices were added conveying API removal in next major
version (likely 2) and what APIs you should use now to avoid
deprecation warnings.

fixes #179
Pull Request #182: deprecate TagMediaFeed and the API using it

21 of 21 new or added lines in 1 file covered. (100.0%)

945 of 1660 relevant lines covered (56.93%)

5.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
100.0
src/main/java/org/jinstagram/InstagramBase.java

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/main/java/org/jinstagram/InstagramObject.java
2
100.0
src/main/java/org/jinstagram/exceptions/InstagramBadRequestException.java
2
100.0
src/main/java/org/jinstagram/exceptions/InstagramRateLimitException.java
2
100.0
src/main/java/org/jinstagram/http/Response.java
2
100.0
src/main/java/org/jinstagram/utils/Preconditions.java
5
100.0
src/main/java/org/jinstagram/InstagramConfig.java
5
100.0
src/main/java/org/jinstagram/utils/LogHelper.java
9
100.0
src/main/java/org/jinstagram/http/Request.java
10
100.0
src/main/java/org/jinstagram/http/URLUtils.java
21
100.0
src/main/java/org/jinstagram/entity/common/InstagramErrorResponse.java
26
100.0
src/main/java/org/jinstagram/Instagram.java
78
100.0
src/main/java/org/jinstagram/InstagramBase.java
Jobs
ID Job ID Ran Files Coverage
1 319.1 13 Oct 2016 05:34PM UTC 0
56.95
Travis Job 319.1
Source Files on build 319
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #319
  • Pull Request #182
  • PR Base - master (#317)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc