Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Etag Version Issue #460

@krishnakumarag

Description

@krishnakumarag

I trying to convert ContactFeed object as String atom. After converting I am not getting etag in xml atom. because.

if (feedState.etag != null&& Service.getVersion().isAfter(Service.Versions.V1)) {
nsDecls.add(Namespaces.gNs);
attrs.add(new XmlWriter.Attribute(
Namespaces.gAlias, "etag", feedState.etag));
}

Service.getVersion().isAfter(Service.Versions.V1) Here version is always 1.0 I tried in many ways but it not changing.

Please aid me to solve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions